public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: keyboard paste from clipboard into bash
@ 2000-01-24 19:10 Kevin Schnitzius
  0 siblings, 0 replies; 7+ messages in thread
From: Kevin Schnitzius @ 2000-01-24 19:10 UTC (permalink / raw)
  To: 'cygwin@sourceware.cygnus.com'

The windows code is cake.  Bash/readline code is heinous.

Anyone craw through that code before who could save me some time figuring it
out? 

Kevin


-----Original Message-----
From:	Chris Faylor [ mailto:cgf@cygnus.com ]
Sent:	Monday, January 24, 2000 19:41
To:	Kevin Schnitzius
Cc:	cygwin@sourceware.cygnus.com
Subject:	Re: keyboard paste from clipboard into bash

On Mon, Jan 24, 2000 at 06:10:59PM -0500, Kevin Schnitzius wrote:
>Is there a way to do this?

No.

>When I have my hands on the keyboard, I don't want to reach for the mouse
to
>do a paste and Alt-space, e, p is awkward.
>
>Would it be possible to extend bash to pick up a single char paste?

Yes.  Certainly.  It will require a knowledge of Windows and bash, of
course.  If you come up with a patch, you should definitely submit this
to the bash maintainer.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: keyboard paste from clipboard into bash
@ 2000-01-26  6:34 Kevin Schnitzius
  0 siblings, 0 replies; 7+ messages in thread
From: Kevin Schnitzius @ 2000-01-26  6:34 UTC (permalink / raw)
  To: 'Halim, Salman',
	''cygwin@sourceware.cygnus.com' '

Excellent!  

It works with the stock Cygwin 1.0 included bash, GNU bash, version
2.03.0(2)-release (i686-pc-cygwin) too.

Thanks,
Kevin


-----Original Message-----
From:	Halim, Salman [ mailto:salman@bluestone.com ]
Sent:	Tuesday, January 25, 2000 16:40
To:	''cygwin@sourceware.cygnus.com' '
Subject:	RE: keyboard paste from clipboard into bash

from my .inputrc:

"\C-p": paste-from-clipboard

guess what hitting ctrl-p on the command-line does. . .  i do use bash
2.04b2, so that may make a difference.

regards,

salman.

-----Original Message-----
From: Earnie Boyd
To: Kevin Schnitzius; 'cygwin@sourceware.cygnus.com'
Sent: 1/25/00 8:28 AM
Subject: RE: keyboard paste from clipboard into bash

I don't know if he cured the keyboard paste you want, but you might want
to
check out Paul Sokolovsky's Readline-2.0 native Mingw port at
http://www.is.lg.ua/~paul/devel/readline/ .

Earnie.

--- Kevin Schnitzius <kevin.schnitzius@citrix.com> wrote:
> The windows code is cake.  Bash/readline code is heinous.
> 
> Anyone craw through that code before who could save me some time
figuring it
> out? 
> 
> Kevin
> 
> 
> -----Original Message-----
> From:	Chris Faylor [ mailto:cgf@cygnus.com ]
> Sent:	Monday, January 24, 2000 19:41
> To:	Kevin Schnitzius
> Cc:	cygwin@sourceware.cygnus.com
> Subject:	Re: keyboard paste from clipboard into bash
> 
> On Mon, Jan 24, 2000 at 06:10:59PM -0500, Kevin Schnitzius wrote:
> >Is there a way to do this?
> 
> No.
> 
> >When I have my hands on the keyboard, I don't want to reach for the
mouse
> to
> >do a paste and Alt-space, e, p is awkward.
> >
> >Would it be possible to extend bash to pick up a single char paste?
> 
> Yes.  Certainly.  It will require a knowledge of Windows and bash, of
> course.  If you come up with a patch, you should definitely submit
this
> to the bash maintainer.
> 
> cgf
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: keyboard paste from clipboard into bash
  2000-01-25 13:41 Halim, Salman
@ 2000-01-26  0:31 ` Dr. Volker Zell
  0 siblings, 0 replies; 7+ messages in thread
From: Dr. Volker Zell @ 2000-01-26  0:31 UTC (permalink / raw)
  To: Halim, Salman; +Cc: ''cygwin@sourceware.cygnus.com' '

>>>>> "Halim" == Halim, Salman <salman@bluestone.com> writes:

    Halim> from my .inputrc: "\C-p": paste-from-clipboard

    Halim> guess what hitting ctrl-p on the command-line does. . .  i
    Halim> do use bash 2.04b2, so that may make a difference.

It works for me also with 2.02.1 as you can see below:

vzell:/tmp> cat /users/vzell/.inputrc | grep clip
#"\e[2~":paste-from-clipboard
#"shift insert": paste-from-clipboard
vzell:/tmp> bash --help
GNU bash, version 2.02.1(2)-release-(i586-pc-cygwin32)



Ciao
  Volker


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: keyboard paste from clipboard into bash
@ 2000-01-25 13:41 Halim, Salman
  2000-01-26  0:31 ` Dr. Volker Zell
  0 siblings, 1 reply; 7+ messages in thread
From: Halim, Salman @ 2000-01-25 13:41 UTC (permalink / raw)
  To: ''cygwin@sourceware.cygnus.com' '

from my .inputrc:

