Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I enable copy mode in a window, I see "Copy mode ..." in the bottom line of the terminal. I configure screen to show the list of windows on the bottom. Now, when I switch to another window and then back to the first window, the notification that I am in copy mode is gone. (And I wonder why a command takes so long, until I press a key, and realize I'm in copy mode.)

So my question is: is there a "permanent" visual indication that a given session is in copy mode?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

In git version, new caption string P added.

sets %? to true if the current region is in copy/paste mode

I'm using this in following setting.

caption always '%?%F%{= gW}%:%{= Kk}%?%2n%f%07=%t%?%P *** copy/paste mode ***%:%?%='

When you move into copy-mode, string *** copy/paste mode *** displayed in window caption.

share|improve this answer
    
Hello, thanks a lot for your reply. I tried the master branch of git.savannah.gnu.org/cgit/screen.git , but the caption you showed didn't work for me. Can you please point me to the correct repository/branch? –  Michael Kuhn Jan 9 '12 at 9:11
    
I'm using the master of branch(450e8f3). and simply git clone && cd screen/src && ./autogen.sh && configure && make && make install. The following screenshots are an example of my copy-mode caption that I use. screenshot1 screenshot2 –  yoshikaw Jan 17 '12 at 22:55
    
Thanks a lot! I actually switched to tmux recently. ;) –  Michael Kuhn Jan 18 '12 at 16:53
    
oh... don't forget gnu screen. :) –  yoshikaw Jan 19 '12 at 3:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.