Thread View: news.software.readers
6 messages
6 total messages
Started by greymaus
Sun, 31 Jul 2005 15:11
slrn console
Author: greymaus
Date: Sun, 31 Jul 2005 15:11
Date: Sun, 31 Jul 2005 15:11
9 lines
917 bytes
917 bytes
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? -- greymaus
Re: slrn console
Author: 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
Re: slrn console
Author: Alan Connor
Date: Mon, 01 Aug 2005 01:54
Date: Mon, 01 Aug 2005 01:54
25 lines
1841 bytes
1841 bytes
On news.software.readers, in <xKdHe.379$I04.223@newsread2.news.pas.earthlink.net>, "Alan Connor" wrote: > > > 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. > I see now. You are running slrn in a tty and links is using the framebuffer to display graphics. Pretty cool, actually. <snip> AC
Re: slrn console
Author: greymaus
Date: Mon, 01 Aug 2005 21:56
Date: Mon, 01 Aug 2005 21:56
83 lines
2937 bytes
2937 bytes
On Mon, 01 Aug 2005 00:09:01 GMT, Alan Connor wrote:
> 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.
>
part of my .slrnrc
set non_Xbrowser "links '%s' &"
%set Xbrowser "dillo '%s' &"
%set Xbrowser "netscape -remote 'openURL(%s)' &"
(links replaced with elinks, may be problem there_)
> 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
>
Thanks for the Info, will try.
--
greymaus
Re: slrn console
Author: Alan Connor
Date: Tue, 02 Aug 2005 09:07
Date: Tue, 02 Aug 2005 09:07
42 lines
2335 bytes
2335 bytes
On news.software.readers, in <slrndet1qe.8ph.greymaus@greymaus.org>, "greymaus@gmaildo.ttocom" wrote: > On Mon, 01 Aug 2005 00:09:01 GMT, Alan Connor wrote: > >> 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. > > > part of my .slrnrc > > > set non_Xbrowser "links '%s %set Xbrowser "dillo '%s %set ' &" > Xbrowser "netscape -remote 'openURL(%s) ' &" > > (links replaced with elinks, may be problem there_) :-) That would do it. Probably be easier to make links a symlink to elinks, covering any other application or script you have that calls links....I wondered about that. According to the info I have on links, it doesn't do graphics, yet that was obviously what you were about. <snip> Cheerio, AC
Re: slrn console
Author: greymaus
Date: Tue, 02 Aug 2005 20:13
Date: Tue, 02 Aug 2005 20:13
24 lines
1663 bytes
1663 bytes
On Tue, 02 Aug 2005 09:07:33 GMT, Alan Connor wrote: >>> device and you are running slrn in an x-terminal-emulator. >> >> >> part of my .slrnrc >> >> >> set non_Xbrowser "links '%s %set Xbrowser "dillo '%s %set ' &" >> Xbrowser "netscape -remote 'openURL(%s) ' &" >> >> (links replaced with elinks, may be problem there_) > >:-) That would do it. Probably be easier to make links a symlink > to elinks, covering any other application or script you have that > calls links....I wondered about that. According to the info I > have on links, it doesn't do graphics, yet that was obviously > what you were about. > Not really, just want the non-X browser to work! -- greymaus
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