Re: [vox-tech] learned a new bash thing today
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vox-tech] learned a new bash thing today
- Subject: Re: [vox-tech] learned a new bash thing today
- From: Micah Cowan <MAPSmicah@cowanbox.com>
- Date: Thu, 01 Feb 2001 18:25:24 -0800
- References: 20010201084141.A16760@dirac.org
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
|