HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 1)
k
kermit(1) kermit(1)
(HP-UX C-Kermit)
-g files get remote files from server (quote wildcards)
-G files like -g but sends file to standard output
-a name alternate file name, used with -s, -r, -g
-c connect (before file transfer), used with -l or -j
-n connect (after file transfer), used with -l or -j
Settings:
-l line communication line device (to make a serial connection)
-l n open file descriptor of communication device
-j host TCP/IP network host name (to make a network connection)
-J host connect like TELNET, exit when connection closes
-l n open file descriptor of TCP/IP connection (n = number)
-X X.25 network address
-Z open file descriptor of X.25 connection
-o n X.25 closed user group call info
-u X.25 reverse-charge call
-q quiet during file transfer
-I connection is reliable (e.g. TCP or X.25)
-8 8-bit clean
-0 100% transparency in CONNECT mode (and no escaping back)
-i transfer files in binary mode
-T transfer files in text mode
-P send/accept literal path (file) names
-b bps serial line speed, e.g. 1200
-m name modem type, e.g. hayes
-p x parity, x = e,o,m,s, or n
-t half duplex, xon handshake
-e n receive packet-length
-v n window size
-L used with -s to select recursive directory transfer
-Q Quick file-transfer settings
-w write over files of same name, do not backup old file
-D n delay n seconds before sending a file
-V "manual mode" = SET FILE PATTERNS OFF, SET TRANSFER MODE
MANUAL.
Other:
-y name alternate init file name
-Y Skip init file
-R Advise C-Kermit it will be used only in remote mode
-d log debug info to file debug.log
-S Stay, do not exit, after action command
-C "cmds" Interactive-mode commands, comma-separated
-z Force foreground operation
-B Force background (batch) operation
-h print command-line option help screen
= Ignore all text that follows
-- Same as =
COMMAND LINE EXAMPLES
Remote-mode example (C-Kermit is on the far end):
kermit -v 4 -i -s oofa.bin
sends file oofa.bin in binary mode (-i) using a window size of 4 (-v 4).
Local-mode example (C-Kermit makes the connection):
kermit -l /dev/tty0p0 -b 19200 -c -r -n
makes a 19200-bps direct connection out through /dev/tty0p0, CONNECTs (-c) so you can log in and,
presumably start a remote Kermit program and tell it to send a file, then it RECEIVEs the file (-r), then it
CONNECTs back (-n) so you can finish up and log out.
Section 1−−392 Hewlett-Packard Company − 12 − HP-UX 11i Version 1: September 2005