🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
13 messages
13 total messages Started by Tommy Moore Sat, 24 Jan 2004 23:33
help with slrn
#142073
Author: Tommy Moore
Date: Sat, 24 Jan 2004 23:33
13 lines
1581 bytes
Hi guys.
I've been using slrn for a little while now and like the way that it
functions except for a couple things.
How would I change the way the summery of a message is shown when I'm
looking at the different messages to select for reading?
If possible I'd like the date first like say Jan 24, then the person's
name and then the subject of the message.
Also when reading a particular message how do I set slrn to have the
message scroll the entire screen with the headers at the top with
out having to press the z key when viewing an article?

Thanks,
Tommy
Re: help with slrn
#142090
Author: SINNER
Date: Sun, 25 Jan 2004 01:59
21 lines
2237 bytes
* Tommy Moore Wrote in news.software.readers, on 2004-01-24:
> Hi guys.
> I've been using slrn for a little while now and like the way that it
> functions except for a couple things.
> How would I change the way the summery of a message is shown when I'm
> looking at the different messages to select for reading?
> If possible I'd like the date first like say Jan 24, then the person's
> name and then the subject of the message.

See 5.3.6 Header Display Format in the manual.

> Also when reading a particular message how do I set slrn to have the
> message scroll the entire screen with the headers at the top with
> out having to press the z key when viewing an article?

Pressing '?' at anytime will display default key bindings, try the SPACE
bar to scroll a page at a time or ENTER for a line at a time.

-- 
David                    | AGM Favorite Games - http://tinyurl.com/loec 
WinNT error 002: Out of memory - you have only 536,870,912 bytes of free RAM.
Re: help with slrn
#142098
Author: Tommy Moore
Date: Sun, 25 Jan 2004 04:01
16 lines
1896 bytes
On 2004-01-25, SINNER <99nesorjd@gates_of_hell.INVALID> wrote:
> Pressing '?' at anytime will display default key bindings, try the SPACE
> bar to scroll a page at a time or ENTER for a line at a time.

Guess I didn't explain what I'm wanting to do clear enough.
Normally when I open an article there are a few lines at the top of
the screen that display different information about the article and
group.
What I want to happen is when I open up the article I get the same
display settings that I would if I were to press the z key when inside
the article to show the headers at the top of the display. How can I
tell slrn to do this by default so that I don't have to press z each
time I open an article?

Thanks,
Tommy
Re: help with slrn
#142100
Author: SINNER
Date: Sun, 25 Jan 2004 04:29
22 lines
2388 bytes
* Tommy Moore Wrote in news.software.readers, on 2004-01-24:
> On 2004-01-25, SINNER <99nesorjd@gates_of_hell.INVALID> wrote:
>> Pressing '?' at anytime will display default key bindings, try the SPACE
>> bar to scroll a page at a time or ENTER for a line at a time.

> Guess I didn't explain what I'm wanting to do clear enough.
> Normally when I open an article there are a few lines at the top of
> the screen that display different information about the article and
> group.
> What I want to happen is when I open up the article I get the same
> display settings that I would if I were to press the z key when inside
> the article to show the headers at the top of the display. How can I
> tell slrn to do this by default so that I don't have to press z each
> time I open an article?

I suppose using the zoom_article_window in some sort of a macro should
do it, but I can't be of more help, sorry.

-- 
David                    | AGM Favorite Games - http://tinyurl.com/loec 
This is a test of the emergency broadcast system.  Had there been an
actual emergency, then you would no longer be here.
Re: help with slrn
#142113
Author: Keith
Date: Sun, 25 Jan 2004 06:31
36 lines
2582 bytes
On Sun, 25 Jan 2004 04:29:29 GMT, 
SINNER <99nesorjd@gates_of_hell.INVALID> wrote:
> * Tommy Moore Wrote in news.software.readers, on 2004-01-24:
>> On 2004-01-25, SINNER <99nesorjd@gates_of_hell.INVALID> wrote:
>>> Pressing '?' at anytime will display default key bindings, try the SPACE
>>> bar to scroll a page at a time or ENTER for a line at a time.
>
>> Guess I didn't explain what I'm wanting to do clear enough.
>> Normally when I open an article there are a few lines at the top of
>> the screen that display different information about the article and
>> group.
>> What I want to happen is when I open up the article I get the same
>> display settings that I would if I were to press the z key when inside
>> the article to show the headers at the top of the display. How can I
>> tell slrn to do this by default so that I don't have to press z each
>> time I open an article?
>
> I suppose using the zoom_article_window in some sort of a macro should
> do it, but I can't be of more help, sorry.
>

