Re: [PATCH] add F13-F24 and colour support to console terminfo

2015-11-09 Thread Nicholas Marriott
Perhaps it should go in FAQ section 7, or somewhere else, I don't know
where. Note pccon is only for some platforms.


On Mon, Nov 09, 2015 at 08:50:12AM +, Tati Chevron wrote:
> On Mon, Nov 09, 2015 at 08:23:08AM +, Nicholas Marriott wrote:
> >On Sun, Nov 08, 2015 at 09:01:52PM +, Tati Chevron wrote:
> >>Is there any reason why the OpenBSD installer still defaults to a
> >>terminal type of vt-220 for the VGA framebuffer console, and doesn't
> >>even suggest pccon as an alternative?
> >
> >In the installer itself? vt220 works fine and reliably and - importantly
> >- is small and fits on the ramdisks. Who needs to press F13 in the
> >installer?
> 
> Agreed, I didn't mean the installer itself, that does work fine with vt220.
> 
> >If you mean in /etc/ttys, this has been discussed before and mostly the
> >reason it has stayed is that terminfo entries propagate very slowly and
> >vt220 is available everywhere, no matter if the user ssh to some ancient
> >OS. It's easy to change anyway.
> 
> Ah, then this is a documentation issue - I always assumed that the terminal 
> type specified in the installer was propogated to /etc/ttys during the 
> install, and used as a default for the console.
> 
> It is indeed easy to change, but the existance of pccon isn't exactly widely 
> documented.  To be honest, I knew about it, but seeing that it was broken and 
> not used by default in the installer, nor on the console after installation, 
> I assumed that it was abandoned and unmaintained.
> 
> -- 
> Tati Chevron
> Perl and FORTRAN specialist.
> SWABSIT development and migration department.
> http://www.swabsit.com



Re: [PATCH] add F13-F24 and colour support to console terminfo

2015-11-09 Thread Alexei Malinin
On 11/09/15 11:50, Tati Chevron wrote:
> On Mon, Nov 09, 2015 at 08:23:08AM +, Nicholas Marriott wrote:
>> On Sun, Nov 08, 2015 at 09:01:52PM +, Tati Chevron wrote:
>>> Is there any reason why the OpenBSD installer still defaults to a
>>> terminal type of vt-220 for the VGA framebuffer console, and doesn't
>>> even suggest pccon as an alternative?
>>
>> In the installer itself? vt220 works fine and reliably and - importantly
>> - is small and fits on the ramdisks. Who needs to press F13 in the
>> installer?
>
> Agreed, I didn't mean the installer itself, that does work fine with
> vt220.
>
>> If you mean in /etc/ttys, this has been discussed before and mostly the
>> reason it has stayed is that terminfo entries propagate very slowly and
>> vt220 is available everywhere, no matter if the user ssh to some ancient
>> OS. It's easy to change anyway.
>
> Ah, then this is a documentation issue - I always assumed that the
> terminal type specified in the installer was propogated to /etc/ttys
> during the install, and used as a default for the console.
>
> It is indeed easy to change, but the existance of pccon isn't exactly
> widely documented.  To be honest, I knew about it, but seeing that it
> was broken and not used by default in the installer, nor on the
> console after installation, I assumed that it was abandoned and
> unmaintained.

It's not broken. It is stable :) I use it every day.I'm waiting for
worldwide distribution of the pccon* terminfo entries :))


--
Alexei Malinin



Re: [PATCH] add F13-F24 and colour support to console terminfo

2015-11-09 Thread Tati Chevron

On Mon, Nov 09, 2015 at 08:23:08AM +, Nicholas Marriott wrote:

On Sun, Nov 08, 2015 at 09:01:52PM +, Tati Chevron wrote:

Is there any reason why the OpenBSD installer still defaults to a
terminal type of vt-220 for the VGA framebuffer console, and doesn't
even suggest pccon as an alternative?


