Thread View: news.software.readers
20 messages
20 total messages
Started by Peter James
Fri, 05 Jun 2015 16:21
Unsubscribed headers in slrn
Author: Peter James
Date: Fri, 05 Jun 2015 16:21
Date: Fri, 05 Jun 2015 16:21
16 lines
1363 bytes
1363 bytes
Can anyone tell me if using slrn the following is possible. 1. To display all unsubscribed headers on my server and following on from that, if yes, is it possible to show them and to then subscribe to them as required. 2. Is it possible to set the width of a Usenet posting from the slrn.rc file. I've checked the file and can't find a way to do it. Not being able to set the width automatically is irritating. 3. How to set spelling. I've got spelling working with alpine but can't get it working with slrn. Peter
Re: Unsubscribed headers in slrn
Author: Marek Novotny
Date: Fri, 05 Jun 2015 16:36
Date: Fri, 05 Jun 2015 16:36
35 lines
2618 bytes
2618 bytes
On 2015-06-05, Peter James <peter@pfjames.co.uk> wrote: > Can anyone tell me if using slrn the following is > possible. > > 1. To display all unsubscribed headers on my server and > following on from that, if yes, is it possible to show > them and to then subscribe to them as required. Yes, use L to search for groups and then use * for all groups to be listed. But it is much faster to use L and then *shell* to find groups with the word shell in them. > 2. Is it possible to set the width of a Usenet posting from > the slrn.rc file. > I've checked the file and can't find a way to do it. Not being > able to set the width automatically is irritating. You can set your terminal to a width. So either write a simple shell script to open a terminal at the width and height you want and then open slrn inside it or simply set your GUI terminal profile to the width and/or height you want. > 3. How to set spelling. I've got spelling working with alpine > but can't get it working with slrn. I use Vim myself. So for me it is simply: set spell spelllang=en_us In the .slrnrc file do a search for *editor* and you'll see that you can setup which ever editor you like. Mine is: set editor_command "vim -c %d '%s'" -- Marek Novotny https://github.com/marek-novotny
Re: Unsubscribed headers in slrn
Author: Phil Boutros
Date: Fri, 05 Jun 2015 16:48
Date: Fri, 05 Jun 2015 16:48
36 lines
2672 bytes
2672 bytes
Peter James <peter@pfjames.co.uk> wrote:
> Can anyone tell me if using slrn the following is
> possible.
>
> 1. To display all unsubscribed headers on my server and
> following on from that, if yes, is it possible to show
> them and to then subscribe to them as required.
What are you calling "headers" here? Do you mean unsubscribed
newsgroups? If so, yes, hit 'L' from the newsgroups list, and select
'*'. This will show you all newsgroups, subscribed and otherwise, so
you can subscribe to whichever one you want.
> 2. Is it possible to set the width of a Usenet posting from
> the slrn.rc file.
> I've checked the file and can't find a way to do it. Not being
> able to set the width automatically is irritating.
This is unclear. Do you mean the max width when writing? That is
a function of your editor. Do you mean the width when displaying?
That is a function of your terminal.
> 3. How to set spelling. I've got spelling working with alpine
> but can't get it working with slrn.
You really need to, once again, give us clearer questions. Do you
mean while editing? After editing? If while editing, that is a
function of your editor. If after editing, but before posting to the
server, you can write a filter, such as the ispell.sl file that used
to come with slrn, as far as I know. I have no idea what alpine is.
Phil
--
AH#61 Wolf#14 BS#89 bus#1 CCB#1 SENS KOTC#4 philb@philb.ca
http://philb.ca EKIII rides with me: http://eddiekieger.com
Re: Unsubscribed headers in slrn
Author: Marek Novotny
Date: Fri, 05 Jun 2015 17:02
Date: Fri, 05 Jun 2015 17:02
25 lines
2437 bytes
2437 bytes
On 2015-06-05, Phil Boutros <philb@philb.ca> wrote:
> Peter James <peter@pfjames.co.uk> wrote:
>> 3. How to set spelling. I've got spelling working with alpine
>> but can't get it working with slrn.
>
> You really need to, once again, give us clearer questions. Do you
> mean while editing? After editing? If while editing, that is a
> function of your editor. If after editing, but before posting to the
> server, you can write a filter, such as the ispell.sl file that used
> to come with slrn, as far as I know. I have no idea what alpine is.
alpine is an updated version of pine, the email app. Though I think he'd
be better off with mutt and vim myself.
I should add that in vim you can also use external commands, like fmt to
format the width on the fly. I would typically go into visual mode,
select the lines I want, then press ! and add fmt -w70 if I want 70
characters across.
So, <Esc>v {select lines} !fmt -w70 as an example. You can set whatever
you want on the fly inside the editor.
--
Marek Novotny
https://github.com/marek-novotny
Re: Unsubscribed headers in slrn
Author: Whiskers
Date: Fri, 05 Jun 2015 18:07
Date: Fri, 05 Jun 2015 18:07
54 lines
3503 bytes
3503 bytes
On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: > On 2015-06-05, Peter James <peter@pfjames.co.uk> wrote: >> Can anyone tell me if using slrn the following is >> possible. >> >> 1. To display all unsubscribed headers on my server and >> following on from that, if yes, is it possible to show >> them and to then subscribe to them as required. > > Yes, use L to search for groups and then use * for all groups to be > listed. But it is much faster to use L and then *shell* to find groups > with the word shell in them. > >> 2. Is it possible to set the width of a Usenet posting from >> the slrn.rc file. >> I've checked the file and can't find a way to do it. Not being >> able to set the width automatically is irritating. > > You can set your terminal to a width. So either write a simple shell > script to open a terminal at the width and height you want and then open > slrn inside it or simply set your GUI terminal profile to the width > and/or height you want. > >> 3. How to set spelling. I've got spelling working with alpine >> but can't get it working with slrn. > > I use Vim myself. So for me it is simply: set spell spelllang=en_us > > In the .slrnrc file do a search for *editor* and you'll see that you can > setup which ever editor you like. Mine is: > > set editor_command "vim -c %d '%s'" I have set editor_command "vim %s" set mail_editor_command "vim -c 'set filetype=mail' +8 %s" set post_editor_command "vim -c 'set filetype=mail' +8 %s" The [ -c 'set filetype=mail' +8] part tells my editor to treat the file as an email message (so it knows about word-wrapping at around 75 characters, and proper quoting and re-wrapping of lines that start with the email quoted text marker >) and puts the typing cursor at the start of line 8 - which means at the start of the text I'm replying to, if any. The parameters for filetype=mail go into the .vimrc file. Spelling is checked as I type. Other text editors are available - and may be easier to use. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: Unsubscribed headers in slrn
Author: Peter James
Date: Fri, 05 Jun 2015 18:17
Date: Fri, 05 Jun 2015 18:17
14 lines
1721 bytes
1721 bytes
On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: snipped > You can set your terminal to a width. So either write a simple shell > script to open a terminal at the width and height you want and then open > slrn inside it or simply set your GUI terminal profile to the width > and/or height you want. I'm a very new user of Unix and I find vim most confusing. So to this end I use nano. In the .slrnrc file I've got the editor set up with set editor_command "nano 'set tw=70" +%d '%s'" And nano works OK except it won't set the maximum line length to 70. Peter >
Re: Unsubscribed headers in slrn
Author: Marek Novotny
Date: Fri, 05 Jun 2015 18:19
Date: Fri, 05 Jun 2015 18:19
37 lines
2864 bytes
2864 bytes
On 2015-06-05, Whiskers <catwheezel@operamail.com> wrote: > On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: >> I use Vim myself. So for me it is simply: set spell spelllang=en_us >> >> In the .slrnrc file do a search for *editor* and you'll see that you can >> setup which ever editor you like. Mine is: >> >> set editor_command "vim -c %d '%s'" > > I have > > set editor_command "vim %s" > set mail_editor_command "vim -c 'set filetype=mail' +8 %s" > set post_editor_command "vim -c 'set filetype=mail' +8 %s" > > The [ -c 'set filetype=mail' +8] part tells my editor to treat the file > as an email message (so it knows about word-wrapping at around 75 > characters, and proper quoting and re-wrapping of lines that start with > the email quoted text marker >) and puts the typing cursor at the start > of line 8 - which means at the start of the text I'm replying to, if > any. The parameters for filetype=mail go into the .vimrc file. I use airline and can tell you that with my setting, which is basically default, the followup is seen as mail. airline automatically shows this or the type of document / syntax it believes I am in. > Spelling is checked as I type. And easily turned on or off with a simple vim macro. > Other text editors are available - and may be easier to use. Na. Vim is the easiest editor known to mankind. ;) -- Marek Novotny https://github.com/marek-novotny
Re: Unsubscribed headers in slrn
Author: Marek Novotny
Date: Fri, 05 Jun 2015 18:56
Date: Fri, 05 Jun 2015 18:56
23 lines
2258 bytes
2258 bytes
On 2015-06-05, Peter James <peter@pfjames.co.uk> wrote: > On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: > snipped >> You can set your terminal to a width. So either write a simple shell >> script to open a terminal at the width and height you want and then open >> slrn inside it or simply set your GUI terminal profile to the width >> and/or height you want. > I'm a very new user of Unix and I find vim most confusing. So to > this end I use nano. In the .slrnrc file I've got the editor set > up with > set editor_command "nano 'set tw=70" +%d '%s'" > And nano works OK except it won't set the maximum line length > to 70. Hopefully someone who knows nano really well will chime in. I'm a Vim nut so I'll just go on all day about the virtues of learning Vi/Vim. -- Marek Novotny https://github.com/marek-novotny
Re: Unsubscribed headers in slrn
Author: Ted S.
Date: Fri, 05 Jun 2015 20:22
Date: Fri, 05 Jun 2015 20:22
12 lines
1839 bytes
1839 bytes
On Fri, 5 Jun 2015 11:19:01 -0700, Marek Novotny wrote: > Na. Vim is the easiest editor known to mankind. ;) <https://xkcd.com/378/> ;-) -- Ted S. fedya at hughes dot net Now blogging at http://justacineast.blogspot.com
Re: Unsubscribed headers in slrn
Author: Marek Novotny
Date: Fri, 05 Jun 2015 20:36
Date: Fri, 05 Jun 2015 20:36
12 lines
1901 bytes
1901 bytes
On 2015-06-05, Ted S. <fedya@hughes.net> wrote: > On Fri, 5 Jun 2015 11:19:01 -0700, Marek Novotny wrote: > >> Na. Vim is the easiest editor known to mankind. ;) > ><https://xkcd.com/378/> That was good! -- Marek Novotny https://github.com/marek-novotny
Re: Unsubscribed headers in slrn
Author: mechanic
Date: Sat, 06 Jun 2015 09:31
Date: Sat, 06 Jun 2015 09:31
7 lines
1415 bytes
1415 bytes
On Fri, 5 Jun 2015 10:02:50 -0700, Marek Novotny wrote:
> So, <Esc>v {select lines} !fmt -w70 as an example. You can set whatever
> you want on the fly inside the editor.
Hit 'gqap'. And 'par' is better than 'fmt'.
http://vimcasts.org/episodes/formatting-text-with-par/
Re: Unsubscribed headers in slrn
Author: Whiskers
Date: Sat, 06 Jun 2015 14:46
Date: Sat, 06 Jun 2015 14:46
33 lines
2533 bytes
2533 bytes
On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: > On 2015-06-05, Peter James <peter@pfjames.co.uk> wrote: >> On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: >> snipped >>> You can set your terminal to a width. So either write a simple shell >>> script to open a terminal at the width and height you want and then open >>> slrn inside it or simply set your GUI terminal profile to the width >>> and/or height you want. > >> I'm a very new user of Unix and I find vim most confusing. So to >> this end I use nano. In the .slrnrc file I've got the editor set >> up with > >> set editor_command "nano 'set tw=70" +%d '%s'" That doesn't look like a valid combination of nano command-line options. Try set editor_command "nano -WOS --fill=75 '%s'" >> And nano works OK except it won't set the maximum line length >> to 70. > > Hopefully someone who knows nano really well will chime in. I'm a Vim > nut so I'll just go on all day about the virtues of learning Vi/Vim. See man nano and man nanorc. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: Unsubscribed headers in slrn
Author: aitch
Date: Sat, 06 Jun 2015 16:56
Date: Sat, 06 Jun 2015 16:56
26 lines
2081 bytes
2081 bytes
Peter James wrote: > I'm a very new user of Unix and I find vim most confusing. So to this end > I use nano. In the .slrnrc file I've got the editor set up with > > set editor_command "nano 'set tw=70" +%d '%s'" I'm getting a sense of deja vu. > And nano works OK except it won't set the maximum line length to 70. The "-r 70" option will make nano wrap lines at 70 chars. For spell checking, you can specify "-s command". E.g. to use aspell, you could put this line in ~/.slrnrc: set editor_command "nano -t -r 70 -s 'aspell -x -c -e' +%d '%s'" For editing your Score file, you won't need the -r or -s options: set score_editor_command "nano -t +%d '%s'" Personally, I only use nano from within slrn or mutt, so I don't use -s, I've got this line in ~/.nanorc: set speller "aspell -x -c -e" The -e option selects the appropriate filter for mail and news. -- aitch
Re: Unsubscribed headers in slrn
Author: Mike Yetto
Date: Sat, 06 Jun 2015 18:25
Date: Sat, 06 Jun 2015 18:25
37 lines
2635 bytes
2635 bytes
While walking through the streets of Soho in the rain Peter James <peter@pfjames.co.uk> wrote... > Can anyone tell me if using slrn the following is > possible. > 1. To display all unsubscribed headers on my server and > following on from that, if yes, is it possible to show > them and to then subscribe to them as required. Yes. setkey group toggle_list_all "L" % Toggle listing of unsubscribed groups This may already be in your .slrnrc file. > 2. Is it possible to set the width of a Usenet posting from > the slrn.rc file. > I've checked the file and can't find a way to do it. Not being > able to set the width automatically is irritating. Yes, indirectly through the editor you use. set post_editor_command "gvim -f +%d '+set tw=65' '%s' 2>>$HOME/.xsession-errors" This is dependent on your editor of choice. > 3. How to set spelling. I've got spelling working with alpine > but can't get it working with slrn. Once again, this would be a function of your editor of choice, or perhaps your terminal emulator. Mike "and lots more besides" Yetto -- "If your belief system is not founded in an objective reality, you should not be making decisions that affect other people." - Neil deGrasse Tyson
Re: Unsubscribed headers in slrn
Author: Lewis
Date: Sun, 07 Jun 2015 00:31
Date: Sun, 07 Jun 2015 00:31
31 lines
2912 bytes
2912 bytes
In message <slrnmn61t9.2g3.catwheezel@ID-107770.user.individual.net> Whiskers <catwheezel@operamail.com> wrote: > On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: >> On 2015-06-05, Peter James <peter@pfjames.co.uk> wrote: >>> On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: >>> snipped >>>> You can set your terminal to a width. So either write a simple shell >>>> script to open a terminal at the width and height you want and then open >>>> slrn inside it or simply set your GUI terminal profile to the width >>>> and/or height you want. >> >>> I'm a very new user of Unix and I find vim most confusing. So to >>> this end I use nano. In the .slrnrc file I've got the editor set >>> up with >> >>> set editor_command "nano 'set tw=70" +%d '%s'" > That doesn't look like a valid combination of nano command-line options. Yes, we covered that malformed command line a few weeks ago, but Peter didn't change it for soem reason. > Try > set editor_command "nano -WOS --fill=75 '%s'" That is not wrapping lines at 72 characters here, nless it does it on write. My lines in this post are both over 72 characters, so we'll see. -- 'Never build a dungeon you wouldn't be happy to spend the night in yourself,' said the Patrician (...). 'The world would be a happier place if more people remembered that.' --Guards! Guards!
Re: Unsubscribed headers in slrn
Author: Whiskers
Date: Sun, 07 Jun 2015 13:31
Date: Sun, 07 Jun 2015 13:31
43 lines
3221 bytes
3221 bytes
On 2015-06-07, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: > In message <slrnmn61t9.2g3.catwheezel@ID-107770.user.individual.net> > Whiskers <catwheezel@operamail.com> wrote: >> On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: >>> On 2015-06-05, Peter James <peter@pfjames.co.uk> wrote: >>>> On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: [...] >>>> I'm a very new user of Unix and I find vim most confusing. So to >>>> this end I use nano. In the .slrnrc file I've got the editor set >>>> up with >>> >>>> set editor_command "nano 'set tw=70" +%d '%s'" > >> That doesn't look like a valid combination of nano command-line options. > > Yes, we covered that malformed command line a few weeks ago, but Peter didn't change it for soem reason. > >> Try > >> set editor_command "nano -WOS --fill=75 '%s'" > > That is not wrapping lines at 72 characters here, nless it does it on write. My lines in this post are both over 72 characters, so we'll see. I've changed my setup for this post to use nano instead of vim, with the .slrnrc entry as quoted above. It seems to be wrapping about where I'd expect it to to keep lines shorter than 75 characters. I don't know why it isn't working the same way for you. Make sure that only the editor lines you want to operate are not commented out in your .slrnrc (ie the lines you want to operate, don't start with %). Notice that the capitalisation of the command line is significant; -w is very much not the same as -W as far as nano is concerned. See man nano. Pictorial evidence <http://www.zimagez.com/zimage/screenshot2015-06-0714-27-13.php> -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: Unsubscribed headers in slrn
Author: Lewis
Date: Sun, 07 Jun 2015 13:54
Date: Sun, 07 Jun 2015 13:54
43 lines
3493 bytes
3493 bytes
In message <slrnmn8hte.l72.catwheezel@ID-107770.user.individual.net> Whiskers <catwheezel@operamail.com> wrote: > On 2015-06-07, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: >> In message <slrnmn61t9.2g3.catwheezel@ID-107770.user.individual.net> >> Whiskers <catwheezel@operamail.com> wrote: >>> On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: >>>> On 2015-06-05, Peter James <peter@pfjames.co.uk> wrote: >>>>> On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: > [...] >>>>> I'm a very new user of Unix and I find vim most confusing. So to >>>>> this end I use nano. In the .slrnrc file I've got the editor set >>>>> up with >>>> >>>>> set editor_command "nano 'set tw=70" +%d '%s'" >> >>> That doesn't look like a valid combination of nano command-line options. >> >> Yes, we covered that malformed command line a few weeks ago, but Peter didn't change it for soem reason. >> >>> Try >> >>> set editor_command "nano -WOS --fill=75 '%s'" >> >> That is not wrapping lines at 72 characters here, nless it does it on write. My lines in this post are both over 72 characters, so we'll see. > I've changed my setup for this post to use nano instead of vim, with the > .slrnrc entry as quoted above. It seems to be wrapping about where I'd > expect it to to keep lines shorter than 75 characters. I don't know why it > isn't working the same way for you. Dunno. I tried it, it didn't work. That was the only uncommented editor line in my slrnrc. However, no command I fed nano would auto wrap the text as I was typing, not even the simple nano -r 75 from the command line, despite the man page. I tried nano anyway for a few posts, but find its lack of "save and quit" far too aggravating to be tolerated. -- Heisenberg's only uncertainty was what pub to vomit in next and Jung fancied Freud's mother too. -- Jared Earle
Re: Unsubscribed headers in slrn
Author: Whiskers
Date: Sun, 07 Jun 2015 16:38
Date: Sun, 07 Jun 2015 16:38
54 lines
3909 bytes
3909 bytes
On 2015-06-07, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: > In message <slrnmn8hte.l72.catwheezel@ID-107770.user.individual.net> > Whiskers <catwheezel@operamail.com> wrote: >> On 2015-06-07, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: >>> In message <slrnmn61t9.2g3.catwheezel@ID-107770.user.individual.net> >>> Whiskers <catwheezel@operamail.com> wrote: >>>> On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: >>>>> On 2015-06-05, Peter James <peter@pfjames.co.uk> wrote: >>>>>> On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: > >> [...] > >>>>>> I'm a very new user of Unix and I find vim most confusing. So to >>>>>> this end I use nano. In the .slrnrc file I've got the editor set >>>>>> up with >>>>> >>>>>> set editor_command "nano 'set tw=70" +%d '%s'" >>> >>>> That doesn't look like a valid combination of nano command-line >>>> options. >>> >>> Yes, we covered that malformed command line a few weeks ago, but >>> Peter didn't change it for soem reason. >>> >>>> Try >>> >>>> set editor_command "nano -WOS --fill=75 '%s'" >>> >>> That is not wrapping lines at 72 characters here, nless it does it >>> on write. My lines in this post are both over 72 characters, so >>> we'll see. > >> I've changed my setup for this post to use nano instead of vim, with >> the .slrnrc entry as quoted above. It seems to be wrapping about >> where I'd expect it to to keep lines shorter than 75 characters. I >> don't know why it isn't working the same way for you. > > Dunno. I tried it, it didn't work. That was the only uncommented > editor line in my slrnrc. However, no command I fed nano would auto > wrap the text as I was typing, not even the simple nano -r 75 from the > command line, despite the man page. > > I tried nano anyway for a few posts, but find its lack of "save and > quit" far too aggravating to be tolerated. There's clearly something weird going on with your nano; perhaps the system or user .nanorc has been modified by your distro for some reason of its own? (I seem to remember that Mandrake used to mess up the text-only web browser Lynx some special purposes). -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: Unsubscribed headers in slrn
Author: Lewis
Date: Mon, 08 Jun 2015 02:14
Date: Mon, 08 Jun 2015 02:14
64 lines
4509 bytes
4509 bytes
In message <slrnmn8ssb.647.catwheezel@ID-107770.user.individual.net> Whiskers <catwheezel@operamail.com> wrote: > On 2015-06-07, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: >> In message <slrnmn8hte.l72.catwheezel@ID-107770.user.individual.net> >> Whiskers <catwheezel@operamail.com> wrote: >>> On 2015-06-07, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: >>>> In message <slrnmn61t9.2g3.catwheezel@ID-107770.user.individual.net> >>>> Whiskers <catwheezel@operamail.com> wrote: >>>>> On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: >>>>>> On 2015-06-05, Peter James <peter@pfjames.co.uk> wrote: >>>>>>> On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: >> >>> [...] >> >>>>>>> I'm a very new user of Unix and I find vim most confusing. So to >>>>>>> this end I use nano. In the .slrnrc file I've got the editor set >>>>>>> up with >>>>>> >>>>>>> set editor_command "nano 'set tw=70" +%d '%s'" >>>> >>>>> That doesn't look like a valid combination of nano command-line >>>>> options. >>>> >>>> Yes, we covered that malformed command line a few weeks ago, but >>>> Peter didn't change it for soem reason. >>>> >>>>> Try >>>> >>>>> set editor_command "nano -WOS --fill=75 '%s'" >>>> >>>> That is not wrapping lines at 72 characters here, nless it does it >>>> on write. My lines in this post are both over 72 characters, so >>>> we'll see. >> >>> I've changed my setup for this post to use nano instead of vim, with >>> the .slrnrc entry as quoted above. It seems to be wrapping about >>> where I'd expect it to to keep lines shorter than 75 characters. I >>> don't know why it isn't working the same way for you. >> >> Dunno. I tried it, it didn't work. That was the only uncommented >> editor line in my slrnrc. However, no command I fed nano would auto >> wrap the text as I was typing, not even the simple nano -r 75 from the >> command line, despite the man page. >> >> I tried nano anyway for a few posts, but find its lack of "save and >> quit" far too aggravating to be tolerated. > There's clearly something weird going on with your nano; perhaps the > system or user .nanorc has been modified by your distro for some reason > of its own? (I seem to remember that Mandrake used to mess up the > text-only web browser Lynx some special purposes). I don't have a .nanorc since I've never used nano before. # more /etc/nanorc set nowrap I supposed that overrides the commandline flags (which also seems like incorrect behavior to me). -- 'Why is it all Mr Dibbler's films are set against the background of a world gone mad?' said the dwarf. Soll's eyes narrowed. 'Because Mr Dibbler,' he growled, 'is a very observant man.' --Moving Pictures
Re: Unsubscribed headers in slrn
Author: Whiskers
Date: Mon, 08 Jun 2015 11:48
Date: Mon, 08 Jun 2015 11:48
68 lines
4606 bytes
4606 bytes
On 2015-06-08, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: > In message <slrnmn8ssb.647.catwheezel@ID-107770.user.individual.net> > Whiskers <catwheezel@operamail.com> wrote: >> On 2015-06-07, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: >>> In message <slrnmn8hte.l72.catwheezel@ID-107770.user.individual.net> >>> Whiskers <catwheezel@operamail.com> wrote: >>>> On 2015-06-07, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: >>>>> In message <slrnmn61t9.2g3.catwheezel@ID-107770.user.individual.net> >>>>> Whiskers <catwheezel@operamail.com> wrote: >>>>>> On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: >>>>>>> On 2015-06-05, Peter James <peter@pfjames.co.uk> wrote: >>>>>>>> On 2015-06-05, Marek Novotny <marek.novotny@marspolar.com> wrote: >>> >>>> [...] >>> >>>>>>>> I'm a very new user of Unix and I find vim most confusing. So to >>>>>>>> this end I use nano. In the .slrnrc file I've got the editor set >>>>>>>> up with >>>>>>> >>>>>>>> set editor_command "nano 'set tw=70" +%d '%s'" >>>>> >>>>>> That doesn't look like a valid combination of nano command-line >>>>>> options. >>>>> >>>>> Yes, we covered that malformed command line a few weeks ago, but >>>>> Peter didn't change it for soem reason. >>>>> >>>>>> Try >>>>> >>>>>> set editor_command "nano -WOS --fill=75 '%s'" >>>>> >>>>> That is not wrapping lines at 72 characters here, nless it does it >>>>> on write. My lines in this post are both over 72 characters, so >>>>> we'll see. >>> >>>> I've changed my setup for this post to use nano instead of vim, with >>>> the .slrnrc entry as quoted above. It seems to be wrapping about >>>> where I'd expect it to to keep lines shorter than 75 characters. I >>>> don't know why it isn't working the same way for you. >>> >>> Dunno. I tried it, it didn't work. That was the only uncommented >>> editor line in my slrnrc. However, no command I fed nano would auto >>> wrap the text as I was typing, not even the simple nano -r 75 from the >>> command line, despite the man page. >>> >>> I tried nano anyway for a few posts, but find its lack of "save and >>> quit" far too aggravating to be tolerated. > >> There's clearly something weird going on with your nano; perhaps the >> system or user .nanorc has been modified by your distro for some reason >> of its own? (I seem to remember that Mandrake used to mess up the >> text-only web browser Lynx some special purposes). > > I don't have a .nanorc since I've never used nano before. > > # more /etc/nanorc > set nowrap > > I supposed that overrides the commandline flags (which also seems like > incorrect behavior to me). I think that for nano, nowrap trumps fill. The system nanorc file should be full of comments and examples of possible settings and syntax. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
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