Menu

#252 F11 and F12 usage in Non X session

open
nobody
None
5
2012-11-02
2011-05-30
kalpha
No

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.

Discussion

  • Bart Oldeman

    Bart Oldeman - 2011-05-30

    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.

     
  • kalpha

    kalpha - 2011-05-31

    dosemu -k
    works for me, many thanks

     
  • Stas Sergeev

    Stas Sergeev - 2012-07-20

    Is there any way to get it without -k though?

     

Log in to post a comment.