Set(text ... ) command

Text view screen This command used to text on the phone screen.

Format

Set(text,add|replace, title, _text_) or

Set(text,clear|show|close) or

Set(text,fg|bg|font, _data_) or

Set(text,wrap,on|off)

Usage

Set(text,add|replace ...)

Command Set(text,add|replace ...) used to add or replace content of the existing text screen.

1=Set(text,replace,Text,some long text)
2=Set(text,add,SAME,another long text)
3=ExecAndSet(text,replace,Text,more /etc/motd)

The word SAME can be used instead of title if there are no needs to change existing text screen title.

It is possible to add line break characters to the text. It could be done with "\n".

The length of the text which can transferred to phone depends on the phone capabilities. So, be careful with uploading large text files. It will take a really long time and even can crash Java Client.

Set(text,show)

Command Set(text,show) used to show existing text.

3=Set(text,show)

Set(text,clear)

Command Set(text,clear) used to clear existing text.

4=Set(text,clear)

Set(text,close)

Command Set(text,close) used to close text screen. If it is closed, then main window of Java Client will be shown.

Back($$)=Set(text,close)

Set(text,wrap ...)

Command Set(text,wrap,on|off) used to set wrap mode on/off.

5=Set(text,wrap,on)

It is also possible to set wrap on/off by choosing menu item of text screen.

Set(text,fg|bg ...)

Command Set(text,fg|bg,R,G,B) used to set foregroung or background colors, where values of R,G and B should be beetween 0 and 255.

5=Set(text,fg,255,255,255)
6=ExecAndSet(text,fg,echo "255,255,255")

Set(text,font ...)

Command Set(text,font [,small | medium | large] [,bold] [,italic] [,underlined] [,system | monospace | proportional]) used to set font parameters. Java realization in the phone could support only some subset of fonts which can be specified by this command.

6=Set(text,font,medium,italic,system)

Using special keys

Keypad
1
Move to first line
23
Page Up
456
7
Move to last line
89
Page Down