Article View: news.software.readers
Article #206128Re: One slrn annoyance solved
From: Troy Piggins
Date: Thu, 20 Sep 2007 01:15
Date: Thu, 20 Sep 2007 01:15
118 lines
5676 bytes
5676 bytes
* Brad Sims is quoted
* & my replies are inline below :
> In Dread Ink, the Grave hand of Troy Piggins Did Inscribe:
>> * Brad Sims is quoted
>> * & my replies are inline below :
>>> I use slrn a lot via SSH and well, when I would open a URL;
>>> I couldn't see the article anymore as it handed the term over
>>> to links... Solution is so damn simple I smacked myself for not
>>> thinking of it.
>>>
>>> I generaly run slrn inside GNU screen. (fabulous program by the way.)
>>>
>>> The solution is to `set non_Xbrowser "screen links"` ; this way
>>> when I open a URL it creates a new tab in screen so I can switch back
>>> and forth painlessly.
>>
>> Hey man - that's so easy and simple. Good one.
>
> Only problem is putting something to start screen in my general slrn
> startup script doesn't always work, it's not a problem... just
> inelegant.
I *always* start a named screen session when I log in via a bash
alias SC='/usr/local/bin/screen -d -R -A -m -S troy'
That way I can always reattach it no matter where I am.
I'm curious - your idea above will start a new screen session,
won't it? Do you know of a way to attach links, or elinks in my
case, to the current screen session (named 'troy') that slrn is
running from?
> If anyone cares my .screenrc is online at
> http://home.insightbb.com/~bmsims1/Scripts/Screenrc.html
>
> And unlike most, mine actually explains what it does.
Always handy to have those as a reference. Thanks. Here's mine:
#v+
##############################################################################
## file : .screenrc
## by : Troy Piggins
## date : 17/5/04
## for : configuration file for screen
##############################################################################
# skip the startup message
startup_message off
# define a bigger scrollback, default is 100 lines
defscrollback 1024
# start in $HOME
chdir /home/troy
# start with visual bell as default
vbell off
vbell_msg "Bell on %t (%n)"
# An alternative hardstatus to display a bar at the bottom listing the
# windownames and highlighting the current windowname in blue. (This is only
# enabled if there is no hardstatus setting for your terminal)
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %d/%m/%y %C%a "
#caption always "%m/%d/%y %0c%{=b kW} %l %{=r kd}%-Lw%{= bd}%50>%n%f* %t%{-}%+Lw%<%{- Wk}"
#term xterm
term screen-256color
termcapinfo putty-256color 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
#blankerprg cmatrix -a -b -s
#idle 1800 blanker
## binds #####################################################################
bind t title
# F5 to create new window/screen
#bindkey -k k5 screen
# F6 to create new window/screen as root
#bindkey -k k6 screen -t '% |*root*' su -
# F11 for previous window
bindkey -k F1 prev
# F12 for next window
bindkey -k F2 next
# F9 to name the current window/screen
#bindkey -k k9 title
## startup screens ###########################################################
# Example of automatically running some programs in windows on screen startup.
# Use the form: screen [-flag] [window name] [window number] [program to run in
# window]
# The -t flag means that the window in which that program is running
# closes when you exit that program, so if you quit mutt
# window 1 closes.
screen -t mail 0 mutt -f ~/mail/white
#screen -t web 2 elinks http://www.google.com.au/
screen -t news 1 slrn
#screen -t rss 2 /usr/bin/snownews
#screen -t file 4 /usr/bin/mc
#screen -t edit vim
#screen -t web elinks
# Put bash screen last so that window 0 running bash will be open on startup.
screen bash
## EOF #######################################################################
#v-
--
Troy Piggins | http://piggo.com/~troy/slrn
* NEW MACRO 16/9/07: bash.sl ___ | __ __ ,-O (o- O
* UPDATED MACROS 9/9/07: whois.sl |___ | |/ |/ | O ) //\ O
view_manuals.sl ___| | | | | `-O V_/_ OOO
Technical Details
Message-ID:
<20070920110758@usenet.piggo.com>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!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!syros.belnet.be!news.belnet.be!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mailReferences:
<slrnff2tan.rh.bmsims1@c933657-a.insightbb.com> <20070920062421@usenet.piggo.com> <slrnff3gqc.rh.bmsims1@c933657-a.insightbb.com>Show Full Headers
Complete Article Headers
Message-ID: <20070920110758@usenet.piggo.com> Subject: Re: One slrn annoyance solved Date: Thu, 20 Sep 2007 11:15:10 +1000 From: Troy Piggins <usenet-0709@piggo.com> References: <slrnff2tan.rh.bmsims1@c933657-a.insightbb.com> <20070920062421@usenet.piggo.com> <slrnff3gqc.rh.bmsims1@c933657-a.insightbb.com> 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!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!syros.belnet.be!news.belnet.be!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 118 Reply-To: usenet-0709@piggo.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: tomate.motzarella.org U2FsdGVkX19w5pJXAqBk6ejDhVAHdaVAb/fBnTSaTFZlu5vZPq3PVOVTgxBsji+dXd3k77IdSB45tJrARxoO2R0gm/+OKGRdGKlxP4KV7NTwQycbBONyz76E6KjtbVonrH/W5+3jA6YHn6Iq0lpgbw== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Thu, 20 Sep 2007 01:15:23 +0000 (UTC) X-Auth-Sender: U2FsdGVkX18lxd719wHcjtKX2vjbPx6/fml61yqTJNshOHh6YuLwjQ== X-NNTP-Proxy: Leafnode-2 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/) Cancel-Lock: sha1:4MDdKHO17tadtypPtbYYdL+s/O0= User-Agent: slrn/0.9.8.1pl2.1/rt (Linux)