[7647] in SIPB bug reports

home help back first fref pref prev next nref lref last post

w3m depends on xterm font choice

daemon@ATHENA.MIT.EDU (John Carr)
Mon Sep 25 10:45:02 2000

Message-Id: <200009251443.KAA18742@nerd-xing.mit.edu>
To: bug-sipb@MIT.EDU
Date: Mon, 25 Sep 2000 10:43:43 -0400
From: John Carr <jfc@MIT.EDU>


When drawing tables with borders, w3m tries to draw nice lines around
the table and its cells.  If $TERM is xterm, it uses some special line
drawing characters to do this.  Unfortunately, while these characters
are found in the simple #x# X fonts (9x15, 10x20, etc.) they are not
in the xterm font I use when logged in from my Linux system at work:
	-bitstream-courier-medium-r-normal-*-20-*-*-*-*-*-iso8859-*

The result is that I need to type ^L frequently.  w3m doesn't clear
the screen when it scrolls, instead relying on the new text to erase
the old.  The missing line-drawing characters don't do anything so I
end up with two pages superimposed.

Setting TERM=ansi causes w3m to use +-| to draw lines.  This is ugly
but legible.  I can't think of any simple way for w3m to determine
what font is in use.


home help back first fref pref prev next nref lref last post