home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 382.lha / ConZap / ConZap.txt < prev    next >
Encoding:
Text File  |  1990-05-30  |  3.0 KB  |  93 lines

  1.  
  2. May 22, 1990
  3.  
  4.  
  5. In combination with ConMan 1.3's CNX: MountList entry, ConZap
  6. enables you to use an Amiga Shell (or better yet, an ARP 1.3
  7. AShell) on a remote ANSI or VT100-compatible terminal or computer
  8. connected to the Amiga's serial port.
  9.  
  10. Obtaining a text editor that is useful on such a terminal can be
  11. difficult; however, the MicroEMACS from Fred Fish Disk #61 can be
  12. patched to work.
  13.  
  14. ConZap also allows you to prevent AmigaDOS requesters from
  15. appearing on the Amiga and stopping all work at the terminal.
  16.  
  17. Note: an article which discusses this whole matter in more length
  18. may be found on page 565 of the June 1990 issue of Computer
  19. Shopper.
  20.  
  21.  
  22. Installation
  23.  
  24. Assuming you've already installed the ConMan 1.3 CNX: MountList
  25. entry as described in the ConMan documents, copy ConZap to your C:
  26. directory, and copy the small "emacs" batch file to your S:
  27. directory.  Make sure the Script bit is still set on this file
  28. after the copy (or use Copy CLONE).
  29.  
  30. Now you need to patch the FF #61 emacs executable to open the
  31. console device rather than its own window.  Load emacs into FileZap
  32. or NewZap or whatever, then change sector 72, cursor position 0C4
  33. to hex 2A (the asterisk) and the next byte to a 00.  Save this
  34. patched file into the C: directory.  It's possible to use other
  35. editors instead of emacs; if you can find one that opens a RAW:
  36. window and uses no other input methods (no menus or IDCMP), locate
  37. the RAW: window title string and patch it to be a star (hex 2A)
  38. followed by a null.
  39.  
  40.  
  41. Usage
  42.  
  43. ConZap accepts two parameters, one to control requesters (Req or
  44. NoReq) and one to set the console to raw or cooked mode (Raw or
  45. Cooked).  The parameters aren't case sensitive and can come in any
  46. order.  For example:
  47.  
  48.      ConZap noreq
  49.  
  50. would disable AmigaDOS requesters on the current CLI.  (Don't use
  51. the Raw parameter from anything other than a batch file, or you'll
  52. find yourself locked out of that CLI!)
  53.  
  54. Connect your terminal to the serial port, and make sure the
  55. Preferences serial settings are accurate.  You may have to
  56. experiment with settings on your terminal to get everything to
  57. respond properly.  In particular, Amiga programs often send only a
  58. line feed at the end of each line, so you may need to send an ANSI
  59. "SET MODE" command to cause the terminal to recognize LF as an
  60. end-of-line character.  You can do this with the ARP Echo command
  61. like so (the string inside quotes is case-sensitive):
  62.  
  63.      Echo "*E[20h"
  64.  
  65. Finally, to start up an AShell on the remote terminal, type
  66.  
  67.    AShell CNX:serial.device/0
  68.  
  69. Now would be a good time to use ConZap to shut off AmigaDOS
  70. requesters, so type
  71.  
  72.    ConZap NoReq
  73.  
  74. At this point, you can use ordinary CLI commands (List, CD,
  75. whatever) on the terminal.  To edit a file, type
  76.  
  77.    emacs filename
  78.  
  79. and the "emacs" batch file in the S: directory takes over, using
  80. ConZap to set the console mode and requester status.
  81.  
  82. That's it!
  83.  
  84. Questions or comments welcomed.
  85.  
  86. (Thanks to John Toebes and Chuck Mcmanis for their help!)
  87.  
  88.  
  89. Warren Block
  90. 1921 Fifth, #3
  91. Rapid City, SD 57701
  92. (605) 342-1632
  93.