Re: annoying problem with ncurses, acs_chars and xterm
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
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
annoying problem with ncurses, acs_chars and xterm
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
Re: annoying problem with ncurses, acs_chars and xterm
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
Re: annoying problem with ncurses, acs_chars and xterm
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
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
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