Thread View: news.software.readers
1 messages
1 total messages
Started by Byrial Jensen
Fri, 24 Oct 1997 00:00
Re: [slrn] Feature requests -- forced message() and access to number of articles/groups in list
Author: Byrial Jensen
Date: Fri, 24 Oct 1997 00:00
Date: Fri, 24 Oct 1997 00:00
34 lines
1840 bytes
1840 bytes
J.B. Nicholson-Owens <jbn@pop-a-wheelie.midwest.net> wrote:
>I'd like to request access to the number of articles or groups in the list
>(so I can avoid discovering this with hokey group_down_n()/header_down()
>loops)
Hmm, that would not be too difficult. Maybe two more lines in the table
of Slang variables and intrinsics in interp.c, like this:
MAKE_VARIABLE(".ARTICLES_IN_WINDOW", &Slrn_Header_Window.num_lines,
INT_TYPE, 1),
MAKE_VARIABLE(".GROUPS_IN_WINDOW", &Group_Window.num_lines, INT_TYPE, 1),
And then Slrn_Header_Window and Group_Window should be made global
variables instead of static. I could make a patch for that if you want.
What names would you prefer for the Slang variables?
>and a way to force a message to be drawn on the status line (even if
>another message is going to be drawn right after it) so I can update status
>bars.
I am not sure that I understand what you mean. Maybe you could do
something like this:
define forced_message (string)
{
message (string);
() = input_pending (50); % wait 5 seconds if no input is pending
}
Best regards
- Byrial
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