k

kermit(1)

kermit(1)

 

(HP-UX C-Kermit)

-g files

get remote ®les from server (quote wildcards)

-G files

like -g but sends ®le to standard output

-a name

alternate ®le name, used with -s, -r, -g

-c

connect (before ®le transfer), used with -l or -j

-n

connect (after ®le transfer), used with -l or -j

Settings:

 

-l line

communication line device (to make a serial connection)

-l n

open ®le 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 ®le descriptor of TCP/IP connection (n = number)

-X

X.25 network address

-Z

open ®le descriptor of X.25 connection

-o n

X.25 closed user group call info

-u

X.25 reverse-charge call

-q

quiet during ®le 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 ®les in binary mode

-T

transfer ®les in text mode

-P

send/accept literal path (®le) 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 ®le-transfer settings

-w

write over ®les of same name, do not backup old ®le

-D n

delay n seconds before sending a ®le

-V

"manual mode" = SET FILE PATTERNS OFF, SET TRANSFER MODE

 

MANUAL.

Other:

 

-y name

alternate init ®le name

-Y

Skip init ®le

-R

Advise C-Kermit it will be used only in remote mode

-d

log debug info to ®le 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 ®le 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 ®le, then it RECEIVEs the ®le (-r), then it CONNECTs back (-n) so you can ®nish up and log out.

Section 1378

− 12 −

HP-UX Release 11i: December 2000