Article View: comp.terminals
Article #1051Should physical key F1 map to curses key kf0??
From: Jan B.Andersen
Date: Thu, 31 Jan 1991 20:35
Date: Thu, 31 Jan 1991 20:35
13 lines
812 bytes
812 bytes
In a terminfo description of a terminal with function keys F1 - F15, should I leave kf0 undefined and map F1 to kf1, or should F1 be mapped to kf0, F2 to kf1 and so on? And what about shifted functions keys? Assuming F1 is mapped to kf0, should SHIFT-F1 be mapped to kf15 or should I simply ignore F11 - F15 and map SHIFT-F1 to kf10? Please reply by mail and I'll summarize on the net. Thanks --- Jan B. Andersen
Technical Details
Message-ID:
<1991Jan31.203557.13908@gorm.ruc.dk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!uupsi!sunic!dkuug!ruc.dk!jbaShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!uupsi!sunic!dkuug!ruc.dk!jba From: jba@gorm.ruc.dk (Jan B.Andersen) Newsgroups: comp.terminals Subject: Should physical key F1 map to curses key kf0?? Keywords: curses Message-ID: <1991Jan31.203557.13908@gorm.ruc.dk> Date: 31 Jan 91 20:35:57 GMT Organization: Roskilde University, Denmark Lines: 13