🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Lyndon Nerenberg Tue, 09 Oct 1990 22:58
"no news" message unviewable in an xterm
#973
Author: Lyndon Nerenberg
Date: Tue, 09 Oct 1990 22:58
20 lines
1658 bytes
When nn starts up, it puts the terminal in "raw" mode, then goes
out to check for news. If there isn't any news, it displays the
"no news ..." message (in raw mode), then resets the terminal to
cooked mode and exits. This results in the "no news ..." message
only appearing on the screen for however long it takes nn to
reset the terminal after doing the final screen redraw. When
running in an xterm on a Sparcstation, this is under 0.1 seconds,
making the message all but unviewable.

The solution would be to only put the terminal into raw mode if
there is actual news to be read. If there isn't any news, the
"no news ..." message can then be printed using an fputs() call,
which will cause it to appear in the correct portion of the terminals
memory.

-- 
    Lyndon Nerenberg  VE6BBM / Computing Services / Athabasca University
        {alberta,cbmvax,mips}!atha!lyndon || lyndon@cs.athabascau.ca

      The only thing open about OSF is their mouth.  --Chuck Musciano
Re: "no news" message unviewable in an xterm
#974
Author: Lyndon Nerenberg
Date: Wed, 10 Oct 1990 01:11
13 lines
1487 bytes
I messed up posting the last article ... The bug report concerns running
nn on a terminal with multiple page screen memory, such as an HDS Concept,
or an xterm in X11. When you put one of these terminals into "raw mode"
they rewind to the beginning of the internal screen memory, and all the
direct screen write go into the first page. The return to "cooked" mode
resets the terminal to the end of the internal memory. This leaves the
"no news ..." message back on the first page of screen memory, where you
cannot see it.
-- 
    Lyndon Nerenberg  VE6BBM / Computing Services / Athabasca University
        {alberta,cbmvax,mips}!atha!lyndon || lyndon@cs.athabascau.ca

      The only thing open about OSF is their mouth.  --Chuck Musciano
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