Thread View: news.software.readers
5 messages
5 total messages
Started by Urko Lusa
Sat, 08 Jun 1996 00:00
slrn 0.8.8.2 and graphic chars
Author: Urko Lusa
Date: Sat, 08 Jun 1996 00:00
Date: Sat, 08 Jun 1996 00:00
24 lines
1373 bytes
1373 bytes
First of all, just say that I have read the docs 8-)
I use slrn under Linux. I use an iso-8859-1 font, so the graphics chars
are not in the usal ibmpc place, but between 128-160.
I changed /usr/lib/terminfo/l/linux to reflect this. The changes were:
smacs=\E(K,
acsc=l\206m\203k\214j\211u\215t\207v\213w\216q\212x\205,
rmacs=\E)K,
This work fine with ncurses compiled programs, but slang ones like slnr
still using the ibmpc codes. So when I look at the tree I see letters
like ��� (Uacute, Acircu, Adiaer) instead of the graphic chars.
So the questions are: does slrn really read terminfo? If yes, why doesn't
it use this information? How could I remedy this tragedy? 8-)
Thanks for your time.
--
Saludos, Urko.
Re: slrn 0.8.8.2 and graphic chars
Author: John E. Davis
Date: Sun, 09 Jun 1996 00:00
Date: Sun, 09 Jun 1996 00:00
25 lines
1780 bytes
1780 bytes
On Sat, 8 Jun 1996 15:11:42 GMT, Urko Lusa <ulusa@arrakis.es> wrote: : So the questions are: does slrn really read terminfo? If yes, why doesn't : it use this information? How could I remedy this tragedy? 8-) slrn (actually slang) does read the terminfo database to see how to interact with the terminal. However, if the terminal appears to be the Linux console, then hard-coded values are used for the line drawing characters. The unfortunate reason for this is that for a long time the terminfo files distributed by ncurses were buggy with respect to the line drawing characters. I received many emails telling me that line drawing characters were not being displayed properly under the linux console and as a short term solution, I hard coded the escape sequences. Since it appears that the current ncurses terminfo files are not as defective as they were about 6 months ago, I will look into removing this restriction. Look for this to happen when slang 0.99-32 is released (soon). -- John E. Davis Center for Space Research/AXAF Science Center 617-258-8119 MIT 37-662c, Cambridge, MA 02139 http://space.mit.edu/~davis
Re: slrn 0.8.8.2 and graphic chars
Author: Felix von Leitner
Date: Tue, 11 Jun 1996 00:00
Date: Tue, 11 Jun 1996 00:00
19 lines
1103 bytes
1103 bytes
On Sat, 8 Jun 1996 15:11:42 GMT, Urko Lusa <ulusa@arrakis.es> wrote: > [slrn under Linux, claims that slrn uses the ibmpc places for the > graphics chars] This is not true. slrn display the line drawing characters right when showing a thread, for example. It does this as long as I can remember, which is at least 0.8. If you display a posting where some 8-bit characters are used that are in the ibmpc range, then slrn can't display this properly without MIME support. Felix
Re: slrn 0.8.8.2 and graphic chars
Author: Urko Lusa
Date: Thu, 20 Jun 1996 00:00
Date: Thu, 20 Jun 1996 00:00
33 lines
1701 bytes
1701 bytes
[This is a bit old post, but my news"feed" didn't pass it to me] Felix von Leitner (leitner@xorn.prz.tu-berlin.de) escribi�: >On Sat, 8 Jun 1996 15:11:42 GMT, Urko Lusa <ulusa@arrakis.es> wrote: >> [slrn under Linux, claims that slrn uses the ibmpc places for the >> graphics chars] > >This is not true. Not now with the new slang library. But it was when I posted. >slrn display the line drawing characters right when showing a thread, >for example. It does this as long as I can remember, which is at least >0.8. Perhaps you are using a ibmpc font as long as you can remember. Try 'showfont' or 'man iso_8859_1'. >If you display a posting where some 8-bit characters are used that are >in the ibmpc range, then slrn can't display this properly without MIME >support. This has nothing to do with MIME. Anyway, it works very well now with the new slang 0.99-32. -- Saludos, Urko.
Re: slrn 0.8.8.2 and graphic chars
Author: Felix von Leitner
Date: Fri, 21 Jun 1996 00:00
Date: Fri, 21 Jun 1996 00:00
46 lines
1947 bytes
1947 bytes
On Thu, 20 Jun 1996 18:32:45 GMT, Urko Lusa <ulusa@arrakis.es> wrote:
> >On Sat, 8 Jun 1996 15:11:42 GMT, Urko Lusa <ulusa@arrakis.es> wrote:
> >> [slrn under Linux, claims that slrn uses the ibmpc places for the
> >> graphics chars]
> >
> >This is not true.
> Not now with the new slang library. But it was when I posted.
You can't decide where the system has placed the line drawing
characters. And since the VGA hardware duplicates the 8th scanline in
the 9th scanline only for a certain range of characters in text mode,
the Linux console locations for the alternate characters is the ibmpc
position.
Try to compile and run this program to see the real font of the Linux
console:
#include <stdio.h>
main()
{
int i;
for (i=0;i<255;i++) {
putchar(i);
putchar(' ');
if (i % 16==0) {
putchar('\n');
}
}
}
> >slrn display the line drawing characters right when showing a thread,
> >for example. It does this as long as I can remember, which is at least
> >0.8.
> Perhaps you are using a ibmpc font as long as you can remember. Try
> 'showfont' or 'man iso_8859_1'.
I don't know what showfont does. iso_8859_1 does not say where the
block characters are.
Felix
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads