Re: simply preserving sessions across disconnect

2011-06-29 Thread Erik Osheim
On Wed, Jun 29, 2011 at 12:07:54PM -0700, Adam Kellas wrote: > No, it's close but not exactly right. If there is a free session this > will attach to it (good). But if not, instead of creating a new one > (which is what I want) it shares an existing one (bad). > > It's frustrating because there ar

Re: simply preserving sessions across disconnect

2011-06-29 Thread Erik Osheim
On Tue, Jun 28, 2011 at 09:28:42AM -0400, Adam Kellas wrote: > Can anyone tell me the combination of flags to make this work? I'm not sure, but I think screen -x -RR may be what you want. -- Erik ___ screen-users mailing list screen-users@gnu.org https

Re: terminal capability problem when login therough screen

2009-12-20 Thread Erik Osheim
On Mon, Dec 21, 2009 at 09:31:38AM +0530, J. Bakshi wrote: > But #1 actually set the TERM environment in local box. Is not there any > command option in screen to set TERM just for screen session and not > globally ? I have tried with "screen -T xterm" but found the cursor is > not working properly

Re: terminal capability problem when login therough screen

2009-12-18 Thread Erik Osheim
On Fri, Dec 18, 2009 at 12:38:58PM -0500, Pia Mikeal wrote: > I usually just put something like the following in my .profile on remote > servers > > export TERM=vt100 Alternately you can do this: (within screen on local box) u...@local$ terminfo > SOMEFILE u...@local$ scp SOMEFILE u.

Re: How to switch to > 9th window in screen session

2009-12-10 Thread Erik Osheim
On Wed, Dec 09, 2009 at 10:00:38AM -0800, amjain wrote: > I some times create more than 9 windows in my screen sesison. using Ctrl-c > How to get to 10th window. e.g. I can go to 9th window by Ctrl-9 but how to > go beyond 9. Amit, There are at least three ways to do this. I'm going to use META

Re: session save to disk?

2009-08-23 Thread Erik Osheim
On Sun, Aug 23, 2009 at 03:02:44PM +0200, lukasz wrote: > Heres the question: > Is there a way to save screen session to disk, so I could load it when > PC reboots? > Eg. I would like screen to try to open some directories previously opened. This question gets asked periodically. Currently, I don'

problem getting termcapinfo to work in .screenrc

2009-06-10 Thread Erik Osheim
Hi all, I'm trying to follow various instructions I've found on getting Screen to work with 256-colors in xterm. So far, I can get 256 output in an xterm, and I can also get it to work in Screen if I set TERM to xterm-256color. What I can't get working is the termcapinfo stanza in .screenrc that i

Re: keeping system profile in screen

2009-03-02 Thread Erik Osheim
On Mon, Mar 02, 2009 at 03:35:13PM +0100, Simone F wrote: > I was wondering what could be the best way of applying the global > /etc/profile settings in every new screen instance. > Since a manual `source /etc/profile` every time a new screen is > opened is a little boring. I think you want:

Re: patch to change autoaka behavior

2008-12-06 Thread Erik Osheim
On Fri, Dec 05, 2008 at 09:24:39AM -0500, Erik Osheim wrote: > For the last several years I've been using a patched version of screen. > Currently, the default screen's autoaka feature renames a window to the > first word whenever a command is run. For instance, "vim FOO&

Re: su & screen bite each other

2008-11-20 Thread Erik Osheim
Hello, This is actually a pretty common problem; after using "su" you can't run programs which want to write directly to your terminal. You can try this yourself: [EMAIL PROTECTED] TTY=`tty` [EMAIL PROTECTED] echo $TTY /dev/pts/6 [EMAIL PROTECTED] echo hello world > $TTY hello world [EMAIL PROTEC

Re: Screen and 256 Colors, again :)

2008-10-23 Thread Erik Osheim
On Wed, Oct 22, 2008 at 08:08:09PM -0400, Samer Atiani wrote: > An example of my problem: When I do 'ls' outside of screen, it would print > each directory in a bright blue color. I ran 'script' and then ls, and here > is an example of how it would output a directory called "etc": > > ^[[01;34me

Re: Deatached Sessions Dissapair after reboot.

2008-10-02 Thread Erik Osheim
On Thu, Oct 02, 2008 at 03:43:09PM +0100, [EMAIL PROTECTED] wrote: > I generally have long running screen sessions that have certain > windows open, not always the same so not worth setting in .screenrc. > Is it possible for screen to save session? Or at least just save the > window name, number, p

full command shown in aka mode

2008-09-27 Thread Erik Osheim
Would it be possible to include an option to display the full command run (rather than just the first word of it)? In other words, instead of: 0 vi 1 bash 2 watch 3 tail You might see: 0 vi .bashrc 1 bash 2 watch df -h 3 tail -f /var/log/messages Awhile ago I had a patch that provided this beha