"\C-p": paste-from-clipboard

guess what hitting ctrl-p on the command-line does. . .  i do use bash
2.04b2, so that may make a difference.

regards,

salman.

-----Original Message-----
From: Earnie Boyd
To: Kevin Schnitzius; 'cygwin@sourceware.cygnus.com'
Sent: 1/25/00 8:28 AM
Subject: RE: keyboard paste from clipboard into bash

I don't know if he cured the keyboard paste you want, but you might want
to
check out Paul Sokolovsky's Readline-2.0 native Mingw port at
http://www.is.lg.ua/~paul/devel/readline/ .

Earnie.

--- Kevin Schnitzius <kevin.schnitzius@citrix.com> wrote:
> The windows code is cake.  Bash/readline code is heinous.
> 
> Anyone craw through that code before who could save me some time
figuring it
> out? 
> 
> Kevin
> 
> 
> -----Original Message-----
> From:	Chris Faylor [ mailto:cgf@cygnus.com ]
> Sent:	Monday, January 24, 2000 19:41
> To:	Kevin Schnitzius
> Cc:	cygwin@sourceware.cygnus.com
> Subject:	Re: keyboard paste from clipboard into bash
> 
> On Mon, Jan 24, 2000 at 06:10:59PM -0500, Kevin Schnitzius wrote:
> >Is there a way to do this?
> 
> No.
> 
> >When I have my hands on the keyboard, I don't want to reach for the
mouse
> to
> >do a paste and Alt-space, e, p is awkward.
> >
> >Would it be possible to extend bash to pick up a single char paste?
> 
> Yes.  Certainly.  It will require a knowledge of Windows and bash, of
> course.  If you come up with a patch, you should definitely submit
this
> to the bash maintainer.
> 
> cgf
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: keyboard paste from clipboard into bash
@ 2000-01-25  5:29 Earnie Boyd
  0 siblings, 0 replies; 7+ messages in thread
From: Earnie Boyd @ 2000-01-25  5:29 UTC (permalink / raw)
  To: Kevin Schnitzius, 'cygwin@sourceware.cygnus.com'

I don't know if he cured the keyboard paste you want, but you might want to
check out Paul Sokolovsky's Readline-2.0 native Mingw port at
http://www.is.lg.ua/~paul/devel/readline/ .

Earnie.

--- Kevin Schnitzius <kevin.schnitzius@citrix.com> wrote:
> The windows code is cake.  Bash/readline code is heinous.
> 
> Anyone craw through that code before who could save me some time figuring it
> out? 
> 
> Kevin
> 
> 
> -----Original Message-----
> From:	Chris Faylor [ mailto:cgf@cygnus.com ]
> Sent:	Monday, January 24, 2000 19:41
> To:	Kevin Schnitzius
> Cc:	cygwin@sourceware.cygnus.com
> Subject:	Re: keyboard paste from clipboard into bash
> 
> On Mon, Jan 24, 2000 at 06:10:59PM -0500, Kevin Schnitzius wrote:
> >Is there a way to do this?
> 
> No.
> 
> >When I have my hands on the keyboard, I don't want to reach for the mouse
> to
> >do a paste and Alt-space, e, p is awkward.
> >
> >Would it be possible to extend bash to pick up a single char paste?
> 
> Yes.  Certainly.  It will require a knowledge of Windows and bash, of
> course.  If you come up with a patch, you should definitely submit this
> to the bash maintainer.
> 
> cgf
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: keyboard paste from clipboard into bash
  2000-01-24 15:13 Kevin Schnitzius
@ 2000-01-24 16:40 ` Chris Faylor
  0 siblings, 0 replies; 7+ messages in thread
From: Chris Faylor @ 2000-01-24 16:40 UTC (permalink / raw)
  To: Kevin Schnitzius; +Cc: cygwin

On Mon, Jan 24, 2000 at 06:10:59PM -0500, Kevin Schnitzius wrote:
>Is there a way to do this?

No.

>When I have my hands on the keyboard, I don't want to reach for the mouse to
>do a paste and Alt-space, e, p is awkward.
>
>Would it be possible to extend bash to pick up a single char paste?

Yes.  Certainly.  It will require a knowledge of Windows and bash, of
course.  If you come up with a patch, you should definitely submit this
to the bash maintainer.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* keyboard paste from clipboard into bash
@ 2000-01-24 15:13 Kevin Schnitzius
  2000-01-24 16:40 ` Chris Faylor
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Schnitzius @ 2000-01-24 15:13 UTC (permalink / raw)
  To: cygwin

Is there a way to do this?

When I have my hands on the keyboard, I don't want to reach for the mouse to
do a paste and Alt-space, e, p is awkward.

Would it be possible to extend bash to pick up a single char paste?

Kevin


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-01-26  6:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-24 19:10 keyboard paste from clipboard into bash Kevin Schnitzius
  -- strict thread matches above, loose matches on Subject: below --
2000-01-26  6:34 Kevin Schnitzius
2000-01-25 13:41 Halim, Salman
2000-01-26  0:31 ` Dr. Volker Zell
2000-01-25  5:29 Earnie Boyd
2000-01-24 15:13 Kevin Schnitzius
2000-01-24 16:40 ` Chris Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).