In the installer itself? vt220 works fine and reliably and - importantly
- is small and fits on the ramdisks. Who needs to press F13 in the
installer?


Agreed, I didn't mean the installer itself, that does work fine with vt220.


If you mean in /etc/ttys, this has been discussed before and mostly the
reason it has stayed is that terminfo entries propagate very slowly and
vt220 is available everywhere, no matter if the user ssh to some ancient
OS. It's easy to change anyway.


Ah, then this is a documentation issue - I always assumed that the terminal 
type specified in the installer was propogated to /etc/ttys during the install, 
and used as a default for the console.

It is indeed easy to change, but the existance of pccon isn't exactly widely 
documented.  To be honest, I knew about it, but seeing that it was broken and 
not used by default in the installer, nor on the console after installation, I 
assumed that it was abandoned and unmaintained.

--
Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.
http://www.swabsit.com



Re: [PATCH] add F13-F24 and colour support to console terminfo

2015-11-09 Thread Nicholas Marriott
On Sun, Nov 08, 2015 at 09:01:52PM +, Tati Chevron wrote:
> Hi,
> 
> On Sun, Nov 08, 2015 at 08:18:55PM +, Nicholas Marriott wrote:
> >Hi
> >
> >I think it should be Shift-F1 etc, but since this is a general problem
> >with the xterm entry not just on OpenBSD, I suggest you discuss it with
> >upstream. The terminfo database is maintained as part of ncurses.
> 
> OK, I'll look into that, and maintain a local patch here for X for the time 
> being.
> 
> Is there any reason why the OpenBSD installer still defaults to a
> terminal type of vt-220 for the VGA framebuffer console, and doesn't
> even suggest pccon as an alternative?

In the installer itself? vt220 works fine and reliably and - importantly
- is small and fits on the ramdisks. Who needs to press F13 in the
installer?

If you mean in /etc/ttys, this has been discussed before and mostly the
reason it has stayed is that terminfo entries propagate very slowly and
vt220 is available everywhere, no matter if the user ssh to some ancient
OS. It's easy to change anyway.



Re: [PATCH] add F13-F24 and colour support to console terminfo

2015-11-08 Thread Tati Chevron

Hi,

On Sun, Nov 08, 2015 at 08:18:55PM +, Nicholas Marriott wrote:

Hi

I think it should be Shift-F1 etc, but since this is a general problem
with the xterm entry not just on OpenBSD, I suggest you discuss it with
upstream. The terminfo database is maintained as part of ncurses.


OK, I'll look into that, and maintain a local patch here for X for the time 
being.

Is there any reason why the OpenBSD installer still defaults to a terminal type 
of vt-220 for the VGA framebuffer console, and doesn't even suggest pccon as an 
alternative?

--
Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.
http://www.swabsit.com



Re: [PATCH] add F13-F24 and colour support to console terminfo

2015-11-08 Thread Tati Chevron

On Sun, Nov 08, 2015 at 04:50:21PM +, Nicholas Marriott wrote:

Can you please send these upstream to Thomas Dickey or
bug-ncur...@gnu.org?


Done.


* Add a new entry, 'pcconX', that adds F13-F24 to the standrd xterm entry


Not this though - pccon* is for the console, not for use in xterm. I
think you might want xterm-vt220?


Hu, no, xterm-vt220 doesn't define F21-F24, and also has an incorrect 
definition for the, 'home', key.

I can make a diff for this, obviously, should I just add it as a variation?


Although I don't know why our xterm function keys should be different
from stock xterm.


Since F13-F24 don't exist on standard PC keyboards, traditionally terminal 
emulators have mapped shift-F1 to F13, shift-F2 to F14, etc.

In recent times, some 122-key terminal keyboards, which are designed to be used 
with terminal emulators like that, actually send sequences such as Shift-F1 
when the physical F13 key is pressed, instead of the, 'real', sequence.

