home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 600-699 / ff661.lha / Citadel / ctdlaux.lzh / remoteshell < prev    next >
Text File  |  1991-05-27  |  828b  |  29 lines

  1.  
  2. ;an example script file that executes as a CITADEL door program.
  3. cd cit:
  4. say remote shell opened as a doer
  5.  
  6. echo "FILE: CIT:REMOTESHELL called from citadel"
  7. date
  8.  
  9. ;You must place ctdlaux-handler in the L: directory and mount ctdlaux:
  10. ;before the following command will work.
  11.  
  12. newshell CTDLAUX: from s:shell-startup-ctdl
  13.  
  14. ;  then you could create a seperate alias list for the remote shell which
  15. ;  would be a handy way to disable commands you did not wish to accidently
  16. ;  execute from a remote terminal such as the ed command.
  17.  
  18. ;The following type commands will pause this task until the script
  19. ;CIT:restart is executed from the remote shell.
  20.   
  21. type pipe:restart
  22. type pipe:date
  23.  
  24. say remote shell closed, citadel re-starting in 5 seconds
  25.  
  26. ;The following is to wait for script cit:restart to end before continuing.
  27. wait 5 sec
  28.  
  29.