Jump to content

Tip (Unix utility)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Grshiplett (talk | contribs) at 19:31, 8 June 2007 (added script with mods from ref book). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

tip is a unix utility for extablishing a terminal connection to a remote system via a modem.

Basics

Tip is one of the commands referenced in the expect reference book by Don Libes.

Examples

A simple example is a script that establishes a terminal session: spawn tip modem expect "connected" send "ATD$argc\r" set timeout 30 expect "CONNECT"

References

  • Libes, Don (1995). Exploring Expect: A Tcl-Based Tool for Automating Interactive Programs. O'Reilly & Associates, Inc. ISBN 1-56592-090-2.