* Kevin Everets <flynn [ at ] clarkhall [ dot ] ca> [070502 17:00]: > On Wed, May 02, 2007 at 12:23:29PM -0400, Bart Trojanowski wrote: > > > There is only one thing that I am stuck selecting text in right now, and > > that's an xterm. > > I get around this by using GNU screen. In screen you can can use: <snip> > Hope that helps, Good point Kevin. I use screen often, but it doesn't solve the problem completely. I use screen for remote hosts all the time to keep jobs running while I detach or am disconnected. And this feature of screen is even more important to me then it's copy-paste mode. I even got around the ssh-agent forwarding problem so I can ssh from a re-attached screen session without using passwords -- handy for accessing revision control systems. http://www.jukie.net/~bart/blog/screen-ssh-agent Screen handles a few thins poorly; and nesting is one of them. In order to be able to copy and paste from screen I would have to run screen at every level of my pipe, sometimes that's as many as 4 hosts. Screen allows you to use prefixes other then ^a, but it's still hard to remember. It boils down to a lot of planning to be able to grab an url or a block of text that happens to be on my terminal. The other issue with screen is that it does not play well with X. First, because the DISPLAY variable is not carried from outside screen to inside screen -- but this can be fixed. The bigger problem is that screen does not paste to an X clipboard... so that means that pasting from screen to, say, firefox is harder. So my plan is to have a uxrvt plugin that allows me to do what screen does as well as mark URLs and allow me to copy them without highlighting. I am thinking: alt-u to enter copy mode (like in screen) ^n/^p to select next / previous URL hjkl (etc) to move around <space> to start selection y to copy whatever is selected <esc> to end selection > If your main purpose is to copy & paste URLs, then you can integrate > urlview with screen in your .screenrc to make that a lot quicker. I have not looked at urlview, I will check it out. Although uxrvt already has code to extract urls from it's buffer, so I am likely to stick with that. -Bart -- WebSig: http://www.jukie.net/~bart/sig/
Attachment:
signature.asc
Description: Digital signature