Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-22 Thread Bill Stewart via Cygwin
On Mon, Jul 22, 2024 at 12:50 PM Csaba Ráduly wrote: Plus, it sounds like a global solution to a local problem: > https://devblogs.microsoft.com/oldnewthing/20081211-00/?p=19873 > Good point. Parsing 'net use' output is not the correct way, or even a very good way, to get the requested informatio

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-22 Thread Csaba Ráduly via Cygwin
ot; changes with the language of the system (English, Danish, French, ...), so parsing becomes nearly impossible How can I force the language used by "net use" to English, even if the system default language is Danish or French? Did you try chcp.com 437 That could change the chara

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-22 Thread Bill Stewart via Cygwin
On Sat, Jul 20, 2024 at 8:57 AM Mark Liam Brown wrote: Basically I need every bit of information out of "net use", "net > config", "net statistics", "net view" and so on, parse it in bash or > perl, process it in bash, and output it in JSON format from the bash > script for our (Linux-based) admin

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-21 Thread Andrey Repin via Cygwin
The output of "net use" changes with the language of the system >>> (English, Danish, French, ...), so parsing becomes nearly impossible >>> >>> How can I force the language used by "net use" to English, even if the >>> system default langu

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-21 Thread Andrey Repin via Cygwin
Greetings, Mark Liam Brown! > I am trying to parse the output of "net use" in a bash script, but hit > a roadblock: > The output of "net use" changes with the language of the system > (English, Danish, French, ...), so parsing becomes nearly impossible > How ca

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Takashi Yano via Cygwin
t;> a roadblock: > >> The output of "net use" changes with the language of the system > >> (English, Danish, French, ...), so parsing becomes nearly impossible > >> > >> How can I force the language used by "net use" to English, even if

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Thomas Wolff via Cygwin
lish, Danish, French, ...), so parsing becomes nearly impossible How can I force the language used by "net use" to English, even if the system default language is Danish or French? Did you try chcp.com 437 That could change the character encoding, for some (older) programs, not the lan

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Takashi Yano via Cygwin
nearly impossible > > How can I force the language used by "net use" to English, even if the > system default language is Danish or French? Did you try chcp.com 437 or something like that? -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread gs-cygwin.com--- via Cygwin
;net use" in a bash script, but hit > > > a roadblock: > > > The output of "net use" changes with the language of the system > > > (English, Danish, French, ...), so parsing becomes nearly impossible > > > > > > How can I force the langu

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Brian Inglis via Cygwin
f "net use" changes with the language of the system (English, Danish, French, ...), so parsing becomes nearly impossible How can I force the language used by "net use" to English, even if the system default language is Danish or French? This sounds like an XY problem[1] to m

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Henry S. Thompson via Cygwin
Mark Liam Brown via Cygwin writes: > I am trying to parse the output of "net use" in a bash script, but > hit a roadblock: The output of "net use" changes with the language > of the system (English, Danish, French, ...), so parsing becomes > nearly impossible >

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Mark Liam Brown via Cygwin
uot; changes with the language of the system > > (English, Danish, French, ...), so parsing becomes nearly impossible > > > > How can I force the language used by "net use" to English, even if the > > system default language is Danish or French? > > > > Th

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Bill Stewart via Cygwin
mes nearly impossible > > How can I force the language used by "net use" to English, even if the > system default language is Danish or French? > This sounds like an XY problem[1] to me What is the goal you're trying to accomplish? Enumerate existing connection

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread marki via Cygwin
lish, Danish, French, ...), so parsing becomes nearly impossible >> >> How can I force the language used by "net use" to English, even if the >> system default language is Danish or French? >> >> Mark > >Poking around on the web a little suggests that Wi

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Eliot Moss via Cygwin
mpossible How can I force the language used by "net use" to English, even if the system default language is Danish or French? Mark Poking around on the web a little suggests that Windows does not use an environment variable like LANG to control the language. Rather, the relevan

Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Mark Liam Brown via Cygwin
Greetings! I am trying to parse the output of "net use" in a bash script, but hit a roadblock: The output of "net use" changes with the language of the system (English, Danish, French, ...), so parsing becomes nearly impossible How can I force the language used by "net

Re: fcntl with O_APPEND fails to force append mode on stderr for native Windows programs

