home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / ccdos / cckermit.ini < prev    next >
Text File  |  2020-01-01  |  3KB  |  73 lines

  1. ; FILE CCKERMIT.INI
  2. ;
  3. ; Sample initialization file for CC-DOS Kermit 2.32.
  4. ; Quanfang Zhang, Dept. of C.S., Zhejiang University, P.R.China, July 1991
  5.  
  6. echo CC-DOS/MS-DOS Kermit 2.32 initialization file...
  7.  
  8. COMMENT - Macro definitions section...
  9.  
  10. ; Macro for communicating with UNIX, VAX/VMS, and similar systems:
  11. def vax set par non, set flo x, set hand no, set key \270 \127
  12.  
  13. ; Macro for communicating with IBM mainframes in linemode:
  14. def ibm set par mark, set flo no, set hand xon, set dup ha, set key \270 \8
  15.  
  16. ; Additional DOS commands available directly from the CC-Kermit> prompt.
  17.  
  18. ; First define a FATAL error macro.
  19. def fatal echo Error: \%1\13, def \%1, stop
  20.  
  21.  
  22. ; CAPTURE command - easy downloading of a file from the host.
  23. ; Unlike the LOG SESSION command, CAPTURE always creates a new file.
  24. ; It overwrites file of same name if it already exists.
  25. ; Usage: at the CC-Kermit> prompt, type "capture xxx" where xxx is the name
  26. ; of the file you want to create on the PC.  Once you are connected to the
  27. ; host, TYPE the desired file.  Escape back when done.  The captured file will
  28. ; be on your disk (with a TYPE command at the beginning & a prompt at the end).
  29. def capture if = argc 1 fatal {Capture into what file?},-
  30. if exist \%1 del \%1,-
  31. log session \%1,-
  32. connect,close session,log sess session.log,close ses,def \%1
  33.  
  34. ; NOISY and CLEAN macros, modify to suit your environment...
  35. def clean set rec pack 94, set retry 4, set bl 1
  36. def noisy set rec pack 40, set retr 20, set bl 3
  37.  
  38. ; ERRSTP macro, for use with DIAL command...
  39. def errstp echo Error: \%\13,def \%1,hangup,stop
  40.  
  41. COMMENT - Script defaults
  42.  
  43. set input timeout proceed    ; Allow IF SUCCESS/FAILURE to work
  44. set input echo on        ; Display port input on screen
  45. set input case ignore        ; Ignore alphabet case for input matching
  46. set input default-timeout 1    ; One second default input timeout
  47.  
  48. COMMENT - Terminal emulation settings.  Modify to suit your environment.
  49.  
  50. set display 8            ; in the 8-bit environment
  51. set terminal vt102        ; Emulate DEC VT102
  52. set terminal roll off        ; Keep rolled-back screens where they are
  53. set terminal wrap on        ; Tell Kermit to do line wrap
  54. set terminal cursor underline    ; Underline cursor (rather than block)
  55.  
  56. COMMENT - File transfer settings
  57.  
  58. set receive packet-length 94    ; Regular-size packets
  59. set attributes on        ; Use file-attribute packets
  60.  
  61. COMMENT - Initial PC communication setup.  Modify to suit your PC and tastes.
  62.  
  63. set port 1            ; Use COM1
  64. do vax                ; Set parameters for talking to VAX
  65.                 ; (These are the default parameters anyway)
  66.  
  67. set key \96 \27            ; Exchange ESC and
  68. set key \27 \96            ; accent grave keys during terminal emulation
  69. set key of        ; use DOS function call to read keyboard
  70.  
  71. set terminal color 0 34 47      ; Terminal color is blue on white
  72. echo \13Smile!
  73.