-->

Previous | Table of Contents | Next

Page 89

~p from to, ~%put from to Send a file to a remote UNIX system. This runs the appropriate commands on the remote system.
~t from to, ~%take from to Retrieve a file from a remote UNIX system. This runs the appropriate commands on the remote system.
~s variable value Set a cu variable to the given value. If value is not given, the variable is set to True.
~! variable Set a cu variable to False.
~z Suspend the cu session. This is only supported on some systems. On systems for which ^Z may be used to suspend a job, ~^Z will also suspend the session.
~%nostop Turn off XON/XOFF handling.
~%stop Turn on XON/XOFF handling.
~v List all the variables and their values.
~? List all commands.
cu also supports several variables. They may be listed with the ~v command, and set with the ~s or ~! commands.
escape The escape character. Initially ~ (tilde).
delay If this variable is True, cu will delay for a second after recognizing the escape character before printing the name of the local system. The default is True.
eol The list of characters which are considered to finish a line. The escape character is only recognized after one of these is seen. The default is carriage return, ^U, ^C, ^O, ^D, ^S, ^Q, ^R.
binary Whether to transfer binary data when sending a file. If this is False, then newlines in the file being sent are converted to carriage returns. The default is False.
binary-prefix A string used before sending a binary character in a file transfer, if the binary variable is True. The default is ^Z.
echo-check Whether to check file transfers by examining what the remote system echoes back. This probably doesn't work very well. The default is False.
echonl The character to look for after sending each line in a file. The default is carriage return.

timeout The timeout to use, in seconds, when looking for a character, either when doing echo checking or when looking for the echonl character. The default is 30.
kill The character to use to delete a line if the echo check fails. The default is ^U.
resend The number of times to resend a line if the echo check continues to fail. The default is 10.
eofwrite The string to write after sending a file with the ~> command. The default is ^D.
eofread The string to look for when receiving a file with the ~< command. The default is $, which is intended to be a typical shell prompt.
verbose Whether to print accumulated information during a file transfer. The default is True.

OPTIONS

The following options may be given to cu:

_e, —parity=even Use even parity.
_o, —parity=odd Use odd parity.
—parity=none Use no parity. No parity is also used if both _e and _o are given.
_h, —halfduplex Echo characters locally (half-duplex mode).
_z system, —system system The system to call.
_c phone-number, —phone phone-number The phone number to call.
_p port, —port port Name the port to use.
_a port Equivalent to —port port.
_l line, —line line Name the line to use by giving a device name. This may be used to dial out on ports that are not listed in the UUCP configuration files. Write access to the device is required.

Page 90

_s speed, —speed speed The speed (baud rate) to use.
_# Where # is a number, equivalent to —speed #.
_n, —prompt Prompt for the phone number to use.
_d Enter debugging mode. Equivalent to _debug all.
_x type, —debug type Turn on particular debugging types. The following types are recognized: abnormal, chat, handshake, uucpproto, proto, port, config, spooldir, execute, incoming, outgoing. Only abnormal, chat, handshake, port, config, incoming and outgoing are meaningful for cu. Multiple types may be given, separated by commas, and the —debug option may appear multiple times. A number may also be given, which will turn on that many types from the foregoing list; for example, —debug 2 is equivalent to —debug abnormal,chat. —debug all may be used to turn on all debugging options.
_I file, —config file Set configuration file to use. This option may not be available, depending upon how cu was compiled.
_v, —version Report version information and exit.
—help Print a help message and exit.

BUGS

This program does not work very well.

FILES

The filename may be changed at compilation time, so this is only an approximation. Configuration file:


/usr/lib/uucp/config

AUTHOR

Ian Lance Taylor (ian@airs.com)

Taylor UUCP 1.05

cut

cut—Remove sections from each line of files

SYNOPSIS


cut {_b byte-list, —bytes=byte-list} [_n] [—help] [—version] [file...]



cut {_c character-list, —characters=character-list} [—help] [—version] [file...]



cut {_f field-list, —fields=field-list} [_d delim] [_s] [—delimiter=delim]

[—only-delimited] [—help] [—version] [file...]

DESCRIPTION

This manual page documents the GNU version of cut. cut prints sections of each line of each input file, or the standard input if no files are given. A filename of - means standard input. The sections to be printed are selected by the options.

OPTIONS

The byte-list, character-list, and field-list options are one or more numbers or ranges (two numbers separated by a dash) separated by commas. The first byte, character, and field are numbered 1. Incomplete ranges may be given: _m means 1_m; n_ means n through end of line or last field.

Previous | Table of Contents | Next