🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
16 messages
16 total messages Started by Blinky the Shark Sat, 11 Aug 2007 05:00
[slrn] X-Face Display
#203530
Author: Blinky the Shark
Date: Sat, 11 Aug 2007 05:00
21 lines
1646 bytes
I've had slrn showing X-Faces with other installations.

Now I can't get 'em.

I've installed the libcompface package.

I have slrnface.sl in my slrn macro directory with the macros that work.

I have the

interpret "slrnface.sl"

command in .slrnrc.

No faces.  What simple thing am I forgetting this time around?

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups.
Except in Thunderbird, which can't filter that well.
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] X-Face Display
#203529
Author: Blinky the Shark
Date: Sat, 11 Aug 2007 05:11
39 lines
1974 bytes
Blinky the Shark wrote:
> I've had slrn showing X-Faces with other installations.
>
> Now I can't get 'em.
>
> I've installed the libcompface package.
>
> I have slrnface.sl in my slrn macro directory with the macros that work.
>
> I have the
>
> interpret "slrnface.sl"
>
> command in .slrnrc.
>
> No faces.  What simple thing am I forgetting this time around?

I'm getting:

<q>

loading /slrn/macros/slrnface.sl

...

Using newsrc file /mnt/LEXAR/xnews/NIN.newsrc for server news.individual.net.sh: slrnface: command not found

Slrnface failed: error 127 (unknown reason).
Connecting to host news.individual.net ...

<q>



-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups.
Except in Thunderbird, which can't filter that well.
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] X-Face Display
#203545
Author: The Old Sourdough
Date: Sat, 11 Aug 2007 09:57
46 lines
2293 bytes
Blinky the Shark <no.spam@box.invalid> wrote in
news:slrnfbqhai.cet.no.spam@thurston.blinkynet.net: 

> Blinky the Shark wrote:
>> I've had slrn showing X-Faces with other installations.
>>
>> Now I can't get 'em.
>>
>> I've installed the libcompface package.
>>
>> I have slrnface.sl in my slrn macro directory with the macros that
>> work. 
>>
>> I have the
>>
>> interpret "slrnface.sl"
>>
>> command in .slrnrc.
>>
>> No faces.  What simple thing am I forgetting this time around?
> 
> I'm getting:
> 
> <q>
> 
> loading /slrn/macros/slrnface.sl
> 
> ...
> 
> Using newsrc file /mnt/LEXAR/xnews/NIN.newsrc for server
> news.individual.net.sh: slrnface: command not found 
> 
> Slrnface failed: error 127 (unknown reason).
> Connecting to host news.individual.net ...
> 
> <q>
> 
> 
> 

Now, that's a real helpful error message, isn't it? "Unknown reason".
Sheesh!

-- 
The Old Sourdough
BEER!!11!!, the whole grain diet...
Re: [slrn] X-Face Display
#203554
Author: Whiskers
Date: Sat, 11 Aug 2007 11:36
30 lines
2144 bytes
On 2007-08-11, Blinky the Shark <no.spam@box.invalid> wrote:
> I've had slrn showing X-Faces with other installations.
>
> Now I can't get 'em.
>
> I've installed the libcompface package.
>
> I have slrnface.sl in my slrn macro directory with the macros that work.
>
> I have the
>
> interpret "slrnface.sl"
>
> command in .slrnrc.
>
> No faces.  What simple thing am I forgetting this time around?

I find that using a different terminal emulator sometimes gets slrnface to 
display.  I've never worked out why some can do it and some cant, let 
alone why a terminal emulator that works with slrnface on one distro 
doesn't on another.  

I vaguely remember reading about a method for displaying X-Faces outside 
the terminal window, using a seperate application, which presumably 
wouldn't depend on the quirks of the terminal itself.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] X-Face Display
#203563
Author: Blinky the Shark
Date: Sat, 11 Aug 2007 16:44
42 lines
2757 bytes
Whiskers wrote:
> On 2007-08-11, Blinky the Shark <no.spam@box.invalid> wrote:
>> I've had slrn showing X-Faces with other installations.
>>
>> Now I can't get 'em.
>>
>> I've installed the libcompface package.
>>
>> I have slrnface.sl in my slrn macro directory with the macros that work.
>>
>> I have the
>>
>> interpret "slrnface.sl"
>>
>> command in .slrnrc.
>>
>> No faces.  What simple thing am I forgetting this time around?
>
> I find that using a different terminal emulator sometimes gets slrnface to 
> display.  I've never worked out why some can do it and some cant, let 
> alone why a terminal emulator that works with slrnface on one distro 
> doesn't on another.  

