Re: echo $(cygcheck...) oddity

2011-02-16 Thread RISINGP1
cygwin-owner wrote on 02/16/2011 01:13:37 PM: On 02/16/2011 11:07 AM, L Anderson wrote: Could the following signal a possible string buffering problem? Nope. Rather, it's an indication that cygcheck is a native windows program... However,when I do echo $(cygcheck /bin/sh.exe)

Re: Accessing folders elsewhere than C:\cygwin

2011-02-10 Thread RISINGP1
Eric wrote on 02/10/2011 12:15:33 PM: On 02/10/2011 10:13 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: Might the ability to identify cygwin's root be a good thing to add to cygpath? And what's so hard about 'cygpath -w /'? Under System information, one could have an option -R,

Re: Accessing folders elsewhere than C:\cygwin

2011-02-10 Thread RISINGP1
cygwin-owner wrote on 02/10/2011 03:35:53 PM: On Thu, Feb 10, 2011 at 03:23:38PM -0500, RISINGP1 wrote: Eric wrote on 02/10/2011 12:15:33 PM: On 02/10/2011 10:13 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: Might the ability to identify cygwin's root be a good thing to add

Fw: 1.7.7: window cuts off output / saving output

2011-02-02 Thread RISINGP1
On Feb 2 11:13, Rachel Trent wrote: I have a seemingly simple problem that I either haven't found the answer to or I didn't understand the answer when I saw it. I presume I'm not describing it with the correct terminology... Short version: In layman's terms, the Cygwin window cuts off at

How can I get mintty to not display my password?

2010-10-22 Thread RISINGP1
When using cmd.exe, when I am prompted for a password, no characters are displayed, but the password gets entered. However, when I use mintty, the characters I type at the password prompt are displayed. TERM=xterm. How can I stop this from happening? In cmd.exe: --- sqlplus

Re: simulating console input

2010-09-02 Thread RISINGP1
On 9/2/2010 3:47 AM, Peter Münster wrote: Hello, I would like to run a Dos program, that needs keyboard input (just one Y), automatically via make in an ssh-session. How could I simulate the Y keypress? echo Y | DosProgram.exe does not work... The keypress is accepted only in a

How does one change the default shell?

2010-09-02 Thread RISINGP1
I use pdksh as my login shell - I have been using the Korn shell (thanks Dave!) since 1984 or so, so it is what I am used to and has features I haven't been able to find in bash - at least not yet. So to expedite script writing, I use the ksh language and features Every time that I write a

Re: How does one change the default shell?

2010-09-02 Thread RISINGP1
preferred shell (some tools, like mintty, honor that setting). My /etc/passwd entry: RISINGP1:unused_by_nt/2000/xp:287838:10545:RISINGP1,U-NWIE\RISINGP1,S-1-5-21-725345543-616249376-1177238915-277838:/cygdrive/c/cygwin/home/risingp1:/bin/pdksh My cygwin.bat: @echo off C: chdir C:\cygwin\bin REM

Re: How does one change the default shell?

2010-09-02 Thread RISINGP1
to call pdksh instead of bash. You can also edit /etc/passwd to set your preferred shell (some tools, like mintty, honor that setting). My /etc/passwd entry: RISINGP1:unused_by_nt/2000/xp:287838:10545:RISINGP1,U-NWIE\RISINGP1,S-1-5-21-725345543-616249376-1177238915-277838:/cygdrive/c/cygwin/home

Re: How does one change the default shell?

2010-09-02 Thread RISINGP1
Ah, so you mean how to change /bin/sh to be pdksh instead of bash. Simple: cp /bin/{pdk,}sh But be prepared to redo that every time you upgrade bash via setup.exe, and don't come crying to the list if things break that were expecting bash when they got pdksh. Thanks. I was

Re: 'cp' utility bug when dest-name.exe file exist.

2010-06-08 Thread RISINGP1
On 06/08/2010 10:52 AM, Eric Blake wrote: On 06/08/2010 08:43 AM, Steven Collins wrote: directory as can be demonstrated by a simple touch foo foo.exe command. Both files will be created. Arguably, both should NOT be created, for the same reasons. That is, it is probably worth a patch to make

Re: 'cp' utility bug when dest-name.exe file exist.

2010-06-08 Thread RISINGP1
On 06/08/2010 09:42 AM, risin...@nationwide.com wrote: As to the cp issue, while IMHO, it should go ahead and do the copy, a more instructive error message would be helpful: cp: cannot create regular file `my': File 'my.exe' exists Huh? Do the copy, then give a failure message? No. A

Re: 'cp' utility bug when dest-name.exe file exist.

2010-06-08 Thread RISINGP1
I disagree. This seems to me to be adopting the Microsoft policy of doing the user's thinking for them: I don't care what they want - we know what's best for them. If a person wants to have foo and foo.exe in the same directory, that should be allowed. A few times getting tripped up by

Re: cygwin : bash doesn't recognize BackSpace

2010-05-27 Thread RISINGP1
I was having trouble with the backspace key, but it was with pdksh, so I don't know if this will work for you, but it is worth a try... Andy Koppe andy.ko...@gmail.com wrote: From the cygwin-1.7.5 release announcement: - Support DEC Backarrow Key Mode escape sequences (ESC [ ? 67 h, ESC [ ?

Cygwin 1.7.5-1: backspace does not work correctly when using set -o vi in pdksh in the console window

2010-04-19 Thread RISINGP1
When using the set -o vi mode in pdksh, the backspace key is no longer a movement key - it does not make the cursor move to the left over the existing characters leaving them unchanged when the command line edit mode is entered using the ESC key. The cursor does not move at all. Steps to