If you look in xterm+pcf2, which is the fragment included in the default xterm 
terminfo entry that we use, you'll see that F13-F24 are indeed defined as 
Shift-F1 - Shift-F12.

Unfortunately, even this doesn't work correctly for us, because F1-F4 don't 
follow the normal sequence for historical reasons.

So, we should do something to make sure that the default terminal emulation 
used for xterm on a default install, has a sensible configuration for F13-F24.  
Either support the, 'real', sequences from a 122-key keyboard, or support the 
shifted F1-F12 keys as F13-F24, or preferably, both.

Shall I make a diff to fix this?

--
Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.
http://www.swabsit.com



Re: [PATCH] add F13-F24 and colour support to console terminfo

2015-11-08 Thread Nicholas Marriott
Hi

I think it should be Shift-F1 etc, but since this is a general problem
with the xterm entry not just on OpenBSD, I suggest you discuss it with
upstream. The terminfo database is maintained as part of ncurses.


On Sun, Nov 08, 2015 at 07:21:02PM +, Tati Chevron wrote:
> On Sun, Nov 08, 2015 at 04:50:21PM +, Nicholas Marriott wrote:
> >Can you please send these upstream to Thomas Dickey or
> >bug-ncur...@gnu.org?
> 
> Done.
> 
> >>* Add a new entry, 'pcconX', that adds F13-F24 to the standrd xterm entry
> >
> >Not this though - pccon* is for the console, not for use in xterm. I
> >think you might want xterm-vt220?
> 
> Hu, no, xterm-vt220 doesn't define F21-F24, and also has an incorrect 
> definition for the, 'home', key.
> 
> I can make a diff for this, obviously, should I just add it as a variation?
> 
> >Although I don't know why our xterm function keys should be different
> >from stock xterm.
> 
> Since F13-F24 don't exist on standard PC keyboards, traditionally terminal 
> emulators have mapped shift-F1 to F13, shift-F2 to F14, etc.
> 
> In recent times, some 122-key terminal keyboards, which are designed to be 
> used with terminal emulators like that, actually send sequences such as 
> Shift-F1 when the physical F13 key is pressed, instead of the, 'real', 
> sequence.
> 
> If you look in xterm+pcf2, which is the fragment included in the default 
> xterm terminfo entry that we use, you'll see that F13-F24 are indeed defined 
> as Shift-F1 - Shift-F12.
> 
> Unfortunately, even this doesn't work correctly for us, because F1-F4 don't 
> follow the normal sequence for historical reasons.
> 
> So, we should do something to make sure that the default terminal emulation 
> used for xterm on a default install, has a sensible configuration for 
> F13-F24.  Either support the, 'real', sequences from a 122-key keyboard, or 
> support the shifted F1-F12 keys as F13-F24, or preferably, both.
> 
> Shall I make a diff to fix this?
> 
> -- 
> Tati Chevron
> Perl and FORTRAN specialist.
> SWABSIT development and migration department.
> http://www.swabsit.com



Re: [PATCH] add F13-F24 and colour support to console terminfo

2015-11-08 Thread Tati Chevron

On Sun, Nov 08, 2015 at 02:09:03PM +, Nicholas Marriott wrote:

If this is different from pccon*, you should fix those or add a variant
rather than adding completely new entries.


OK.  The attached diff does the following:

* Add F13-F24 to pccon.
 These were previously undefined.
* Change the sgr definition to match the vt220 entry.
 This makes the, 'intense', colours work, giving us 16 instead of 8.
* Define the bold sequence.
 Otherwise, E.G. 'echo foo | less', the ~ in column 0 are displayed as
 reverse video instead of bold, (as they do in xterm).
* Add a new entry, 'pcconX', that adds F13-F24 to the standrd xterm entry

