source: trunk/third/kermit/ckermod.ini @ 10780

Revision 10780, 5.7 KB checked in by brlewis, 27 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r10779, which included commits to RCS files with non-trunk default branches.
Line 
1; File CKERMOD.INI, Sample C-Kermit 5A(191) 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; Date:     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
24ECHO
25ECHO Executing SAMPLE C-Kermit customization file \v(cmdfile) for \v(system)...
26ECHO { Please edit this file to reflect your needs and preferences.}
27ECHO
28;
29; ... and then remove the ECHO commands above.
30
31COMMENT - Settings that apply to all the systems I use:
32;
33set delay 1                  ; I escape back quickly
34set dial display on          ; I like to watch C-Kermit dial
35
36; Dialing locale and method
37;
38; SET DIAL COUNTRY-CODE 1    ; Uncomment and replace with yours
39; SET DIAL AREA-CODE 000     ; Uncomment and replace with yours
40; SET DIAL LD-PREFIX 1       ; Uncomment and replace with yours
41; SET DIAL INTL-PREFIX 011   ; Uncomment and replace with yours
42; SET DIAL METHOD TONE       ; Uncomment and replace with PULSE if necessary
43; SET DIAL DIRECTORY ... ... ; List dialing directory files here
44
45; File transfer preferences
46;
47; FAST                       ; Uncomment to enable fast file transfer
48; SET FILE TYPE BINARY       ; Uncomment to force binary-mode file transfer
49; SET FILE NAMES LITERAL     ; Uncomment to defeat filename conversion
50; SET SEND PATHNAMES ON      ; Uncomment to defeat send pathname stripping
51; SET RECEIVE PATHNAMES ON   ; Uncomment to defeat receive pathname stripping
52; SET EXIT WARNING OFF       ; Uncomment this to remove connection warnings
53; SET TERMINAL APC ON        ; Uncomment to allow APC commands
54; SET TERM AUTODOWNLOAD ON   ; Uncomment to allow autodownload
55
56if < \v(version) 600192 -
57  stop 1 \v(cmdfile): C-Kermit 6.0.192 or later required.
58
59set take error on            ; Make errors fatal temporarily
60check if                     ; Do we have an IF command?
61set take error off           ; Yes we do, back to normal
62
63; The ON_EXIT macro is executed automatically when C-Kermit exits.
64; Define as desired.
65;
66define ON_EXIT echo Returning you to \v(system) now.
67
68; System-independent quick dialing macro.  Depends on having the
69; macros MYMODEM, MYPORT, and (optionally) MYSPEED defined in the
70; system-dependent sections below.
71;
72define MYDIAL {
73    if not defined MYMODEM end 1 {\%0: Modem type not defined.}
74    set modem type \m(MYMODEM)
75    if fail end 1 {\%0: \m(MYMODEM): Unsupported modem type.}
76    if not defined MYPORT end 1 {\%0: Communication port not defined.}
77    set port \m(MYPORT)
78    if fail end 1 {\%0: SET PORT \m(MYPORT) failed.}
79    if defined MYSPEED set speed \m(MYSPEED)
80    if fail end 1 {\%0: SET SPPED \m(MYSPEED) failed.}
81    dial \%1\%2\%3\%4\%5\%6\%7\%8\%9
82    end \v(status)
83}
84
85forward \v(system)              ; Go execute system-dependent commands
86
87:UNIX                           ; UNIX, all versions...
88define MYPORT /dev/cua          ; My dialing environment
89define MYMODEM usr              ; Replace these by what you actually have
90define MYSPEED 57600
91;
92; If you want all your downloads to go to the same directory, no matter
93; what your current directory is, uncomment and edit the following command:
94;
95;   set file download-directory ~/download ; Download directory for UNIX
96
97; Put other UNIX-specific commands here...
98end                             ; End of UNIX section
99
100:VMS                            ; VMS and OpenVMS
101define MYPORT TXA0:             ; My dialing environment
102define MYMODEM usr              ; Replace these by what you actually have
103define MYSPEED 57600
104; set file download-directory [\$(USER).DOWNLOAD] ; Download directory for VMS
105; Put other VMS-specific commands here...
106end                             ; End of VMS section
107
108:WIN32                          ; Windows and OS/2 customizations...
109:OS/2
110define MYPORT COM1              ; My dialing environment
111define MYMODEM usr              ; Replace these by what you actually have
112define MYSPEED 57600
113set command byte 8              ; Use 8 bits between Kermit and console
114set xfer char latin1            ; Use Latin-1 for text file transfer
115set term char latin1            ; And use Latin-1 during CONNECT mode
116; set file download-directory C:\DOWNLOADS
117end
118
119:OS9/68K                        ; OS-9/68000
120define MYPORT /t3               ; My dialing environment
121define MYMODEM usr              ; Replace these by what you actually have
122define MYSPEED 9600
123; set file download-directory ~/downloads
124end                             ; End of OS-9 section
125
126:AOS/VS                         ; Data General AOS/VS
127define MYPORT @con3             ; My dialing environment
128define MYMODEM usr              ; Replace these by what you actually have
129define MYSPEED 9600
130; set file download-directory \v(home)DOWNLOADS
131end
132
133; And so on, you get the idea...
134; Fill in the sections that apply to you.
135
136:Stratus_VOS                    ; Stratus VOS
137:Amiga                          ; Commodore Amiga
138:Atari_ST                       ; Atari ST
139:Macintosh                      ; Apple Macintosh
140:unknown                        ; Others
141
142; (End of CKERMOD.INI)
Note: See TracBrowser for help on using the repository browser.