🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by John Wed, 01 Aug 2007 00:28
[slrn] a couple of questions
#202741
Author: John
Date: Wed, 01 Aug 2007 00:28
23 lines
1668 bytes
I'd like to be able to run slrn from the Internet menu under Gnome but when I 
set up the command and select it, nothing happens.  Is this at all possible?
I asked the question over in aolu and someone else tried it and failed as well.

Second question (or group thereof)

Is it possible to have slrn do the following things
1)  Display my list of subscribed groups in name order?
2)  Automatically show the entire list of threads (i.e. ESC-u for marking unread)
so that I can see entire threads rather than have to retrieve them from the 
news server every time.
3)  I use emacs as my editor and now when ever I go to post or followup, the
emacs window is like 1.5 inches wide on the left side of my screen and I have
to maximize it to get the full effect.  I'd like to know why this is happening,
although I doubt anyone else is using emacs for their editor.

Thanks


-- 
John T.
My other computer is a swodniw machine
2007
Re: [slrn] a couple of questions
#202752
Author: Blinky the Shark
Date: Wed, 01 Aug 2007 03:17
35 lines
2484 bytes
John wrote:
> I'd like to be able to run slrn from the Internet menu under Gnome but when I 
> set up the command and select it, nothing happens.  Is this at all possible?
> I asked the question over in aolu and someone else tried it and failed as well.
>
> Second question (or group thereof)
>
> Is it possible to have slrn do the following things
> 1)  Display my list of subscribed groups in name order?

Sure.  Press m.  Move that group up or down with your U or D arrow key.

> 2)  Automatically show the entire list of threads (i.e. ESC-u for marking unread)
> so that I can see entire threads rather than have to retrieve them from the 
> news server every time.

Look into slrnpull.

> 3)  I use emacs as my editor and now when ever I go to post or followup, the

Scroll down to cartoon.  ;)

http://blinkynet.net/comp/ndx_linux.html

> emacs window is like 1.5 inches wide on the left side of my screen and I have
> to maximize it to get the full effect.  I'd like to know why this is happening,
> although I doubt anyone else is using emacs for their editor.

Re your last comment, no, there are other weirdos out there.  ;)


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] a couple of questions
#202754
Author: Blinky the Shark
Date: Wed, 01 Aug 2007 04:22
21 lines
2011 bytes
Blinky the Shark wrote:
> John wrote:
>> I'd like to be able to run slrn from the Internet menu under Gnome but when I 
>> set up the command and select it, nothing happens.  Is this at all possible?
>> I asked the question over in aolu and someone else tried it and failed as well.
>>
>> Second question (or group thereof)
>>
>> Is it possible to have slrn do the following things
>> 1)  Display my list of subscribed groups in name order?
>
> Sure.  Press m.  Move that group up or down with your U or D arrow key.

Then press Enter.

And sometime - not really about moving groups - enter a question mark.

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn] a couple of questions
#202762
Author: Stefano Sabatini
Date: Wed, 01 Aug 2007 10:18
31 lines
2093 bytes
On 2007-08-01, John <jtlinux1@oohay.ca> wrote:
> I'd like to be able to run slrn from the Internet menu under Gnome but when I 
> set up the command and select it, nothing happens.  Is this at all possible?
> I asked the question over in aolu and someone else tried it and failed as well.

I tried and it worked for me.

Simply run alacarte to edit the main menu.

Then create a new entry:
Type: Terminal Application
Command: /usr/bin/slrn
(you have to specify here the complete command path or it won't work,
gnome as usual not giving meaningful error messages).  

> Second question (or group thereof)
[...]
> 3)  I use emacs as my editor and now when ever I go to post or followup, the
> emacs window is like 1.5 inches wide on the left side of my screen and I have
> to maximize it to get the full effect.  I'd like to know why this is happening,
> although I doubt anyone else is using emacs for their editor.

Mmh..., it's seems like a WM problem.

