Content-type: text/html Manpage of esc

esc

Section: User Commands (1)
Updated: 20 October 2002
Index Return to Main Contents
 

NAME

esc - send escape-sequence controls to an xterm(1) window  

SYNOPSIS

esc [ options ]  

DESCRIPTION

There are special strings commonly called "escape sequences" that can be used to control the cursor position and many other attributes of a interactive terminal. The esc(1) command sends some of the most useful strings to an X11 Window xterm(1) program, letting you control the current font, colors, window size, and other useful attributes.  

OPTIONS

This version of esc understands the following options. If no options are given the command prints a help message and exits.
-f
fontname|[0-6]
select a font where the fontname is any fix-spaced font available on your X11 server. You can list several available fixed-space font names by using:

       (xlsfonts -fn '*-c-*' ; xlsfonts -fn '*-m-*')
Example names: (font names may vary from server to server):

       fixed     8x13       9x15        '*24*-c-*'

In newer xterm(1) versions (in addition to above) a font name can also be
     U,+,up    progress up thru font menu (ctrl-mouse 3)
     D,-,down  move down   thru font menu (ctrl-mouse 3)
     [0-6] select from font menu (ctrl-mouse 3)

-c
80|132
change to 80 or 132 column mode (assumes column switching enabled with -132 switch on xterm call)
-n
icon_name
icon (and resource) name. If just keyword is specified, use current directory and hostname.
-t
title_name
If just the keyword is specified, use current directory and hostname.
-e
tek|vt102
emulation type. tek go to Tektronix mode. vt102 go to vt102 mode.
-nt
title
both icon label and title bar label.
-a
[on|off]
turn auto-repeat on or off. -r is equivalent to -r off. This only works in some versions of xterm(1)
-r
[on|off]
reverse-video
-l
[on|off]
By default logging goes to a file in the directory where the xterm(1) command was started. xterm(1) must be compiled with this option enabled.
-b
[on|off]
bold
-j
[on|off]
fast scroll (jump scroll)
-sb
[on|off]
scroll bar
-msg
string
Puts string in status line of a real vt100-compatible.

some xterms (XFree86, pre X11R4 and after X11R5??) support these

-bg
background_color
The color is specified by name, '#rrggbb', rgb:0000/0000/ffff where rr,gg,bb are hex values. For all the color parameters, if just the keyword is provided current values are returned.
-fg
foreground_color
-cr
cursor_color
-tbg
Tektronix_background_color
-tfg
Tektronix_foreground_color
-tcr
Tektronix_cursor_color
-mfg
mouse_foreground_color
-mbg
mouse_background_color
-hc
highlight_color
-cn
pen_number pen_color
set N'th pen color (typically 0 thru 15 are supported, at least).

   esc -cn 0 blue 1 blue 2 blue 3 blue 4 blue 5 blue 6 ...  

If just numbers are provided, current values are returned.

-rows
N
number of characters high the window is to become
-cols
N
number of characters wide the window is to become
-right
N_rasters
left edge of window is from left edge of display
-down
N_rasters
top edge of window is from top edge of display
-icon
[on|close|yes]|[off|open|no]|toggle|report
Iconify or un-iconify the window
-raise,-lower

raise to top of window stack, lower to back of window stack
-max,-restore

maximize window size, return to pre-max size and position
-o

N|all If your window manager supports multiple virtual displays (like ctwm(1) by defining the property WM_OCCUPANCY (use xprop -id $WINDOWID to see) you can move the window to the specified panel(s).
 

SEE ALSO

0, 1, 2, 3, 4, 5, 6, fixed, 80, 132, arrowkeys, xd, xl, xr, xu, bashc, bashc.source, bell, bterm, up, down, fr, freak, freakout, freakout.1, full, fullback, tall, small, icon, kolor, lower, raise, pb, rterm, rterm2, xterm_Xresources, xterm_keys, xterm_paste, xterm(1)

John S. Urban, Fully Utilizing Your X11 Window xterm(1) Windows.

 

AUTHORS

esc(1) was designed by John S. Urban.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHORS

This document was created by man2html, using the manual pages.
Time: 16:14:22 GMT, May 03, 2008