[comp.sys.ibm.pc.rt] Print Screen Key on IBM-RT

root@qetzal.UUCP (Admin) (10/16/87)

Does anyone know of a way to make use of the print screen
key on the RT?  We're running AIX 2.1.

karl@haddock.ISC.COM (Karl Heuer) (10/21/87)

In article <201@qetzal.UUCP> root@qetzal.UUCP (Admin) writes:
>Does anyone know of a way to make use of the print screen
>key on the RT?  We're running AIX 2.1.

Make use of it how?  It sends a unique code ("\e[209q"), so you can use it
just like any other function key, either by writing applications that
recognize that string or by binding a new string (or function) to that key.

Or are you asking for a utility that can read the information on the screen?
That can also be done, though I don't know of any way to transparently attach
it to the Print Screen key.  I just wrote it as a program that reads from the
screen attached to stdin, so I can always flip to another window and type
"readscreen </dev/hft/3 >/tmp/foo".

Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint

rcw@qetzal.UUCP (sysop) (10/23/87)

In article <1451@haddock.ISC.COM|, karl@haddock.ISC.COM (Karl Heuer) writes:
| In article <201@qetzal.UUCP| root@qetzal.UUCP (Admin) writes:
| |Does anyone know of a way to make use of the print screen
| |key on the RT?  We're running AIX 2.1.
| 
| Make use of it how?  It sends a unique code ("\e[209q"), so you can use it
| "readscreen </dev/hft/3 |/tmp/foo".

I think you've answered my question.  The key is misleading in that
when you press it, it does not print the screen. Your approach 
seems reasonable.  When using UNIFY, for example, I want to print
the screen in the middle of a session.

-- 
Robert C. White, Jr   *---- ----*   MENTOR SOFTWARE, INC. 1-303-252-9090
ihnp4!upba!qetzal!rcw |   |_|   |       
11534 Steele St.      |  _ o _  |   
Thornton, CO 80233    | | | | | |   Custom Software Specialists.