Are you spawning a new emacs process everytime you have to post? I'd
rather suggest you to use emacs-server and emacs-client.

HTH, cheers.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
Re: [slrn] a couple of questions
#202770
Author: Whiskers
Date: Wed, 01 Aug 2007 12:26
18 lines
1957 bytes
On 2007-08-01, John <jtlinux1@oohay.ca> wrote:
> I'd like to be able to run slrn from the Internet menu under Gnome but when I 
> set up the command and select it, nothing happens.  Is this at all possible?
> I asked the question over in aolu and someone else tried it and failed as well.

Slrn only runs in a console or 'terminal emulator' so your launch menu 
needs to be told to use one to run slrn inside.  I don't use Gnome (nor 
Ubuntu) so I don't know if its menu system has any tricks for doing that,
but in GKrellMLaunch I have this entry to run slrn in an RXVT 'window':

    rxvt -geometry 90x57+100 -title SLRN +sb -e slrn

[...]

-- 
-- ^^^^^^^^^^
--  Whiskers   
-- ~~~~~~~~~~
Re: [slrn] a couple of questions
#202787
Author: Peter J Ross
Date: Wed, 01 Aug 2007 16:43
50 lines
2958 bytes
In news.software.readers on 01 Aug 2007 00:28:57 GMT, John
<jtlinux1@oohay.ca> wrote:

> I'd like to be able to run slrn from the Internet menu under Gnome
> but when I set up the command and select it, nothing happens.  Is
> this at all possible?  I asked the question over in aolu and someone
> else tried it and failed as well.

I've had a go at answering this in AOLU. I won't repeat the answer
here, since I don't know if it will work.

> Second question (or group thereof)
>
> Is it possible to have slrn do the following things
> 1)  Display my list of subscribed groups in name order?

SUre. Use "m" to move groups, or use the gsort.sl macros that's
included with slrn (which you'll probably find in
/usr/share/slrn/macros/).

> 2)  Automatically show the entire list of threads (i.e. ESC-u for
> marking unread) so that I can see entire threads rather than have to
> retrieve them from the news server every time.

Enter the group with "ESC 1 SPACE" instead of "SPACE".

However, the headers will still have to be retrieved from the server,
since slrn is an online newsreader, not an offline one.

<...>

> 3)  I use emacs as my editor and now when ever I go to post or
> followup, the emacs window is like 1.5 inches wide on the left side
> of my screen and I have to maximize it to get the full effect.  I'd
> like to know why this is happening, although I doubt anyone else is
> using emacs for their editor.

I suggest adjusting your editor_command variable to open the non-GUI
version of EMACS in the slrn window.

If you really want to use the GUI, try setting the window geometry in
your editor_command, if that can be done.

Sorry if that's rather vague: there *are* slrn users who use EMACS as
their editir, but I'm not one of them. (vim has an EMACS compatibility
mode, IIRC.)


-- 
PJR :-)
Re: [slrn] a couple of questions
#202798
Author: John
Date: Wed, 01 Aug 2007 20:16
38 lines
2020 bytes
On 2007-08-01, Stefano Sabatini <stefano.sabatini@caos.org> elucidated on the topic of:
> On 2007-08-01, John <jtlinux1@oohay.ca> wrote:
>> I'd like to be able to run slrn from the Internet menu under Gnome but when I 
>> set up the command and select it, nothing happens.  Is this at all possible?
>> I asked the question over in aolu and someone else tried it and failed as well.
>
> I tried and it worked for me.
>
> Simply run alacarte to edit the main menu.
>
> Then create a new entry:
> Type: Terminal Application
> Command: /usr/bin/slrn
> (you have to specify here the complete command path or it won't work,
> gnome as usual not giving meaningful error messages).


Thanks for taking the time to help.  This didn't work.  I don't even
see a terminal now.
  
> Mmh..., it's seems like a WM problem.

I don't know what WM is?  Windows Manager?

