Run command after reattaching to GNU Screen

2024-12-28 Thread Jae Juang
I use GNU Screen to run programs. One of my programs sets up a custom cursor colour. When I reattach to the program via GNU Screen, the cursor does not restore to the custom colour, until I refresh the screen in the program. I'd like to config GNU Screen to always run a refresh command after I r

Re: screen from git always requires password when reattaching

2017-03-22 Thread Amadeusz Sławiński
On Wed, 22 Mar 2017 12:47:30 +0100 "Aldo Davide" wrote: > > you can either replace Authenticate function in authentication.c > > with > > > > void Authenticate() { > > return; > > } > > > > or use screen-v4 branch. > > Thank for the reply. I am using screen-v4 for my actual needs, I was

Re: screen from git always requires password when reattaching

2017-03-22 Thread Aldo Davide
> you can either replace Authenticate function in authentication.c with > > void Authenticate() { > return; > } > > or use screen-v4 branch. Thank for the reply. I am using screen-v4 for my actual needs, I was only experimenting with the latest snapshot. I guess what I meant to ask is whe

Re: screen from git always requires password when reattaching

2017-03-22 Thread Amadeusz Sławiński
On Tue, 21 Mar 2017 22:16:35 +0100 "Aldo Davide" wrote: > Hi all, > > I have compiled screen from the git master branch. Now when I try to > reattach an existing session (with screen -r) it always asks for my > password. Is there any option to disable that? Hi, you can either replace Authentic

screen from git always requires password when reattaching

2017-03-21 Thread Aldo Davide
Hi all, I have compiled screen from the git master branch. Now when I try to reattach an existing session (with screen -r) it always asks for my password. Is there any option to disable that? Thanks, Aldo ___ screen-users mailing list screen-users@gn

Re: How to keep windows split after detaching/reattaching

2010-03-18 Thread STenyaK
2010/3/16 Brian Kroth : > I think this may be what you're looking for: > http://lists.gnu.org/archive/html/screen-users/2007-02/msg0.html Nice, been looking for a solution to that problem too. Thanks a lot! -- Saludos, Bruno González ___ Msn

Re: How to keep windows split after detaching/reattaching

2010-03-16 Thread Brian Kroth
I think this may be what you're looking for: http://lists.gnu.org/archive/html/screen-users/2007-02/msg0.html Yuki (aka Rubén Gómez) 2010-03-16 09:02: > I have been looking how to keep my splited windows in screen after > detaching but all the answers is that I can't do it, but I can fake it

How to keep windows split after detaching/reattaching

2010-03-16 Thread aka Rubén Gómez
I have been looking how to keep my splited windows in screen after detaching but all the answers is that I can't do it, but I can fake it using nested screen session. Is there another option to get this feature? I have seen that the fork tscreen saves the splited screens :-( Thanks! ___

Re: Re: Re: Reattaching

2010-02-21 Thread 1 . 41421
On Feb 20, 2010 9:15pm, Sadrul Habib Chowdhury wrote: * 1.41...@gmail.com had this to say on [21 Feb 2010, 02:49:33 +]: > On Feb 20, 2010 7:46pm, Sadrul Habib Chowdhury ima...@gmail.com> wrote: >> * 1.41...@gmail.com had this to say on [18 Feb 2010, 18:31:39 +]: > >> > I run

Re: Re: Reattaching

2010-02-20 Thread Sadrul Habib Chowdhury
* 1.41...@gmail.com had this to say on [21 Feb 2010, 02:49:33 +]: > On Feb 20, 2010 7:46pm, Sadrul Habib Chowdhury wrote: >> * 1.41...@gmail.com had this to say on [18 Feb 2010, 18:31:39 +]: > >> > I run a combination of screen and autossh to open terminal emulators >> on a > >> > remote

Re: Re: Reattaching

