🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #169863

Re: SLRN/Nano mouse paste problem

#169863
From: Alan Connor
Date: Tue, 26 Jul 2005 21:59
72 lines
3217 bytes
On news.software.readers, in <4AxFe.37874$Pf3.28678@fe2.news.blueyonder.co.uk>, "MikesBrain" wrote:
> 
> 
> 
> Hi folks.
> 
> Just dumped Pine in favour of SLRN, but I've got a slight 
> glitch with pasting into Nano (my defined editor) from other 
> console apps, particularly Lynx. Kind of a pain typing out a 
> URL when before I could just highlight-swipe it in Lynx, 
> then use the middle button to drop-paste it into Nano prior 
> to posting. For some strange reason Nano won't accept the 
> drop-past when SLRN uses it as an editor, but works fine for 
> all other things I use Nano for.
> 
> Logically, there must be some snag somewhere in the 
> interaction between the two apps. I've tried enabling mouse 
> support for Nano, but all that does is add some functions I 
> don't need to the mouse buttons. The no-past-in problem 
> remains.
> 
> Ideas? Suggestions? Links?
> 
> 
> 

I don't use a mouse, but rather the cut&paste capabilities of
screen (man screen: a textmode window manager). 

I run it in an xterm.

For URLS in posts, try this slrn macro:

define pipe_to_urlview ()
        {
            pipe_article ("urlview");
        }
        definekey ("pipe_to_urlview", "+", "article");


Put that in a file called sles.sl and put this in your
~/.slrnrc

interpret /path/to/sles.sl

In /etc/urlview/url_handler.sh, put/modify this line:

http_prgs="/usr/bin/lynx:VT"

Now, when you hit "+", urlview will list any URLs in
the post you are on, and you can select whichever one
you want, hit enter, and it will open in lynx:

UrlView 0.9: (2 matches) Press Q or Ctrl-C to Quit!

->    1 http://tinyurl.com/6bf56
      2 http://tinyurl.com/4872c


When you exit the website, you return to urlview, and
when you exit urlview, you are back in slrn where you
were.

Easier than cutting and pasting.

AC

-- 
People who post through google take and take and never give
back. Ever seen one of them help anyone? If they are asking
about anything but how to use a real newsreader, PLEASE DON'T
HELP THEM.    ----------->    news.software.readers
Technical Details
Message-ID: <ynyFe.8665$dU3.2481@newsread2.news.pas.earthlink.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!feeder1.nntp.dca.giganews.com!newscon06.news.prodigy.com!prodigy.net!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!65807237!not-for-mail
References: <4AxFe.37874$Pf3.28678@fe2.news.blueyonder.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <ynyFe.8665$dU3.2481@newsread2.news.pas.earthlink.net>
Subject: Re: SLRN/Nano mouse paste problem
Date: Tue, 26 Jul 2005 21:59:58 GMT
From: Alan Connor <zzzzzz@xxx.invalid>
References: <4AxFe.37874$Pf3.28678@fe2.news.blueyonder.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!feeder1.nntp.dca.giganews.com!newscon06.news.prodigy.com!prodigy.net!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!65807237!not-for-mail
Newsgroups: news.software.readers
Reply-To: xxxx@yyy.invalid
User-Agent: slrn/0.9.7.3 (Linux)
Lines: 72
NNTP-Posting-Host: 4.243.0.251
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.news.pas.earthlink.net 1122415198 4.243.0.251 (Tue,
NNTP-Posting-Date: Tue, 26 Jul 2005 14:59:58 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net