2019-02-10 Thread Corinna Vinschen
On Feb 9 15:33, Tom Honermann wrote: > On 2/9/2019 9:51 AM, Corinna Vinschen wrote: > > On Feb 8 22:25, Tom Honermann wrote: > >> The following program demonstrates the problem. > >> [...] > >> Here is where things go bananas. If the program is run with stdout > >> initially redirected to a pipe

Re: fcntl with O_APPEND fails to force append mode on stderr for native Windows programs

2019-02-09 Thread Tom Honermann
On 2/9/2019 9:51 AM, Corinna Vinschen wrote: > On Feb 8 22:25, Tom Honermann wrote: >> The following program demonstrates the problem. >> [...] >> Here is where things go bananas. If the program is run with stdout >> initially redirected to a pipe, then the stderr output from the native >> Window

Re: fcntl with O_APPEND fails to force append mode on stderr for native Windows programs

2019-02-09 Thread Corinna Vinschen
On Feb 8 22:25, Tom Honermann wrote: > The following program demonstrates the problem. > [...] > Here is where things go bananas. If the program is run with stdout > initially redirected to a pipe, then the stderr output from the native > Windows program ends up overwriting the stdout output from

fcntl with O_APPEND fails to force append mode on stderr for native Windows programs

2019-02-08 Thread Tom Honermann
This is a follow up to a bug originally reported as https://cygwin.com/ml/cygwin/2015-05/msg00140.html. We continue to face this issue and recently spent some time trying to further isolate it. We now have a better reproducer (below) that does not require GNU make. >From the original bug repo

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-06 Thread Brian Inglis
On 2018-03-06 07:01, Fergus Daly wrote: >>> I looked for recent similar issues and only found > https://superuser.com/questions/1297658/folder-names-become-uppercase-when-syncing-to-fat32-drive Have you checked that you get identical behaviour under cmd shell or PowerShell, and see the problem usi

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-06 Thread Fergus Daly
>> I looked for recent similar issues and only found https://superuser.com/questions/1297658/folder-names-become-uppercase-when-syncing-to-fat32-drive >> So if other users of this Win10 build start tripping on this same problem >> and reporting it, it may get looked at by MS. The site you mentio

RE: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-05 Thread Michel LaBarre
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > Behalf Of Corinna Vinschen > Sent: March 5, 2018 2:55 PM > To: cygwin@cygwin.com > Subject: Re: sed seems to force UC filename on Mixed 8.3 filenames on > FAT32 > > On M

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-05 Thread Corinna Vinschen
On Mar 5 12:46, Michel LaBarre wrote: > Sorry folks but I am going to top post for the sake of clarity. The original > msg is below for reference. > > Corinna, I ran the following and I attached the trace file: > E:\junk>ls > Zot.txt > E:\junk>ls > Zot.txt > E:\junk>stra

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-05 Thread Corinna Vinschen
On Mar 5 12:05, Michel LaBarre wrote: > > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > > Behalf Of Corinna Vinschen > > On Mar 5 11:42, Michel LaBarre wrote: > > > I have the same build 16299.248 and I get the same behaviour. > > > Perhaps consider: http://www.zoneutils.com

RE: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-05 Thread Michel LaBarre
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > Behalf Of Corinna Vinschen > > On Mar 5 11:42, Michel LaBarre wrote: > > > > > Behalf Of Fergus Daly > > > Starting to look exactly like that. On Windows 7 there is no problem. > > > On earlier W1

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-05 Thread Corinna Vinschen
On Mar 5 11:42, Michel LaBarre wrote: > > > > -Original Message- > > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > > Behalf Of Fergus Daly > > Sent: March 5, 2018 4:06 AM > > To: The Cygwin Mailing List > > Subject: Re: s

