Re: Capital/upper case B doesn't register in either cygwin bash prompt, rxvt bash prompt, or ssh client bash prompt

2005-11-16 Thread Eric Blake
> Now, interestingly enough, a lone 'B' in .inputrc doesn't produce any key
> binding that could be found in the "bind" output (with all the flags I
> tried).  How would I figure out that 'B' is bound to "nothing", but bound
> nonetheless[*]?

bind -p lists all bindings, and every character that does not do a
special function should at least do self-insert.  If a key combination
is not bound, then it will not show up in bind -p.  Therefore, the
fact that bind -p | grep '"B"' failed to produce output is a good
indication that 'B' is not bound, and it can be rectified by:
bind B:self-insert
(where you use the key sequence [ctrl-v][shift-B] to actually
put B in the command line). 

>   Igor
> P.S. This is a non-Cygwin-specific readline question, and perhaps
> off-topic for this list.

True, but I couldn't resist answering.

--
Eric Blake
volunteer cygwin readline maintainer



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Capital/upper case B doesn't register in either cygwin bash prompt, rxvt bash prompt, or ssh client bash prompt

2005-11-16 Thread Igor Pechtchanski
On Wed, 16 Nov 2005, Eric Blake wrote:

> According to Igor Pechtchanski on 11/15/2005 12:24 PM:
>
> > First thing to rule out is Windows-level problems -- I assume if you run
> > "cat" from bash, you can type in 'B', right?  Then let's work on bash:
> > Can you paste a 'B' into bash?  Does 'B' show up if you type 'Ctrl-V B'?
>
> Also check the output of "stty -a" to make sure that you haven't turned B
> into a terminal control character.

True, though that would've been taken care of by the "Windows-level
problems" above (wrong name, I know).

> > Does 'bind -p | grep "B"' show anything for 'B'?
> >
> > Check your .inputrc for any bindings for "B"; then .bashrc and
> > /etc/profile, for any "bind" commands.

Now, interestingly enough, a lone 'B' in .inputrc doesn't produce any key
binding that could be found in the "bind" output (with all the flags I
tried).  How would I figure out that 'B' is bound to "nothing", but bound
nonetheless[*]?
Igor
P.S. This is a non-Cygwin-specific readline question, and perhaps
off-topic for this list.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Capital/upper case B doesn't register in either cygwin bash prompt, rxvt bash prompt, or ssh client bash prompt

2005-11-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Igor Pechtchanski on 11/15/2005 12:24 PM:
> 
> 
> First thing to rule out is Windows-level problems -- I assume if you run
> "cat" from bash, you can type in 'B', right?  Then let's work on bash:
> Can you paste a 'B' into bash?  Does 'B' show up if you type 'Ctrl-V B'?
> Does 'bind -p | grep "B"' show anything for 'B'?

Also check the output of "stty -a" to make sure that you haven't turned B
into a terminal control character.

> 
> Check your .inputrc for any bindings for "B"; then .bashrc and
> /etc/profile, for any "bind" commands.
> 

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
volunteer cygwin bash maintainer
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDezHv84KuGfSFAYARAvJ8AJ96eGBVqqEaB6SoC+QzNRBLyvCeKgCgigQa
BQajnCuvaixnCvURBQL8Ab8=
=WNuL
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Fixed: Capital/upper case B doesn't register in either cygwin bash prompt, rxvt bash prompt, or ssh client bash prompt

2005-11-15 Thread jboehmler
Igor,

Thank you very much for your help.  The answers were "yes" up to the "bind" 
command.  The "bind" didn't show anything but there was a single "B" on a line 
of its own in .inputrc.  Removing it fixed the problem.  It must have been the 
result of a fat finger when I attempted to do something else.  Thank you again.

John


