Using mc via telnet



The long way would be to check what terminfo expects for your terminal 
type for kf1  trough  kf10. (Can anybody tell me how to do this???)

On Mon, 17 Sep 2001, Tony Cappellini wrote:
When I use mc via telnet, the F keys don't repsond. One of the key
implications is I can't quit
mc without going to the machine I"m logged in as, and killing the mc
process.

Just use the command "exit" - it will close mc. 

How can I make the Fkeys work when telnetting ?

Wojtek told you how to use Esc 1 etc.
But mc has a learning facility.
Do Esc9 to get to the menu, look for the "Learn Keys" option (I think it is 
under Config) and read the instructions.
If your current F1 - F10 keys generate any sensible action, mc will be able 
to understand them.

The long way would be to check what terminfo expects for your terminal 
type for kf1  trough  kf10. (Can anybody tell me how to do this???)
and then in your telnet terminal emulator, you set your definitions for F1 - 
F10 to send the required sequences.  If you have followed this route, other 
applications (not as clever as mc) might also function better if they use 
terminfo.

Enjoy!


Ferdi             :-)
-----oooooOOOOOOOooooo-----
Ferdi Louw               Internet:ferdi gpvno co za
INET web/ftp site: http://www.gpvno.co.za/
Tel.   +27(12)803-6501(work)     +27(83)287-5735(cel)
       +27(12)803-4131(fax)      +27(12)80-432-68(home)
S-mail: GP van Niekerk Ondernemings, 211 Roos Street, 
        Meyerspark, 0184, Pretoria, South Africa
Private: 505 Graniet Street, Silverton, 0184, Pretoria
-----oooooOOOOOOOooooo-----
The early bird may get the worm, but the second mouse gets the cheese.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]