RE: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-05 Thread Michel LaBarre
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > Behalf Of Fergus Daly > Sent: March 5, 2018 4:06 AM > To: The Cygwin Mailing List > Subject: Re: sed seems to force UC filename on Mixed 8.3 filenames on > FAT32 > > &

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-05 Thread Fergus Daly
>> ..."or operation on FAT32 was changed by Windows updates." Starting to look exactly like that. On Windows 7 there is no problem. On earlier W10 machines in this office there is no problem. My machine underwent a massive (time-consuming) update on or around 13-FEB to Microsoft Windows Version 17

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-04 Thread Brian Inglis
On 2018-03-04 10:05, cyg Simple wrote: > On 3/4/2018 11:14 AM, Brian Inglis wrote: >> On 2018-03-04 03:09, Corinna Vinschen wrote: >>> On Mar 3 11:14, Brian Inglis wrote: On 2018-03-03 01:36, Fergus Daly wrote: >>> Run stat on original and converted files. > > OK. I get this:

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-04 Thread cyg Simple
On 3/4/2018 11:14 AM, Brian Inglis wrote: > On 2018-03-04 03:09, Corinna Vinschen wrote: >> On Mar 3 11:14, Brian Inglis wrote: >>> On 2018-03-03 01:36, Fergus Daly wrote: >> Run stat on original and converted files. OK. I get this: ~> stat /j/PStart.xml File: /j/PSt

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-04 Thread Brian Inglis
On 2018-03-04 03:09, Corinna Vinschen wrote: > On Mar 3 11:14, Brian Inglis wrote: >> On 2018-03-03 01:36, Fergus Daly wrote: > Run stat on original and converted files. >>> >>> OK. I get this: >>> >>> ~> stat /j/PStart.xml >>> File: /j/PStart.xml >>> Size: 7233Blocks: 8

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-04 Thread Corinna Vinschen
On Mar 3 11:14, Brian Inglis wrote: > On 2018-03-03 01:36, Fergus Daly wrote: > >>> Run stat on original and converted files. > > > > OK. I get this: > > > > ~> stat /j/PStart.xml > > File: /j/PStart.xml > > Size: 7233Blocks: 8 IO Block: 65536 regular file > > Device: a

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-03 Thread Brian Inglis
On 2018-03-03 01:36, Fergus Daly wrote: >>> Run stat on original and converted files. > > OK. I get this: > > ~> stat /j/PStart.xml > File: /j/PStart.xml > Size: 7233Blocks: 8 IO Block: 65536 regular file > Device: a6418e7fh/2789314175d Inode: 7206475022584976007 Link

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-03 Thread Fergus Daly
>> Run stat on original and converted files. OK. I get this: ~> stat /j/PStart.xml File: /j/PStart.xml Size: 7233Blocks: 8 IO Block: 65536 regular file Device: a6418e7fh/2789314175d Inode: 7206475022584976007 Links: 1 Access: (0644/-rw-r--r--) Uid: (197609/ fergusd)

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-02 Thread Andrey Repin
Greetings, Brian Inglis! > Does FAT support ACLs? No. -- With best regards, Andrey Repin Friday, March 2, 2018 20:46:37 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwi

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-02 Thread Brian Inglis
On 2018-03-02 02:41, Fergus Daly wrote: > .. AND dos2unix: > ~> ls -al /j/P* > -rw-r--r-- 1 dell ferg 6767 Mar 2 09:15 /j/PStart.xml > ~> dos2unix /j/PStart.xml > dos2unix: converting file /j/PStart.xml to Unix format... > ~> ls -al /j/P* > -rw-r--r-- 1 dell ferg 6767 Mar 2 09:16 /j/PSTART.XM

Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-02 Thread Fergus Daly
.. AND dos2unix: ~> ls -al /j/P* -rw-r--r-- 1 dell ferg 6767 Mar 2 09:15 /j/PStart.xml ~> dos2unix /j/PStart.xml dos2unix: converting file /j/PStart.xml to Unix format... ~> ls -al /j/P* -rw-r--r-- 1 dell ferg 6767 Mar 2 09:16 /j/PSTART.XML So something a bit major seems to be going on .. .

sed seems to force UC filename on Mixed 8.3 filenames on FAT32

2018-03-02 Thread Fergus Daly
Noticed just lately that sed seems to force 8.3 (all upper-case) file-naming if applied to 8.3 file on FAT32 filesystem. For example ~> ls -al /j/P* -rw-r--r-- 1 dell ferg 6767 Mar 2 09:15 /j/PStart.xml ~> sed -i '/count/d ; /date/d ; /time/d' /j/PStart.xml ~> ls -al /j/P

Re: mkpasswd: option to force the 'primary' domain?

