exec.hlp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. EXEC0.RED: A Simple TOPS20 Interface 26 April 1982
  2. ------------------------------------
  3. This is a loadable option but currently is non-functional.
  4. Top Level Functions of Interest:
  5. RUN FileName; Run A File in sub-fork
  6. EXEC(); Run Exec
  7. EMACS(); Run EMACS
  8. MM(); Run MM
  9. FileP FileName; Test If File exists
  10. CMDS (!%L); Submit List of commands (FEXPR)
  11. DoCmds (L); Submit List of commands (EXPR)
  12. Use CRLF or BL in string
  13. VDIR (L); DoCmds LIST("VDIR ",L,CRLF,"POP");
  14. HelpDir(); DoCmds LIST("DIR PH:*.HLP",CRLF,"POP");
  15. Take (FileName); DoCmds LIST("Take ",FileName,CRLF,"POP");
  16. SYS (L); DoCmds LIST("SYS ", L, CRLF, "POP");
  17. TALK (L); DoCmds LIST("TALK ",L,CRLF);
  18. TYPE (L); DoCmds LIST("TYPE ",L,CRLF,"POP");
  19. Fork manipulation: [return forkhandle, FH, an integer returned by system]
  20. OPENFork FileName; Get a File into a Fork
  21. RUNFork FH; Normal use, to run a Fork
  22. KILLFork FH; Kill a Fork
  23. GetFork Jfn; Create Fork, READ File on Jfn
  24. STARTFork FH; Start (Restart) a Fork
  25. WAITFork FH; Wait for completion
  26. File manipulation functions: [Mostly return JFN, as small integer]
  27. GetOLDJfn FileName; test If file OLD and return Jfn
  28. GetNEWJfn FileName; test If file NEW and return Jfn
  29. RELJfn Jfn; return Jfn to system
  30. OPENOLDJfn Jfn; OPEN to READ
  31. OPENNEWJfn Jfn; Open to WRITE
  32. GTJfn FileName; Get a Jfn
  33. NAMEFROMJfn Jfn; name of File on a Jfn
  34. Miscellaneous Functions:
  35. GetUNAME(); Get USER name
  36. GetCDIR(); Get Connected DIRECTORY