Question Regarding Navigating the Buffer

2010-11-23 Thread Aaron Davies
I tend to search for '$', since a screen hosting a shell will usually have a prompt on its first line. (this obviously doesn't work if you're screening other processes directly.) On Tuesday, November 23, 2010, Pandurangan R S wrote: > Unfortunately regex search for scrollback buffer does not seem

Re: Question Regarding Navigating the Buffer

2010-11-23 Thread Daniel Patrick Sullivan
This doesn't work for me either. I am pressing cntrl+b while in copy mode and get a "pattern not found", although there is clearly an e in the buffer. I am using screen version 4.00.03 (FAU) 23-Oct-06 Dan On Tue, 23 Nov 2010, Pandurangan R S wrote: Unfortunately regex search for scrollback

Re: Question Regarding Navigating the Buffer

2010-11-23 Thread Daniel Patrick Sullivan
Hi, Thanks for your reply. No, it does not work. Immediately when I hit g the cursor position goes to the first line of the buffer. If I subsequently hit ^ nothing much seems to happen. Dan On Tue, 23 Nov 2010, Kevin Van Workum wrote: Does "g^" do what you want? That should put the cur

Re: Question Regarding Navigating the Buffer

2010-11-23 Thread Pandurangan R S
Unfortunately regex search for scrollback buffer does not seem to be supported by screen. I also needed to do this very much. I am managing with this hack as of now # Go to the beginning of scrollback buffer using Ctrl-B bindkey -m ^B stuff "g/e^[" This searches for character 'e' (most probable

Re: Question Regarding Navigating the Buffer

2010-11-23 Thread Kevin Van Workum
Does "g^" do what you want? That should put the cursor on the first non-whitespace char in the buffer. On Mon, Nov 22, 2010 at 8:55 AM, Daniel Patrick Sullivan < dansu...@uchicago.edu> wrote: > Hi, Everyone, > > I have a quick question with respect to navigating screens buffer. > Basically I work

Question Regarding Navigating the Buffer

2010-11-23 Thread Daniel Patrick Sullivan
Hi, Everyone, I have a quick question with respect to navigating screens buffer. Basically I work with embedded systems and often have to block and copy more than a single screens worth of text to the buffer to attach to tickets or send to customers, etc. I'd like to be able to copy and paste

Re: how to check if screen is working

2010-11-23 Thread Facundo Andrés Bianco
2010/11/22 jonnexen : > Hello, > > I'm gonna writing a bash install-script. There I want to make a command that > checks if screen us running. If it's running the script should be going on. > If not there should be an error. Any ideas? > if [ -n "$(screen -ls | grep 'screen on')" ]; then echo

Re: how to check if screen is working

2010-11-23 Thread Christian Ebert
* jonnexen on Monday, November 22, 2010 at 09:24:22 +0100 > I'm gonna writing a bash install-script. There I want to make a > command that checks if screen us running. If it's running the script > should be going on. If not there should be an error. Any ideas? In case you mean: is the script runni