• COMMAND SHELLS

    From Daryl Stout@VERT/TBOLT to ALL on Tuesday, August 22, 2017 15:38:00
    While I can write a batchfile for the BBS, my programming ENDS at
    setting the clock on the microwave oven. If I forget how to do that, I
    guess I'll starve to death. <G>

    Anyway, I'm thinking of creating a command shell for GT Power
    software, what I ran under dial-up for 13 years. I don't think it's
    possible, but couldn't I just take an existing shell, and edit the
    command lines for the letters, then rename it??

    Daryl

    ---
    þ OLX 1.53 þ Daddy, why doesn't this magnet pick up your diskettes??
    þ Synchronet þ The Thunderbolt BBS - wx1der.dyndns.org
  • From mark lewis@VERT to Daryl Stout on Wednesday, August 23, 2017 10:17:22
    On 2017 Aug 22 15:38:00, you wrote to ALL:

    Anyway, I'm thinking of creating a command shell for GT Power
    software, what I ran under dial-up for 13 years. I don't think it's possible, but couldn't I just take an existing shell, and edit the
    command lines for the letters, then rename it??

    probably but have you look at the sources for the shells, yet?? they're not that complicated ;)

    something else, though, is that it isn't just the way the menus are laid out and the keys they use... that may be ok for some things but it would be nice to
    be able to truely emulate how another system acts but that's asking for a lot unless one implements it completely as a separate module that is used instead of the internal one... for example, file searching and tagging

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... TYPHOON RIPS THROUGH CEMETERY; HUNDREDS DEAD.
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Daryl Stout on Wednesday, August 23, 2017 09:29:55
    Re: COMMAND SHELLS
    By: Daryl Stout to ALL on Tue Aug 22 2017 03:38 pm

    Anyway, I'm thinking of creating a command shell for GT Power
    software, what I ran under dial-up for 13 years. I don't think it's possible, but couldn't I just take an existing shell, and edit the
    command lines for the letters, then rename it??

    You should be able to do that. If GT Power behaves similarly enough to an existing command shell for Synchronet, then you could just change some of the option keys/letters and rename it. You might also want to change the name of the ANSI/ascii files displayed by the shell, and perhaps edit those to look like GT Power.

    If you feel up to learning some programming, one of the benefits of having command shells is that you can totally change how they behave, so you can make them behave however you want.

    In the Synchronet CVS, there is a menuedit.js and related scripts (from echicken) that was supposed to be more of a menu editor that I think could create a command shell for you based on editing menu commands. You might want to have a look at the exec directory in the Synchronet CVS repository: http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec
    I think the scripts that you'd want to look at are menuedit.js, menushel.src, menushel-lb.js, and menushell.js.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Daryl Stout on Wednesday, August 23, 2017 11:34:27
    Re: COMMAND SHELLS
    By: Daryl Stout to ALL on Tue Aug 22 2017 03:38 pm

    While I can write a batchfile for the BBS, my programming ENDS at
    setting the clock on the microwave oven. If I forget how to do that, I
    guess I'll starve to death. <G>

    Anyway, I'm thinking of creating a command shell for GT Power
    software, what I ran under dial-up for 13 years. I don't think it's possible, but couldn't I just take an existing shell, and edit the
    command lines for the letters, then rename it??

    Yes. If it's a Baja command shell (*.src, most are), then you'll need to compile it (to *.bin) using baja.exe. And if it uses menu files (most shells do) you'll need to copy and edit those as well.

    digital man

    Synchronet/BBS Terminology Definition #24:
    FTN = FidoNet Technology Network
    Norco, CA WX: 75.6øF, 68.0% humidity, 10 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mro@VERT/BBSESINF to Daryl Stout on Wednesday, August 23, 2017 16:19:12
    Re: COMMAND SHELLS
    By: Daryl Stout to ALL on Tue Aug 22 2017 03:38 pm

    Anyway, I'm thinking of creating a command shell for GT Power
    software, what I ran under dial-up for 13 years. I don't think it's possible, but couldn't I just take an existing shell, and edit the
    command lines for the letters, then rename it??


    yes you can. make sure you compile it afterwards with baja.exe
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Daryl Stout@VERT/TBOLT to MARK LEWIS on Thursday, August 24, 2017 09:34:00
    Mark,

    probably but have you look at the sources for the shells, yet?? they're not ML>that complicated ;)

    To someone who isn't a programmer, they are!! The one "change" I made
    for the DEFAULT.SRC file was with the HARMBYE logoff module...where it
    offered users a chance to return to the BBS, logoff, logoff quickly,
    leave Feedback To Sysop, or to write an auto message.

    something else, though, is that it isn't just the way the menus are laid out ML>and the keys they use... that may be ok for some things but it would be nice ML>be able to truely emulate how another system acts but that's asking for a lo ML>unless one implements it completely as a separate module that is used instea ML>of the internal one... for example, file searching and tagging

    That's true...although each BBS software obviously has different
    command options. One nice thing about GT Power was "command
    stacking"...you could enter several different commands, even with just
    simple letters (separated by semicolons), and you could get to the
    desired area of the BBS in one command, instead of going through several
    menus first.

    That'd be a neat program module though...to ask what command you
    wanted to enter (letter or command), and it would create a new command
    shell. I can easily create a ctrl-A menu for it, though.

    Daryl

    ---
    þ OLX 1.53 þ Depression is merely anger without enthusiasm.
    þ Synchronet þ The Thunderbolt BBS - wx1der.dyndns.org
  • From Daryl Stout@VERT/TBOLT to NIGHTFOX on Thursday, August 24, 2017 09:35:00
    You should be able to do that. If GT Power behaves similarly enough to an N>existing command shell for Synchronet, then you could just change some of the N>option keys/letters and rename it. You might also want to change the name of N>the ANSI/ascii files displayed by the shell, and perhaps edit those to look N>like GT Power.

    That's what I'd like to do.

    If you feel up to learning some programming, one of the benefits of having N>command shells is that you can totally change how they behave, so you can mak N>them behave however you want.

    Well, I think telling it to bring me dinner is out of the question.


    In the Synchronet CVS, there is a menuedit.js and related scripts (from N>echicken) that was supposed to be more of a menu editor that I think could N>create a command shell for you based on editing menu commands. You might wan N>to have a look at the exec directory in the Synchronet CVS repository: N>http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec
    I think the scripts that you'd want to look at are menuedit.js, menushel.src, N>menushel-lb.js, and menushell.js.

    I saved this, and will check that out later.

    Daryl

    ---
    þ OLX 1.53 þ Detour: The roughest distance between two points.
    þ Synchronet þ The Thunderbolt BBS - wx1der.dyndns.org
  • From Nightfox@VERT/DIGDIST to Daryl Stout on Thursday, August 24, 2017 13:18:45
    Re: COMMAND SHELLS
    By: Daryl Stout to NIGHTFOX on Thu Aug 24 2017 09:35 am

    If you feel up to learning some programming, one of the benefits of
    having command shells is that you can totally change how they behave,
    so you can mak them behave however you want.

    Well, I think telling it to bring me dinner is out of the question.


    True, although I wonder if that could be a potential feature in the future.. :P

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com