2015-03-24 Thread Corinna Vinschen
On Mar 24 13:29, Linda Walsh wrote: > Corinna Vinschen wrote: > >On Mar 20 11:58, Tim Magee wrote: > >>Now then, > >> > >>Since Cygwin 1.7.34 dropped, mkpasswd has been problematic for us. Our > >>problem is with the way user names pulled from outside the primary domain > >>get decorated. My ques

Re: mkpasswd: option to force the 'primary' domain?

2015-03-24 Thread Linda Walsh
Corinna Vinschen wrote: On Mar 20 11:58, Tim Magee wrote: Now then, Since Cygwin 1.7.34 dropped, mkpasswd has been problematic for us. Our problem is with the way user names pulled from outside the primary domain get decorated. My question is: will there ever be a way to tell mkpasswd/mkgroup

Re: mkpasswd: option to force the 'primary' domain?

2015-03-24 Thread Tim Magee
ar the same on all machines is very desirable. I think I can recreate the pre-1.74 behaviour with a little seddery, but I'd bet folding money that my seddery isn't future-proof. So, are mkpasswd/mkgroup ever likely to get an option to force the "undecorated users" domain? I&

[Cygwin installer 1.7.35] Force Install from internet option in quiet-mode

2015-03-23 Thread Lukasz Pielak
Hi I am trying to execute cygwin installation in --quiet-mode. I would like to have the 'Install from internet' option always set, similar to what you get using the --download option for 'Download only'. Here is the snipped i am using: setup-x86.exe --quiet-mode --upgrade-also --site="%MIRROR%"

Re: mkpasswd: option to force the 'primary' domain?

2015-03-20 Thread Corinna Vinschen
munity, so > having our usernames appear the same on all machines is very desirable. > > I think I can recreate the pre-1.74 behaviour with a little seddery, but I'd > bet folding money that my seddery isn't future-proof. So, are > mkpasswd/mkgroup ever likely to get an option

mkpasswd: option to force the 'primary' domain?

2015-03-20 Thread Tim Magee
reate the pre-1.74 behaviour with a little seddery, but I'd bet folding money that my seddery isn't future-proof. So, are mkpasswd/mkgroup ever likely to get an option to force the "undecorated users" domain? Thanks, Tim -- Problem reports: http://cygwin.com/pro

Re: Force "ls" to show .exe extension

2015-01-08 Thread Paul
Andrey Repin yandex.ru> writes: >> I don't like using the back ticks myself because of its atrocious >> readability, but I'm not religious about it. > > Then don't use them. Use "$( )" instead. Aside readability issues, > it also solve nesting and quoting problems. So much better...thanks, Andre

Re: Force "ls" to show .exe extension

2015-01-08 Thread Andrey Repin
Greetings, Paul! > I don't like using the back ticks myself because of its atrocious > readability, but I'm not religious about it. Then don't use them. Use "$( )" instead. Aside readability issues, it also solve nesting and quoting problems. -- WBR, Andrey Repin (anrdae...@yandex.ru) 08.01.201

Re: Force "ls" to show .exe extension

2015-01-08 Thread Paul
Bob McGowan symantec.com> writes: | Back to Paul's problem, getting a list of the actual filenames, as | they actually exist in the filesystem, can be handled by 'find', I | think. At least it worked in my simple test setup, above. | | $ find . -name abc | ./abc | $ find . -name 'abc*' | ./abc |

Re: Force "ls" to show .exe extension

2015-01-07 Thread Bob McGowan
On 1/7/15, 8:07 AM, "Paul" wrote: >Buchbinder, Barry (NIH/NIAID) [E] niaid.nih.gov> writes: >>Paul sent the following at Tuesday, January 06, 2015 7:12 PM >>> I'm wading through many files in two file trees. In particular, I'm >>> looking at corresponding directories in the two trees where "diff

Re: Force "ls" to show .exe extension

2015-01-07 Thread Paul
Buchbinder, Barry (NIH/NIAID) [E] niaid.nih.gov> writes: >Paul sent the following at Tuesday, January 06, 2015 7:12 PM >> I'm wading through many files in two file trees. In particular, I'm >> looking at corresponding directories in the two trees where "diff >> -qr" revealed differences. I want th

Re: Force "ls" to show .exe extension

2015-01-07 Thread Paul
Andrey Repin yandex.ru> writes: >> I'm wading through many files in two file trees. In particular, >> I'm looking at corresponding directories in the two trees where >> "diff -qr" revealed differences. I want the absolute truth of what >> the filename is with minimal distrations about how to ach

