sourCEntral - mobile manpages

pdf

PUTLCD

NAME

putlcd − display text on Cobalt’s LCD display

SYNOPSIS

putlcd [−n] [STRING] [STRING]

DESCRIPTION

putlcd is a tool to display text on the LCD display of Cobalt machines. Since the LCD display features two lines of 16 characters, putlcd accepts two strings as its argument, representing the first and the second line. If any of the two arguments are omitted, the empty string is assumed and that line of the LCD will be cleared. If you want to display text containing white space, you have to properly quote the text, otherwise putlcd will interpret the text as separate arguments.

If putlcd is run with the −n switch the LCD line will not be cleared if the corresponding string is empty.

EXAMPLES

Put “Hello” on the first line and “world” on the second:

putlcd Hello world

Put “Hello world” on the first line and clear the second:

putlcd "Hello world"

Put “Hello world” on the second line and clear the first:

putlcd "" "Hello world"

Clear the whole display:

putlcd "" ""

or simply:

putlcd

AUTHOR

Peter Horton <pdh@colonel−panic.org>

pdf