--- termtypes.master.1.55.dist  Sun Nov  8 15:20:37 2015
+++ termtypes.masterSun Nov  8 15:42:04 2015
@@ -2184,13 +2184,16 @@
kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
kf9=\E[20~, khome=\E[7~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
krfr=^R,
+   kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
+   kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
+   kf21=\E[35~, kf22=\E[36~, kf23=\E[37~, kf24=\E[38~,
pccon+sgr+acs0|sgr and simple ASCII pseudographics for OpenBSD PC console,
acsc=+>\,<-\^.v0#`+a\:f\\h#i#j+k+l+m+n+o~p-q-r-s_t+u+v+w+x|y#z#{*|!}#~o,
sgr=\E[0%?%p1%p3%|%t;7%;m, sgr0=\E[m,
pccon+sgr+acs|sgr and default ASCII pseudographics for OpenBSD PC console,
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
enacs=\E)0$<5>, rmacs=\E(B$<5>,
-   sgr=\E[0%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<5>,
+   
sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
sgr0=\E[m\E(B$<5>, smacs=\E(0$<5>,
pccon+colors|ANSI colors for OpenBSD PC console,
bce,
@@ -2199,7 +2202,7 @@
pccon+base|base capabilities for OpenBSD PC console,
am, km, mc5i, msgr, npc, nxon, xenl, xon,
cols#80, it#8, lines#24,
-   bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
+   bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
dch1=\E[P, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
@@ -2214,6 +2217,11 @@
use=pccon+base, use=pccon+sgr+acs, use=pccon+keys,
pccon|OpenBSD PC console,
use=pccon-m, use=pccon+colors,
+pcconX|xterm-like entry that fixes behaviour of F13-F24 in X on OpenBSD,
+   kf13=\E[25~, kf14=\E[26~,
+   kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
+   kf19=\E[33~, kf20=\E[34~, kf21=\E[42~, kf22=\E[43~,
+   kf23=\E[44~, kf24=\E[45~, khlp=, krdo=, use=xterm,

 NetBSD consoles
#

--
Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.
http://www.swabsit.com



Re: [PATCH] add F13-F24 and colour support to console terminfo

2015-11-08 Thread Nicholas Marriott
On Sun, Nov 08, 2015 at 04:12:18PM +, Tati Chevron wrote:
> On Sun, Nov 08, 2015 at 02:09:03PM +, Nicholas Marriott wrote:
> >If this is different from pccon*, you should fix those or add a variant
> >rather than adding completely new entries.
> 
> OK.  The attached diff does the following:
> 
> * Add F13-F24 to pccon.
>  These were previously undefined.
> * Change the sgr definition to match the vt220 entry.
>  This makes the, 'intense', colours work, giving us 16 instead of 8.
> * Define the bold sequence.
>  Otherwise, E.G. 'echo foo | less', the ~ in column 0 are displayed as
>  reverse video instead of bold, (as they do in xterm).

I think these are fine.

Can you please send these upstream to Thomas Dickey or
bug-ncur...@gnu.org?

> * Add a new entry, 'pcconX', that adds F13-F24 to the standrd xterm entry

Not this though - pccon* is for the console, not for use in xterm. I
think you might want xterm-vt220?

Although I don't know why our xterm function keys should be different
from stock xterm.

> 
> --- termtypes.master.1.55.distSun Nov  8 15:20:37 2015
> +++ termtypes.master  Sun Nov  8 15:42:04 2015
> @@ -2184,13 +2184,16 @@
>   kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
>   kf9=\E[20~, khome=\E[7~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
>   krfr=^R,
> + kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
> + kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
> + kf21=\E[35~, kf22=\E[36~, kf23=\E[37~, kf24=\E[38~,
> pccon+sgr+acs0|sgr and simple ASCII pseudographics for OpenBSD PC console,
>   acsc=+>\,<-\^.v0#`+a\:f\\h#i#j+k+l+m+n+o~p-q-r-s_t+u+v+w+x|y#z#{*|!}#~o,
>   sgr=\E[0%?%p1%p3%|%t;7%;m, sgr0=\E[m,
> pccon+sgr+acs|sgr and default ASCII pseudographics for OpenBSD PC console,
>   acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
>   enacs=\E)0$<5>, rmacs=\E(B$<5>,
> - sgr=\E[0%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<5>,
> + 
> sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
>   sgr0=\E[m\E(B$<5>, smacs=\E(0$<5>,
> pccon+colors|ANSI colors for OpenBSD PC console,
>   bce,
> @@ -2199,7 +2202,7 @@
> pccon+base|base capabilities for OpenBSD PC console,
>   am, km, mc5i, msgr, npc, nxon, xenl, xon,
>   cols#80, it#8, lines#24,
> - bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
> + bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
>   cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
>   dch1=\E[P, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
>   el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
> @@ -2214,6 +2217,11 @@
>   use=pccon+base, use=pccon+sgr+acs, use=pccon+keys,
> pccon|OpenBSD PC console,
>   use=pccon-m, use=pccon+colors,
> +pcconX|xterm-like entry that fixes behaviour of F13-F24 in X on OpenBSD,
> + kf13=\E[25~, kf14=\E[26~,
> + kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
> + kf19=\E[33~, kf20=\E[34~, kf21=\E[42~, kf22=\E[43~,
> + kf23=\E[44~, kf24=\E[45~, khlp=, krdo=, use=xterm,
> 
>  NetBSD consoles
> #
> 
> -- 
> Tati Chevron
> Perl and FORTRAN specialist.
> SWABSIT development and migration department.
> http://www.swabsit.com



Re: [PATCH] add F13-F24 and colour support to console terminfo

2015-11-08 Thread Nicholas Marriott
If this is different from pccon*, you should fix those or add a variant
rather than adding completely new entries.



On Sun, Nov 08, 2015 at 11:55:23AM +, Tati Chevron wrote:
> The terminfo entries used for X and for the console by a default install,
> are broken for keyboards with function keys beyond F12, and for keyboards
> with five cursor movement keys instead of the more common four.
> 
> In addition, the VGA console supports colour, but the terminfo entry used
> by default does not define the necessary escape sequences.
> 
> Please find attached a patch against -current which defines three new
> terminfo entries to fix these problems.
> 
> --- termtypes.master.1.55.distSun Nov  8 11:40:24 2015
> +++ termtypes.master.1.55.custom  Sun Nov  8 11:43:06 2015
> @@ -291,6 +291,51 @@
> # There are no guarantees anywhere.  Svaha!
> #
> 
> + CUSTOM ENTRIES FOR OPENBSD-5.8
> +#
> +# Three entries to allow the use of F1-F5, F13-F24 and colour on the
> +# OpenBSD VGA framebuffer console, and the use of F13-F24 with the default
> +# X config.
> +#
> +# In addition, the, 'home', key on a PC-122 keyboard is defined as, 'home',
> +# on the console, to match the definition in X:
> +#
> +# On a standard PC keyboard, there are four cursor keys in an inverted, 'T',
> +# whereas on a PC-122 keyboard there are five cursor keys:
> +#
> +#  --- --- Legend
> +#  |^| |^| --
> +#  --- ---
> +#  --- --- --- --- --- --- ^ - UP
> +#  |<| |V| |>| |<| |H| |>| V - DOWN
> +#  --- --- --- --- --- --- < - LEFT
> +#  --- > - RIGHT
> +#  |V| H - HOME
> +#  ---
> +#
> +#  PC Keyboard   PC-122 Keyboard
> +#
> +# The new entries in this file are as follows:
> +# tati - OpenBSD console with F1-F24, 5-key cursor-key block, and colour.
> +# tatimono - As above, but without colour support
> +# tatiX - X11 xterm with F1-F24, (colour and 5-key cursor-key block were
> +# already supported by the existing xterm entry.
> +
> +tatimono|OpenBSD console with F1-F24 without colour support,
> + kf1=\E[11~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~,
> + kf15=\E[28~, kf16=\E[29~, kf21=\E[35~, kf22=\E[36~,
> + kf23=\E[37~, kf24=\E[38~, khome=\E[7~, khlp=, krdo=, use=vt220,
> +
> +tati|OpenBSD console with F1-F24 and colour,
> + use=tatimono, use=ecma+color,
> +
> +tatiX|vt220-like entry that fixes behaviour of F13-F24 in X on OpenBSD,
> + kf13=\E[25~, kf14=\E[26~,
> + kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
> + kf19=\E[33~, kf20=\E[34~, kf21=\E[42~, kf22=\E[43~,
> + kf23=\E[44~, kf24=\E[45~, khlp=, krdo=, use=xterm,
> +
> +
>  ANSI, UNIX CONSOLE, AND SPECIAL TYPES
> #
> # This section describes terminal classes and brands that are still
> 
> -- 
> Tati Chevron
> Perl and FORTRAN specialist.
> SWABSIT development and migration department.
> http://www.swabsit.com
> 



[PATCH] add F13-F24 and colour support to console terminfo

2015-11-08 Thread Tati Chevron

The terminfo entries used for X and for the console by a default install,
are broken for keyboards with function keys beyond F12, and for keyboards
with five cursor movement keys instead of the more common four.

In addition, the VGA console supports colour, but the terminfo entry used
by default does not define the necessary escape sequences.

Please find attached a patch against -current which defines three new
terminfo entries to fix these problems.

--- termtypes.master.1.55.dist  Sun Nov  8 11:40:24 2015
+++ termtypes.master.1.55.customSun Nov  8 11:43:06 2015
@@ -291,6 +291,51 @@
# There are no guarantees anywhere.  Svaha!
#

+ CUSTOM ENTRIES FOR OPENBSD-5.8
+#
+# Three entries to allow the use of F1-F5, F13-F24 and colour on the
+# OpenBSD VGA framebuffer console, and the use of F13-F24 with the default
+# X config.
+#
+# In addition, the, 'home', key on a PC-122 keyboard is defined as, 'home',
+# on the console, to match the definition in X:
+#
+# On a standard PC keyboard, there are four cursor keys in an inverted, 'T',
+# whereas on a PC-122 keyboard there are five cursor keys:
+#
+#  --- --- Legend
+#  |^| |^| --
+#  --- ---
+#  --- --- --- --- --- --- ^ - UP
+#  |<| |V| |>| |<| |H| |>| V - DOWN
+#  --- --- --- --- --- --- < - LEFT
+#  --- > - RIGHT
+#  |V| H - HOME
+#  ---
+#
+#  PC Keyboard   PC-122 Keyboard
+#
+# The new entries in this file are as follows:
+# tati - OpenBSD console with F1-F24, 5-key cursor-key block, and colour.
+# tatimono - As above, but without colour support
+# tatiX - X11 xterm with F1-F24, (colour and 5-key cursor-key block were
+# already supported by the existing xterm entry.
+
+tatimono|OpenBSD console with F1-F24 without colour support,
+   kf1=\E[11~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~,
+   kf15=\E[28~, kf16=\E[29~, kf21=\E[35~, kf22=\E[36~,
+   kf23=\E[37~, kf24=\E[38~, khome=\E[7~, khlp=, krdo=, use=vt220,
+
+tati|OpenBSD console with F1-F24 and colour,
+   use=tatimono, use=ecma+color,
+
+tatiX|vt220-like entry that fixes behaviour of F13-F24 in X on OpenBSD,
+   kf13=\E[25~, kf14=\E[26~,
+   kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
+   kf19=\E[33~, kf20=\E[34~, kf21=\E[42~, kf22=\E[43~,
+   kf23=\E[44~, kf24=\E[45~, khlp=, krdo=, use=xterm,
+
+
 ANSI, UNIX CONSOLE, AND SPECIAL TYPES
#
# This section describes terminal classes and brands that are still

--
Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.
http://www.swabsit.com