Re: annoying problem with ncurses, acs_chars and xterm

2000-02-16 Thread Jose M. Alcaide

Ollivier Robert wrote:
> 
> According to Jose M. Alcaide:
> > Hummm... is there any way to force ncurses to use the old '-', '|' and
> > '+' characters for drawing lines and boxes (perhaps the "ac" termcap
> > capabilility)? I prefer lucidatypewriter over fixed font.
> 
> Better solution : grab xmbdfed from ports and edit the font you're using to
> add the line-drawing characters. xmbdfed will enable you to grab the font
> directly from the server and you'll able to edit the chars...

That's exactly what I decided :-). In fact, I am going to build a new
version of lucidatypewriter, including the line drawing chars and
ISO-8859-15 encoding. I want to do the same with the iso-8859-1 syscons
fonts.

-- JMA
---
José Mª Alcaide | mailto:[EMAIL PROTECTED]
Universidad del País Vasco  | mailto:[EMAIL PROTECTED]
Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose
Facultad de Ciencias - Campus de Lejona | Tel.:  +34-946012479
48940 Lejona (Vizcaya) - SPAIN  | Fax:   +34-946013071
---
 "Beware of Programmers who carry screwdrivers"  --  Leonard Brandwein


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: annoying problem with ncurses, acs_chars and xterm

2000-02-15 Thread Ollivier Robert

According to Jose M. Alcaide:
> Hummm... is there any way to force ncurses to use the old '-', '|' and
> '+' characters for drawing lines and boxes (perhaps the "ac" termcap
> capabilility)? I prefer lucidatypewriter over fixed font.

Better solution : grab xmbdfed from ports and edit the font you're using to
add the line-drawing characters. xmbdfed will enable you to grab the font
directly from the server and you'll able to edit the chars...
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- [EMAIL PROTECTED]
FreeBSD keltia.freenix.fr 4.0-CURRENT #77: Thu Dec 30 12:49:51 CET 1999



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: annoying problem with ncurses, acs_chars and xterm

2000-02-15 Thread Christian Weisgerber

Jose M. Alcaide <[EMAIL PROTECTED]> wrote:

> I found an annoying problem: the line drawing chars are not drawn
> in xterms.

I haven't examined this issue in detail, but the line drawing works
fine with a current xterm instead of the stale one shipping with
XFree 3.3.6, so it can't be purely a termcap/ncurses matter.

You can get a port for xterm #127 from here:
http://home.pages.de/~naddy/unix/freebsd/xterm.shar

I submitted this port in PR #15545, which is still open. The version
included in that PR is obsolete, though.

-- 
Christian "naddy" Weisgerber  [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: annoying problem with ncurses, acs_chars and xterm

2000-02-15 Thread Warner Losh

In message <[EMAIL PROTECTED]> "Jose M. Alcaide" writes:
: Hummm... is there any way to force ncurses to use the old '-', '|' and
: '+' characters for drawing lines and boxes (perhaps the "ac" termcap
: capabilility)? I prefer lucidatypewriter over fixed font.

On second thought:

xterm-foo:as=:ae=:ac=--||??:tc=xterm

gives good results for me with sysinstall.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: annoying problem with ncurses, acs_chars and xterm

2000-02-15 Thread Jose M. Alcaide

Warner Losh wrote:
> 
> In message <[EMAIL PROTECTED]> Alexander Leidinger writes:
> : Works here without problems (TERM = xterm & xterm-color).
> :
> : Wild guess: Does your shell support 8bit-chars?
> 
> No.  The line drawing characters aren't 8 bit characters on VT100
> derived terminals.  My guess is that you don't have a proper line
> drawing font installed on your system for the font you are using for
> the xterm.  Been too long since I read the man page to know what you
> need to tweak, but I'm sure that it is there.
> 

You are right! I was using the "lucidatypewriter" font (I really _like_
that font). I switched the xterm to use "fixed" font and the line
drawing characters now appear.

Hummm... is there any way to force ncurses to use the old '-', '|' and
'+' characters for drawing lines and boxes (perhaps the "ac" termcap
capabilility)? I prefer lucidatypewriter over fixed font.

Thank you very much,
-- JMA
---
José Mª Alcaide | mailto:[EMAIL PROTECTED]
Universidad del País Vasco  | mailto:[EMAIL PROTECTED]
Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose
Facultad de Ciencias - Campus de Lejona | Tel.:  +34-946012479
48940 Lejona (Vizcaya) - SPAIN  | Fax:   +34-946013071
---
 "Beware of Programmers who carry screwdrivers"  --  Leonard Brandwein


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: annoying problem with ncurses, acs_chars and xterm

2000-02-15 Thread Warner Losh

In message <[EMAIL PROTECTED]> "Jose M. Alcaide" writes:
: Hummm... is there any way to force ncurses to use the old '-', '|' and
: '+' characters for drawing lines and boxes (perhaps the "ac" termcap
: capabilility)? I prefer lucidatypewriter over fixed font.

Yes.  It's all a matter of the right termcap(5) entry.

xterm-foo:ac=--:tc=xterm

is a good place to start :-)

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: annoying problem with ncurses, acs_chars and xterm

