[Top][All Lists]

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

Re: [Lynx-dev] Lynx behaviour in VT320 terminals

From: John Kerr Anderson
Subject: Re: [Lynx-dev] Lynx behaviour in VT320 terminals
Date: Sun, 27 Mar 2005 13:12:11 -0500 (EST)

Hi Again,

OK, the actual setup is Debian 3.0 intel pc as host system, and a Dorio 10 terminal set in the computer (/etc/inittab file) as vt320. The terminal is set for the vt320 personality (default mode). It's essentially a vt510 w/different comm. ports. The keyboard on the terminal is a VT-ANSI style keyboard w/106 keys.

Older versions of Debian the default lynx program would not force the terminal into application keypad/cursor mode. Newer versions however do. Also, whenever I'd compile my own version of Lynx on Debian it would also force the terminal into the application keypad/cursor mode.

I can tell because when I'm not running lynx I can enter terminal setup and the checkboxes are unchecked for application keypad/cursor mode. When I start Lynx, then those fields are checked.

I'd just like to use lynx w/the numeric keypad again :) So, I can I don't have to enter terminal setup everytime I need to use the numeric keypad. :( Thanks for the info thus far. I'm just not sure where to go from here...


John Anderson

On Sun, 27 Mar 2005, Thomas Dickey wrote:

On Sun, 27 Mar 2005 address@hidden wrote:


I've noticed that when I start Lynx from my terminal it automatically
puts the machine into "Application Cursor Mode" and "Application Keypad
Mode" which forces the numeric pad into cursor keys similar to if you
shut the num lock of a pc keyboard.

That's done by the terminal description.  In terminfo, that is the
smkx string, e.g.,

Conventionally, both the numeric keypad and the cursor keypad are switched into application mode. The \E= part of the example switches the numeric keypad. The \E[?1h switches the cursor keypad. The key definitions such as kcuf1 in the terminfo have to match the latter. The former sometimes corresponds to other key definitions in the terminfo (but there's no hard rule about that).

However, vt320's don't (unless there's some keyboard-specific behavior for PC-keyboards - would be interesting to know about) send cursor-keys from the numeric keypad. That sounds more like a terminal emulator. xterm, for instance, can do that. But aside from some commercial products (and only a fraction of those that claim to do so), few terminal emulators implement vt320. So I'm curious what the actual configuration is.

Is there any configuration option to make it so the numeric keypad can
be used properly on a terminal?  If there is anyway you can help I'd
gladly appreciate it!!!

Thank you,

John Anderson

Lynx-dev mailing list

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]