Feature Requests item #1572319, was opened at 2006-10-07 00:36
Message generated for change (Comment added) made by sadrul
You can respond by visiting: 

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ncurses ui
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Luke Schierer (lschiere)
Assigned to: Sadrul Habib Chowdhury (sadrul)
Summary: select text in gaim-text

Initial Comment:
I'd like the ability to select text out of the backlog
for the purpose of copy/paste. This works fine for
single lines, but badly for multiple lines.  Perhaps
something like screen's mark behavior, but aware of
what window I'm in.


>Comment By: Sadrul Habib Chowdhury (sadrul)
Date: 2007-03-09 14:28

Logged In: YES 
Originator: NO

Richard ('wabz') has done (1). If you are using the custom window-manager
(s.so), then you can press alt+shift+c to toggle on/off the contents of the
clipboard. The clipboard shows up at the top-left end and spans across the
whole screen. So you can copy that using shift+select and paste elsewhere
(middle-click). To paste the contents into an entry in gaim-text, you can
press ctrl+v.

Richard has also written a plugin (gntclipboard.c) that, when enabled,
will copy the contents of the buffer to the X clipboard buffer. So you can
just select the text in gaim-text (using normal click+drag, not
shift+click) and press middle-click elsewhere to paste.

Yay for Richard!

We do not build gntclipboard by default. Due to how x-clipboard works
(uses blocking function calls), the plugin needs to either fork out or run
in a different gthread. I like the fork idea better. Once we are
comfortable with one approach, we can build the plugin by default.

A heads up: if you want to build it now, you may need to use something
like the following:

make LDFLAGS+=`pkg-config --libs x11` CFLAGS+=`pkg-config --cflags x11`


Comment By: Luke Schierer (lschiere)
Date: 2006-10-16 17:59

Logged In: YES 

#1 is not ideal, but still a big improvement.  if its the
best we can have, then it is the best we can have. 


Comment By: Sadrul Habib Chowdhury (sadrul)
Date: 2006-10-16 08:10

Logged In: YES 

>From what I've been able to find, there are two things that
can be done:

1) Make the selections work as expected, but paste-able only
in the same instance of gaim-text. ie, copy the selection
into an internal buffer.

2) It looks like using gpm will give quite a bit of extra
functionality with the mouse, eg. move windows while
dragging etc. It can probably also allow restricting the
region the mouse can move in, which will accomplish the RFE.
I have been able to make gpm do some trivial tasks. But it
only works in virtual consoles, and apparently gpm doesn't
work well/at all with X, so X terminals don't gain anything
from using gpm (yet).

I will try doing both (at least to some extent), possibly
during next weekend and see how it goes.


Comment By: Luke Schierer (lschiere)
Date: 2006-10-07 00:40

Logged In: YES 

apparently the auto-assign I set up didn't work. 


You can respond by visiting: 

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
Gaim-features mailing list

Reply via email to