Mutt sync in screen

2010-01-29 Thread Jostein Berntsen
When I use mutt in screen, it is not synced when I close screen, so read mails are marked as new again when I reopen. This is done manually with $ in mutt, but is there a way to get this done automatically when closing screen? - Jostein ___ scree

Terminal settings in screen lost

2010-01-29 Thread Jostein Berntsen
I have a screen setup which opens different console applications as configured in the .screenrc file. This works fine. But when I open a new window, every terminal setting is lost like Locale and colors in the shell. Is there a setup fix for this? - Jostein _

Re: Setting session name when calling screen from script

2010-01-29 Thread Thomas Adam
On Fri, Jan 29, 2010 at 03:44:33PM -0800, Aaron Davies wrote: > On Jan 29, 2010, at 1:46 PM, Thomas Adam wrote: > >On Fri, Jan 29, 2010 at 03:30:38PM -0600, > >bradley.sch...@usbank.com wrote: > > > >>I'm calling screen from a script and want to set the session > >>name based on > >>run-time parame

Re: Setting session name when calling screen from script

2010-01-29 Thread Aaron Davies
On Jan 29, 2010, at 1:46 PM, Thomas Adam wrote: On Fri, Jan 29, 2010 at 03:30:38PM -0600, bradley.sch...@usbank.com wrote: I'm calling screen from a script and want to set the session name based on run-time parameters. So I'm using a command similar to: VARNAME=FOO screen -S $VARNAME Do

Re: Escape characters

2010-01-29 Thread Peder Stray
On Thu, 28 Jan 2010, Christian Ebert wrote: * Jostein Berntsen on Thursday, January 28, 2010 at 09:28:30 +0100 On 27.01.10,09:47, Jean-Rene David wrote: * Christian Ebert [2010.01.27 06:15]: I switched to after I found out how to set it: escape ^@@ That is very sweet! Thank you for that.

Re: Setting session name when calling screen from script

2010-01-29 Thread Thomas Adam
On Fri, Jan 29, 2010 at 03:30:38PM -0600, bradley.sch...@usbank.com wrote: > I'm calling screen from a script and want to set the session name based on > run-time parameters. So I'm using a command similar to: > > VARNAME=FOO > screen -S $VARNAME Do you not need to still export VARNAME? -- Tho

Setting session name when calling screen from script

2010-01-29 Thread bradley . schrag
I'm calling screen from a script and want to set the session name based on run-time parameters. So I'm using a command similar to: VARNAME=FOO screen -S $VARNAME Screen seems to just skip the variable. Is there a way to persuade screen to expand $VARNAME to FOO? I'd rather not have to build a

Argument query possible for use in bind with command or colon?

2010-01-29 Thread Matt Ford
Hi All, My screen ssh wrapper doesn't work in some windows as I'm logged onto another system. To sort this I'd like to bind the following and have the $HOST prompted for i.e., bind s screen -t $HOST ssh $HOST Is that possible? Is it easier if we drop the need for substitution and pop up

Re: Caption string: Escape status

2010-01-29 Thread Ben Love
> > I'm looking for a way to have a visual cue (preferrably in the status > > line) to know when the escape sequence (C-a) has been pressed. This > > would be particularly useful when nesting screen sessions. I've > > looked through the man page for the string escapes sequences but > > haven't fo