2010-02-20 Thread 1 . 41421
according to ps I also have 10 instances of screen. Also, what exactly do you mean by 'drawback'? Resources usage. If start with 5 screen instances, detach, and on reattaching as explained I end up with 10 screen instances, that, in my opi

Re: Reattaching

2010-02-20 Thread Sadrul Habib Chowdhury
* 1.41...@gmail.com had this to say on [18 Feb 2010, 18:31:39 +]: > I run a combination of screen and autossh to open terminal emulators on a > remote box R. Occasionally, be by accident or by design, my local box L > gets rebooted. When this happens, on bringing L up again I would like to

Reattaching

2010-02-18 Thread 1 . 41421
I run a combination of screen and autossh to open terminal emulators on a remote box R. Occasionally, be by accident or by design, my local box L gets rebooted. When this happens, on bringing L up again I would like to retrieve my screen/autossh terminal emulators running on R. This is easy

Re: Reattaching to a detached screen

2009-01-01 Thread Aaron Davies
On Fri, Jan 2, 2009 at 6:08 AM, Michael Grant wrote: > Here is what I use in my .bash_login: > > if screen -wipe 2>&1 | egrep -v "No Sockets found" >/dev/null; then > echo -n "Reattach to detached tree? (y/n) [space=y] " > read -n1 a; > if [[ ("$a" = "y") || ("$a" = "") ]]; then >exec scre

Re: Reattaching to a detached screen

2009-01-01 Thread Michael Grant
Here is what I use in my .bash_login: if screen -wipe 2>&1 | egrep -v "No Sockets found" >/dev/null; then echo -n "Reattach to detached tree? (y/n) [space=y] " read -n1 a; if [[ ("$a" = "y") || ("$a" = "") ]]; then exec screen -xRR fi echo "" else echo "type 'screen' to start scree

Re: Reattaching to a detached screen

2009-01-01 Thread Trent W. Buck
gt; the deattached screen now becomes attached AND the new shell or screen >> disappears, with the reattached screen taking its place. >> >> Reattaching is easy - there are several screen options that >> accomplish that. It's getting rid of the new, supporting process &g

Re: Reattaching to a detached screen

2009-01-01 Thread Andrew Schulman
he new shell or screen > disappears, with the reattached screen taking its place. > > Reattaching is easy - there are several screen options that > accomplish that. It's getting rid of the new, supporting process > (shell or screen) that I just can't pull off. Is this do

Re: Reattaching to a detached screen

2008-12-28 Thread Glen Barber
ew shell or screen > disappears, with the reattached screen taking its place. > >Reattaching is easy - there are several screen options that > accomplish that. It's getting rid of the new, supporting process > (shell or screen) that I just can't pull off. Is this doable in

Reattaching to a detached screen

2008-12-28 Thread JCA
ched AND the new shell or screen disappears, with the reattached screen taking its place. Reattaching is easy - there are several screen options that accomplish that. It's getting rid of the new, supporting process (shell or screen) that I just can't pull

Recreate windows when reattaching to session?

2008-09-07 Thread David Marsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Is there a way to recreate windows that were previously closed when reattaching to a session? Example: I have vi in 0 and emacs in 1, created from .screenrc like this: screen -t vi 0 vi screen -t emacs 1 emacs If I quit vi

Recreate windows when reattaching to session?

2008-09-07 Thread David Marsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Is there a way to recreate windows that were previously closed when reattaching to a session? Example: I have vi in 0 and emacs in 1, created from .screenrc like this: screen -t vi 0 vi screen -t emacs 1 emacs If I quit vi

reattaching split screen session patch

2006-08-20 Thread Nico Golde
Hi, does someone have a patch to enable screen to reattach split screen sessions? Regards Nico P.S: please cc me, I am not subscribed -- Nico Golde - JAB: [EMAIL PROTECTED] | GPG: 0x73647CFF http://www.ngolde.de | http://www.muttng.org | http://grml.org Forget about that mouse with 3/4/5 buttons