On Tue, Dec 15, 2009 at 12:19:09PM EST, Sadrul Habib Chowdhury wrote:

[..]

> I haven't committed the changes yet, still testing (patch attached,
> should someone want to try it out). Opinions?

Does a very nice job like so:

caption always "%?%P%{+u kw} copy-mode %{+u wk} %:%{+u wk} %?"
hardstatus alwayslastline "[%H]%L=%=%-w%45L>(%n-%t)%+w%=%-13=[%d/%m %c]" 

The caption duplicates the beginning of the 'copy-mode' message.

Anyway, since my caption line was an empty that I use it as a separator
it was easy to fit into my setup.

The only possible problem with this approach might be for users who
already have a very long caption/status line who would end up with
something really huge. 

Without additional changes to the code, is there any way I could display
the x,y coordinates of the cursor position as the transient message
does? 

Something like:

---------------------------------------------------------------------
Copy-mode Column xxx, Line yyy 
---------------------------------------------------------------------

Useful in contexts where the cursor is difficult to spot. I sometimes
have this problem on some web pages with the ELinks web browser.

Naturally, what I mean is the x,y within the page that's displayed in
the view port, not relative to the entire scroll-back buffer.

In any event, thanks much for the patch, works for me.

Thanks,

CJ




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

Reply via email to