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?

link|improve this question
feedback

1 Answer

up vote 1 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.

link|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 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 – Kazuhiro YOSHIKAWA Jan 17 at 22:55
Thanks a lot! I actually switched to tmux recently. ;) – Michael Kuhn Jan 18 at 16:53
oh... don't forget gnu screen. :) – Kazuhiro YOSHIKAWA Jan 19 at 3:52
feedback

Your Answer

 
or
required, but never shown

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