The error is coming from slrn on startup.  While I'm sure you're right,
that's immaterial until that error gets resolved.

But, to show good faith, I just installed aterm, Eterm and xterm.
Naturally the slrn error persists regardless of terminal emulator.

> I vaguely remember reading about a method for displaying X-Faces outside 
> the terminal window, using a seperate application, which presumably 
> wouldn't depend on the quirks of the terminal itself.

I'm not yet ready for a kludge that puts them outide the terminal in
which I'm reading the message, but thanks for the tip.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups.
Except in Thunderbird, which can't filter that well.
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] X-Face Display
#203611
Author: Gunnar Gren
Date: Sun, 12 Aug 2007 08:42
10 lines
1580 bytes
Blinky the Shark wrote:
> I'm getting:


> loading /slrn/macros/slrnface.sl


> Using newsrc file /mnt/LEXAR/xnews/NIN.newsrc for server news.individual.net.sh: slrnface: command not found

And the path to slrnface is set in your news.individual.net.sh script?
Re: [slrn] X-Face Display
#203615
Author: Blinky the Shark
Date: Sun, 12 Aug 2007 12:18
87 lines
3643 bytes
Gunnar Gren wrote:
> Blinky the Shark wrote:
>> I'm getting:
>
>
>> loading /slrn/macros/slrnface.sl
>
>
>> Using newsrc file /mnt/LEXAR/xnews/NIN.newsrc for server news.individual.net.sh: slrnface: command not found
>
> And the path to slrnface is set in your news.individual.net.sh script?

It was in the macro directory set in .slrnrc, with all my other macros
whose locations don't need to be set in that shell script.

BUT...I've started this project from scratch, as of tonight.


When I run make for the slrnface package, I get this error ------>

[root@thurston slrnface-2.1.1]# make
cc -O  -o slrnface slrnface.c -L/usr/lib -lcompface  -lXt -lX11
/usr/bin/ld: cannot find -lcompface
collect2: ld returned 1 exit status
make: *** [slrnface] Error 1
========================================================


Here are libcompface files ----------------------------->

[root@thurston slrnface-2.1.1]# locate compface
/usr/lib/libcompface.so.0.0.0
/usr/lib/libcompface.so.0
==========================================================


They're in /usr/lib/


Here is the Makefile ------------------------------------>

CC = cc

X_INCL = # location of X include files, if needed

# A lot of popular terminals are brain damaged, so we cannot use X
# resources for configuration. In those cases Xt routines won't even be
# called, so you might want to use lazy loading for Xt if your OS supports it.

X_LIBS = -lXt -lX11 # X libs
XF_LIB = -L/usr/lib -lcompface # compface library
C_FLAGS = -O

prefix = /usr/local

# No need to configure anything below.

CFLAGS = $(C_FLAGS) $(X_INCL)
LDFLAGS = $(XF_LIB) $(X_LIBS)

slrnface: slrnface.c
        $(CC) $(CFLAGS) -o slrnface slrnface.c $(LDFLAGS)

clean:
        rm -f *.o core slrnface

install: slrnface
        mkdir -p $(prefix)/bin
        mkdir -p $(prefix)/man/man1
        mkdir -p $(prefix)/share/slrn/macros
        cp slrnface $(prefix)/bin
        cp slrnface.1 $(prefix)/man/man1
        cp slrnface.sl $(prefix)/share/slrn/macros

==========================================================

Makefile seems to expect compface library in /usr/lib, which is where
they are.

What's wrong?


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups.
Except in Thunderbird, which can't filter that well.
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] X-Face Display
#203625
Author: Whiskers
Date: Sun, 12 Aug 2007 13:18
51 lines
3353 bytes
On 2007-08-11, Blinky the Shark <no.spam@box.invalid> wrote:
> Whiskers wrote:
>> On 2007-08-11, Blinky the Shark <no.spam@box.invalid> wrote:
>>> I've had slrn showing X-Faces with other installations.
>>>
>>> Now I can't get 'em.
>>>
>>> I've installed the libcompface package.
>>>
>>> I have slrnface.sl in my slrn macro directory with the macros that work.
>>>
>>> I have the
>>>
>>> interpret "slrnface.sl"
>>>
>>> command in .slrnrc.
>>>
>>> No faces.  What simple thing am I forgetting this time around?
>>
>> I find that using a different terminal emulator sometimes gets slrnface to 
>> display.  I've never worked out why some can do it and some cant, let 
>> alone why a terminal emulator that works with slrnface on one distro 
>> doesn't on another.  
>
> The error is coming from slrn on startup.  While I'm sure you're right,
> that's immaterial until that error gets resolved.
>
> But, to show good faith, I just installed aterm, Eterm and xterm.
> Naturally the slrn error persists regardless of terminal emulator.