Re: Force

2015-01-07 Thread Paul
Eric Blake redhat.com> writes: > alias xargs='xargs ' > alias ls='ls --append-exe' > find -pa pdfcrop | xargs ls > > will execute 'ls --append-exe', but > > alias xargs='xargs ' > alias ls='ls --append-exe' > find -pa pdfcrop -print0 | xargs -0 ls > > will not, unless you also: > > alias -- -0

RE: Force "ls" to show .exe extension

2015-01-07 Thread cyg Simple
> From: Tom Robinson > > If you don't want to specify the extension, can you specify as asterisk? > > [3236 CBGSAS04:~/Documents]$ touch name.exe > > [3237 CBGSAS04:~/Documents]$ ls -l name > -rw-r--r--+ 1 cbg.tom Domain Users 0 Jan 7 09:34 name > > [3238 CBGSAS04:~/Documents]$ ls -l name.exe

RE: Force "ls" to show .exe extension

2015-01-06 Thread Buchbinder, Barry (NIH/NIAID) [E]
Paul sent the following at Tuesday, January 06, 2015 7:12 PM >I'm wading through many files in two file trees. In particular, I'm >looking at corresponding directories in the two trees where "diff -qr" >revealed differences. I want the absolute truth of what the filename is >with minimal distractio

Re: Force "ls" to show .exe extension

2015-01-06 Thread Andrey Repin
Greetings, Paul! >>> ...if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop" >>> shows pdfcrop rather than pdfcrop.exe. Is there any way to force >>> ls to show the full filename (including extension) if it matched >>> the ls argumen

Re: Force "ls" to show .exe extension

2015-01-06 Thread Paul
Andrey Repin yandex.ru> writes: >> ...if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop" >> shows pdfcrop rather than pdfcrop.exe. Is there any way to force >> ls to show the full filename (including extension) if it matched >> the ls argument, ev

Re: Force

2015-01-06 Thread Eric Blake
On 01/06/2015 05:06 PM, Paul wrote: > | alias xargs='xargs ' > | > | Then the alias expansion of xargs will in turn allow alias expansion > | of the next argument. (Except that you then have to also create > | trailing-space aliases for all options you commonly pass to xargs > | between 'xargs' a

Re: Force

2015-01-06 Thread Paul
on their unix sessions), I know I can |>> force display of .exe using asterisk. |> |> Drat. If I pipe files to 'xargs ls', the unaliased ls command is |> used: |> |>type -pa pdfcrop | xargs ls | | alias xargs='xargs ' | | Then the alias expansion of

Re: Force "ls" to show .exe extension

2015-01-06 Thread Andrey Repin
Greetings, Paul! > Right now, if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop" > shows pdfcrop rather than pdfcrop.exe. Is there any way to force ls > to show the full filename (including extension) if it matched the ls > argument, even if the ls argument doesn&#

Re: Force "ls" to show .exe extension

2015-01-06 Thread Eric Blake
On 01/06/2015 02:28 PM, Paul wrote: > Paul gmail.com> writes: >> Both solutions are great. I'll set the --append-exe in my bash >> aliases, and for systems outside of my normal working environment >> (e.g., working with someone on their unix sessions), I know I can &

Re: Force "ls" to show .exe extension

2015-01-06 Thread Paul
Paul gmail.com> writes: > Both solutions are great. I'll set the --append-exe in my bash > aliases, and for systems outside of my normal working environment > (e.g., working with someone on their unix sessions), I know I can > force display of .exe using asterisk. Drat

Re: Force "ls" to show .exe extension

2015-01-06 Thread Paul
Tom, Yaakov, Both solutions are great. I'll set the --append-exe in my bash aliases, and for systems outside of my normal working environment (e.g., working with someone on their unix sessions), I know I can force display of .exe using asterisk. Thanks! -- Problem reports: http://cygwin.com/

Re: Force "ls" to show .exe extension

2015-01-06 Thread Yaakov Selkowitz
On 2015-01-06 13:34, Paul wrote: Right now, if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop" shows pdfcrop rather than pdfcrop.exe. Is there any way to force ls to show the full filename (including extension) if it matched the ls argument, even if the ls argument doesn

Re: Force "ls" to show .exe extension

