bug-ncurses
[Top][All Lists]
Advanced

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

terminal descriptions for OpenBSD AMD/Intel consoles


From: Alexei Malinin
Subject: terminal descriptions for OpenBSD AMD/Intel consoles
Date: Mon, 10 Oct 2011 18:46:47 +0400
User-agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.9.1.16) Gecko/20110216 SeaMonkey/2.0.11

Hello.

I finished my pccon* terminal descriptions for OpenBSD AMD/Intel consoles.

I succesfully ran the following tests with my pccon* terminal descriptions
on i386 OpenBSD-4.9 (I tested pccon, pccon0, pccon-m, pccon0-m for 80x25,
80x40, 80x50 display resolutions with appropriate KOI8-R fonts, see also
http://am1225.narod.ru/software/Terminal_descriptions_for_OpenBSD_AMD-Intel_consoles.BSD_09_2011.pdf):

1) lrtest & ncurses from ncurses-examples-20111008 (linked with
ncurses-5.9-20111008),
2) tack from tack-1.07-20110626.

The patch against terminfo.src from ncurses-5.9-20111008
(see also http://am1225.narod.ru/software/terminfo.src.patch):

--- terminfo.src.orig   Sun Sep 11 04:34:21 2011
+++ terminfo.src        Mon Oct 10 16:12:02 2011
@@ -1664,6 +1664,56 @@
 qansi-w|QNX ansi for windows,
        xvpa, use=qansi-m,
 
+#### OpenBSD consoles
+#
+# From: Alexei Malinin <address@hidden>; October, 2011.
+#
+# The following terminal descriptions for the  AMD/Intel PC console
+# were prepared  based on information contained in  the OpenBSD-4.9
+# termtypes.master and wscons(4) & vga(4) manuals (2010, November).
+#
+pccon+keys|OpenBSD PC keyboard keys,
+       kbs=^H, kcan=^C, kclr=^L, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
+       kcuu1=\E[A, kdch1=\E[3~, kend=\E[8~, kent=^M, kf1=\E[11~,
+       kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
+       kf3=\E[13~, 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, kspd=^Z,
+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>,
+       sgr0=\E[m\E(B$<5>, smacs=\E(0$<5>,
+pccon+colors|ANSI colors for OpenBSD PC console,
+       bce,
+       colors#8, pairs#64,
+       op=\E[m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
+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,
+       cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
+       el1=\E[1K, home=\E[H, ht=^I, ind=\ED, nel=\EE, rev=\E[7m,
+       ri=\EM, rmam=\E[?7l, rmso=\E[m, rs2=\Ec$<50>, smam=\E[?7h,
+       smso=\E[7m,
+pccon0-m|OpenBSD PC console without colors & with simple ASCII pseudographics,
+       use=pccon+base,
+       use=pccon+sgr+acs0,
+       use=pccon+keys,
+pccon0|OpenBSD PC console with simple ASCII pseudographics,
+       use=pccon0-m,
+       use=pccon+colors,
+pccon-m|OpenBSD PC console without colors,
+       use=pccon+base,
+       use=pccon+sgr+acs,
+       use=pccon+keys,
+pccon|OpenBSD PC console,
+       use=pccon-m,
+       use=pccon+colors,
+
 #### NetBSD consoles
 #
 # pcvt termcap database entries (corresponding to release 3.31)



-- 
Alexei Malinin


Thomas Dickey wrote:
> On Tue, 13 Sep 2011, Alexei Malinin wrote:
>
>> Thank you.
>>
>> I'll try tests on i386 OpenBSD-4.9 with my pccon*
>> terminal descriptions and after that I'll send to list
>> a patch against terminfo.src.
>
> thanks.
>
>> -- 
>> Alexei Malinin
>>
>>
>> Thomas Dickey wrote:
>>> On Mon, 12 Sep 2011, Alexei Malinin wrote:
>>>> Thomas Dickey wrote:
>>>>> I think it would be helpful if you had a copy of the ncurses
>>>>> test-program
>>>>> and explored menu 'b' with the A/a toggles while scrolling the data
>>>>> left/right.
>>>>
>>>> Hello, Thomas.
>>>>
>>>> I found vttest program.
>>>> Please tell me where can I find the ncurses test-program?
>>>
>>> It's built normally as part of the ncurses tree, but I made also some
>>> changes in 5.9 to allow "ncurses-examples" to be built separately from
>>> that.  There's a link on my ncurses page
>>>
>>>     http://invisible-island.net/ncurses/ncurses-examples.html
>>>
>>> as well as some tarballs in my ftp area, e.g.,
>>>
>>>     ftp://invisible-island.net/ncurses-examples/
>>>
>>> The configure script expects a "--with-ncurses" or "--with-ncursesw"
>>> option to look for ncurses specifically, otherwise it'll default to
>>> whatever "curses" is installed in the system.  For OpenBSD, that
>>> should work, though I've not tested that particular build (my logs
>>> show 46 platforms - I was more interested in non-ncurses builds). 




reply via email to

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