tip is a
Unix
Unix (, ; trademarked as UNIX) is a family of multitasking, multi-user computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, a ...
utility for establishing a
terminal
Terminal may refer to:
Computing Hardware
* Computer terminal, a set of primary input and output devices for a computer
* Terminal (electronics), a device for joining electrical circuits together
** Battery terminal, electrical contact used to ...
connection to a remote system via a
modem
The Democratic Movement (, ; MoDem ) is a centre to centre-right political party in France, whose main ideological trends are liberalism and Christian democracy, and that is characterised by a strong pro-Europeanist stance. MoDem was establis ...
.
It is commonly associated with
BSD
The Berkeley Software Distribution (BSD), also known as Berkeley Unix or BSD Unix, is a discontinued Unix operating system developed and distributed by the Computer Systems Research Group (CSRG) at the University of California, Berkeley, beginni ...
Unix, as well as other UNIX operating systems such as
Sun's Solaris
Solaris is the Latin word for sun.
It may refer to:
Arts and entertainment Literature, television and film
* ''Solaris'' (novel), a 1961 science fiction novel by Stanisław Lem
** ''Solaris'' (1968 film), directed by Boris Nirenburg
** ''Sol ...
. It was originally included with
4.2BSD
The history of the Berkeley Software Distribution began in the 1970s when University of California, Berkeley received a copy of Unix. Professors and students at the university began adding software to the operating system and released it as BSD to ...
.
The name may refer to ARPANET's Terminal Interface Processor (TIP),
a variant of the
IMP
IMP or imp may refer to:
* Imp, a fantasy creature
Arts and entertainment
Music
* IMP (band) a Japanese boy band
Fictional characters
* Imp (She-Ra), a character in ''She-Ra: Princess of Power''
* Imp a character in '' Artemis Fowl: The L ...
, used to connect serial terminals directly with ARPANET.
tip is referred to in the Solaris documentation as the preferred terminal emulator to connect to a
Sun workstation
The SUN workstation was a modular computer system designed at Stanford University in the early 1980s. It became the seed technology for many commercial products, including the original workstations from Sun Microsystems.
History
In 1979 Xerox do ...
's serial port for maintenance purposes, for example, to configure the
OpenPROM firmware.
Basics
tip is one of the commands referenced in the
expect
Expect is an extension to the Tcl scripting language written by Don Libes. The program automates interactions with programs that expose a text terminal interface. Expect, originally written in 1990 for the Unix platform, has since become avail ...
reference book by Don Libes.
The tip command line options are as follows:
tip v speed-entry( , , )
Use ~. to exit.
Use ~# to break (Stop-A on a Sun keyboard).
Use ~? to list all commands.
Examples
This
Expect
Expect is an extension to the Tcl scripting language written by Don Libes. The program automates interactions with programs that expose a text terminal interface. Expect, originally written in 1990 for the Unix platform, has since become avail ...
script is a simple example that establishes a terminal session:
spawn tip modem
expect "connected"
send "ATD$argc\r"
set timeout 30
expect "CONNECT"
As tip does not have the built-in logging capabilities that
Minicom has, we need to use some other means to record the session. One way is to use
script
Script may refer to:
Writing systems
* Script, a distinctive writing system, based on a repertoire of specific elements or symbols, or that repertoire
* Script (styles of handwriting)
** Script typeface, a typeface with characteristics of handw ...
:
$ script -a install.log
Script started, file is install.log
$ tip hardwire
ip session takes place.$ exit
Script done, file is install.log
$
and so on. In the above example, run on a Sun
SPARC 20 workstation running Solaris 9, we first created a log file called install.log in the current directory using script' and then tell tip to use serial port B.
See also
*
cu (Unix utility)
cu ("call Unix") is a Unix utility for establishing a connection between two computer systems via a serial port to another computer system. When cu was originally created, connections to remote systems were most often done by phone, and cu was us ...
, a similar command
References
*
External links
NetBSD source to tip
{{unix commands
Unix software
Communication software
Terminal emulators