[comp.sys.sun] sun console escape sequences

gfr@cobra.mitre.org (Glenn Roberts) (02/28/89)

> does anyone have a complete list of the escape sequences recognized by
> a sun console and their effects. the list in the manual (console (4s))
> seems a bit short to be everything...

You might look through the source for SunView (suntools) .. it is
distributed with every Sun.  The answer ought to be there.  Under 3.x this
is in /usr/src/sun/suntool, in 4.0 it is located in
/usr/share/src/sun/suntool.  If you don't find it on your system it
probably just wasn't loaded off the distribution tape.

- Glenn Roberts, The MITRE Corp., McLean VA (703) 883-6820
  gfr@cobra.mitre.org

jbm@eos.arc.nasa.gov (Jeffrey Mulligan) (03/01/89)

by tom@vax1.acs.udel.edu (tom):
> does anyone have a complete list of the escape sequences recognized by a
> sun console and their effects. the list in the manual (console (4s)) seems
> a bit short to be everything...

There is a table of the tty subwindow escape codes in the back of the
manual for SunView.  I would hope these are similar...

There is always /etc/termcap if you are desperate.

	Jeff Mulligan (jbm@aurora.arc.nasa.gov)
	NASA/Ames Research Ctr., Mail Stop 239-3, Moffet Field CA, 94035
	(415) 694-6290

guy@uunet.uu.net (Guy Harris) (03/01/89)

>does anyone have a complete list of the escape sequences recognized by a
>sun console and their effects. the list in the manual (console (4s)) seems
>a bit short to be everything...

I think it *is* everything for the Sun console; that stuff is all
implemented in the monitor PROM, which the "console driver" calls when it
wants to output stuff to the console.

For tty subwindows (e.g., "shelltool") there are more escape sequences,
which are documented in the SunView Programmer's Guide.