[Top][All Lists]

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

Re: [PATCH] support F13-F24 and colour on OpenBSD VGA console

From: Tati Chevron
Subject: Re: [PATCH] support F13-F24 and colour on OpenBSD VGA console
Date: Sun, 15 Nov 2015 08:35:06 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

On Sat, Nov 14, 2015 at 05:30:30PM -0500, Thomas Dickey wrote:
hmm... still not there: I installed OpenBSD 5.8 this afternoon and tested
the suggested changes, but found problems with it:

a) perhaps a quibble, but a US PC-keyboard can't get those F12-F24 keys.

The F13-F24 support can be considered a completely separate issue to the colour 
and attribute support.

OpenBSD doesn't assign funcions to F13-F24 by default, but the scancodes 
generated by a standard PC-122 terminal keyboard, (such as the ones from 
Unicomp), as recognised as F13-F24 since a few releases back.  Any use of 
F13-F24 would presumably be defined locally, so the fact that they are not 
available on all keyboards shouldn't be an issue.

However, until now the escape codes generated for F13-F24 were not listed in 
any of the three terminfo entries that are generally used, vt220, pcterm or 
xterm.  I created a custom terminfo entry to fix this for local use here, and 
then went on to address the issue of colour on the console whilst I was looking 
at it.

b) bold, blink and underline are rendered as colors (seen in vttest),
  when they work.  The resulting sgr string isn't working for me in
  ncurses.  Just the bold attribute by itself works.

c) since bold, etc., conflict with colors, I'd add ncv#42 to cover that.

I'll continue investigating this, but at the moment looks like no patch

I'll wait for input from Nicholas and Alexei before doing any more to this 
patch :-).

Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.

reply via email to

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