Re: RANCID on Cygwin

2013-10-11 Thread Lee
-LR- regsub -all {^(.{1,11}).*([#>])$} $prompt {\1([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?} reprompt regsub -all {^(.{1,21}).*([#>])$} $prompt {\1([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?} reprompt expect { -re $reprompt {} -re "\[\n\r]+&

Re: Invoking Cygwin vim from Windows Explorer

2014-02-09 Thread Lee
c:\cygwin\bin (or wherever you installed cygwin), double-click on vi.exe > Probably the subject is best dropped. It is more a Windows problem than > a Cygwin one, and I have been getting by with the clumsy method for the > last ten years. I just thought there might be an easy fix.

Re: cmd.exe from Cygwin

2009-01-02 Thread Lee
a character somehow - escaping ("\\") or inside quotes works for me: $ cmd /c c:\util\showdev.bat 'c:utilshowdev.bat' is not recognized as an internal or external command, operable program or batch file. $ cmd /c c:\\util\\showdev.bat C:\cygwin\home\Lee>set devmgr_show_n

Re: WinSock: Connections/min & MaxUserPort=5000

2009-02-08 Thread Lee
when it is closing. While a connection is in the TIME_WAIT state, the socket pair cannot be re-used. According to RFC, the value should be two times the maximum segment lifetime on the network. See RFC793 for more details. Regards, Lee On 2/8/09, Uwe Appelt wrote: > Dear Cygwin-guys,

Re: Simple bash script is slow to execute - appears to be time spent starting commands like ls

2009-09-03 Thread Lee
$ time for n in $(seq 1 1); do /bin/true; done real3m6.641s user5m36.750s sys 1m49.580s $ time for n in $(seq 1 1); do true; done real0m0.453s user0m0.421s sys 0m0.046s $ uname -a CYGWIN_NT-5.1 33LTLG 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin Lee -- Probl

Re: Strange tar error with --format=ustar: value 4294967295 out of gid_t range 0..2097151

2009-09-14 Thread Lee
us due to previous errors > > It works FINE on the official build machine, just not MINE. So I reran > Cygwin setup and reinstalled and rebooted. No help. Did you run mkpasswd and mkgroup on your machine? i think an unknown user or group gets an id of 4294967295 Lee -- Problem repor

Re: Ugrent !! Reg. Executing the EXE generated by Cygwin

2008-06-13 Thread Lee
:\MyProgs\John\run\cygwin1.dll C:\MyProgs\TCPtrace\cygwin1.dll C:\MyProgs\win_xplot\bin\win9x\cygwin1.dll C:\MyProgs\win_xplot\bin\winNT\cygwin1.dll C:\UTIL\cygwin1.dll C:\> Regards, Lee -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

Re: Setup version

2008-08-07 Thread Lee
to figure out how to import the public key they give the link to. It seems a bit pointless anyway.. if someone is able to change the setup.exe offered for downloading I don't see why they couldn't also change the public key you download off the same page. Regards, Lee > > I

Re: Setup version

2008-08-08 Thread Lee
On 8/8/08, Dave Korn <[EMAIL PROTECTED]> wrote: > Lee wrote on 08 August 2008 05:51: > >> It's late, so I'm not going to try to figure out how to import the >> public key they give the link to. It seems a bit pointless >> anyway.. if someone is

Re: /usr/local, /var and */tmp in c:\Users\Public

2014-11-15 Thread Lee
give full-control perms to the local Administrator > account in the SAM case, or possibly the domain one in the AD case. Try installing cygwin as an admin. I suspect you'll get most, if not all, of what you're asking for. Regards, Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: /usr/local, /var and */tmp in c:\Users\Public

2014-11-15 Thread Lee
On 11/15/14, Jeffrey Altman wrote: > On 11/15/2014 12:55 PM, Lee wrote: > >>> So, just because I installed Cygwin with my regular user account, >> >> You're doing it wrong. Install Cygwin using an admin account and >> regular user accounts are not a

awk gsub problem

2010-09-15 Thread Lee
licenses/. $ --- on a Linux box & it works the way I expected: % sh /tmp/test.awk s= ::S0:: should = ::S0:: % awk --version GNU Awk 3.1.5 Copyright (C) 1989, 1991-2005 Free Software Foundation. ... snip ... Regards, Lee -- Problem reports: http://cygwin.com/problems.html

Re: awk gsub problem

2010-09-17 Thread Lee
On 9/16/10, Corinna Vinschen wrote: > On Sep 15 18:30, Lee wrote: >> I don't know if this is just a problem with the cygwin version of awk, >> me misunderstanding something or what, but it looks like gsub isn't >> working correctly in awk: >> $ sh /tm

Re: awk gsub problem

2010-09-19 Thread Lee
On 9/18/10, Corinna Vinschen wrote: > On Sep 18 11:21, Corinna Vinschen wrote: >> On Sep 17 22:30, Lee wrote: >> > On 9/16/10, Corinna Vinschen wrote: >> > > On Sep 15 18:30, Lee wrote: >> > >> I don't know if this is just a problem

Re: Portable Cygwin: replacing drivename in a text file

2010-11-24 Thread Lee
o @rem mountvol to find out the volume name @rem c:\TrueCrypt\TrueCrypt.exe /q /v \\?\Volume{..output from mountvol..}\ /l X .. invoke app .. c:\TrueCrypt\TrueCrypt.exe /q /dX HTH, Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Problem with Bash regex test case sensitivity

2010-12-03 Thread Lee
On 12/3/10, Lee Rothstein wrote: > Having some problems with bash case-sensitive regexes, so I wrote > this little test. ... snip ... > Do I have some Bash or Cygwin parameter set that engenders case > insensitivity? Probably the same thing I ran into with LANG != C try this

Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread Lee
On 12/3/10, Eric Blake wrote: > On 12/03/2010 07:11 PM, Lee wrote: >>> Or, is this a bug? > > No, but a "feature" of your locale. Set 'export LC_COLLATE=C', and use > LANG rather than LC_ALL for all your other locale defaults, in your > ~/.bashrc if yo

Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread Lee
On 12/4/10, Corinna Vinschen wrote: > On Dec 4 10:05, Lee wrote: >> On 12/3/10, Eric Blake wrote: >> > Read the FAQ. http://www.faqs.org/faqs/unix-faq/shell/bash/, E9. >> >> Which says the en_US locale collates the upper and lower case letters like >> this

Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread Lee
On 12/4/10, Lee Rothstein wrote: > On 12/4/2010 10:06 AM, Corinna Vinschen wrote: > > > On Dec 4 10:05, Lee wrote: > > >> On 12/3/10, Eric Blake wrote: > >>> Read the FAQ. http://www.faqs.org/faqs/unix-faq/shell/bash/, E9. > > >> Which sa

Re: Issues with TCP Window Scaling Factor and Cygwin Daemons

2011-12-14 Thread Lee
65535 and a widow scale of zero. Use putty from the dos prompt to ssh to the same machine and that has a window size of 65535 and a window scale of 2 Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Issues with TCP Window Scaling Factor and Cygwin Daemons

2011-12-15 Thread Lee
On 12/15/11, Dave Korn wrote: > On 15/12/2011 05:23, Lee wrote: >> On 12/14/11, David Groves wrote: >>> I am having some issues with cygwin applications (specifically sshd) >>> and TCP Window Scaling Factors. I am using OpenSSH client on either a >>> Debian Li

Re: Sorry "people" (NOT MY taxonomy!!), but igncr IS flawed

2011-12-17 Thread Lee
sing-language-in-different-ways communication problem. I saw > it earlier and it seemed perfectly polite and proper to me, I honestly can't > see what about it would offend you.) +1 Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.

problem with ~/.ssh/config ?

2015-09-15 Thread Lee
istp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1 if it helps any, ssh with the -v option: $ ssh -v 10.10.3.5 OpenSSH_7.0p1, OpenSSL 1.0.2d 9 Jul 2015 debug1: Reading configuration data /home/Lee/.ssh/config debug1: /home/Le

Re: problem with ~/.ssh/config ?

2015-09-15 Thread Lee
On 9/15/15, John Hein <3fbmqnh...@snkmail.com> wrote: > Lee wrote at 17:59 -0400 on Sep 15, 2015: > > OpenSSH 7.0 defaults to no support for diffie-hellman-group1-sha1 key > > exchange which is a problem with certain devices: > > > > $ ssh 10.10.3.5 > >

Re: Bash / cygwin process spawning (?) performance very slow

2015-09-24 Thread Lee
endencywalker.com/ on bash.exe with view/full paths enabled, does the Comodo Firewall dll stand out or is it just another .dll loaded from windows\system32? Regards, Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http

Re: Awk not ouputting results via echo

2015-11-23 Thread Lee
uot;$R_d" -v R_i="$R_i" \ 'BEGIN{R_t=6370; ... etc ... cmd=sprintf("%s %f %f %f %f %f %f %f %f %f %f\n", "echo ", on_e_min,lon_e_max,lat_e_min,lat_e_max,lon_i_min, lon_i_max,lat_i_min,lat_i_max,lat_av*18

Re: Fwd: SSHD not connecting from outside(real) IP

2016-01-06 Thread Lee
acket capture I normally use Wireshark, but alternatives are > available (doing it on your router would be ideal if it supports that). Just be aware that a wireshark capture on the target machine captures packets _before_ they're processed by the windows firewall, so if wireshark shows the packe

Re: ctrl-c doesn't reliably kill ping

2016-03-18 Thread Lee
On 3/16/16, Warren Young wrote: > On Mar 16, 2016, at 10:07 AM, Lee wrote: >> >> The last time I tried the cygwin ping program it didn't return a >> failure status > > It does if you don’t Ctrl-C out of it. So, if you’re using it from a > script, you just

Re: ctrl-c doesn't reliably kill ping

2016-03-19 Thread Lee
mer/internet/opt-out-of-dns-assist Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: ctrl-c doesn't reliably kill ping

2016-03-19 Thread Lee
example.com.. Please check the name and try again. $ echo $? 1 $ ping www.google.com. Pinging www.google.com [74.125.196.105] with 32 bytes of data: Reply from 74.125.196.105: bytes=32 time=19ms TTL=45 Reply from 74.125.196.105: bytes=32 time=21ms TTL=45 Reply from 74.125.196.105: bytes=32

Re: Removed: mingw.org toolchain

2016-03-21 Thread Lee
ome other host value? nit-picky, but should the FAQ be updated to remove "mingw-gcc"? 6.13 How do I compile a Win32 executable that doesn't use Cygwin? The compilers provided by the mingw-gcc, mingw64-i686-gcc, and mingw64-x86_64-gcc packages link against standard Microsoft DLL

Re: Removed: mingw.org toolchain

2016-03-21 Thread Lee
Thank you Lee On 3/21/16, JonY wrote: > On 3/22/2016 03:12, Lee wrote: >> On 3/17/16, Yaakov Selkowitz wrote: >>> The old mingw.org (i686-pc-mingw32) toolchain has been removed from the >>> Cygwin distribution. It was unmaintained (both upstream and downstream) >&g

Re: bash /cmd disagree about owner and permissions to executable

2019-12-26 Thread Lee
,user 0 0 none /cygdrive cygdrive binary,posix=0,user,noacl,exec 0 0 altho with cygwin saying 'Unknown+User Unknown+Group' I don't know if that will be enough :( Somebody else will have to help you with > Windows reports that the owner of the binary is > PANTER\Heidi, but /bin/ls reports Unknown+User? Regards, Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Files created with CYGWIN have "NULL SID:(DENY)" windows ACL, inter alia

2019-12-28 Thread Lee
y,posix=0,user 0 0 none /cygdrive cygdrive binary,posix=0,user,noacl,exec 0 0 $ which xcopy /cygdrive/c/windows/system32/xcopy $ ls -l /cygdrive/c/windows/system32/xcopy -rwxr-xr-x 2 Lee None 47616 Sep 15 2018 /cygdrive/c/windows/system32/xcopy.exe Regards, Lee -- Problem reports: ht

Re: with LS_COLORS customized, ls's color scheme reverts when cd'ing to directories not under HOME

2020-01-18 Thread Lee
-padd "/" to directory names # --append-exe append .exe if cygwin magic was needed alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' fi Regards, Lee -- Problem reports: http:

terminal control chars broken?

2020-01-23 Thread Lee
New Windows 10 PC, new install of 64 bit cygwin, building tidy and the make progress indicator is displayed on a new line each time. Since it is a new machine/setup it's probably something I'm missing/ didn't install, but I have no idea what :( Any idea how to keep the progress indicator on the s

Re: terminal control chars broken?

2020-01-23 Thread Lee
cygwin 3.0 instead of cygwin 3.1.2 could help My old machine is still on 3.0.7, so I guess that explains why I haven't run into this before Regards Lee > > пт, 24 янв. 2020 г. в 12:15, Lee >> >> New Windows 10 PC, new install of 64 bit cygwin, building tidy and the >&g

Re: Calling a Windows program changes terminal character attributes

2020-02-16 Thread Lee
- Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Console] "VirtualTerminalLevel"=dword:0001 - The registry fix was the answer I got for my "terminal control chars broken?" question to the list.. Thanks Lee -- Problem reports: http://cyg

Re: Is Cygwin 3.1.X Stable Enough to Use?

2020-02-20 Thread Lee
KEY_CURRENT_USER so you don't need admin privs to import it; on the minus side, it's HKEY_CURRENT_USER so you'll have to do it for every user on the machine that'll be using cygwin. Regards, Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cyg

Re: Is Cygwin 3.1.X Stable Enough to Use?

2020-02-20 Thread Lee
On 2/20/20, Takashi Yano wrote: > On Thu, 20 Feb 2020 16:28:26 -0500 > Lee wrote: >> For whatever it's worth, the only problem I've noticed with 3.1.4 was >> ansi control character handling and that was fixed by importing this >> bit into the registry: >&

Re: Is Cygwin 3.1.X Stable Enough to Use?

2020-02-20 Thread Lee
On 2/20/20, Brian Inglis wrote: > On 2020-02-20 18:27, Takashi Yano wrote: >> On Thu, 20 Feb 2020 18:15:59 -0700 >> Brian Inglis wrote: >>> On 2020-02-20 17:20, Takashi Yano wrote: >>>> On Thu, 20 Feb 2020 16:28:26 -0500 >>>> Lee wrote: >>>

Re: Is Cygwin 3.1.X Stable Enough to Use?

2020-02-20 Thread Lee
s a cygwin problem. It seems to be a cygwin problem; I've never seen anything like that with cmake before. & like I said earlier, this was from a mintty session started from a desktop shortcut I don't see that problem on my old PC $ uname -a CYGWIN_NT-10.0 i3668 3.0.7(0.338/5/

Re: Is Cygwin 3.1.X Stable Enough to Use?

2020-02-20 Thread Lee
On 2/20/20, Takashi Yano wrote: > On Thu, 20 Feb 2020 20:48:17 -0500 > Lee wrote: >> On 2/20/20, Takashi Yano wrote: >> > On Thu, 20 Feb 2020 16:28:26 -0500 >> > Lee wrote: >> >> For whatever it's worth, the only problem I've noticed with 3.1.

Re: Is Cygwin 3.1.X Stable Enough to Use?

2020-02-20 Thread Lee
On 2/20/20, Lee wrote: > I'll try backing out the registry change & see if it still happens. It doesn't happen now. I deleted HKEY_CURRENT_USER\Console\VirtualTerminalLevel rebooted deleted all the .o files under /source/tidy & rebuilt The output of cmake looks normal

Re: Is Cygwin 3.1.X Stable Enough to Use?

2020-02-21 Thread Lee
e seen doesn't happen after I upgraded and other pty issues seem to be closing fast Lee > > On Fri, 21 Feb 2020 at 09:41, Takashi Yano > wrote: >> >> On Thu, 20 Feb 2020 21:47:25 -0500 >> Lee wrote: >> > On 2/20/20, Lee wrote: >> > > I'll try

Re: Has rename syntax changed?

2020-02-28 Thread Lee
ename -v AnyThing anything *.exe rename: *.exe: not accessible: No such file or directory $ rename -v AnyThing anything *.ext `AnyThing.ext' -> `anything.ext' `xxAnyThingxx.ext' -> `xxanythingxx.ext' Lee -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: ASLR revisited

2020-03-02 Thread Lee
org/wiki/Address_space_layout_randomization # https://stackoverflow.com/questions/24283918/how-can-i-enable-aslr-dep-and-safeseh-on-an-exe-in-codeblocks-using-mingw # ASLR with gcc has a problem: -Wl,--dynamicbase doesn't emit the necessary relocation table. # As a workaround, you can

converting from -mno-cygwin

2016-04-26 Thread Lee
gwin 1.5, gcc -mno-cygwin requires cygwin.h to be included. Using i686-w64-mingw32-gcc if cygwin.h is inculded gcc barfs with a conflicting definition of [i don't remember]. It'd be nice if I could build using the old or new method without having to change the source code, so I'm g

Re: converting from -mno-cygwin

2016-04-26 Thread Lee
On 4/26/16, JonY wrote: > On 4/27/2016 05:08, Lee wrote: >> Questions: >> >> How to tell if I should be using libwinpthread or pthread? I had no >> idea so installed both: >> /usr/i686-w64-mingw32/sys-root/mingw/bin >> $ ls -l *hread* >> -rwxr-xr-x 1

Re: converting from -mno-cygwin

2016-04-28 Thread Lee
On 4/27/16, JonY wrote: > On 4/27/2016 08:32, Lee wrote: >> On 4/26/16, JonY wrote: >>> On 4/27/2016 05:08, Lee wrote: >>>> Questions: [.. snip ..] >> and maybe it's a problem. I haven't tracked it down yet, but >> GNUmakefile.in

bash tab completion

2016-08-06 Thread Lee
here is no command, alias or function that starts with "/tmp/xc" and so it seems like tab completion should give me the same thing as M-/ but it doesn't :-( Is there something I need to do so that tab completion after " >| " works? TIA, Lee -- Problem reports

bash tab completion

2016-08-24 Thread Lee
Anyone else have this problem or is it just me? Thanks Lee -- Forwarded message -- From: Lee Date: Sat, 6 Aug 2016 12:36:25 -0400 Subject: bash tab completion To: cygwin@cygwin.com I have # No over-writing files set -o noclobber in my .bash_profile, so if I want to redirect

Re: Script broken after updating bash to 4.3.46-7?

2016-09-04 Thread Lee
until there's a bash option that automatically translates '\r\n' line endings into '\n' line endings you're stuck doing some kind of work-around or using a cygwin version of mysql. Lee > And who knows how many other scripts might be broken, > I just didn't find

Re: URGENT: BAD signature from "Cygwin "

2016-09-29 Thread Lee
f an instance seems doubtful. On the other hand, I didn't even know setupXXX.exe was signed so I haven't been checking at all :( It'd be nice if someone could add a signature + public key link on the front page instead of having to click thru the "fresh install" or &q

Re: setup-x86.exe BAD signature from "Cygwin "

2016-10-17 Thread Lee
32 A9A2 62FF 6760 41BA have you tried downloading from both home & work? to different machines? Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Installing Cygwin on XP-SP3 with setup-x86.exe 2.874

2016-11-07 Thread Lee
and start over from scratch. Either way, you need to use the cygwin time machine http://www.fruitbat.org/Cygwin/timemachine.html to install/update cygwin on winXP. Regards, Lee > As a warning to anyone else running Cygwin on XP - I'm guessing my big > mistake was not noticing and leaving the def

Re: Cygwin TCP slow

2016-11-30 Thread Lee
[Makefile:632: all] Error 2 make[1]: Leaving directory '/source/iperf-3.1.4/src' make: *** [Makefile:381: all-recursive] Error 1 /source/iperf-3.1.4 $ TIA, Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Cygwin TCP slow

2016-11-30 Thread Lee
So unless there's some other reason for setting the send/receive buffer it seems that cygwin apps would be better off going with the defaults. Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: open IE from command line

2016-12-20 Thread Lee
On 12/20/16, Nellis, Kenneth wrote: > How to open a web page (remote or local) or launch IE from the mintty/bash > command line? > > I've tried the following: > > $ cygstart "http://www.google.com"; > $ cygstart index.html # local page > $ "/cygdrive/c/Program Files/Internet Explorer/iexplore.exe"

Re: open IE from command line

2016-12-20 Thread Lee
On 12/20/16, Eliot Moss wrote: > On 12/20/2016 5:38 PM, Andrey Repin wrote: >> Greetings, Lee! >> >>>> How to open a web page (remote or local) or launch IE from the >>>> mintty/bash >>>> command line? >>>> >>>

Re: open IE from command line

2016-12-21 Thread Lee
r\iexplore.exe" "https://www.google.com"; -bash: cmd: command not found $ cygstart "C:\Program Files\Internet Explorer\iexplore.exe" "https://www.google.com"; -- starts IE & loads www.google.com What happens if you do "C:\Program Files\Intern

UTF-8 character encoding

2018-06-20 Thread Lee
html: HTML document, UTF-8 Unicode text $ file test.c test.c: C source, ASCII text I used vi to create both files & I'd like to understand why file says one is ascii & the other is utf-8 Thanks, Lee -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: UTF-8 character encoding

2018-06-21 Thread Lee
On 6/20/18, Andrey Repin wrote: > Greetings, Lee! > >> I'm looking at >> https://cygwin.com/packaging-hint-files.html#pvr.hint >> and it starts off with >> Use UTF-8 character encoding. > >> How do I do that and how do I check that I actually did use

Re: UTF-8 character encoding

2018-06-25 Thread Lee
On 6/24/18, L A Walsh wrote: > Lee wrote: >> So... keep it simple, set >> LANG=en_US.UTF-8 >> and use vi or something else that comes with cygwin to create the file >> and I'll have a file with UTF-8 character encoding - correct? > --- > The first 12

Re: UTF-8 character encoding

2018-06-26 Thread Lee
yy yyxx110y10xx 16 yyxx111010yy 10xx 21 000u yyxx 0uuu10uu 10yy 10xx Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Do

Re: UTF-8 character encoding

2018-06-26 Thread Lee
On 6/26/18, Michael Enright wrote: > On Mon, Jun 25, 2018 at 11:33 AM, Lee wrote: >> I'm still trying to figure utf-8 out, but it seems to me that 0x0 - >> 0xff is part of the utf-8 encoding. > > I don't see how you arrived at this. I screwed up trying to do hex i

Re: wget does not recognize PKI?

2018-08-06 Thread Lee
BEGIN/ { c = $0; next } { c = c "\n" $0 } /^-END/ { print c|cmd; close(cmd); c = "" } ' # openssl x509 -noout -text # to see all the certificate info # oopenssl x509 -noout -subject # to see just the subject $ Regards, Lee > > $ ls -l /etc/ssl/certs/ > total

speeding up a paste operation

2018-08-24 Thread Lee
ndow already open) vi /tmp/hosts - i (get into insert mode) - right click (which I have set to "paste") data is still scrolling by & it's not even up to 100K lines yet :( Is there some way to make a paste operation faster in mintty (or vim or whatever the slowpoke is)? TIA

Re: speeding up a paste operation

2018-08-24 Thread Lee
On 8/24/18, James Darnley wrote: > On 2018-08-25 01:30, Lee wrote: >> In retrospect, I should have created the file some other way, but still.. >> - grab the top 1M hosts from from >> http://s3-us-west-1.amazonaws.com/umbrella-static/index.html >> - open w/ libreoffic

Re: speeding up a paste operation

2018-08-24 Thread Lee
On 8/24/18, Steven Penny wrote: > On Fri, 24 Aug 2018 19:30:10, Lee wrote: >> In retrospect, I should have created the file some other way, but still.. >> - grab the top 1M hosts from from >> http://s3-us-west-1.amazonaws.com/umbrella-static/index.html >> - open w/

Re: speeding up a paste operation

2018-08-25 Thread Lee
On 8/25/18, Frank Redeker wrote: > Am 25.08.2018 um 02:10 schrieb Lee: >> On 8/24/18, James Darnley wrote: >>> On 2018-08-25 01:30, Lee wrote: >>>> In retrospect, I should have created the file some other way, but >>>> still.. >>>> - gr

Re: speeding up a paste operation

2018-08-25 Thread Lee
On 8/25/18, wrote: > Am 25.08.2018 um 02:10 schrieb Lee: >> On 8/24/18, James Darnley wrote: >>> On 2018-08-25 01:30, Lee wrote: >>>> In retrospect, I should have created the file some other way, but >>>> still.. >>>> - grab the top 1M

Re: speeding up a paste operation

2018-08-28 Thread Lee
On 8/25/18, Andrey Repin wrote: > Greetings, Lee! > >>> >>> what about 'cp /dev/clipbord /tmp/hosts'? > >> Much better! That takes about the same time as pasting into notepad, >> so I'm guessing that's about as fast as I can expect. &

Re: getclip/putclip not present?

2018-10-04 Thread Lee
On 10/4/18, Greywolf wrote: > Greetings, > > I have two installations of x86_64 cygwin, one at home, one at work. Both > under windows 10. > > The one at work has getclip/putclip. > > The one at home does not, and I cannot locate them anywhere. https://cygwin.com/cgi-bin2/package-grep.cgi?grep=pu

Re: erro

2018-10-22 Thread Lee
p ... The solution for programs that come bundled with cygwin1.dll (like jtr here) is to replace the old cygwin1.dll that came with the program with a current copy. I have no idea if one can get just the current cygwin1.dll - if it is possible it'd be nice to add a how2 to the faq Lee

Re: erro

2018-10-24 Thread Lee
On 10/23/18, Andrey Repin wrote: > Greetings, Lee! > >>> https://cygwin.com/faq/faq.html#faq.using.fixing-find_fast_cwd-warnings > >> Except that the faq is wrong in this case: >> The solution is simply downloading and running Cygwin Setup ... > >> The

Re: Python 3.7.1

2018-10-31 Thread Lee
location so they don't conflict .. and make it easier to throw away when cygwin comes out with that or a later version. Regards, Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Something makes curl hang for 5 minutes after connection refused

2018-11-30 Thread Lee
http://127.0.0.1:2/ * Trying 127.0.0.1... * TCP_NODELAY set * connect to 127.0.0.1 port 2 failed: Connection refused * Failed to connect to 127.0.0.1 port 2: Connection refused * Closing connection 0 curl: (7) Failed to connect to 127.0.0.1 port 2: Connection refused with either version of

i686-w64-mingw32-gcc: LC_MESSAGES

2019-01-08 Thread Lee
US.UTF-8/en_US.UTF-8/en_US.UTF-8/en_US.UTF-8 after 'setlocale(LC_MESSAGES, "de_DE.utf8");' locale=C/en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/de_DE.utf8 $ i686-w64-mingw32-gcc lcmessages.c $ ./a LANG=en_US.UTF-8 initial locale: C after 'setlocale(LC_ALL

Re: i686-w64-mingw32-gcc: LC_MESSAGES

2019-01-09 Thread Lee
On 1/9/19, JonY wrote: > On 1/8/19 9:26 PM, Lee wrote: >> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/locale.h.html >> has a note for LC_MESSAGES: >> The functionality described is an extension to the ISO C standard. >> Application developers may make u

Re: i686-w64-mingw32-gcc: LC_MESSAGES

2019-01-09 Thread Lee
On 1/9/19, Douglas Coup wrote: > > On 1/9/2019 1:14 PM, Lee wrote: >> On 1/9/19, JonY wrote: >>> On 1/8/19 9:26 PM, Lee wrote: >>>> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/locale.h.html >>>> has a note for LC_MESSAGES: >>>&

Re: i686-w64-mingw32-gcc: LC_MESSAGES

2019-01-09 Thread Lee
On 1/9/19, Brian Inglis wrote: > > On 2019-01-09 12:43, Lee wrote: >> On 1/9/19, Douglas Coup wrote: >>> >>> On 1/9/2019 1:14 PM, Lee wrote: >>>> On 1/9/19, JonY wrote: >>>>> On 1/8/19 9:26 PM, Lee wrote: >>>>>> http://p

Re: i686-w64-mingw32-gcc: LC_MESSAGES

2019-01-09 Thread Lee
On 1/9/19, JonY wrote: > On 1/9/19 7:43 PM, Lee wrote: >>> MSVCR = MicroSoft Visual C Run-time (I think) >> > > Yes, as implemented by msvcrt.dll. cool - makes much more sense now. Thank you! >> Meaning i686-w64-mingw32-gcc uses the Microsoft libraries vs. cygwi

Re: bash string-operator problem

2019-02-21 Thread Lee
because you're testing "A==B" you need to give 3 parameters "A" "==" "B" $ cat x #!/bin/bash A="A" B="A" if [ $A != $B ]; then echo "not identical" fi if [ $A == $B ]; then echo "identical" fi if [ A

Re: bash string-operator problem

2019-02-21 Thread Lee
On 2/21/19, john doe wrote: > On 2/21/2019 5:18 PM, Lee wrote: >> On 2/21/19, Rockefeller, Harry wrote: >>> CYGWIN_NT-6.1 HARRYR-PC 3.0.0(0.336/5/3) 2019-02-16 13:21 x86_64 Cygwin >>> GNU bash, version 4.4.12(3)-release (x86_64-unknown-cygwin) >>> >>>

Re: SSL not required for setup.exe download

2019-03-11 Thread Lee
that"? > This is my opinion only of course, but if cygwin wants to have any > security credibility, it should simply disallow non-SSL downloads of > setup.exe. Otherwise the chain of authenticity is broken forever. They sign setup.exe, so "the chain of authenticity" is th

Re: SSL not required for setup.exe download

2019-03-12 Thread Lee
ble occasion. I don't think it's a false sense of security. https:// isn't "safe" but it is _safer_ than http:// Regards, Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: SSL not required for setup.exe download

2019-03-12 Thread Lee
On 3/12/19, Archie Cobbs wrote: > On Mon, Mar 11, 2019 at 6:00 PM Lee wrote: >> > I must say I'm surprised so many people think it's a good idea to >> > leave cygwin open to trivial MITM attacks, which is the current state >> > of affairs. >> >>

Re: SSL not required for setup.exe download

2019-03-12 Thread Lee
On 3/12/19, Andrey Repin wrote: > Greetings, Lee! > >>> Which is way worse in my opinion, than any theoretical MITM attack, >>> which >>> is easily mitigated with proper validation of your downloads. > >> Serious question - exactly how does one do "p

Re: SSL not required for setup.exe download

2019-03-12 Thread Lee
On 3/12/19, Achim Gratz wrote: > Lee writes: >> I don't think it's a false sense of security. https:// isn't "safe" >> but it is _safer_ than http:// > > Unless you are in an environment where an extra root cert is injected > just to be able to b

Re: SSL not required for setup.exe download

2019-03-12 Thread Lee
On 3/12/19, Andrey Repin wrote: > Greetings, Lee! > >>> It gives you false sense of security. What is worse, everybody is >>> attempting >>> to reassure this false sense on every possible occasion. > >> I don't think it's a false sense of securi

Re: SSL not required for setup.exe download

2019-03-12 Thread Lee
On 3/12/19, Andrey Repin wrote: > Greetings, Lee! > >>>>> Which is way worse in my opinion, than any theoretical MITM attack, >>>>> which >>>>> is easily mitigated with proper validation of your downloads. >>> >>>&g

Re: Why is __unix__ defined, and not __WINDOWS__ ?

2019-05-12 Thread Lee
27;#define _WIN32 ' $ echo | i686-w64-mingw32-gcc -dM -E -xc - | grep '#define _WIN32 ' #define _WIN32 1 Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: More on Win7 update messing up HOME

2019-08-16 Thread Lee
as my Cygwin home. Have you checked /etc/nsswitch.conf yet? $ cat /etc/nsswitch.conf # /etc/nsswitch.conf # #This file is read once by the first process in a Cygwin process tree. #To pick up changes, restart all Cygwin processes. For a description #see https://cygwin.com/cygwi

Re: My C arrays are too large

2019-09-13 Thread Lee
OVERFLOW at rip=001004010C6 <.. snip ..> Search for "cygwin STATUS_STACK_OVERFLOW" and find https://github.com/OpenFAST/openfast/issues/144 which gives you $ gcc -o a.exe -Wl,--stack,0x100 starray.c $ ./a $ peflags -x a.exe a.exe: stack reserve size : 16777216 (0

Re: Unexpected behavior from cygpath command

2019-11-14 Thread Lee
On 11/13/19, Alfred von Campe wrote: > On Nov 13, 2019, at 2:08, Frank Redeker wrote: > >> I think on both systems the handling of 8.3 names is configured >> differently. You can check this with the Window command fsutil. (This >> command requires elevated permissions) >> >> I get the following out

Re: Updated: setup (2.880)

2017-06-27 Thread Lee
07 Jun 2017 16:58:31 GMT > Date: Tue, 27 Jun 2017 20:39:27 GMT > Age: 0 > Via: 1.1 ironport.tms.local:80 (Cisco-WSA/10.1.0-204) that it looks like you've got a cisco ironport playing mitm with your traffic. <.. snip ..> > Note the response from the Apache serve

gpg ca-cert-file=[which file???]

2017-07-15 Thread Lee
trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: BE0E 9748 B718 253A 28BB 89FF F1B1 1BF0 5CF0 2E57 Is there a better/more-correct file to use for the ca-cert-file= parameter? How hard would it be to add hkps:// usage exampl

Re: gpg ca-cert-file=[which file???]

2017-07-15 Thread Lee
On 7/15/17, Jim Garrison wrote: > On 7/15/2017 11:40 AM, Lee wrote: >> It seems a bit silly to be downloading pgp keys 'in the clear', so >> after a bit of searching I think I want >> keyserver hkps://whatever > > Public keys are intended to be public. Why do

Re: gpg ca-cert-file=[which file???]

2017-07-15 Thread Lee
On 7/15/17, René Berber wrote: > On 7/15/2017 1:40 PM, Lee wrote: > > [snip] >> in my ~/.gnupg/gpg.conf so I can do auto-key-retrieve securely ... or >> at least over an encrypted channel. But what file should I be using >> as the ca-cert file? > > You should be

  1   2   3   4   5   6   >