Tip (unix utility)

From Wikipedia, the free encyclopedia

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

Contents

[edit] Basics

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

The tip command line options are as follows

    tip [-v] [-speed-entry] {hostname | phone-number | device}

[edit] 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"

[edit] References

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

[edit] External links