2000-02-15 Thread Warner Losh

In message <[EMAIL PROTECTED]> Alexander Leidinger writes:
: Works here without problems (TERM = xterm & xterm-color).
: 
: Wild guess: Does your shell support 8bit-chars?

No.  The line drawing characters aren't 8 bit characters on VT100
derived terminals.  My guess is that you don't have a proper line
drawing font installed on your system for the font you are using for
the xterm.  Been too long since I read the man page to know what you
need to tweak, but I'm sure that it is there.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: annoying problem with ncurses, acs_chars and xterm

2000-02-15 Thread Jose M. Alcaide

Alexander Leidinger wrote:
> 
> On 15 Feb, Jose M. Alcaide wrote:
> > I found an annoying problem: the line drawing chars are not drawn
> > in xterms. This can be tested with talk(1), grdc(6), or simply
> > with a command like "dialog --yesno Test 5 15". However, it works
> > from the system console, using TERM=cons25 and TERM=cons25l1.
> >
> > If using TERM=xterm-color from an xterm, the background color of the
> > line drawing character boxes is correct, but the character itself
> > does not appear.
> 
> Works here without problems (TERM = xterm & xterm-color).
> 
> Wild guess: Does your shell support 8bit-chars?
> 

Very surprising. Yes, the shell correctly displays 8-bit characters.
The system is 4.0-2209-CURRENT, but I have just rebuilt libncurses
and termcap. I was using bash with LANG=es_ES.ISO_8859-1, but I did
the tests again using sh with LANG=C (8bit-clean, anyway), to no avail.

Any ideas?

-- JMA
---
José Mª Alcaide | mailto:[EMAIL PROTECTED]
Universidad del País Vasco  | mailto:[EMAIL PROTECTED]
Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose
Facultad de Ciencias - Campus de Lejona | Tel.:  +34-946012479
48940 Lejona (Vizcaya) - SPAIN  | Fax:   +34-946013071
---
 "Beware of Programmers who carry screwdrivers"  --  Leonard Brandwein


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: annoying problem with ncurses, acs_chars and xterm

2000-02-15 Thread Alexander Leidinger

On 15 Feb, Jose M. Alcaide wrote:
> I found an annoying problem: the line drawing chars are not drawn
> in xterms. This can be tested with talk(1), grdc(6), or simply
> with a command like "dialog --yesno Test 5 15". However, it works
> from the system console, using TERM=cons25 and TERM=cons25l1.
> 
> If using TERM=xterm-color from an xterm, the background color of the
> line drawing character boxes is correct, but the character itself
> does not appear.

Works here without problems (TERM = xterm & xterm-color).

Wild guess: Does your shell support 8bit-chars?

> Something appears to be broken in 4.0's ncurses...

Not here (cvsupped + new world: yesterday).

Bye,
Alexander.

-- 
It is easier to fix Unix than to live with NT.

http://www.Leidinger.net  Alexander+Home @ Leidinger.net
  Key fingerprint = 7423 F3E6 3A7E B334 A9CC  B10A 1F5F 130A A638 6E7E



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



annoying problem with ncurses, acs_chars and xterm

2000-02-15 Thread Jose M. Alcaide

I found an annoying problem: the line drawing chars are not drawn
in xterms. This can be tested with talk(1), grdc(6), or simply
with a command like "dialog --yesno Test 5 15". However, it works
from the system console, using TERM=cons25 and TERM=cons25l1.

If using TERM=xterm-color from an xterm, the background color of the
line drawing character boxes is correct, but the character itself
does not appear.

I examined termcap(5) and everything seems correct. Even I substituted
/usr/X11R6/lib/X11/xterm.termcap for the xterm entries of the stock
termcap, to no avail.

Something appears to be broken in 4.0's ncurses...

-- JMA
---
José Mª Alcaide | mailto:[EMAIL PROTECTED]
Universidad del País Vasco  | mailto:[EMAIL PROTECTED]
Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose
Facultad de Ciencias - Campus de Lejona | Tel.:  +34-946012479
48940 Lejona (Vizcaya) - SPAIN  | Fax:   +34-946013071
---
 "Beware of Programmers who carry screwdrivers"  --  Leonard Brandwein


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message