2015-01-06 Thread Tom Robinson
p.exe. Is there any way to force ls > to show the full filename (including extension) if it matched the ls > argument, even if the ls argument doesn't specify the extension? I > read http://cygwin.com/cygwin-ug-net/using-specialnames.html, which > helps explain the situati

Force "ls" to show .exe extension

2015-01-06 Thread Paul
Right now, if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop" shows pdfcrop rather than pdfcrop.exe. Is there any way to force ls to show the full filename (including extension) if it matched the ls argument, even if the ls argument doesn't specify the extensio

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Helmut Karlowski
Andy Koppe, 23.04.2013 22:07:11: Quite. Or just kill the cat. That's a solution in case of /bin/cat. But also any other process hanging that way can only be killed -9, no other signal can be caught by it (e.g. alarm), or is there a way to keep it going somehow? -- Helmut Karlowski -- Pr

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Larry Hall (Cygwin)
On 4/23/2013 4:07 PM, Andy Koppe wrote: On 23 April 2013 18:32, Christopher Faylor wrote: For now "Just don't do that". Quite. Or just kill the cat. I thought curiosity killed the cat. ;-) -- Larry _ A: Yes. > Q: Are

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Andy Koppe
On 23 April 2013 18:32, Christopher Faylor wrote: >>Similar happens when doing: >> >>cat /bin/gdb.exe >> >>for example. Something seems to overflow. I can reproduce that one. 'ps' output shows that 'cat' and 'mintty' are both waiting for output to finish, i.e. they're deadlocked waiting for each

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Andy Koppe
6-pc-cygwin > > OS: > Windows 8, probably all versions of windows > > > Summary: > Pasting certain characters into MinTTY running zsh locks up MinTTY > requiring a force close > > Steps to Reproduce: > > 1) Copy http://www.fileformat.info/info/unicode/char/1f63b/in

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Christopher Faylor
On Tue, Apr 23, 2013 at 07:03:03PM +0200, Helmut Karlowski wrote: >Jeff Crowell, 23.04.2013 18:58:07: > >> 1) Copy http://www.fileformat.info/info/unicode/char/1f63b/index.htm >> 2) paste into ZSH >> 3) press enter >> >> Actual Results: MinTTY hangs and does not respond > >Similar happens when doin

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Helmut Karlowski
Jeff Crowell, 23.04.2013 18:58:07: 1) Copy http://www.fileformat.info/info/unicode/char/1f63b/index.htm 2) paste into ZSH 3) press enter Actual Results: MinTTY hangs and does not respond Similar happens when doing: cat /bin/gdb.exe for example. Something seems to overflow. -- Helmut Karlow

BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Jeff Crowell
running zsh locks up MinTTY requiring a force close Steps to Reproduce: 1) Copy http://www.fileformat.info/info/unicode/char/1f63b/index.htm 2) paste into ZSH 3) press enter Actual Results: MinTTY hangs and does not respond Expected Results: prints "command not found" -- Jeff Crow

Re: cygport autoreconf --force step stomping on perfectly good config.guess file

2013-04-17 Thread Warren Young
On 4/16/2013 14:12, Yaakov (Cygwin/X) wrote: On 2013-04-16 11:04, Warren Young wrote: This overwrites the config.guess shipped with SQLite I cannot reproduce such an error with the 3.7.16.2 tarball, even with autoconf-2.69 and automake-1.13.1. Do you mean the offical SQLite "amalgamation" t

Re: cygport autoreconf --force step stomping on perfectly good config.guess file

2013-04-16 Thread Yaakov (Cygwin/X)
On 2013-04-16 11:04, Warren Young wrote: In trying to get sqlite3 built for 64-bit Cygwin, I've run into a wall: during the cygport compile step, it runs autoreconf --force -i --verbose This overwrites the config.guess shipped with SQLite with the one from automake 1.9. (I know thi

cygport autoreconf --force step stomping on perfectly good config.guess file

2013-04-16 Thread Warren Young
In trying to get sqlite3 built for 64-bit Cygwin, I've run into a wall: during the cygport compile step, it runs autoreconf --force -i --verbose This overwrites the config.guess shipped with SQLite with the one from automake 1.9. (I know this for a fact based on file sizes.) Tha

RE: setup.exe: force installation of specific package versions?

