home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / ckv196.zip / ckermod.ini < prev    next >
Text File  |  2000-01-01  |  6KB  |  146 lines

  1. ; File CKERMOD.INI, Sample C-Kermit 7.0 customization file.
  2. ;
  3. ; This file, which is ONLY A SAMPLE, should be called:
  4. ;
  5. ;   .mykermrc   (UNIX, OS-9, Aegis, BeBox, Plan 9)
  6. ;   CKERMOD.INI (VMS, OpenVMS, AOS/VS, OS/2, Amiga, Atari ST)
  7. ;   ckermod.ini (Stratus VOS)
  8. ;
  9. ; MODify it to suit your needs and preferences, and install it in the same
  10. ; directory as your C-Kermit initialization file.  The design of this file
  11. ; lets you fill in a section for each different operating system where you run
  12. ; C-Kermit.  This file is executed automatically by the standard C-Kermit
  13. ; initialization file, CKERMIT.INI (or .kermrc).  See the manual, "Using
  14. ; C-Kermit", for further information.
  15. ;
  16. ; Authors:  Christine Gianone, Frank da Cruz, Jeffrey Altman,
  17. ;           The Kermit Project, Columbia University.
  18. ; Creation: 23 November 1992 for C-Kermit 5A(188).
  19. ; Modified: 30 June 1993 for edit 189.
  20. ;           04 October 1994 for edit 190.
  21. ;           17 April 1995 for edit 191.
  22. ;            6 September 1996 for version 6.0, edit 192.
  23. ;            1 January 2000 for version 7.0, edit 196.
  24.  
  25. ECHO
  26. ECHO Executing SAMPLE C-Kermit customization file \v(cmdfile) for \v(system)...
  27. ECHO { Please edit this file to reflect your needs and preferences.}
  28. ECHO
  29. ;
  30. ; ... and then remove the ECHO commands above.
  31.  
  32. COMMENT - Settings that apply to all the systems I use:
  33. ;
  34. set delay 1                  ; I escape back quickly
  35. set dial display on          ; I like to watch C-Kermit dial
  36.  
  37. ; Dialing locale and method
  38. ;
  39. ; SET DIAL COUNTRY-CODE 1    ; Uncomment and replace with yours
  40. ; SET DIAL AREA-CODE 000     ; Uncomment and replace with yours
  41. ; SET DIAL LD-PREFIX 1       ; Uncomment and replace with yours
  42. ; SET DIAL INTL-PREFIX 011   ; Uncomment and replace with yours
  43. ; SET DIAL METHOD TONE       ; Uncomment and replace with PULSE if necessary
  44. ; SET DIAL DIRECTORY ... ... ; List dialing directory files here
  45.  
  46. ; File transfer preferences
  47. ;
  48. ; FAST                       ; Uncomment to enable fast file transfer
  49. ; SET FILE TYPE BINARY       ; Uncomment to force binary-mode file transfer
  50. ; SET FILE NAMES LITERAL     ; Uncomment to defeat filename conversion
  51. ; SET SEND PATHNAMES ON      ; Uncomment to defeat send pathname stripping
  52. ; SET RECEIVE PATHNAMES ON   ; Uncomment to defeat receive pathname stripping
  53. ; SET EXIT WARNING OFF       ; Uncomment this to remove connection warnings
  54. ; SET TERMINAL APC ON        ; Uncomment to allow APC commands
  55. ; SET TERM AUTODOWNLOAD ON   ; Uncomment to allow autodownload
  56.  
  57. if < \v(version) 600192 -
  58.   stop 1 \v(cmdfile): C-Kermit 6.0.192 or later required.
  59.  
  60. set take error on            ; Make errors fatal temporarily
  61. check if                     ; Do we have an IF command?
  62. set take error off           ; Yes we do, back to normal
  63.  
  64. ; The ON_EXIT macro is executed automatically when C-Kermit exits.
  65. ; Define as desired.
  66. ;
  67. define ON_EXIT echo Returning you to \v(system) now.
  68.  
  69. ; System-independent quick dialing macro.  Depends on having the
  70. ; macros MYMODEM, MYPORT, and (optionally) MYSPEED defined in the
  71. ; system-dependent sections below.
  72. ;
  73. define MYDIAL {
  74.     if not defined MYMODEM end 1 {\%0: Modem type not defined.}
  75.     set modem type \m(MYMODEM)
  76.     if fail end 1 {\%0: \m(MYMODEM): Unsupported modem type.}
  77.     if not defined MYPORT end 1 {\%0: Communication port not defined.}
  78.     set port \m(MYPORT)
  79.     if fail end 1 {\%0: SET PORT \m(MYPORT) failed.}
  80.     if defined MYFLOW set flow \m(MYFLOW)
  81.     if fail end 1 {\%0: SET FLOW \m(MYFLOW) failed.}
  82.     if defined MYSPEED set speed \m(MYSPEED)
  83.     if fail end 1 {\%0: SET SPEED \m(MYSPEED) failed.}
  84.     dial \%1\%2\%3\%4\%5\%6\%7\%8\%9
  85.     end \v(status)
  86. }
  87.  
  88. forward \v(system)              ; Go execute system-dependent commands
  89.  
  90. :UNIX                           ; UNIX, all versions...
  91. define MYPORT /dev/cua          ; My dialing environment
  92. define MYMODEM usr              ; Replace these by what you actually have
  93. define MYSPEED 57600
  94. ;
  95. ; If you want all your downloads to go to the same directory, no matter
  96. ; what your current directory is, uncomment and edit the following command:
  97. ;
  98. ;   set file download-directory ~/download ; Download directory for UNIX
  99.  
  100. ; Put other UNIX-specific commands here...
  101. end                             ; End of UNIX section
  102.  
  103. :VMS                            ; VMS and OpenVMS
  104. define MYPORT TXA0:             ; My dialing environment
  105. define MYMODEM usr              ; Replace these by what you actually have
  106. define MYSPEED 57600
  107. ; set file download-directory [\$(USER).DOWNLOAD] ; Download directory for VMS
  108. ; Put other VMS-specific commands here...
  109. end                             ; End of VMS section
  110.  
  111. :WIN32                          ; Windows and OS/2 customizations...
  112. :OS/2
  113. define MYPORT COM1              ; My dialing environment
  114. define MYMODEM usr              ; Replace these by what you actually have
  115. define MYSPEED 57600
  116. set command byte 8              ; Use 8 bits between Kermit and console
  117. set xfer char latin1            ; Use Latin-1 for text file transfer
  118. set term char latin1            ; And use Latin-1 during CONNECT mode
  119. ; set file download-directory C:\DOWNLOADS
  120. end
  121.  
  122. :OS9/68K                        ; OS-9/68000
  123. define MYPORT /t3               ; My dialing environment
  124. define MYMODEM usr              ; Replace these by what you actually have
  125. define MYSPEED 9600
  126. ; set file download-directory ~/downloads
  127. end                             ; End of OS-9 section
  128.  
  129. :AOS/VS                         ; Data General AOS/VS
  130. define MYPORT @con3             ; My dialing environment
  131. define MYMODEM usr              ; Replace these by what you actually have
  132. define MYSPEED 9600
  133. ; set file download-directory \v(home)DOWNLOADS
  134. end
  135.  
  136. ; And so on, you get the idea...
  137. ; Fill in the sections that apply to you.
  138.  
  139. :Stratus_VOS            ; Stratus VOS
  140. :Amiga                          ; Commodore Amiga
  141. :Atari_ST                       ; Atari ST
  142. :Macintosh                      ; Apple Macintosh
  143. :unknown                        ; Others
  144.  
  145. ; (End of CKERMOD.INI)
  146.