Posts: 58
wingevil
Joined: 18 Nov 2008
#1
Have just installed M8 on an Desktop with AMD 2800, 512 MB Ram.

works fine on the 1st look.

found a bug in mc: the function-keys don't work, I have to use mc by mouse

greetz

Michael
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Any idea why this is happening or do you know a fix?

1 does work __{{emoticon}}__ whoops no it doesn't __{{emoticon}}__
Posts: 58
wingevil
Joined: 18 Nov 2008
#3
Sorry I've no idea.

The f-keys don't work anytime inside mc BUT they're working OUTSIDE from mc!!!

par exaample, if I press F9 in mc then it will start outside the mc-windows the home folder immediatly!!!

Greetz Michael
Posts: 1,081
OU812
Joined: 29 Sep 2007
#4
I was having trouble using the function keys in HTOP. I fixed the problem by doing [winkey] + [fkey].

john
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
Ok, I think you have to use the Esc button then hit the number.

So Esc (release) then quickly hit a number
Posts: 58
wingevil
Joined: 18 Nov 2008
#6
well this works, but should be only a workaround not a permanent solution __{{emoticon}}__
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#7
I'm not sure if it is a bug in antiX, or one connected with the keyboard setup.
From the mc FAQ:

2.2 Why don't function keys (or some other key) work?

Your terminfo or termcap database has missing or incorrect
definitions for function keys. Type"mc -V" to see what terminal
database is being used. If the result is"using the S-Lang library
with terminfo database" and you are using a very old terminfo
database, consider installing one of the enhanced terminfo files
included in GNU Midnight Commander source distribution. For example,
if you are using xterm type"tic xterm.ti".

If the result is"using the S-Lang library with termcap database" you
should fix your /etc/termcap database.

Up-to-date termcap and terminfo databases are available here:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.tuxedo.org/~esr/terminfo/"
linktext was:"http://www.tuxedo.org/~esr/terminfo/"
====================================
" onclick="window.open(this.href);return false

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"ftp://dickey.his.com/ncurses/"
linktext was:"ftp://dickey.his.com/ncurses/"
====================================
" onclick="window.open(this.href);return false

You can force Midnight Commander to use the termcap database by
giving --with-termcap option to the configure script. The default
is to use terminfo.

If you don't have permissions to edit terminal databases you can use
Learn keys feature of Midnight Commander instead. Press Esc 9 o k
and follow instructions.

If all else fails you can emulate function keys by first pressing the
ESC key and then one of the number keys. For example, if you want to
produce F9, press ESC, then 9. If you don't have a ESC key on your
keyboard you can try alt-9 or meta-9.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.ibiblio.org/mc/FAQ"
linktext was:"http://www.ibiblio.org/mc/FAQ"
====================================
" onclick="window.open(this.href);return false

Edit: My F keys are working now with mc in roxterm. Check the keys file in fluxbox or icewm do not conflict with mc key options.
Posts: 1,081
OU812
Joined: 29 Sep 2007
#8
We should fix this for the next release.

john
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#9
I think the upgrade of ncurses has fixed this. It works in antiX-M8-base1 and what will be antiX-M8-test3