home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / old / misc / ck5a189 / ckermod.ini < prev    next >
Text File  |  2020-01-01  |  4KB  |  112 lines

  1. ; File CKERMOD.INI, Sample C-Kermit 5A customization file for OS/2.
  2. ;
  3. ; This file, which is ONLY A SAMPLE, should be called:
  4. ;
  5. ;   .mykermrc   (UNIX, OS-9, Aegis)
  6. ;   CKERMOD.INI (VMS, OpenVMS, AOS/VS, OS/2, Amiga, Atari ST)
  7. ;
  8. ; MODify it to suit your needs and preferences, and install it in the same
  9. ; directory as your C-Kermit initialization file.  The design of this file
  10. ; lets you fill in a section for each different operating system where you
  11. ; run C-Kermit.  This file is executed automatically by the standard C-Kermit
  12. ; initialization file, CKERMIT.INI (or .kermrc).
  13. ;
  14. ; Authors: Christine Gianone, Frank da Cruz, Columbia University.
  15. ; Date:    23 November 1992
  16.  
  17. COMMENT - Settings that apply to all the systems I use:
  18. ;
  19. set delay 1                     ; I escape back quickly
  20. set dial display on             ; I like to watch C-Kermit dial
  21. set window 2                    ; Use 2 window slots
  22. set block 3                     ; Use 16-bit CRC error checking        
  23. set receive packet-length 1000  ; Use 1000-character Kermit packets 
  24.  
  25. ; The remaining commands in this file depend on the script programming
  26. ; language.  Here we make sure we have it, then we use it to go to the
  27. ; section that applies to the type of system where C-Kermit is running:
  28. ;
  29. set take error on               ; Make errors fatal temporarily
  30. check if                        ; Do we have an IF command?
  31. set take error off              ; Yes we do, back to normal
  32. goto \v(system)                 ; Go execute system-dependent commands
  33.  
  34. :UNIX                           ; UNIX, all versions...
  35. set delay 1                     ; I escape back quickly
  36. def mydial set modem hayes, -   ; Define a macro for dialing out...
  37.    set line /dev/acu, -
  38.    if fail end 1, -
  39.    set speed 2400, -
  40.    if fail end 1, -
  41.    dial \%1, -
  42.    if fail end 1, -
  43.    connect
  44. def nasa -                      ; Get latest news from NASA
  45.    telnet spacelink.msfc.nasa.gov
  46. end                             ; End of UNIX section
  47.  
  48. :VMS                            ; VMS and OpenVMS
  49. def mydial set modem telebit, - ; Macro for dialing out...
  50.    set line txa5, -
  51.    if fail end 1, -
  52.    set speed 19200, -
  53.    if fail end 1, -
  54.    dial \%1, -
  55.    if fail end 1, -
  56.    connect
  57. define on_exit -                ; Print a message when Kermit exits
  58.    echo Returning you to \v(system) now.
  59. end                             ; End of VMS section
  60.  
  61. :OS/2                           ; OS/2 customizations...
  62. set modem hayes                 ; I have a Hayes modem
  63. set port com1                   ; on communication port 1
  64. set speed 19200                 ; at this speed
  65. set flow rts/cts                ; It uses hardware flow control
  66. set server display on           ; Show file display in server mode too
  67. ;
  68. ; OS/2 character sets, change if necessary.  In OS/2, your current PC code
  69. ; page is used automatically as the FILE character-set and as the local half
  70. ; of your TERMINAL character-set, but this assumes that OS/2 reports it
  71. ; correctly, which might not be a safe assumption, especially if it is not
  72. ; CP437 or CP850.
  73. ;
  74. set command byte 8              ; Use 8 bits between Kermit and console
  75. set xfer char latin1            ; Use Latin-1 for text file transfer
  76. set term char latin1            ; And use Latin-1 during CONNECT mode
  77. ;
  78. ; OS/2 key redefinitions
  79. ;
  80. set key \27 \96                 ; Swap the Escape and Accent-Grave keys
  81. set key \96 \27                 ; during CONNECT mode
  82. end                             ; End of OS/2 section
  83.  
  84. :OS9/68K                        ; OS-9/68000
  85. set line /t3                    ; I want to use /t3 at 9600 bps
  86. xif success { -
  87.     set speed 9600, -
  88.     echo { Communications line set to /t3, 9600 bps} -
  89. }
  90. end                             ; End of OS-9 section
  91.  
  92. :AOS/VS                         ; Data General AOS/VS
  93. def mydial set modem hayes, -   ; Macro for dialing out with Hayes modem...
  94.    set line @con3, -            ; Only works if modem is on @con3
  95.    if fail end 1, -
  96.    set speed 2400, -            ; and is set for 2400bps
  97.    if fail end 1, -
  98.    dial \%1, -
  99.    if fail end 1, -
  100.    connect
  101. end
  102.  
  103. ; And so on, you get the idea...
  104. ; Fill in the sections that apply to you.
  105.  
  106. :Amiga                          ; Commodore Amiga
  107. :Atari_ST                       ; Atari ST
  108. :Macintosh                      ; Apple Macintosh
  109. :unknown                        ; Others
  110.  
  111. ; (End of CKERMOD.INI)
  112.