xref: /freebsd/usr.bin/tip/tip/cu.1 (revision d391708c06767d32228e4a76539b7c214714d5a8)
1d391708cSRuslan Ermilov.\"	$OpenBSD: cu.1,v 1.3 2006/06/07 06:35:59 mbalmer Exp $
2d391708cSRuslan Ermilov.\"
3d391708cSRuslan Ermilov.\" Copyright (c) 1980, 1990, 1993
4d391708cSRuslan Ermilov.\"	The Regents of the University of California.  All rights reserved.
5d391708cSRuslan Ermilov.\"
6d391708cSRuslan Ermilov.\" Redistribution and use in source and binary forms, with or without
7d391708cSRuslan Ermilov.\" modification, are permitted provided that the following conditions
8d391708cSRuslan Ermilov.\" are met:
9d391708cSRuslan Ermilov.\" 1. Redistributions of source code must retain the above copyright
10d391708cSRuslan Ermilov.\"    notice, this list of conditions and the following disclaimer.
11d391708cSRuslan Ermilov.\" 2. Redistributions in binary form must reproduce the above copyright
12d391708cSRuslan Ermilov.\"    notice, this list of conditions and the following disclaimer in the
13d391708cSRuslan Ermilov.\"    documentation and/or other materials provided with the distribution.
14d391708cSRuslan Ermilov.\" 3. Neither the name of the University nor the names of its contributors
15d391708cSRuslan Ermilov.\"    may be used to endorse or promote products derived from this software
16d391708cSRuslan Ermilov.\"    without specific prior written permission.
17d391708cSRuslan Ermilov.\"
18d391708cSRuslan Ermilov.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19d391708cSRuslan Ermilov.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20d391708cSRuslan Ermilov.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21d391708cSRuslan Ermilov.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22d391708cSRuslan Ermilov.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23d391708cSRuslan Ermilov.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24d391708cSRuslan Ermilov.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25d391708cSRuslan Ermilov.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26d391708cSRuslan Ermilov.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27d391708cSRuslan Ermilov.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28d391708cSRuslan Ermilov.\" SUCH DAMAGE.
29d391708cSRuslan Ermilov.\"
30d391708cSRuslan Ermilov.\"	@(#)tip.1	8.4 (Berkeley) 4/18/94
31d391708cSRuslan Ermilov.\"
32d391708cSRuslan Ermilov.Dd September 9, 2001
33d391708cSRuslan Ermilov.Dt CU 1
34d391708cSRuslan Ermilov.Os
35d391708cSRuslan Ermilov.Sh NAME
36d391708cSRuslan Ermilov.Nm cu
37d391708cSRuslan Ermilov.Nd call UNIX
38d391708cSRuslan Ermilov.Sh SYNOPSIS
39d391708cSRuslan Ermilov.Nm
40d391708cSRuslan Ermilov.Op Fl ehot
41d391708cSRuslan Ermilov.Op Fl a Ar acu
42d391708cSRuslan Ermilov.Op Fl l Ar line
43d391708cSRuslan Ermilov.Op Fl s Ar speed \*(Ba Fl speed
44d391708cSRuslan Ermilov.Op Ar phone-number
45d391708cSRuslan Ermilov.Sh DESCRIPTION
46d391708cSRuslan Ermilov.Nm
47d391708cSRuslan Ermilovestablishes a full-duplex connection to another machine, giving the
48d391708cSRuslan Ermilovappearance of being logged in directly on the remote CPU.
49d391708cSRuslan ErmilovIt goes without saying that you must have a login on the machine (or
50d391708cSRuslan Ermilovequivalent) to which you wish to connect.
51d391708cSRuslan Ermilov.Pp
52d391708cSRuslan ErmilovThe options are as follows:
53d391708cSRuslan Ermilov.Bl -tag -width 4n
54d391708cSRuslan Ermilov.It Fl a Ar acu
55d391708cSRuslan ErmilovSet the acu.
56d391708cSRuslan Ermilov.It Fl e
57d391708cSRuslan ErmilovUse even parity.
58d391708cSRuslan ErmilovIf both
59d391708cSRuslan Ermilov.Fl e
60d391708cSRuslan Ermilovand
61d391708cSRuslan Ermilov.Fl o
62d391708cSRuslan Ermilovare given, then no parity is used
63d391708cSRuslan Ermilov(the default).
64d391708cSRuslan Ermilov.It Fl h
65d391708cSRuslan ErmilovEcho characters locally (half-duplex mode).
66d391708cSRuslan Ermilov.It Fl l Ar line
67d391708cSRuslan ErmilovSpecify the line to use.
68d391708cSRuslan ErmilovEither of the forms like
69d391708cSRuslan Ermilov.Pa tty00
70d391708cSRuslan Ermilovor
71d391708cSRuslan Ermilov.Pa /dev/tty00
72d391708cSRuslan Ermilovare permitted.
73d391708cSRuslan Ermilov.It Fl o
74d391708cSRuslan ErmilovUse odd parity.
75d391708cSRuslan ErmilovIf both
76d391708cSRuslan Ermilov.Fl e
77d391708cSRuslan Ermilovand
78d391708cSRuslan Ermilov.Fl o
79d391708cSRuslan Ermilovare given, then no parity is used
80d391708cSRuslan Ermilov(the default).
81d391708cSRuslan Ermilov.It Fl s Ar speed \*(Ba Fl speed
82d391708cSRuslan ErmilovSet the speed of the connection.
83d391708cSRuslan ErmilovThe default is 9600.
84d391708cSRuslan Ermilov.It Fl t
85d391708cSRuslan ErmilovConnect via a hard-wired connection to a host on a dial-up line.
86d391708cSRuslan Ermilov.El
87d391708cSRuslan Ermilov.Pp
88d391708cSRuslan ErmilovTyped characters are normally transmitted directly to the remote
89d391708cSRuslan Ermilovmachine (which does the echoing as well).
90d391708cSRuslan ErmilovA tilde
91d391708cSRuslan Ermilov.Pq Ql ~
92d391708cSRuslan Ermilovappearing as the first character of a line is an escape signal; the
93d391708cSRuslan Ermilovfollowing are recognized:
94d391708cSRuslan Ermilov.Bl -tag -offset indent -width Fl
95d391708cSRuslan Ermilov.It Ic ~^D No or Ic ~.
96d391708cSRuslan ErmilovDrop the connection and exit.
97d391708cSRuslan ErmilovOnly the connection is dropped \(en the login session is not terminated.
98d391708cSRuslan Ermilov.It Ic ~c Op Ar name
99d391708cSRuslan ErmilovChange directory to
100d391708cSRuslan Ermilov.Ar name
101d391708cSRuslan Ermilov(no argument implies change to home directory).
102d391708cSRuslan Ermilov.It Ic ~!
103d391708cSRuslan ErmilovEscape to a shell (exiting the shell will return to
104d391708cSRuslan Ermilov.Nm ) .
105d391708cSRuslan Ermilov.It Ic ~\*(Gt
106d391708cSRuslan ErmilovCopy file from local to remote.
107d391708cSRuslan Ermilov.Nm
108d391708cSRuslan Ermilovprompts for the name of a local file to transmit.
109d391708cSRuslan Ermilov.It Ic ~\*(Lt
110d391708cSRuslan ErmilovCopy file from remote to local.
111d391708cSRuslan Ermilov.Nm
112d391708cSRuslan Ermilovprompts first for the name of the file to be sent, then for a command
113d391708cSRuslan Ermilovto be executed on the remote machine.
114d391708cSRuslan Ermilov.It Ic ~p Ar from Op Ar to
115d391708cSRuslan ErmilovSend a file to a remote
116d391708cSRuslan Ermilov.Ux
117d391708cSRuslan Ermilovhost.
118d391708cSRuslan ErmilovThis command causes the remote
119d391708cSRuslan Ermilov.Ux
120d391708cSRuslan Ermilovsystem to run the following command string,
121d391708cSRuslan Ermilovsending it the
122d391708cSRuslan Ermilov.Sq from
123d391708cSRuslan Ermilovfile:
124d391708cSRuslan Ermilov.Bd -literal -offset indent
125d391708cSRuslan Ermilovstty -echo; cat \*(Gt 'to'; stty echo
126d391708cSRuslan Ermilov.Ed
127d391708cSRuslan Ermilov.Pp
128d391708cSRuslan ErmilovIf the
129d391708cSRuslan Ermilov.Sq to
130d391708cSRuslan Ermilovfile isn't specified, the
131d391708cSRuslan Ermilov.Sq from
132d391708cSRuslan Ermilovfile name is used.
133d391708cSRuslan ErmilovThis command is actually a
134d391708cSRuslan Ermilov.Ux
135d391708cSRuslan Ermilovspecific version of the
136d391708cSRuslan Ermilov.Ic ~\*(Gt
137d391708cSRuslan Ermilovcommand.
138d391708cSRuslan Ermilov.It Ic ~t Ar from Op Ar to
139d391708cSRuslan ErmilovTake a file from a remote
140d391708cSRuslan Ermilov.Ux
141d391708cSRuslan Ermilovhost.
142d391708cSRuslan ErmilovAs in the
143d391708cSRuslan Ermilov.Ic ~p
144d391708cSRuslan Ermilovcommand, the
145d391708cSRuslan Ermilov.Sq to
146d391708cSRuslan Ermilovfile defaults to the
147d391708cSRuslan Ermilov.Sq from
148d391708cSRuslan Ermilovfile name if it isn't specified.
149d391708cSRuslan ErmilovThe remote host executes the following command string
150d391708cSRuslan Ermilovto send the file to
151d391708cSRuslan Ermilov.Nm :
152d391708cSRuslan Ermilov.Bd -literal -offset indent
153d391708cSRuslan Ermilovcat 'from'; echo '' | tr '\e012' '\e01'
154d391708cSRuslan Ermilov.Ed
155d391708cSRuslan Ermilov.It Ic ~|
156d391708cSRuslan ErmilovPipe the output from a remote command to a local
157d391708cSRuslan Ermilov.Ux
158d391708cSRuslan Ermilovprocess.
159d391708cSRuslan ErmilovThe command string sent to the local
160d391708cSRuslan Ermilov.Ux
161d391708cSRuslan Ermilovsystem is processed by the shell.
162d391708cSRuslan Ermilov.It Ic ~$
163d391708cSRuslan ErmilovPipe the output from a local
164d391708cSRuslan Ermilov.Ux
165d391708cSRuslan Ermilovprocess to the remote host.
166d391708cSRuslan ErmilovThe command string sent to the local
167d391708cSRuslan Ermilov.Ux
168d391708cSRuslan Ermilovsystem is processed by the shell.
169d391708cSRuslan Ermilov.It Ic ~C
170d391708cSRuslan ErmilovFork a child process on the local system to perform special protocols
171d391708cSRuslan Ermilovsuch as \s-1XMODEM\s+1.
172d391708cSRuslan ErmilovThe child program will be run with the following arrangement of
173d391708cSRuslan Ermilovfile descriptors:
174d391708cSRuslan Ermilov.Bd -literal -offset indent
175d391708cSRuslan Ermilov0 \*(Lt-\*(Gt remote tty in
176d391708cSRuslan Ermilov1 \*(Lt-\*(Gt remote tty out
177d391708cSRuslan Ermilov2 \*(Lt-\*(Gt local tty stderr
178d391708cSRuslan Ermilov.Ed
179d391708cSRuslan Ermilov.It Ic ~#
180d391708cSRuslan ErmilovSend a
181d391708cSRuslan Ermilov.Dv BREAK
182d391708cSRuslan Ermilovto the remote system.
183d391708cSRuslan ErmilovFor systems which don't support the necessary
184d391708cSRuslan Ermilov.Fn ioctl
185d391708cSRuslan Ermilovcall, the break is simulated by a sequence of line speed changes and
186d391708cSRuslan ErmilovDEL characters.
187d391708cSRuslan Ermilov.It Ic ~s
188d391708cSRuslan ErmilovSet a variable (see the discussion below).
189d391708cSRuslan Ermilov.It Ic ~v
190d391708cSRuslan ErmilovList all variables and their values (if set).
191d391708cSRuslan Ermilov.It Ic ~^Z
192d391708cSRuslan ErmilovStop
193d391708cSRuslan Ermilov.Nm
194d391708cSRuslan Ermilov(only available with job control).
195d391708cSRuslan Ermilov.It Ic ~^Y
196d391708cSRuslan ErmilovStop only the
197d391708cSRuslan Ermilov.Dq local side
198d391708cSRuslan Ermilovof
199d391708cSRuslan Ermilov.Nm
200d391708cSRuslan Ermilov(only available with job control); the
201d391708cSRuslan Ermilov.Dq remote side
202d391708cSRuslan Ermilovof
203d391708cSRuslan Ermilov.Nm ,
204d391708cSRuslan Ermilovthe side that displays output from the remote host, is left running.
205d391708cSRuslan Ermilov.It Ic ~?
206d391708cSRuslan ErmilovGet a summary of the tilde escapes.
207d391708cSRuslan Ermilov.El
208d391708cSRuslan Ermilov.Pp
209d391708cSRuslan ErmilovWhen
210d391708cSRuslan Ermilov.Nm
211d391708cSRuslan Ermilovprompts for an argument, for example during setup of a file transfer,
212d391708cSRuslan Ermilovthe line typed may be edited with the standard erase and kill characters.
213d391708cSRuslan ErmilovA null line in response to a prompt, or an interrupt, will abort the
214d391708cSRuslan Ermilovdialogue and return the user to the remote machine.
215d391708cSRuslan Ermilov.Pp
216d391708cSRuslan Ermilov.Nm
217d391708cSRuslan Ermilovguards against multiple users connecting to a remote system by opening
218d391708cSRuslan Ermilovmodems and terminal lines with exclusive access, and by honoring the
219d391708cSRuslan Ermilovlocking protocol used by
220d391708cSRuslan Ermilov.Xr uucico .
221d391708cSRuslan Ermilov.Pp
222d391708cSRuslan ErmilovDuring file transfers
223d391708cSRuslan Ermilov.Nm
224d391708cSRuslan Ermilovprovides a running count of the number of lines transferred.
225d391708cSRuslan ErmilovWhen using the
226d391708cSRuslan Ermilov.Ic ~\*(Gt
227d391708cSRuslan Ermilovand
228d391708cSRuslan Ermilov.Ic ~\*(Lt
229d391708cSRuslan Ermilovcommands, the
230d391708cSRuslan Ermilov.Dq eofread
231d391708cSRuslan Ermilovand
232d391708cSRuslan Ermilov.Dq eofwrite
233d391708cSRuslan Ermilovvariables are used to recognize end-of-file when reading, and specify
234d391708cSRuslan Ermilovend-of-file when writing (see below).
235d391708cSRuslan ErmilovFile transfers normally depend on hardwareflow or tandem mode for flow control.
236d391708cSRuslan ErmilovIf the remote system does not support hardwareflow or tandem mode,
237d391708cSRuslan Ermilov.Dq echocheck
238d391708cSRuslan Ermilovmay be set to indicate
239d391708cSRuslan Ermilov.Nm
240d391708cSRuslan Ermilovshould synchronize with the remote system on the echo of each
241d391708cSRuslan Ermilovtransmitted character.
242d391708cSRuslan Ermilov.Pp
243d391708cSRuslan ErmilovWhen
244d391708cSRuslan Ermilov.Nm
245d391708cSRuslan Ermilovmust dial a phone number to connect to a system, it will print various
246d391708cSRuslan Ermilovmessages indicating its actions.
247d391708cSRuslan Ermilov.Nm
248d391708cSRuslan Ermilovsupports a variety of auto-call units and modems with the
249d391708cSRuslan Ermilov.Ar at
250d391708cSRuslan Ermilovcapability in system descriptions.
251d391708cSRuslan Ermilov.Pp
252d391708cSRuslan ErmilovSupport for Ventel 212+	(ventel), Hayes AT-style (hayes),
253d391708cSRuslan ErmilovUSRobotics Courier (courier), Telebit T3000 (t3000) and
254d391708cSRuslan ErmilovRacal-Vadic 831 (vadic) units is enabled by default.
255d391708cSRuslan Ermilov.Pp
256d391708cSRuslan ErmilovSupport for Bizcomp 1031[fw] (biz31[fw]), Bizcomp 1022[fw]
257d391708cSRuslan Ermilov(biz22[fw]), DEC DF0[23]-AC (df0[23]), DEC DN-11 (dn11) and
258d391708cSRuslan ErmilovRacal-Vadic 3451 (v3451) units can be added by recompiling
259d391708cSRuslan Ermilov.Nm
260d391708cSRuslan Ermilovwith the appropriate defines.
261d391708cSRuslan Ermilov.Pp
262d391708cSRuslan ErmilovNote that if support for both the Racal-Vadic 831 and 3451 is enabled,
263d391708cSRuslan Ermilovthey are referred to as the v831 and v3451 respectively.
264d391708cSRuslan ErmilovIf only one of the two is supported, it is referred to as vadic.
265d391708cSRuslan Ermilov.Ss VARIABLES
266d391708cSRuslan Ermilov.Nm
267d391708cSRuslan Ermilovmaintains a set of variables which control its operation.
268d391708cSRuslan ErmilovSome of these variables are read-only to normal users (root is allowed
269d391708cSRuslan Ermilovto change anything of interest).
270d391708cSRuslan ErmilovVariables may be displayed and set through the
271d391708cSRuslan Ermilov.Sq s
272d391708cSRuslan Ermilovescape.
273d391708cSRuslan ErmilovThe syntax for variables is patterned after
274d391708cSRuslan Ermilov.Xr vi 1
275d391708cSRuslan Ermilovand
276d391708cSRuslan Ermilov.Xr Mail 1 .
277d391708cSRuslan ErmilovSupplying
278d391708cSRuslan Ermilov.Dq all
279d391708cSRuslan Ermilovas an argument to the set command displays all variables readable by
280d391708cSRuslan Ermilovthe user.
281d391708cSRuslan ErmilovAlternatively, the user may request display of a particular variable
282d391708cSRuslan Ermilovby attaching a
283d391708cSRuslan Ermilov.Ql \&?
284d391708cSRuslan Ermilovto the end.
285d391708cSRuslan ErmilovFor example,
286d391708cSRuslan Ermilov.Dq escape?
287d391708cSRuslan Ermilovdisplays the current escape character.
288d391708cSRuslan Ermilov.Pp
289d391708cSRuslan ErmilovVariables are numeric, string, character, or boolean values.
290d391708cSRuslan ErmilovBoolean variables are set merely by specifying their name; they may be
291d391708cSRuslan Ermilovreset by prepending a
292d391708cSRuslan Ermilov.Ql !\&
293d391708cSRuslan Ermilovto the name.
294d391708cSRuslan ErmilovOther variable types are set by concatenating an
295d391708cSRuslan Ermilov.Ql =
296d391708cSRuslan Ermilovand the value.
297d391708cSRuslan ErmilovThe entire assignment must not have any blanks in it.
298d391708cSRuslan ErmilovA single set command may be used to interrogate as well as set a
299d391708cSRuslan Ermilovnumber of variables.
300d391708cSRuslan ErmilovCertain common variables have abbreviations.
301d391708cSRuslan ErmilovThe following is a list of common variables, their abbreviations, and
302d391708cSRuslan Ermilovtheir default values:
303d391708cSRuslan Ermilov.Bl -tag -width Ar
304d391708cSRuslan Ermilov.It Ar baudrate
305d391708cSRuslan Ermilov(num) The baud rate at which the connection was established;
306d391708cSRuslan Ermilovabbreviated
307d391708cSRuslan Ermilov.Ar ba .
308d391708cSRuslan Ermilov.It Ar beautify
309d391708cSRuslan Ermilov(bool) Discard unprintable characters when a session is being
310d391708cSRuslan Ermilovscripted; abbreviated
311d391708cSRuslan Ermilov.Ar be .
312d391708cSRuslan Ermilov.It Ar dialtimeout
313d391708cSRuslan Ermilov(num) When dialing a phone number, the time (in seconds) to wait for a
314d391708cSRuslan Ermilovconnection to be established; abbreviated
315d391708cSRuslan Ermilov.Ar dial .
316d391708cSRuslan Ermilov.It Ar echocheck
317d391708cSRuslan Ermilov(bool) Synchronize with the remote host during file transfer by
318d391708cSRuslan Ermilovwaiting for the echo of the last character transmitted; default is
319d391708cSRuslan Ermilov.Ar off .
320d391708cSRuslan Ermilov.It Ar eofread
321d391708cSRuslan Ermilov(str) The set of characters which signify an end-of-transmission
322d391708cSRuslan Ermilovduring a
323d391708cSRuslan Ermilov.Ic ~\*(Lt
324d391708cSRuslan Ermilovfile transfer command; abbreviated
325d391708cSRuslan Ermilov.Ar eofr .
326d391708cSRuslan Ermilov.It Ar eofwrite
327d391708cSRuslan Ermilov(str) The string sent to indicate end-of-transmission during a
328d391708cSRuslan Ermilov.Ic ~\*(Gt
329d391708cSRuslan Ermilovfile transfer command; abbreviated
330d391708cSRuslan Ermilov.Ar eofw .
331d391708cSRuslan Ermilov.It Ar eol
332d391708cSRuslan Ermilov(str) The set of characters which indicate an end-of-line.
333d391708cSRuslan Ermilov.Nm
334d391708cSRuslan Ermilovwill recognize escape characters only after an end-of-line.
335d391708cSRuslan Ermilov.It Ar escape
336d391708cSRuslan Ermilov(char) The command prefix (escape) character; abbreviated
337d391708cSRuslan Ermilov.Ar es ;
338d391708cSRuslan Ermilovdefault value is
339d391708cSRuslan Ermilov.Ql ~ .
340d391708cSRuslan Ermilov.It Ar exceptions
341d391708cSRuslan Ermilov(str) The set of characters which should not be discarded due to the
342d391708cSRuslan Ermilovbeautification switch; abbreviated
343d391708cSRuslan Ermilov.Ar ex ;
344d391708cSRuslan Ermilovdefault value is
345d391708cSRuslan Ermilov.Dq \et\en\ef\eb .
346d391708cSRuslan Ermilov.It Ar force
347d391708cSRuslan Ermilov(char) The character used to force literal data transmission;
348d391708cSRuslan Ermilovabbreviated
349d391708cSRuslan Ermilov.Ar fo ;
350d391708cSRuslan Ermilovdefault value is
351d391708cSRuslan Ermilov.Ql ^P .
352d391708cSRuslan Ermilov.It Ar framesize
353d391708cSRuslan Ermilov(num) The amount of data (in bytes) to buffer between filesystem
354d391708cSRuslan Ermilovwrites when receiving files; abbreviated
355d391708cSRuslan Ermilov.Ar fr .
356d391708cSRuslan Ermilov.It Ar hardwareflow
357d391708cSRuslan Ermilov(bool) Whether hardware flow control (CRTSCTS) is enabled for the
358d391708cSRuslan Ermilovconnection; abbreviated
359d391708cSRuslan Ermilov.Ar hf ;
360d391708cSRuslan Ermilovdefault value is
361d391708cSRuslan Ermilov.Ql off .
362d391708cSRuslan Ermilov.It Ar host
363d391708cSRuslan Ermilov(str) The name of the host to which you are connected; abbreviated
364d391708cSRuslan Ermilov.Ar ho .
365d391708cSRuslan Ermilov.It Ar linedisc
366d391708cSRuslan Ermilov(num) The line discipline to use; abbreviated
367d391708cSRuslan Ermilov.Ar ld .
368d391708cSRuslan Ermilov.It Ar prompt
369d391708cSRuslan Ermilov(char) The character which indicates an end-of-line on the remote
370d391708cSRuslan Ermilovhost; abbreviated
371d391708cSRuslan Ermilov.Ar pr ;
372d391708cSRuslan Ermilovdefault value is
373d391708cSRuslan Ermilov.Ql \en .
374d391708cSRuslan ErmilovThis value is used to synchronize during data transfers.
375d391708cSRuslan ErmilovThe count of lines transferred during a file transfer command is based
376d391708cSRuslan Ermilovon receipt of this character.
377d391708cSRuslan Ermilov.It Ar raise
378d391708cSRuslan Ermilov(bool) Upper case mapping mode; abbreviated
379d391708cSRuslan Ermilov.Ar ra ;
380d391708cSRuslan Ermilovdefault value is
381d391708cSRuslan Ermilov.Ar off .
382d391708cSRuslan ErmilovWhen this mode is enabled, all lowercase letters will be mapped to
383d391708cSRuslan Ermilovuppercase by
384d391708cSRuslan Ermilov.Nm
385d391708cSRuslan Ermilovfor transmission to the remote machine.
386d391708cSRuslan Ermilov.It Ar raisechar
387d391708cSRuslan Ermilov(char) The input character used to toggle uppercase mapping mode;
388d391708cSRuslan Ermilovabbreviated
389d391708cSRuslan Ermilov.Ar rc ;
390d391708cSRuslan Ermilovdefault value is
391d391708cSRuslan Ermilov.Ql ^A .
392d391708cSRuslan Ermilov.It Ar record
393d391708cSRuslan Ermilov(str) The name of the file in which a session script is recorded;
394d391708cSRuslan Ermilovabbreviated
395d391708cSRuslan Ermilov.Ar rec .
396d391708cSRuslan Ermilov.It Ar script
397d391708cSRuslan Ermilov(bool) Session scripting mode; abbreviated
398d391708cSRuslan Ermilov.Ar sc ;
399d391708cSRuslan Ermilovdefault is
400d391708cSRuslan Ermilov.Ar off .
401d391708cSRuslan ErmilovWhen
402d391708cSRuslan Ermilov.Ar script
403d391708cSRuslan Ermilovis
404d391708cSRuslan Ermilov.Li true ,
405d391708cSRuslan Ermilov.Nm
406d391708cSRuslan Ermilovwill record everything transmitted by the remote machine in the script
407d391708cSRuslan Ermilovrecord file specified in
408d391708cSRuslan Ermilov.Ar record .
409d391708cSRuslan ErmilovIf the
410d391708cSRuslan Ermilov.Ar beautify
411d391708cSRuslan Ermilovswitch is on, only printable
412d391708cSRuslan Ermilov.Tn ASCII
413d391708cSRuslan Ermilovcharacters will be included in the script file (those characters
414d391708cSRuslan Ermilovbetween 040 and 0177).
415d391708cSRuslan ErmilovThe variable
416d391708cSRuslan Ermilov.Ar exceptions
417d391708cSRuslan Ermilovis used to indicate characters which are an exception to the normal
418d391708cSRuslan Ermilovbeautification rules.
419d391708cSRuslan Ermilov.It Ar tabexpand
420d391708cSRuslan Ermilov(bool) Expand tabs to spaces during file transfers; abbreviated
421d391708cSRuslan Ermilov.Ar tab ;
422d391708cSRuslan Ermilovdefault value is
423d391708cSRuslan Ermilov.Ar false .
424d391708cSRuslan ErmilovEach tab is expanded to 8 spaces.
425d391708cSRuslan Ermilov.It Ar tandem
426d391708cSRuslan Ermilov(bool) Use XON/XOFF flow control to throttle data from the remote host;
427d391708cSRuslan Ermilovabbreviated
428d391708cSRuslan Ermilov.Ar ta .
429d391708cSRuslan ErmilovThe default value is
430d391708cSRuslan Ermilov.Ar true .
431d391708cSRuslan Ermilov.It Ar verbose
432d391708cSRuslan Ermilov(bool) Verbose mode; abbreviated
433d391708cSRuslan Ermilov.Ar verb ;
434d391708cSRuslan Ermilovdefault is
435d391708cSRuslan Ermilov.Ar true .
436d391708cSRuslan ErmilovWhen verbose mode is enabled,
437d391708cSRuslan Ermilov.Nm
438d391708cSRuslan Ermilovprints messages while dialing, shows the current number of lines
439d391708cSRuslan Ermilovtransferred during a file transfer operations, and more.
440d391708cSRuslan Ermilov.El
441d391708cSRuslan Ermilov.Sh ENVIRONMENT
442d391708cSRuslan Ermilov.Bl -tag -width Fl
443d391708cSRuslan Ermilov.It Ev HOME
444d391708cSRuslan ErmilovThe home directory to use for the
445d391708cSRuslan Ermilov.Ic ~c
446d391708cSRuslan Ermilovcommand.
447d391708cSRuslan Ermilov.It Ev SHELL
448d391708cSRuslan ErmilovThe name of the shell to use for the
449d391708cSRuslan Ermilov.Ic ~!\&
450d391708cSRuslan Ermilovcommand; default value is
451d391708cSRuslan Ermilov.Dq /bin/sh .
452d391708cSRuslan Ermilov.El
453d391708cSRuslan Ermilov.Sh FILES
454d391708cSRuslan Ermilov.Bl -tag -width "/var/spool/lock/LCK..*" -compact
455d391708cSRuslan Ermilov.It Pa /var/log/aculog
456d391708cSRuslan Ermilovline access log
457d391708cSRuslan Ermilov.It Pa /var/spool/lock/LCK..*
458d391708cSRuslan Ermilovlock file to avoid conflicts with
459d391708cSRuslan Ermilov.Xr uucp
460d391708cSRuslan Ermilov.El
461d391708cSRuslan Ermilov.Sh SEE ALSO
462d391708cSRuslan Ermilov.Xr tip 1
463d391708cSRuslan Ermilov.Sh HISTORY
464d391708cSRuslan ErmilovThe
465d391708cSRuslan Ermilov.Nm
466d391708cSRuslan Ermilovcommand appeared in
467d391708cSRuslan Ermilov.Bx 4.2 .
468d391708cSRuslan Ermilov.Sh BUGS
469d391708cSRuslan ErmilovThe full set of variables is undocumented and should, probably, be
470d391708cSRuslan Ermilovpared down.
471