Just for the record, I'm using rxvt on Mandriva 2007.0 with XFce4, and 
slrnface works here.

>> I vaguely remember reading about a method for displaying X-Faces outside 
>> the terminal window, using a seperate application, which presumably 
>> wouldn't depend on the quirks of the terminal itself.
>
> I'm not yet ready for a kludge that puts them outide the terminal in
> which I'm reading the message, but thanks for the tip.

To my mind it's only marginally a kludge; I'm prepared to discover that I 
actually prefer the arrangement - if I ever get around to trying it.  The
Face header seems to be gaining popularity, and I think any method of
getting that to display from slrn will require a seperate 'window' anyway. 
Unless someone comes up with a graphical slrn, of course.  (Well, it could 
happen, and why not as long as the real thing is still there?).

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] X-Face Display
#203627
Author: Blinky the Shark
Date: Sun, 12 Aug 2007 16:45
46 lines
2978 bytes
Whiskers wrote:
> On 2007-08-11, Blinky the Shark <no.spam@box.invalid> wrote:
>> Whiskers wrote:
>>> On 2007-08-11, Blinky the Shark <no.spam@box.invalid> wrote:
>>>> I've had slrn showing X-Faces with other installations.
>>>>
>>>> Now I can't get 'em.
>>>>
>>>> I've installed the libcompface package.
>>>>
>>>> I have slrnface.sl in my slrn macro directory with the macros that work.
>>>>
>>>> I have the
>>>>
>>>> interpret "slrnface.sl"
>>>>
>>>> command in .slrnrc.
>>>>
>>>> No faces.  What simple thing am I forgetting this time around?
>>>
>>> I find that using a different terminal emulator sometimes gets slrnface to 
>>> display.  I've never worked out why some can do it and some cant, let 
>>> alone why a terminal emulator that works with slrnface on one distro 
>>> doesn't on another.  
>>
>> The error is coming from slrn on startup.  While I'm sure you're right,
>> that's immaterial until that error gets resolved.
>>
>> But, to show good faith, I just installed aterm, Eterm and xterm.
>> Naturally the slrn error persists regardless of terminal emulator.
>
> Just for the record, I'm using rxvt on Mandriva 2007.0 with XFce4, and 
> slrnface works here.

I've always used rxvt.  But LIS, the error isn't about the terminal not
showing the image; it's about slrnface.sl not working.

But see more recent posts -- I've started over, and can't get slrnface
to make.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups.
Except in Thunderbird, which can't filter that well.
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] X-Face Display
#203635
Author: Drazen Kacar
Date: Sun, 12 Aug 2007 17:26
23 lines
2106 bytes
The Old Sourdough wrote:
>  Blinky the Shark <no.spam@box.invalid> wrote in
>  news:slrnfbqhai.cet.no.spam@thurston.blinkynet.net: 

> > Using newsrc file /mnt/LEXAR/xnews/NIN.newsrc for server
> > news.individual.net.sh: slrnface: command not found 
> > 
> > Slrnface failed: error 127 (unknown reason).
> > Connecting to host news.individual.net ...
> > 
> > <q>
> 
>  Now, that's a real helpful error message, isn't it? "Unknown reason".
>  Sheesh!

The line above says "slrnface: command not found". You have a problem
with the attention span? Sheesh!

-- 
 .-.   .-.    Yes, I am an agent of Satan, but my duties are largely
(_  \ /  _)   ceremonial.
     |
     |        dave@fly.srk.fer.hr
Re: [slrn] X-Face Display
#203638
Author: Drazen Kacar
Date: Sun, 12 Aug 2007 17:32
24 lines
2379 bytes
Whiskers wrote:

>  I find that using a different terminal emulator sometimes gets slrnface to 
>  display.  I've never worked out why some can do it and some cant, let 
>  alone why a terminal emulator that works with slrnface on one distro 
>  doesn't on another.  

Because terminal emulators are quirky. Terminal emulators consist of a
number of X11 windows, because various GUI elements are drawn in a
separate window (scrollbars, tabs, toolbars, menus, etc.) You can see
them all by typing "xwininfo -tree" and clicking on the terminal
emulator.

The environment variable WINDOWID should contain X11 window id for the
window where the characters appear, but that's very frequently not the
case. Slrnface has some heuristics to deal with that, but that's a very
old code which is not capable of dealing with the mess that's been
created in the meantime.

-- 
 .-.   .-.    Yes, I am an agent of Satan, but my duties are largely
(_  \ /  _)   ceremonial.
     |
     |        dave@fly.srk.fer.hr
