Re: Defining custom screen commands?

2014-07-31 Thread Gerald Young
Hi, What I do is have a keystroke binding which types in this: C-a :source /home/user/Screen/ But it doesn't actually submit the command. Then I can manually type in the command I want to run, like so: C-a :source /home/user/Screen/command And hit enter to execute. The command is actually a scr

Re: screen: how to start all my task automatically in a script?

2012-10-11 Thread Gerald Young
On Thursday, October 11, 2012 03:26:41 PM ping wrote: > > I have a section in a files sourced by .screenrc: > > > > screen 0 irssi > > screen 1 alpine > > screen 2 > > at 2 stuff "dscreen -r meta -s bots\012" > > screen 3 > > at 3 stuff "ssh -e none root@somehost" > > ... > > > > Should be easy e

Re: screen: how to start all my task automatically in a script?

2012-09-27 Thread Gerald Young
On Thursday, September 27, 2012 02:52:42 PM Peder Stray wrote: > On Thu, 27 Sep 2012, ping wrote: > > guys/experts: > > like the email subject, I recently upgrade my system and seems have to > > reboot more frequently than before. > > I found it annoying that I have to re-create each window and sta

Re: Using 'stuff' to send characters from one account to a second account's session

2012-09-24 Thread Gerald Young
On Monday, September 24, 2012 11:03:16 AM Lars Noodén wrote: > On 09/24/2012 06:50 PM, Chris Jones wrote: > > On Sun, Sep 23, 2012 at 03:25:28PM EDT, Lars Noodén wrote: > > > > [..] > > > >> What is the right syntax to send from the second account? > > > > Sample that works here: > > | % screen

Re: Sending the Ctrl-C keystroke into a screen window

2012-05-21 Thread Gerald Young
Hello, Try using the "stuff" command. So something like: screen -x -p -X stuff "^C" Note that the ^C sequence is a literal Ctrl+C character, so you need to input it as the sequence Ctrl+V Ctrl+C. Best regards, Gerald Young On Monday, May 21, 2012 09:54:47 AM Anatoly V

Re: [screen-users] automatically sending key to window

2011-12-28 Thread Gerald Young
ds (ie. 10 minutes) and edit the sipp command line with your own parameters. Regards, Gerald Young ___ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users

Re: all apps in my screen lost across X reboot

2011-07-29 Thread Gerald Young
Hi Ping, Fakeclip plugin works nicely for me within GNU screen: http://www.vim.org/scripts/script.php?script_id=2098 Might want to try it as a workaround in case you can't get clipboard to work otherwise. Gerald On Friday 29 July 2011 1:16:51 pm Kevin Van Workum wrote: > Ping, > > I'm not a vi

Re: screen not keeping title from -t option

2010-11-09 Thread Gerald Young
uot; command with the key sequence: Ctrl+A " Screen sessions can also be given a name with -S option. Best regards, Gerald Young ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

Re: notification of command finished on main shell?

2010-09-21 Thread Gerald Young
you should see a message like: Bell in window 6 Works even if you run the command remotely thru SSH. Regards, Gerald Young ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

Re: saving session status every once in a while

2010-07-02 Thread Gerald Young
ith the scripts. From there you could make scripts that better suit your taste. Gerald Young ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

Re: How to extract crypted password from buffer ?

2010-01-06 Thread Gerald Young
Hi, I think what you're looking is (note the dot character): ctrl+a :paste . Or shorter: ctrl+a ] ctrl+a ^] Hope this helps, Gerald Young On Wednesday 06 January 2010 11:52:57 pm J. Bakshi wrote: > Hello, > > Here is a beginners issue which I can't resolve after reading

Re: Copy-scrollback mode -- VIsual feedback in window caption?

2009-12-17 Thread Gerald Young
On Thursday 17 December 2009 3:24:20 am Chris Jones wrote: > On Thu, Dec 17, 2009 at 01:28:50AM EST, Alexander Steinert wrote: > > Chris Jones, Tue 2009-12-15 23:45 CET: > > > Maybe the new feature was not necessary after all, since it's quite > > > possible to acquire the habit of hitting '^A m' w

Re: Problems scripting screen

2009-10-03 Thread Gerald Young
with the two characters, and when the "stuff" command is executed those characters are replaced by a newline. Gerald Young ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

Re: how to switch session as X window workspace?

2009-09-24 Thread Gerald Young
coding_session screen -mS coding_session screen -t ssh_session screen -mS ssh_session Hope this helps, Gerald Young ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

Re: session save to disk?

2009-09-01 Thread Gerald Young
e is capturing the window list. There was a question about this before: http://www.nabble.com/scripting-screen-windowlist--td23169670.html Gerald Young ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

Re: session save to disk?

2009-08-25 Thread Gerald Young
On Tuesday 25 August 2009 08:43:04 David Collins wrote: > On 24/08/2009, Gerald Young wrote: > > On Sunday 23 August 2009 14:53:49 David Collins wrote: > >> On 23/08/2009, Erik Osheim wrote: > >> > On Sun, Aug 23, 2009 at 03:02:44PM +0200, lukasz wrote: > >

Re: session save to disk?

2009-08-25 Thread Gerald Young
On Tuesday 25 August 2009 08:43:04 David Collins wrote: > On 24/08/2009, Gerald Young wrote: > > On Sunday 23 August 2009 14:53:49 David Collins wrote: > >> On 23/08/2009, Erik Osheim wrote: > >> > On Sun, Aug 23, 2009 at 03:02:44PM +0200, lukasz wrote: > >

Re: session save to disk?

2009-08-23 Thread Gerald Young
27;t want to just close (I used stand-by a lot, just to preserve screen sessions). The sessions were also consuming the little RAM this laptop had, so I had to do something. Gerald Young ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users

Re: who am i on screen

2009-07-20 Thread Gerald Young
On Monday 20 July 2009 15:00:42 Micah Cowan wrote: > [...] If that's the case, then either activate "zombie mode" in > your ~/.screenrc (see your manual), [...] I tried running commands that output something and immediately exits (like "cat file") while using zombie mode. More often than not, the

Re: how to use "process"?

2009-06-15 Thread Gerald Young
Sorry, left out something. After putting the commands into the register, then use "process" with that register: register r "^A:eval 'echo text one' 'sleep 3' 'echo text 2'^M" process r ___ screen-users mailing list screen-users@gnu.org http://lists.

Re: how to use "process"?

2009-06-15 Thread Gerald Young
On Monday 15 June 2009 17:02:23 clemens fischer wrote: > Would it be true to say that "process" is like "stuff", but it handles > text in registers instead of literal text? Yes, but "process" handles the text "as if it had been typed in from the user’s keyboard." Keep that in mind. > say I have:

Re: scripting screen windowlist?

2009-06-07 Thread Gerald Young
Brian Kroth wrote: > Is there a way to dump the > output of "windowlist" to a file, or some other mechanism that I could > get at this data? I've tried with logging and hardcopy but they both > dump the underlying window contents. > You could nest that screen session inside another screen ses

Saving screen sessions state

2009-06-07 Thread Gerald Young
I use screen a lot. For running shells, vim, irssi, ssh, etc. I love having the quick copy/paste capability between all of those. But more importantly, I love keeping the state of those processes, for example bash's history, the scrollback buffer itself, vim's opened tabs, etc. The problem is t