• Contents of user.command_shell string

    From Khelair@TINFOIL to All on Fri Mar 20 15:26:26 2015
    I'm working on a little bit in my shell that is supposed to skip a whole bunch of the login procedure and logon screens if a user has a particular shell by default. Well, okay, so this little bit isn't _in_ my shell, it's _in_ a modification of login.js... Anyway, I was wondering, after the login() method runs, I'm assuming that the user.* object will be populated. Can anybody tell me where the system gets the string that it assigns to user.command_shell? I just want to make sure that I don't make a wrong assumption and have it blow up later on down the line.
    TIA

    ---
    Borg Burgers: We do it our way; your way is irrelevant.
    ■ Synchronet ■ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.net
  • From Digital Man to Khelair on Fri Mar 20 16:16:26 2015
    Re: Contents of user.command_shell string
    By: Khelair to All on Fri Mar 20 2015 03:26 pm

    I'm working on a little bit in my shell that is supposed to skip a whole bunch of the login procedure and logon screens if a user has a particular shell by default. Well, okay, so this little bit isn't _in_ my shell, it's _in_ a modification of login.js... Anyway, I was wondering, after the login() method runs, I'm assuming that the user.* object will be populated. Can anybody tell me where the system gets the string that it assigns to user.command_shell? I just want to make sure that I don't make a wrong assumption and have it blow up later on down the line.

    user.command_shell is the "internal code" of the command shell the user has configured as their default. This internal code is what you have set in SCFG->Command Shells.

    digital man

    Synchronet "Real Fact" #33:
    The back-up synchro.net nameserver and CVS repository is hosted by Deuce. Norco, CA WX: 78.9°F, 33.0% humidity, 7 mph ESE wind, 0.00 inches rain/24hrs
  • From Khelair@TINFOIL to Digital Man on Sat Mar 21 10:05:36 2015
    Re: Contents of user.command_shell string
    By: Digital Man to Khelair on Fri Mar 20 2015 16:16:26

    user.command_shell is the "internal code" of the command shell the user has configured as their default. This internal code is what you have set in SCFG->Command Shells.

    Thankee sai. That's what I figured, but wanted to verify just in case. Much appreciated!

    -D/K

    ---
    Borg Burgers: We do it our way; your way is irrelevant.
    ■ Synchronet ■ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.net