
XTerm::Conf - change configuration of a running xterm

use XTerm::Conf;
xterm_conf(-fg => "white", -bg => "black", -title => "Hello, world", ...);

The xterm_conf function (exported by default) checks first if the current terminal looks like an xterm (by looking at the TERM environment variable) and prints the escape sequences for the following options:
Change name of the associated X11 icon.
Change xterm's title name.
Change text color. You can use either X11 named colors or the #rrggbb notation.
Change background color
Change cursor color
Change the foreground color of the mouse pointer.
Change the background/border color of the mouse pointer.
Change foreground color of Tek window.
Change background color of Tek window.
Change selection background color.
Ring the bell (either visual or audible)
Switch charset. Valid values are utf-8 and iso-8859-1.
Perform a full reset.
Perform a soft reset.
Turn smooth scrolling on or off (which is probably the opposite of jump scroll, see xterm(1)).
Turn reverse video on or off.
???
???
Turn auto repeat on or off
???
Show or hide the cursor.
rxvt only?
Show the Tek window and switch to Tek mode (XXX -notektronix does not seem to work).
???
???
???
rxvt only?
rxvt only?
???
???
Deiconify an iconified xterm window.
Iconify the xterm window.
Change the geometry of the xterm window. The geometry is in the usual X11 notation widthxheight+left+top. The numbers are in pixels. The width and height may be suffixed with a c, which means that the number are interpreted as characters.
Raise the xterm window.
Lower the xterm window
Force a X11 refresh
Maximize the xterm window
Restore to the state before maximization.
???
Change font. Number may be from 0 (default font) to 6 (usually the largest font, but this could be changed using Xdefaults).
Use the next font in list.
Use the previous font in ilist.
Report to STDOUT:
???
???
xterm_conf_string just returns a string with the escape sequences for the given options (same as in xterm_conf). No terminal check will be performed here.
xterm_conf_string may be exported.

Slaven Rezić