The macro below is used for setting window height when
you select an article with the return key. Look through
the slrnfuns.txt file for zoom_article_window so that you
can set it as default.


define resize_screen_hook ()
{
  set_article_window_size (SCREEN_HEIGHT-12);
}
                          
-- 
Best Regards,  Keith
NW Oregon Radio http://kilowatt-radio.org/
http://linux.com http://freebsd.org http://apple.com
Re: help with slrn
#142119
Author: Jurriaan (note: this is a workin...
Date: Sun, 25 Jan 2004 07:55
23 lines
2030 bytes
From: Tommy Moore <stp1800@earthlink.net>
Date: Sat, 24 Jan 2004 23:33:53 GMT
> Hi guys.
> I've been using slrn for a little while now and like the way that it
> functions except for a couple things.
> How would I change the way the summery of a message is shown when I'm
> looking at the different messages to select for reading?

look at header_display_format in your .slrnrc

> Also when reading a particular message how do I set slrn to have the
> message scroll the entire screen with the headers at the top with
> out having to press the z key when viewing an article?
>
No idea.

Good luck,
Jurriaan
-- 
"If you hoped to arouse my deep antipathy, you have succeeded," said
Carfilhiot. "Otherwise, the occasion has been time wasted."
	Jack Vance - Lyonesse
Debian (Unstable) GNU/Linux 2.6.1-mm4 4276 bogomips load av: 0.00 0.04 0.16
Re: help with slrn
#142121
Author: Paul Boekholt
Date: Sun, 25 Jan 2004 08:47
18 lines
1470 bytes
On Sat, 24 Jan 2004 23:33:53 GMT, Tommy Moore said:

> Also when reading a particular message how do I set slrn to have the
> message scroll the entire screen with the headers at the top with
> out having to press the z key when viewing an article?
Add this to .slrnrc:

interpret "/path/to/zoom.sl"

where zoom.sl is:

#v+
define article_mode_startup_hook()
{
   !if (is_article_window_zoomed)
     call ("zoom_article_window");
}
#v-
Re: help with slrn
#142124
Author: Crashdamage
Date: Sun, 25 Jan 2004 10:20
36 lines
2328 bytes
On 25 Jan 2004 08:47:28 GMT, Paul Boekholt <p.boekholt@hetnet.nl> wrote:
> On Sat, 24 Jan 2004 23:33:53 GMT, Tommy Moore said:

>> Also when reading a particular message how do I set slrn to have the
>> message scroll the entire screen with the headers at the top with
>> out having to press the z key when viewing an article?
> Add this to .slrnrc:

> interpret "/path/to/zoom.sl"

> where zoom.sl is:

> #v+
> define article_mode_startup_hook()
> {
>    !if (is_article_window_zoomed)
>      call ("zoom_article_window");
> }
> #v-
Nice, thanks!  I've wondered how to do this too.

Not to nitpick, but it occurred to me that this would be even better if
it worked more like the default slrn setup, where after selecting a
group, it openes in index mode until an article is selected.  Or to put
it another way, after selecting a group, opens with the index, instead
of opening with the first article in that group opened automagically -
not that *I* can figure out how to get slrn to do that...I'm sure it can
be done by someone smarter than me.

Right now, if I use this macro I have to hit 'i' to close the
auto-opened article to see the index, which is about the same as hitting
'z' to hide the index after selecting an article.  Even so, I think I
like it a little better than before.

-- 
Registered Linux user #266531
Re: help with slrn
#142125
Author: Paul Boekholt
Date: Sun, 25 Jan 2004 12:51
21 lines
1909 bytes
On Sun, 25 Jan 2004 10:20:46 GMT, Crashdamage <03z1krd7@nospam.invalid> said:
> Not to nitpick, but it occurred to me that this would be even better if
> it worked more like the default slrn setup, where after selecting a
> group, it openes in index mode until an article is selected.

Looking closer, it seems Tommy Moore was confused:

      "How can I tell slrn to do this by default so that I don't have to
      press z each time I open an article?"

You don't have to press z on every article, only on the first article.

Anyway, this zoom.sl does the trick:

#v+
set_article_window_size(SCREEN_HEIGHT-4)
#v-

Except maybe if you resize the window before selecting an article.  I don't
understand why it should be SCREEN_HEIGHT - 4, when the top status line, the
bottom status line and the echo area only take up three lines? 
Re: help with slrn
#142126
Author: Paul Boekholt
Date: Sun, 25 Jan 2004 12:51
26 lines
1877 bytes
On Sun, 25 Jan 2004 10:20:46 GMT, Crashdamage <03z1krd7@nospam.invalid> said:
> Not to nitpick, but it occurred to me that this would be even better if
> it worked more like the default slrn setup, where after selecting a
> group, it openes in index mode until an article is selected.

Looking closer, it seems Tommy Moore was confused:

      "How can I tell slrn to do this by default so that I don't have to
      press z each time I open an article?"

You don't have to press z on every article, only on the first article.

Anyway, this zoom.sl does the trick:

#v+
variable zoomed = 0;
define read_article_hook()
{
   !if (zoomed)
     call ("zoom_article_window");
   zoomed = 1;
}
#v-

I've also tried to use register_hook to register a zoom() function that
then unregisters itself, but that gives a segmentation fault?
Re: help with slrn
#142131
Author: Crashdamage
Date: Sun, 25 Jan 2004 14:41
48 lines
3070 bytes
On 25 Jan 2004 12:51:07 GMT, Paul Boekholt <p.boekholt@hetnet.nl> wrote:
> On Sun, 25 Jan 2004 10:20:46 GMT, Crashdamage <03z1krd7@nospam.invalid> said:
>> Not to nitpick, but it occurred to me that this would be even better if
>> it worked more like the default slrn setup, where after selecting a
>> group, it openes in index mode until an article is selected.

> Looking closer, it seems Tommy Moore was confused:

>       "How can I tell slrn to do this by default so that I don't have to
>       press z each time I open an article?"

> You don't have to press z on every article, only on the first article.

> Anyway, this zoom.sl does the trick:

> #v+
> variable zoomed = 0;
> define read_article_hook()
> {
>    !if (zoomed)
>      call ("zoom_article_window");
>    zoomed = 1;
> }
> #v-

> I've also tried to use register_hook to register a zoom() function that
> then unregisters itself, but that gives a segmentation fault?

Hmmm....as far as I can tell, this seems to work exactly like the 1st
version you posted, the added lines don't make a difference.  I tried
about the same thing myself and didn't see a difference and couldn't
figure what it needed to work exactly right.  Anyway, it still works.

I should've mentioned in my last reply that slrn only auto-opens the 1st
article when selecting the 1st group, after that selecting a group
brings up the index, as it should, instead of opening the 1st article in
a group.  So this is a minor thing, very similar to having to press 'z'
only once.

I still like slrn a little better with this macro than without it as it
makes slrn default to the style I want when veiwing articles.  This
effectively makes my 'i' key toggle index mode (one of several
keybinding changes I made to slrn so it uses the same keys as Mutt) just
the way I want, without going through 'z' 1st.  A minor but nice
enhancement to slrn.  Thanks!

-- 
Registered Linux user #266531
Re: help with slrn
#142136
Author: Paul Boekholt
Date: Sun, 25 Jan 2004 17:46
19 lines
1948 bytes
> On 25 Jan 2004 12:51:07 GMT, Paul Boekholt wrote:
> > #v+
> > variable zoomed = 0;
> > define read_article_hook()
> > {
> >    !if (zoomed)
> >      call ("zoom_article_window");
> >    zoomed = 1;
> > }
> > #v-
On Sun, 25 Jan 2004 14:41:42 GMT, Crashdamage said:
> Hmmm....as far as I can tell, this seems to work exactly like the 1st
> version you posted, the added lines don't make a difference.

Actually this *is* the first version I posted.  After I wrote this in
slrnpull's outgoing directory, I thought of a better way and edited the
message.  This left a backup file in out.going, that got sent also.  I
cancelled it, but too late.  It would be nice if slrnpull would not
blindly post files whose names end with ~ or begin with #.
Re: help with slrn
#144280
Author: Thomas Schultz
Date: Sat, 28 Feb 2004 22:14
12 lines
1766 bytes
* Paul Boekholt [2004-01-25 17:46] :
[...]
> It would be nice if slrnpull would not blindly post files whose names
> end with ~ or begin with #.

slrnpull does not send files that begin with #. I now fixed it so that
it also will not send ones ending with ~.
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2003-08-25] Released slrn 0.9.8.0
| Home of the slrn newsreader | [2003-08-19] New slrn FAQ available
| http://slrn.sourceforge.net | [2003-07-31] First beta with offline reading
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