Re: 256 colors - xterm, screen, slrn
Christian Ebert <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Organization | Black Trash Productions <http://www.blacktrash.org/> |
| Message-ID | <[email protected]> |
* cga2000 on Monday, October 29, 2007 at 20:19:26 -0400 > On Sat, Oct 27, 2007 at 09:08:29AM EDT, Christian Ebert wrote: >> bashrc: >> if [ -n "$STY" ] >> unset TERMCAP >> export TERMCAP >> fi >> >> screenrc: >> term "xterm-256color" >> bind S screen -t slrn 1 bash -l -c slrn >> # ^^^^^^^ force login >> >> If someone has this working in a more elegant way, I'd be curious >> to know about it. > > Not sure it's more "elegant" but I put yet another bash wrapper in my > ~/bin directory that unsets & exports TERMCAP and then invokes slrn. That's what I resorted to as well. I don't even have to export. > So now I have something like: > > screen -t slrn $SHELL -c "slrn-wrap" screen -t slrn slrn-wrap is sufficient here. c -- Wer auf sein Elend tritt, steht höher. _HÖLDERLIN: H Y P E R I O N_ <http://www.blacktrash.org/hyperion/> ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/