> On Tue, 15 Nov 2005, jboehmler wrote:
> 
> > Searching the web and the lists, including the cygwin mailing lists, on
> > anything with just a "B" element is very difficult but I've tried.
> > When I try to type a capital B in any form of cygwin terminal, it
> > doesn't register.  A lower case one does.  First, it doesn't show up.
> > Second, if I type "return" after typing "B", the prompt just comes back
> > with no error.  When typing any other capital letter, the letter is
> > visible and typing "return" after it causes a
> > [EMAIL PROTECTED]:~$ C
> > bash: C: command not found
> > [EMAIL PROTECTED]:~$ b
> > bash: b: command not found
> >  error.
> >
> > All other letters, numbers and characters, shifted and un-shifted seem
> > to work.  I've had this problem across several versions of cygwin.  It
> > also occurs regardless of which method I use to access cygwin, bash,
> > rxvt, or ssh.  I have not tried it with X11 since I don't have it.
> >
> > Any help or search suggestions would be appreciated.  Thank you.
> 
> First thing to rule out is Windows-level problems -- I assume if you run
> "cat" from bash, you can type in 'B', right?  Then let's work on bash:
> Can you paste a 'B' into bash?  Does 'B' show up if you type 'Ctrl-V B'?
> Does 'bind -p | grep "B"' show anything for 'B'?
> 
> Check your .inputrc for any bindings for "B"; then .bashrc and
> /etc/profile, for any "bind" commands.
> 
> HTH,
>   Igor
> -- 
>   http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_  [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> If there's any real truth it's that the entire multidimensional infinity
> of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Capital/upper case B doesn't register in either cygwin bash prompt, rxvt bash prompt, or ssh client bash prompt

2005-11-15 Thread Igor Pechtchanski
On Tue, 15 Nov 2005, jboehmler wrote:

> Searching the web and the lists, including the cygwin mailing lists, on
> anything with just a "B" element is very difficult but I've tried.
> When I try to type a capital B in any form of cygwin terminal, it
> doesn't register.  A lower case one does.  First, it doesn't show up.
> Second, if I type "return" after typing "B", the prompt just comes back
> with no error.  When typing any other capital letter, the letter is
> visible and typing "return" after it causes a
> [EMAIL PROTECTED]:~$ C
> bash: C: command not found
> [EMAIL PROTECTED]:~$ b
> bash: b: command not found
>  error.
>
> All other letters, numbers and characters, shifted and un-shifted seem
> to work.  I've had this problem across several versions of cygwin.  It
> also occurs regardless of which method I use to access cygwin, bash,
> rxvt, or ssh.  I have not tried it with X11 since I don't have it.
>
> Any help or search suggestions would be appreciated.  Thank you.

First thing to rule out is Windows-level problems -- I assume if you run
"cat" from bash, you can type in 'B', right?  Then let's work on bash:
Can you paste a 'B' into bash?  Does 'B' show up if you type 'Ctrl-V B'?
Does 'bind -p | grep "B"' show anything for 'B'?

Check your .inputrc for any bindings for "B"; then .bashrc and
/etc/profile, for any "bind" commands.

HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Capital/upper case B doesn't register in either cygwin bash prompt, rxvt bash prompt, or ssh client bash prompt

2005-11-15 Thread jboehmler
Searching the web and the lists, including the cygwin mailing lists, on 
anything with just a "B" element is very difficult but I've tried.  When I try 
to type a  capital B in any form of cygwin terminal, it doesn't register.  A 
lower case one does.  First, it doesn't show up.  Second, if I type "return" 
after typing "B", the prompt just comes back with no error.  When typing any 
other capital letter, the letter is visible and typing "return" after it causes 
a
[EMAIL PROTECTED]:~$ C
bash: C: command not found
[EMAIL PROTECTED]:~$ b
bash: b: command not found
 error.

All other letters, numbers and characters, shifted and un-shifted seem to work. 
 I've had this problem across several versions of cygwin.  It also occurs 
regardless of which method I use to access cygwin, bash, rxvt, or ssh.  I have 
not tried it with X11 since I don't have it.

Any help or search suggestions would be appreciated.  Thank you.


cygcheck.out
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/