[comp.unix.questions] xterm terminfo

jeff@faximum.UUCP (Jeff Tate) (06/22/91)

If anyone knows the correct sequences for the "acsc" capability in the
xterm terminfo entry to produce box graphics, could you please E-mail
them to me.  I am unable to divine them myself, and am sick of stuff like:

	ZDDDDDDDDDDDDDDDDDDDDD?
	3                     3
	3  Should be in box   3
	3                     3
	@DDDDDDDDDDDDDDDDDDDDDY

Thanx in advance

 +----------------------------------------------------------------------------+
 |  Jeff Tate                          |  Day-phone:    ( 415 ) 622 0890      |
 |  faximum Software                   |  Home-phone:   ( 415 ) 647 3936      |
 |  3738, 22nd Street                  |                                      |
 |  San Francisco, CA 94114            |         uunet!faximum!jeff           |
 +----------------------------------------------------------------------------+

wul@sco.COM (Wu Liu) (06/23/91)

/--jeff@faximum.UUCP (Jeff Tate) said...
| If anyone knows the correct sequences for the "acsc" capability in the
| xterm terminfo entry to produce box graphics, could you please E-mail
| them to me.  I am unable to divine them myself, and am sick of stuff like:
| 
| 	ZDDDDDDDDDDDDDDDDDDDDD?
| 	3                     3
| 	3  Should be in box   3
| 	3                     3
| 	@DDDDDDDDDDDDDDDDDDDDDY
\--

If this is what I think it is, it's not the terminfo entry that's
failing to draw the graphics characters.  Which font are you using
for xterm, the default fixed width ones in /usr/lib/X11/fonts/misc,
or some of the ones in /usr/lib/X11/fonts/{75dpi,100dpi}?  I'd
guess the latter.  Try running xlsfonts for the default 6x13 font
and then for one of the fixed width fonts from the Adobe or
Bitstream sets.  As I recall, the Adobe/Bitstream fonts don't even
*have* graphics characters.
-- 
Wu Liu -- Member, Technical Staff       The Santa Cruz Operation, Inc.
UUCP:      ...!uunet!sco!wul            400 Encinal St.
Internet:  wul@sco.COM                  Santa Cruz, CA  95061

carlson@mrx.webo.dg.com (James Carlson) (06/24/91)

In article <479@faximum.UUCP>, jeff@faximum.UUCP (Jeff Tate) writes:
|> 
|> If anyone knows the correct sequences for the "acsc" capability in the
|> xterm terminfo entry to produce box graphics, could you please E-mail
|> them to me.  I am unable to divine them myself, and am sick of stuff like:
|> 
|> 	ZDDDDDDDDDDDDDDDDDDDDD?
|> 	3                     3
|> 	3  Should be in box   3
|> 	3                     3
|> 	@DDDDDDDDDDDDDDDDDDDDDY
|> 
|> Thanx in advance
|> 
|> 
|>
+----------------------------------------------------------------------------+
|>  |  Jeff Tate                          |  Day-phone:    ( 415 ) 622 0890     
|> |
|>  |  faximum Software                   |  Home-phone:   ( 415 ) 647 3936     
|> |
|>  |  3738, 22nd Street                  |                                     
|> |
|>  |  San Francisco, CA 94114            |         uunet!faximum!jeff          
|> |
|> 
|>
+----------------------------------------------------------------------------+

That looks to me like PC line drawing characters with the upper bit stripped
off.
You're going to have to do some fancy footwork to get those to work right.  If
you were really having trouble with the acsc string, the output might look
like:

	lrrrrrrrrrrrrrrrrrrrrk
	x                    x
	x  Should be in box  x
	x                    x
	mrrrrrrrrrrrrrrrrrrrrj

(I hate it when people depend on awful non-standard things like IBM PC
character
sets, but what can you do?)

You might try:

	acsc=~`1axfqgYj?kZl@mEn_o_pDq_r_sCt4uAvBw3xsyrzc{w|b}y~

This will map the characters correctly (more or less), assuming you know how to
handle the 8th-bit characters ...

-- 
Disclaimer:  I cannot speak for Data General.  You should have guessed that.
Mail to:  carlson@mrx.webo.dg.com  -or-  James_Carlson@dgc.mceo.dg.com
.//.