On Thu, Feb 01, 2001 at 08:41:41AM -0800, Peter Jay Salzman wrote:
> learned this quite by accident.  thought i'd share it.
> 
> you all know that ^w will delete a word, so
> 
>       % hello dolly^w    -->     % hello
> 
> and ^u will delete a whole line:
> 
>       % hello dolly^u   -->     %
> 
> well, i was after ^u and hit ^y instead.  apparently, if ^w and ^u are "cut"
> then ^y is "paste".   so, from the above examples:
> 
>       % hello dolly^w    -->     % hello
>       % hello^y          -->     % hello dolly
> 
> you get the picture.  this past is facilitated by the shell, so you have
> different "clipboards" for each virtual console.
> 
> i don't have X booted, but my guess is since each xterm is another shell
> instance, each xterm would also have its own clipboard.
> 
> pete

Yeah, and if you were an emacs-user, you'd know this already! :-P

BTW, I thought you were using the vi-mode for readline?

Micah

Reply via email to