display

AT(1)                       General Commands Manual                      AT(1)



NAME
       display - repeat a command through curses for minimal update

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).

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
       Fairly 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@scientech.com}



4th BerkeleOriginal:uDecember 15, 1986 - Updated: November 12, 1999      AT(1)