Re: [slrn] X-Face Display
#203640
Author: Drazen Kacar
Date: Sun, 12 Aug 2007 17:37
17 lines
2167 bytes
Whiskers wrote:

>  To my mind it's only marginally a kludge; I'm prepared to discover that I 
>  actually prefer the arrangement - if I ever get around to trying it.  The
>  Face header seems to be gaining popularity, and I think any method of
>  getting that to display from slrn will require a seperate 'window' anyway. 

Of course not. Slrnface can display Face headers just like it displays
X-Face headers. I just never got to finish that code. And I've always
thought that X-PNG-Face would be a better header name. But I'm just
picky. :-)

-- 
 .-.   .-.    Yes, I am an agent of Satan, but my duties are largely
(_  \ /  _)   ceremonial.
     |
     |        dave@fly.srk.fer.hr
Re: [slrn] X-Face Display
#203641
Author: Drazen Kacar
Date: Sun, 12 Aug 2007 17:40
19 lines
2030 bytes
Blinky the Shark wrote:

>  Here are libcompface files ----------------------------->
> 
>  [root@thurston slrnface-2.1.1]# locate compface
>  /usr/lib/libcompface.so.0.0.0
>  /usr/lib/libcompface.so.0
> ==========================================================
> 
>  They're in /usr/lib/

You do not have "libcompface.so". That's normally a symlink to the real
file. And it's usually in the devel package in Linux distributions.

-- 
 .-.   .-.    Yes, I am an agent of Satan, but my duties are largely
(_  \ /  _)   ceremonial.
     |
     |        dave@fly.srk.fer.hr
Re: [slrn] X-Face Display
#203652
Author: Whiskers
Date: Sun, 12 Aug 2007 19:06
21 lines
2271 bytes
On 2007-08-12, Drazen Kacar <dave@fly.srk.fer.hr> wrote:
> Whiskers wrote:
>
>>  To my mind it's only marginally a kludge; I'm prepared to discover that I 
>>  actually prefer the arrangement - if I ever get around to trying it.  The
>>  Face header seems to be gaining popularity, and I think any method of
>>  getting that to display from slrn will require a seperate 'window' anyway. 
>
> Of course not. Slrnface can display Face headers just like it displays
> X-Face headers. I just never got to finish that code. And I've always
> thought that X-PNG-Face would be a better header name. But I'm just
> picky. :-)

Nodobly's perfect.  I'm certainly intrigued at the possibility that 
someone might get around to showing a colour image inside a terminal
emulator.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] X-Face Display
#203658
Author: Blinky the Shark
Date: Sun, 12 Aug 2007 20:17
23 lines
2105 bytes
Drazen Kacar wrote:
> Blinky the Shark wrote:
>
>>  Here are libcompface files ----------------------------->
>> 
>>  [root@thurston slrnface-2.1.1]# locate compface
>>  /usr/lib/libcompface.so.0.0.0
>>  /usr/lib/libcompface.so.0
>> ==========================================================
>> 
>>  They're in /usr/lib/
>
> You do not have "libcompface.so". That's normally a symlink to the real
> file. And it's usually in the devel package in Linux distributions.

I've tried two different rpms.  Both deliver the above two files.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups.
Except in Thunderbird, which can't filter that well.
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] X-Face Display
#203660
Author: Blinky the Shark
Date: Sun, 12 Aug 2007 20:20
33 lines
2781 bytes
Drazen Kacar wrote:
> Whiskers wrote:
>
>>  I find that using a different terminal emulator sometimes gets slrnface to 
>>  display.  I've never worked out why some can do it and some cant, let 
>>  alone why a terminal emulator that works with slrnface on one distro 
>>  doesn't on another.  
>
> Because terminal emulators are quirky. Terminal emulators consist of a
> number of X11 windows, because various GUI elements are drawn in a
> separate window (scrollbars, tabs, toolbars, menus, etc.) You can see
> them all by typing "xwininfo -tree" and clicking on the terminal
> emulator.
>
> The environment variable WINDOWID should contain X11 window id for the
> window where the characters appear, but that's very frequently not the
> case. Slrnface has some heuristics to deal with that, but that's a very
> old code which is not capable of dealing with the mess that's been
> created in the meantime.

I have both a DISPLAY and WINDOWID in environment.  I've been through
the code for slrnface.sl over and over, and from looking at the
error-reporting code there (and at the README file that ships with the
slrnface tarball) I saw that both were needed.  The error thrown doesn't
conform to the ones that would appear if I had a DISPLAY or WINDOWID
issue.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups.
Except in Thunderbird, which can't filter that well.
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
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