GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DISPLAY (1)

NAME

display - repeat a command through curses for minimal update

CONTENTS

Synopsis
Description
Examples
Diagnostics
Bugs
Original Author

SYNOPSIS

display [-<delay>] <command>

DESCRIPTION

Display repeatedly executes a shell command, sending the output through curses(3X) to cause only the portions of the output which have changed from one execution to the next to be redrawn. command must be quoted if it contains blanks or other special characters. delay is the number of seconds to suspend between updates; the default is 5. Display now updates on any keystroke other than "q" or "Q" (either of which will cause it to exit cleanly). Such a keystroke will also clear the rest of the screen of garbage. A loop counter and the current system time are updated at the bottom of the screen. The program will only attempt to display (LINES - 1) lines of output from the program being followed; the rest are ignored.

EXAMPLES

display -10 "date; echo ’ ’; uusnap; echo ’ ’; mailq"

This provides a dynamic ’UUCP status watch’ for BSD systems. If anyone figures out a non-nightmarish csh alias for something with both kinds of quotes in it, please send mail.

SEE ALSO

popen(3), curses(3X), sh(1)

DIAGNOSTICS

Moderately informative usage message if you run it with a bad command line.

BUGS

Popen(3) always executes the command through sh(1)

Holding a key down while using display to show the results of some CPU intensive process will probably make your system quite busy....

ORIGINAL AUTHOR

Paul Vixie
{ptsfa,qantel,crash,winfree}!vixie!paul
{now likely to be http://www.vix.com}

Keystroke stuff added by:

Dave Remien {olden times email - uunet!pmafire!dave} {now - dremien@ipsmart.com

Search for    or go to Top of page |  Section 1 |  Main Index


--> AT (1) Original: December 15, 1986 - Updated: November 27, 2000

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.