kern/141633: xterm emulator and screen maps = no vt100 pseudographics

Andrey Chernov ache at FreeBSD.org
Tue Dec 15 03:20:01 PST 2009


>Number:         141633
>Category:       kern
>Synopsis:       xterm emulator and screen maps = no vt100 pseudographics
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 15 11:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Chernov
>Release:        FreeBSD 9.0-CURRENT i386
>Organization:
>Environment:

FreeBSD-current

>Description:

It seems xterm emulator can't co-exist with screen maps, f.e. with CP866
font loaded and
vidcontrol -l koi8-r2cp866
I got Russian letters everywhere instead of vt100 pseudographics due to
missing (i.e. default) ac= termcap capability (f.e. in tzsetup etc.)
There are 2 ways to fix it.
1) Make separate xterm-r with corrected ac= (that way is ugly, but was
done for cons25r f.e.)
2) Don't seek for vt100 pseudographics in loaded font at all, just use
internal kernel font for it.
Please decide how to fix this better. For now only fallback to '-T cons25'
is solution for Russian users, but it doesn't work well (see another PR).


>How-To-Repeat:

In etc/rc.conf
font8x16="cp866b-8x16"
scrnmap="koi8-r2cp866"
(loads CP866 VGA font and maps it to KOI8-R encoding)

tzsetup

...wrong pseudographics as result.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list