🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by gordon beaton Tue, 03 Sep 1996 00:00
nn-6.5.1 comments, bugfix
#7913
Author: gordon beaton
Date: Tue, 03 Sep 1996 00:00
46 lines
1998 bytes
Hello!

I've just installed nn-6.5.1 and am very pleased with it. In
particular I'm really happy to no longer have to deal with nnmaster
and the subject database (and our system manager is happy to get the
disk space back).

There are a couple of things I ran into though, and I've made some
changes to the code. I don't know if these are considered bugs or if
anyone else has noticed them yet.

The first thing is where shadeline() bails out and calls underline if
shading is not available. The value of 'on' is not passed on to
underline, with the result that underlining is turned on
unconditionally, causing entire articles get underlined if + is used
in the header-lines variable.

This is the change I made to term.c:
1141c1141
<       return underline(on);
---
>       return underline(1);


But then I wondered why I am getting underlining all the time instead
of shading, which should work in an xterm. Calling init_term() before
(not after) visit_init_file() in nn.c fixed this:

861d860
<       init_term(1);
862a862
>       init_term(1);

Intuitively, this must be called first if initfile lines with @ in
them are to work too since the TERM variable is checked there.

/gordon

--
gordon beaton                            machine unreadable email address:
department of computer systems           g o r d o n @ d o c s . u u . s e   
uppsala university                                     
uppsala, sweden                                                  

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