2011-10-05 Thread Buchbinder, Barry (NIH/NIAID) [E]
Andrew Schulman sent the following at Wednesday, October 05, 2011 12:01 PM >I run setup unattended as e.g. > >setup.exe --quiet-mode --packages aria2,atool,autoconf,... > >This works great, except for one thing: There are some packages for >which the "current" versions are broken, at least for me,

Re: setup.exe: force installation of specific package versions?

2011-10-05 Thread Andrew Schulman
> >There are some packages for which > >the "current" versions are broken, at least for me, so I want to keep the > >"prev" or some other already-installed version of the package. Is there a > >way to specify in the setup invocation that I want a particular version of > >a particular package? > >

Re: setup.exe: force installation of specific package versions?

2011-10-05 Thread Christopher Faylor
On Wed, Oct 05, 2011 at 12:00:43PM -0400, Andrew Schulman wrote: >I run setup unattended as e.g. > >setup.exe --quiet-mode --packages aria2,atool,autoconf,... > >This works great, except for one thing: There are some packages for which >the "current" versions are broken, at least for me, so I want

setup.exe: force installation of specific package versions?

2011-10-05 Thread Andrew Schulman
I run setup unattended as e.g. setup.exe --quiet-mode --packages aria2,atool,autoconf,... This works great, except for one thing: There are some packages for which the "current" versions are broken, at least for me, so I want to keep the "prev" or some other already-installed version of the pack

Re: Cygwin bash shell force closes on Amazon EC2 m2.xlarge Windows 2008 instances

2011-06-20 Thread Larry Hall (Cygwin)
On 6/20/2011 2:43 PM, Josh Gilmour wrote: Hi All - I have been seeing a weird issue with the AMI (ami-1cbd4475) - Windows 2008 R2 SP1. The issue is when I run the command 'if [ -e "file" ]; then echo "test"; fi' from the cygwin command prompt. When this command is run, the shell closes with no

Re: How to force sftp to expect a password from the keyboard in the batch mode

2008-12-21 Thread Larry Hall (Cygwin)
s password: sftp> but in the batch mode it doesn't asks a password and doesn't logins: $ cat batch cd uploads $ sftp -b batch u...@frs.sourceforge.net Permission denied (publickey,password,keyboard-interactive). Connection closed What am I doing wrong? Is it possible to force sftp to

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
I got this working. The issue was that the service install command listed the pid file, but so does the config. Also, the /etc/host.deny did not exist. Again, thanks so much for your help Kyle -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http:/

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
Yes, reading the readme file, I found that the pid file name. I changed it to the normal path /var/run/denyhost.pid But when it starts it stall says the same error: DenyHosts could not obtain lock (pid: ) [Errno 2] No such file or directory: '/var/lock/subsys/denyhosts' I change the -x option

Re: Stop Brute Force Attack on SSH

