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 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 alphabet) from the beginning of 
scrollback buffer, after this i manually navigate to the actual point!

On Tue, Nov 23, 2010 at 10:37 PM, Kevin Van Workum <vanw+scr...@sabalcore.com> 
wrote:
      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 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 this text using the
      screen's native capabilities.

      My problem is that when I enter the buffer and type "g" to go to the top, 
it actually goes to the top of the buffer, not to the first non-whitespace
      character in the buffer".  I basically want to copy the entire buffer 
starting with the first non-whitespace character.  Is there a way to navigate to
      the first non-whitespace character in the buffer, or am I best just 
copying the entire buffer and figuring out how to strip out the leading 
whitespace
      later?

      Thanks,

      Dan

      _______________________________________________
      screen-users mailing list
      screen-users@gnu.org
      http://lists.gnu.org/mailman/listinfo/screen-users



_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users



_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to