This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

CLI Magic: Use ANSI escape sequences to display a clock in your terminal

Posted by: Anonymous [ip: 82.95.236.142] on January 22, 2008 05:16 PM
This is what sysline traditionally used to do: time, if I recall correctly, system load,
new mail flag, or really just about anything.
Google for terminal plus sysline or status line. Can be set at bottom or top of
terminal. Basically you're setting a so-called scroll region, and use what's left for
the status line.

Cheers.

#

Return to CLI Magic: Use ANSI escape sequences to display a clock in your terminal