# ~/.kermrc by Julian H. Stacey In same order as show displays them. # set line /dev/cua01 # freebsd & supra fax modem # set line /dev/sio01 # netbsd surfer # set speed 57600 # speed now from /dev/cuai01, set by ~/bin/stty.cua01 # I reverted to # set terminal bytesize 7 # set command bytesize 7 # to get uni number 280797 to dial out & connect OK # set terminal bytesize 8 # default 7 # 7 or 8, to use 7- or 8-bit terminal characters # between C-Kermit and the remote computer or service during CONNECT. # set command bytesize 8 # default 7 # SET COMMAND BYTESIZE { 7, 8 } # Informs C-Kermit of the bytesize of the communication path between itself # and your keyboard and screen. 7 is assumed. SET COMMAND BYTE 8 to allow # entry and display of 8-bit characters. # SET COMMAND RECALL-BUFFER-SIZE number # How big you want C-Kermit's command recall buffer to be. By default, it # holds 10 commands. You can make it any size you like, subject to memory # constraints of the computer. A size of 0 disables command recall. # Whenever you give this command, previous command history is lost. # SET COMMAND QUOTING { ON, OFF } # Whether to treat backslash and question mark as special characters (ON), # or as ordinary data characters (OFF) in commands. ON by default. # SET COMMAND RETRY { ON, OFF } # Whether to reprompt you with the correct but incomplete portion of a # syntactically incorrect command. ON by default. # set parity none # default=none others=even,mark,none,odd,space set flow keep # default=xon/xoff others=keep,none,rts/cts # s375: set flow rts/cts # Type of flow control to use during file transfer and CONNECT mode. # Choices: KEEP (don't change device's current setting), XON/XOFF (software # flow control, the default), NONE (no flow control at all), and possibly # others including RTS/CTS (hardware) depending on the capabilities of your # computer and operating system. Type SET FLOW ? for a list. # set send packet-length 94 set file name literal # converted literal set file type binary # binary text set window 10 ; File transfer packet window size, 1-31 set retry 40 # log debugging ~/tmp/kermit.debugging.log # log packets ~/tmp/kermit.packets.log # log session ~/tmp/kermit.session.log # strings like CONNECT 14400/V42bis # log transaction ~/tmp/kermit.transaction.log # relative sizes: # 18760191 kermit.debugging.log # 755370 kermit.packets.log # 4354 kermit.session.log # 712 kermit.transaction.log set file incomplete keep # define surfer set terminal bytesize 8,set speed 9600,set parity none define surfer set terminal bytesize 7,set speed 38400,set parity none !mesg n echo Consider using mesg y After leaving kermit. # ---------------------------- COMMENT ONLY BELOW HERE # set rec pack 1024 ; inbound packet length # set send pack 1024 ; outbound packet length # set block 3 ; error-checking level, 1, 2, or 3 # Type of packet block check to be used for error detection, 1, 2, 3, or # BLANK-FREE-2. Type 1 is standard, and catches most errors. Types 2 and 3 # specify more rigorous checking at the cost of higher overhead. The # BLANK-FREE-2 type is the same as Type 2, but is guaranteed to contain no # blanks. # set carrier auto ; [auto,off,on] # Attempts to control treatment of carrier on the communication device. # ON means that carrier is required at all times except during the DIAL # command. OFF means that carrier is never required. AUTO (the default) # means that carrier is required only during CONNECT. # Version 5A of kermit has a "set carrier off" command so you can easily chat with off-line modems. # ---------------------------- # SET DIAL DIAL-COMMAND [ text ] # The 'text' replaces C-Kermit's built-in modem dialing command. It must # include '%s' (percent s) as a place-holder for the telephone numbers # given in your DIAL commands. If the 'text' is omitted, C-Kermit uses its # built-in modem-specific dialing command. # SET DIAL DIRECTORY filename # Name of dialing directory file. Type HELP DIAL for further info. # SET DIAL DISPLAY {ON, OFF} # Whether to display dialing progress on the screen. # SET DIAL HANGUP {ON, OFF} # Whether the DIAL command should hang up the phone before dialing. # SET DIAL INIT-STRING [ text ] # The 'text' is a replacement for C-Kermit's built-in initialization command # for the modem. If 'text' omitted, use built-in initialization command. # SET DIAL KERMIT-SPOOF {ON, OFF} # If the selected modem type supports the Kermit protocol directly, # use this command to turn its Kermit protocol function on or off. # SET DIAL MODEM-HANGUP {ON, OFF} # Governs how the HANGUP, H, and similar operations work when you have # a dialed connection (in local mode, and a specific modem type is set). # ON means to use modem commands to hang up the phone, e.g. ATH0. # OFF means to hang up by attempting to turn off the DTR signal. # ON is not necessarily supported for all modem types. # SET DIAL MNP-ENABLE {ON, OFF} # Enable or disable MNP negotiation by the modem. # SET DIAL PREFIX [ text ] # Establish a prefix to be applied to the phone numbers given in the DIAL # command or read from the dialing directory. # SET DIAL SPEED-MATCHING {ON, OFF} # ON (the default) means that C-Kermit changes its serial interface speed to # agree with the speed reported by the modem's CONNECT message, if any. OFF # means that C-Kermit should not change its interface speed. # SET DIAL TIMEOUT number # How many seconds to wait for a dialed call to complete. Use this command # to override the DIAL command's automatic timeout calculation. A value # of 0 turns off this feature and returns to Kermit's automatic dial # timeout calculation. # Also see DIAL and SET MODEM. Use SHOW DIAL to display dial-related # settings. # set input timeout proceed # SET INPUT TIMEOUT-ACTION { PROCEED, QUIT } # Tells whether to proceed or quit from a script program if an INPUT command # fails. PROCEED (default) allows use of IF SUCCESS and IF FAILURE commands. # This setting is local to the current macro or command file, and is inherited # by subordinate macros and take files. # clear # Syntax: CLEAR [ { DEVICE, INPUT, BOTH } ] # Clears the communications device input buffer, the INPUT command buffer, # or both. The default is BOTH. # ---------------------------- # leo@marco.de can dial vector with: # at &v # aktuelles Benutzerprofil: # B0 E1 L2 M1 Q0 V1 X3 # $D1 # %B14400 %C3 %E1 %G1 %L1 # &C1 &D3 &G0 &L0 &M0 &R0 &S0 &T4 &X0 &Y0 # -J1 -M0 # \D0 \J0 \K5 \N3 \Q3 \T0 \V8 \X1 # :D0 # S00:000 S02:043 S07:090 S10:003 S64:010 S94:000 # weiter mit beliebigem Zeichen... # gespeichertes Profil 0: # B0 E1 L2 M1 Q0 V1 X3 # $D1 # %B14400 %C3 %E1 %G1 %L1 # &C1 &D3 &G0 &L0 &M0 &R0 &S0 &T4 &X0 # -J1 -M0 # \D0 \J0 \K5 \N3 \Q3 \T0 \V8 \X1 # :D0 # S00:000 S02:043 S07:090 S10:003 S64:010 S94:000 # weiter mit beliebigem Zeichen... # gespeichertes Profil 1: # keines # OK # ato # CONNECT 14400/LAPM/V42BIS # tell you that sz works *much better* if you do a stty crtscts.