Re: alpha as window number?

2012-11-05 Thread David Collins
I have the following in my .screenrc to get to windows > 9 # bind keys '^a - [0-9]' to screens 10-19 bind - command -c select10 bind -c select10 0 select 10 bind -c select10 1 select 11 bind -c select10 2 select 12 bind -c select10 3 select 13 bind -c select10 4 select 14 bind -c select10 5 select

Re: problem when split window

2012-04-18 Thread David Collins
I have this in my screenrc to focus the last window when doing a split, but that could be set to open a new window bind 's' eval split focus other focus On 18/04/2012, Chris Jones wrote: > On Tue, Apr 17, 2012 at 11:42:25PM EDT, 夏凯 wrote: > >> i know that, i just don't know that i have to use C

Re: Get current working directory from another screen window

2011-06-24 Thread David Collins
On Wed, Jun 22, 2011 at 10:38 AM, Tomasz Muras wrote: > Hello, > > I'm wondering if something like this would be possible: > I would like to quickly switch to the same current working directory > as in another screen window. Would it be possible to read cwd of > another window? if you are not ru

Re: more than one hardstatus lines

2010-11-02 Thread David Collins
nks > You could run screen within screen, each instance has its omwn hardstatus line. the outer one has the generic stuff that you want to show with an escape character that you don't use and the inner instance is the one you create new windows in David Collins ___

Re: session save to disk?

2010-08-30 Thread David Collins
or all window's > processes). > There is also a blacklist for programs which may not be started. > Hi, I really like the idea of this. However, I use mostly OS X and freeBSD neither of which use the /proc file system. Is it possible to adapt w

Re: Scrolling up / down by 1 line

2010-05-21 Thread David Collins
Mandar Mitra wrote: > Hello, > I'd like to be able to easily scroll by one line in copy mode. Right > now, I can only do this by typing 1 + C-u (or C-d), but that's not > very convenient. Can I define a binding for the combination? Or can I > set the amount that C-u/C-d scrolls by? > I've only re

Re: sending an arbitary command to a detached session

2010-02-12 Thread David Collins
you can also use the following for a bit more control over a program running in a screen session screen -S foo -X select [windowid] screen -S foo -X stuff 'emacs -nw somefile^M' where ^M is entered by typing ctrl-v ctrl-m David On 12/02/2010, Sadrul Habib Chowdhury wrote: > * Faheem Mitha had

Re: Escape characters

2010-01-27 Thread David Collins
I use 'escape [[' which can obviously cause problems, however I have the following binding bindkey -k k5 escape ^Aa # change escape on F5 bindkey -k k6 escape [[ # change escape on F6 I can use it to temporarily change the escape key to something a bit less problematic for pasting then change it

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

2009-12-10 Thread David Collins
amjain wrote: > > Hi, > 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. > > Thanks for all your help, > Hi, I have this in my .screenrc. Type "Ctrl A - [0-9]" to get to windo

Re: session save to disk?

2009-09-01 Thread David Collins
Hi Gereld, thanks for sending me your scripts. I haven't had time to go through it yet but it looks very complete. My script is considerably less functional. As it stands it needs to be executed in each shell open in the screen session. The script will basically dump the pwd, a supplied title, and

Re: session save to disk?

2009-08-25 Thread David Collins
Hi Gerald, In the interests of me learning how to do properly what I have done poorly, would you mind sharing your scripts? Thanks David Collins 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: >>

Re: session save to disk?

2009-08-23 Thread David Collins
email it if you think it may be of use. David Collins On 23/08/2009, Erik Osheim wrote: > 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? >> E

Restarting X and screen

2009-06-25 Thread David Collins
Hi, I use 5 different screen sessions for various different purposes on my work computer (linux open suse). When the X server is restarted and I re-attach the screen sessions I can no longer open programs that use X. The error I get is "cannot open display :0.0" The xterm without the screen sessio

Re: Logging With Screen

2009-02-15 Thread David Collins
I use less -r 'screen_log_file' It doesn't work perfectly but makes it a bit easier on the eye, I'm not sure if it removes lines that are repeated or not? On 15/02/2009, Charles A. Templeton III wrote: > Why does screen logs look the way they do? For example, when I am in > in the terminal I

backtick and chdir

2007-12-02 Thread david collins
Hi, I have been using screen for about 4 months now and I cannot live without it anymore!! There is one thing that I would like to be able to do which I have attempted to solve a few times and have searched here and google for - so far I haven't been able to find anything. I would like to be