LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-12-2009, 04:23 AM   #1
mcolombo1
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
Question ubuntu function keys


How many function keys are usable in Ubuntu 8.10 terminals?
I need 40 fks, for compatibility with an old RM Cobol package which I am porting from Dos to Linux.
There are the first 20 fks (F1--F10 and ShiftF1--ShiftF10) out-of-the-box, but I am not able to have the other 20 fks (CtrlF1--CtrlF10 and AltF1--AltF10) working.
I tried whith:
- Loadkeys, using codes following the existing ones (for CtrlF1, Esc[35~; CtrlF2, Esc[36~; and so on), and I see them with Showkey -a;
- I use TERM=linux whith similarly modified terminfo (and I see it with infocmp; by the way, is there a way to see if terminfo translation occurs, that is, to see "kf21" when I press CtrlF1?);
- the .CFG files of RM Cobol are OK (they expect 63 possible function keys, from kf1 to kf63);
= but Cobol does not receive them, when I press one of these function keys I see just a ~, and the variable which should contain the number of the key remains void.
I use LANG=it_IT.ISO-8859-1.
Any help would be appreciated,
(Apologies for my English)
 
Old 03-15-2009, 04:28 PM   #2
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 128Reputation: 128
Something like this?
http://ubuntufs.wordpress.com/2008/0...nearly-sorted/
 
Old 03-16-2009, 05:39 AM   #3
mcolombo1
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Original Poster
Rep: Reputation: 0
No, thanks, I understand that fsfn is a package to 'put at work' specifically the FN+function keys of the 'laptops'.
But I need the 'desktop' keyboard function keys, for compatibility reasons with a package which is in use in the DOS version by hundreds of persons all over Italy (so I can't re-train them to the use of different keys).
I appreciate the effort to help me.
 
Old 03-16-2009, 11:25 AM   #4
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,465

Rep: Reputation: 49
You may find xev and xmodmap helpful.
 
Old 03-17-2009, 07:09 AM   #5
mcolombo1
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks (really interesting) ...but I am on console, not on X-terminal...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Toshiba Function Keys ice2921 Linux - Laptop and Netbook 2 09-08-2008 05:58 PM
USB keyboard function keys/numeric keys on boot raypen Linux - Hardware 4 04-17-2008 04:07 PM
Using Function Keys with SSH bad_andy Linux - Networking 3 01-26-2005 07:41 PM
Function Keys under Redhat 9 nick81 Linux - Software 0 03-08-2004 01:25 AM
Programming function keys dazdaz Linux - Software 14 11-04-2003 05:37 AM


All times are GMT -5. The time now is 10:21 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration