F11 and F12 usage in Non X session
Brought to you by:
bartoldeman
Using a basic inkey$ statement, expect to get extended codes for F11 and F12 of 133 and 134 respectively.
In an X session these work okay, BUT I want to use in a local non X session, at moment F12 returns 85.
A quick trawl suggests issues for remote usage and suggestions about using Shift F2, I would prefer to use F11 and F12 if possible.
You mean on the Linux console? In that case (and only there) you could try "dosemu -k" to use raw keyboard access.
If you run "dosemu -t" locally or remotely in an xterm, F11 and F12 should work. In general, if "infocmp" gives escape codes for kf21 and higher things should be ok; if only kf1 to kf20 are given, dosemu assumes that kf11=shift-f1.
dosemu -k
works for me, many thanks
Is there any way to get it without -k though?