Re: key bind paste from ?
On Mon, Mar 06, 2006 at 09:31:41PM -0500, cga wrote:
> Brian Clark wrote:
> >On Sat, Feb 25, 2006 at 01:23:11AM -0500, Andrew Cady wrote:
> >>On Thu, Feb 16, 2006 at 05:31:12PM -0500, Brian Clark wrote:
> >>>What I decided to look for, without success, is a way to press a
> >>>key sequence and it have it paste a password at the current cursor
> >>>position in my aterm when connected to a remote host.
> >>>Is there something that will do this?
> If you are running bash in your aterm:
> $ bind '"^[[24~":"passwd^M"'
> will bind the sequence of keys:
> p+a+s+s+w+d+<Enter>
> ...to function key F12
> Is that what you want to do..??
Hi there! That doesn't seem to work for me. I realize ^M should be
entered as Ctrl+V, Ctrl+M. What about ^[[24~?
~$ echo $SHELL
/bin/bash
~$ bind '"^[[24~":"passwd^M"'
(I press F12 and I get..)
~$ 4~
--
Brian Clark
Reply to: