home *** CD-ROM | disk | FTP | other *** search
- /* Starts up TrShell. TrShell is a simple remote shell for TransAmiga
- that uses the FIFO: device and fifo.library by Matt Dillon. This is a
- fully interactive shell, unlike the one that is (used to be) in
- TransAmiga's SysOp menu. This means that applications designed for CLI
- usage can actually be run through the BBS.
-
- To run it, you must first startup up a CLI process, and redirect its
- I/O to FIFO:. The flags for FIFO: (what appears after the /) cannot be
- changed, but the rest can be. For example, I like to use the Commodore
- shell, but you could use AShell, or CSh or any other shell.
- s:TrShell-Startup is a simple script file that sets the prompt and a
- few aliases, nothing fancy. The TrShell command line merely specifies
- what the current BBS line is (-n) and the name of the FIFO: to use (-f,
- make sure this is EXACTLY the same as what you give in the line above).
-
- If you wanted to run some kind of door through TrShell, you would have
- your shell execute that in it's startup script. BE SURE TO HAVE THE
- SHELL END IMMEDIATELY AFTER THAT COMMAND TERMINATES! While TrShell is
- actives, users are in YOUR shell on YOUR computer. So unless you are
- using this as a straight remote shell (which only you should have access
- to), have the last command terminate your shell (eg. 'EndShell' if you
- are using Commodore's shell).
- */
-
- options results
-
- systeminfo 8 ; bbsline=result
- id=time(s)
-
- address command 'NewShell FIFO:trshell'id'/rwkecs'
- address command 'BBS:Bin/TrShell -n'bbsline' -ftrshell'id
-
- exit