>
> Are you spawning a new emacs process everytime you have to post?

Yes

> I'd rather suggest you to use emacs-server and emacs-client.

I can't find emacs-server in the repository.  Is there somewhere else I should look
(besides google)?

-- 
John T.
My other computer is a swodniw machine
2007
Re: [slrn] a couple of questions
#202810
Author: Rockinghorse Winner
Date: Wed, 01 Aug 2007 21:13
30 lines
2010 bytes
In news.software.readers, John had the audacity to say that:

> 2)  Automatically show the entire list of threads (i.e. ESC-u for marking unread)
> so that I can see entire threads rather than have to retrieve them from the 
> news server every time.

set_sorting_method in .slrnc?
Esc 1 Esc t?
Esc a?
Esc s?

> 3)  I use emacs as my editor and now when ever I go to post or followup, the
> emacs window is like 1.5 inches wide on the left side of my screen and I have
> to maximize it to get the full effect.  I'd like to know why this is happening,
> although I doubt anyone else is using emacs for their editor.
>
> Thanks
>
>


geometry argument?

*R* *H*

-- 
"If only one of Charles Chaplin's films could be preserved, City Lights
would come the closest to representing all the different notes of his
genius." -Roger Ebert
https://artsandlectures.sa.ucsb.edu/Details.aspx?PerfNum=793
Re: [slrn] a couple of questions
#202879
Author: Stefano Sabatini
Date: Thu, 02 Aug 2007 15:24
72 lines
3555 bytes
On 2007-08-01, John <jtlinux1@oohay.ca> wrote:
> On 2007-08-01, Stefano Sabatini <stefano.sabatini@caos.org> elucidated on the topic of:
>> On 2007-08-01, John <jtlinux1@oohay.ca> wrote:
>>> I'd like to be able to run slrn from the Internet menu under Gnome but when I 
>>> set up the command and select it, nothing happens.  Is this at all possible?
>>> I asked the question over in aolu and someone else tried it and failed as well.
>>
>> I tried and it worked for me.
>>
>> Simply run alacarte to edit the main menu.
>>
>> Then create a new entry:
>> Type: Terminal Application
>> Command: /usr/bin/slrn
>> (you have to specify here the complete command path or it won't work,
>> gnome as usual not giving meaningful error messages).
>
> Thanks for taking the time to help.  This didn't work.  I don't even
> see a terminal now.

Please note you can't run more than one instance of slrn, try again
but get sure no other instances of slrn are running.

>> Mmh..., it's seems like a WM problem.
>
> I don't know what WM is?  Windows Manager?

Sorry, many years with computers and you start to think with
acronyms.. ;-)

>> Are you spawning a new emacs process everytime you have to post?
>
> Yes
>
>> I'd rather suggest you to use emacs-server and emacs-client.
>
> I can't find emacs-server in the repository.  Is there somewhere else I should look
> (besides google)?

It's part of standard emacs. You simply need to put in your emacs
configuration file:
(server-start)

then you can connect to the running instance of emacs with:
emacs-client file

A good idea is to create a script "edit" which moves from the actual
desktop to the emacs one, than go back to the original one when the
editing is finished (see also wmctrl).

then quit from it with C-x # (you have to save the buffer before).

Follows an example emacs setup for slrn:

(require 'slang-mode)
;; sl file are started in slang-mode: you have to look for them on the
;; Internet (suggestion: emacs-goodies-el debian/ubuntu package)
(add-to-list 'auto-mode-alist '(".*\\.sl\\'" . slang-mode))

;; tell to activate mail-mode opening the files matched by the regexp
(mapc 
 (lambda (elt) (add-to-list 'auto-mode-alist elt))
 (list '("\\.article\\'" . mail-mode)
       '("\\.followup\\'" . mail-mode)
       '(".*/SLRN.*" . mail-mode)))

You could also consider to use post-mode instead.

HTH, cheers.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
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