IRIS Keyboard & etc.

Jim Blue blue at cam.nist.gov
Sat Mar 3 03:25:36 AEST 1990


Background: I am an experienced programmer and Unix user. I recently
got my Personal Iris, and have been porting my own editor, since (IMHO)
vi is brain-damaged.

I have been active at RTFM, all 31 volumes (though most of them don't apply)
but haven't found how to get the number of lines and columns inside a wsh.
(getsize() gives the size in pixels, but not in lines and columns.) Since vi,
among other programs knows how to do this, it must be possible.

Appendix A.2 of the "Using the GL/DGL Interface" in the "4Sight Programmer's
Guide lists the string supposedly returned by each key. I find that some
work and some don't. For example, F1 really does return "ESC [ 001 q" (without
the quotes and spaces), but F4 returns some garbage left over from an
old "ls" command. After powering the machine down and up, F4 returns some
other stuff (I don't know what).

Alt C with the right Alt key returns the correct value, but not with the
left Alt key.


Is there more wisdom hidden in the FM, or must one be telepathic?

Jim Blue
National Institute of Standards and Technology
disclaimer: The US Government doesn't know what I'm doing, and vice versa.



More information about the Comp.sys.sgi mailing list