Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2002 19:23:17 +0200
From:      Jens Schweikhardt <schweikh@schweikhardt.net>
To:        "Vladimir B.  Grebenschikov" <vova@sw.ru>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: CURRENT's termcap broken
Message-ID:  <20020831192317.A17197@schweikhardt.net>
In-Reply-To: <1030751383.832.49.camel@vbook.express.ru>
References:  <20020828124821.GA6231@starjuice.net> <20020828190424.A1294@schweikhardt.net> <20020828173532.GA64845@starjuice.net> <20020828203206.C1294@schweikhardt.net> <20020828190918.GA37295@starjuice.net> <20020828214105.D1294@schweikhardt.net> <200208281946.g7SJksgI019098@intruder.bmah.org> <1030626197.842.77.camel@vbook.express.ru> <20020831000444.A870@schweikhardt.net> <1030751383.832.49.camel@vbook.express.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
...
# > # and midnight commander shows all with -, +, | instead of
# > # pesudo-graphics.
# > 
# > It seems this is the price we pay for alignment with what XFree86 ships.
# 
# I see

Wait, maybe I was too fast and there is a solution. Looking at the xterm FAQ,
http://dickey.his.com/xterm/xterm.faq.html

  My terminal doesn't show box characters

  Xterm displays the 7-bit ASCII and VT100 graphic characters (including
  box corners) using specially arranged fixed-pitch fonts. The first 32
  glyph positions (which would correspond to nonprinting control
  characters) are used to hold the VT100 graphic characters. Some fonts
  that otherwise look fine (such as courier) do not have glyphs defined
  for these positions. So they display as blanks. Use xfd to display the
  font.

  XFree86 xterm can form its own line-drawing characters (see patch 90,
  for example). It does not draw all of the graphic characters, only
  those that may be done with straight lines. But those are the most
  used, making most of the fixed-pitch fonts useful for xterm.

  You may also have a problem with the terminfo description. As
  distributed, the X11R6 terminfo for xterm does not have the acsc
  string defined, so most implementations of curses do not try to use
  the alternate character set.

  Finally, some people confuse the VT100 graphic characters with the
  VT220 support for DEC technical character set. These are distinct
  (7-bit) character sets. Xterm currently does not support this.


I found that it is really dependent on the font. I use some IBM font
from an AIX system (Rom14) by default, which has no box characters
and thus displays blanks instead. If I use e.g.

	$ xterm -fn fixed -e midc

I have all the box characters and midc looks good. Use

	$ xfd -fn whateverfont

and look at the first 32 characters.

Regards,

	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020831192317.A17197>