Article View: news.software.readers
Article #170302Re: slrn console
From: Alan Connor
Date: Mon, 01 Aug 2005 00:09
Date: Mon, 01 Aug 2005 00:09
89 lines
3484 bytes
3484 bytes
On news.software.readers, in
<slrndepfnr.5v1.greymaus@greymaus.org>, "greymaus@gmaildo.ttocom"
wrote:
> using slrn in a fbdev console (sp?), when I press `U' for
> links, screen goes blank, nothing happens. links works ok on
> its own, any ideas?
>
The framebuffer is for displaying graphics. There isn't any such
thing as a "framebuffer console".
I think you mean that your X server is using the framebuffer
device and you are running slrn in an x-terminal-emulator.
And I'd guess that you don't have the Xbrowser or non_Xbrowser
variables set in your ~/.slrnrc. From the manual:
4.2.66. non_Xbrowser
Type: string
Default: (unset)
The command in this variable will be used to start a text
mode web browser when ``browse_url'' (default binding: `U')
is called. slrn will chose the text mode web browser if
``$DISPLAY'' is unset or no command could be found in
``Xbrowser''.
4.2.136. Xbrowser
Type: string
Default: (unset)
Used to start an X11 web browser on a URL when ``browse_url''
(default binding: `U') is called. If ``$DISPLAY'' is set, slrn
tries to execute the command stored in Xbrowser. Otherwise,
non_Xbrowser is used instead. The string may contain "%s" which
will be replaced with the chosen URL. If no such substring is
found, the URL is simply appended to the specified command.
Example: set Xbrowser "netscape %s &"
-------------------------------------------------
Here's an alternative to "U" that I prefer:
a 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/links: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:
screenshot:
UrlView 0.9: (2 matches) Press Q or Ctrl-C to Quit!
-> 1 http://tinyurl.com/6Xf56
2 http://tinyurl.com/4g72c
(not real URLs)
When you exit the website, you return to urlview, and
when you exit urlview, you are back in slrn where you
were.
AC
--
http://home.earthlink.net/~alanconnor/
http://angel.1jh.com./nanae/kooks/alanconnor.html
Technical Details
Message-ID:
<xKdHe.379$I04.223@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!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!65807237!not-for-mailReferences:
<slrndepfnr.5v1.greymaus@greymaus.org>Show Full Headers
Complete Article Headers
Message-ID: <xKdHe.379$I04.223@newsread2.news.pas.earthlink.net> Subject: Re: slrn console Date: Mon, 01 Aug 2005 00:09:01 GMT From: Alan Connor <zzzzzz@xxx.invalid> References: <slrndepfnr.5v1.greymaus@greymaus.org> 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!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!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: 89 NNTP-Posting-Host: 4.242.9.173 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.pas.earthlink.net 1122854941 4.242.9.173 (Sun, NNTP-Posting-Date: Sun, 31 Jul 2005 17:09:01 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net