2008-02-17 Thread René Berber
Kyle A. Dawson wrote: Sorry, my mistake. I created a script, and the file had windows new lines... I always forget that with TextPad. But I did read the readme and now I have these files: denyhosts.cfg daemon-control So the install/config seem to work. When I start this I get error (/var

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
CTED] On Behalf Of René Berber Sent: Sunday, February 17, 2008 9:10 PM To: cygwin@cygwin.com Subject: Re: Stop Brute Force Attack on SSH Kyle A. Dawson wrote: > The install worked great. But when I try to create the service: > > cygrunsrv -I DenyHosts -p /usr/share/denyhosts/daemon-contro

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
Message- From: René Berber [mailto:[EMAIL PROTECTED] Sent: Sunday, February 17, 2008 9:03 PM To: Kyle A. Dawson Subject: Re: Stop Brute Force Attack on SSH Kyle A. Dawson wrote: > The install worked great. But when I try to create the service: > > cygrunsrv -I DenyHosts -p /usr/sha

Re: Stop Brute Force Attack on SSH

2008-02-17 Thread René Berber
Kyle A. Dawson wrote: The install worked great. But when I try to create the service: cygrunsrv -I DenyHosts -p /usr/share/denyhosts/daemon-control -a start -d DenyHosts -f "DenyHosts 2.6" -y sshd -x /var/run/denyhosts.pid -o I get this: cygrunsrv: unknown option -- Also, this does not exis

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
/denyhosts/daemon-control -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of René Berber Sent: Sunday, February 17, 2008 7:53 PM To: cygwin@cygwin.com Subject: Re: Stop Brute Force Attack on SSH Kyle Dawson wrote: > How can I stop attacks on my ssh d

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
That is what I was looking for. I will try this tonight, thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of René Berber Sent: Sunday, February 17, 2008 7:53 PM To: cygwin@cygwin.com Subject: Re: Stop Brute Force Attack on SSH Kyle Dawson wrote

Re: Stop Brute Force Attack on SSH

2008-02-17 Thread René Berber
Kyle Dawson wrote: How can I stop attacks on my ssh demon? I see thousands of attempts every day. I have, I believe good password policy but since I have clients, not 100% sure. Is there some config that I can set? One ip address comes in and tries for a day or so. Can it see that it is

RE: Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle A. Dawson
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Howard Chu Sent: Sunday, February 17, 2008 7:08 PM To: cygwin@cygwin.com Subject: Re: Stop Brute Force Attack on SSH Kyle Dawson wrote: > How can I stop attacks on my ssh demon? I see thousands of attempts ev

Re: Stop Brute Force Attack on SSH

2008-02-17 Thread Howard Chu
Kyle Dawson wrote: How can I stop attacks on my ssh demon? I see thousands of attempts every day. I have, I believe good password policy but since I have clients, not 100% sure. Is there some config that I can set? One ip address comes in and tries for a day or so. Can it see that it is t

Re: Stop Brute Force Attack on SSH

2008-02-17 Thread Adam Thompson
On 18/02/2008, Kyle Dawson <[EMAIL PROTECTED]> wrote: > How can I stop attacks on my ssh demon? I see thousands of attempts every > day. I have, I believe good password policy but since I have clients, not > 100% sure. Is there some config that I can set? One ip address comes in > and tries

Stop Brute Force Attack on SSH

2008-02-17 Thread Kyle Dawson
How can I stop attacks on my ssh demon?   I see thousands of attempts every day.  I have, I believe good password policy but since I have clients,  not 100% sure.  Is there some config that  I can set?  One ip address comes in and tries for a day or so.  Can it see that it is the same ip and just d

RE: Howto force winXP use cygwin "if test -n"

2007-08-29 Thread Dave Korn
On 29 August 2007 06:56, Jon Lambert wrote: >> "Dave Korn" wrote: >> Perhaps you should elaborate on the real underlying problem, rather than >> just showing us a symptom and asking for a cure based on your own unstated >> false diagnosis. >> > > The real problem is the Windows version of the

RE: Howto force winXP use cygwin "if test -n"

2007-08-28 Thread Jon Lambert
"Dave Korn" wrote: Perhaps you should elaborate on the real underlying problem, rather than just showing us a symptom and asking for a cure based on your own unstated false diagnosis. The real problem is the Windows version of the RMagick gem installation is broken. This is RMagick's prob

Re: Howto force winXP use cygwin "if test -n"

2007-08-28 Thread Larry Hall (Cygwin)
Hugo Martin (Tourbillon Enterprises) wrote: c:\> gem install rmagick --include-dependencies Run the above from within bash? No, from the windows cmd shell, I only need "if test -n", if I run it within bash I'd have to install all the apps I need again :( Now I think you're starting to u

RE: Howto force winXP use cygwin "if test -n"

2007-08-28 Thread Dave Korn
t; was unexpected at this time". > > Is it possible to force WinXP to use cygwin's "if"? c:\cygwin\bin is on the > PATH There is no such thing as "Cygwin's if". The 'if' command is a bash shell builtin. It does not exist as a separate exec

Re: Howto force winXP use cygwin "if test -n"

2007-08-27 Thread Hugo Martin \(Tourbillon Enterprises\)
c:\> gem install rmagick --include-dependencies Run the above from within bash? No, from the windows cmd shell, I only need "if test -n", if I run it within bash I'd have to install all the apps I need again :( -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem r

Re: Howto force winXP use cygwin "if test -n"

2007-08-27 Thread Larry Hall (Cygwin)
On 08/27/2007, Hugo Martin (Tourbillon Enterprises) wrote: Hello. I need to use cygwin's "if" command, the ruby gem I need to install tries to run "if test -n" in my winXP but the win32 "if" is used so it fails with "-n was unexpected at this time&

  1   2   >