Re: CYGWIN_NOWINPATH (was Re: /etc/profile: avoid multiple /usr/bin in PATH)
On 9/8/2016 8:07 AM, Corinna Vinschen wrote: On Sep 5 10:36, Doug Henderson wrote: I set CYGWIN_NOWINPATH=1 in my user environment variables, i.e. in registry, not in a cmd shell. I expect it needs to be seen when the first cygwin1.dll instance starts, so you would need to stop all cygwin processes and servers, just like you do when you run the cygwin setup, for this to be effective. Ouch, no! Environment variables are handed down from parent to child process. On all systems, be it Windows, Cygwin, Linux or whatever. There's *no* other magic involved. It's just a bunch of strings inherited from the parent process. Yes, but Explorer induces confusion as follows (seen on Windows 7): 1. Open a Command Prompt from the Start Menu (so cmd.exe is a child of explorer.exe), and enter "echo %foobar%". See output "%foobar%". Environment variable foobar is not set. 2. Enter "setx foobar 99" to add foobar to the persistent environment variables in the Registry. 3. Enter "echo %foobar%" again in the same Command Prompt. Still see "%foobar%". No change in that process's environment, as expected. 4. Launch a new Command Prompt from the Start Menu. Enter "echo %foobar%". See "99". Clearly, Explorer updated it's environment from the Registry and passed the change to the new child process. This leads people to think that environment variables stored in the Registry are special, when in fact it's Explorer's doing. -- Fran -- 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
Where do I download test releases?
I see announcement with "TEST RELEASE" in the subject. Are these the same as the snapshots available at https://cygwin.com/snapshots/ ? I suspect not, because there are fewer snapshots than test release announcements. If test releases are not snapshots, where can I download them? Thanks in advance. -- Fran -- 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
setfacl fails to replace ACLs when given a pathname starting with a drive letter
I notice that setfacl does not change the ACLs of a file when given a pathname starting with a drive letter (e.g., c:/temp/zzz), but it will work when given a UNIX-style pathname (e.g., /cygdrive/c/temp/zzz). Example below. Is this a known problem? -- Fran $ /bin/ls -l zzz -rw-r--r--+ 1 littef Domain Users 0 Mar 10 16:39 zzz $ getfacl zzz # file: zzz # owner: littef # group: Domain Users user::rw- group::r-- group:root:rwx group:SYSTEM:rwx group:Users:r-x mask:rwx other:r-- $ setfacl -s user::rw-,group::r--,other::r-- c:/temp/zzz $ getfacl zzz # file: zzz # owner: littef # group: Domain Users user::rw- group::r-- group:root:rwx group:SYSTEM:rwx group:Users:r-x mask:rwx other:r-- $ setfacl -s user::rw-,group::r--,other::r-- /cygdrive/c/temp/zzz $ getfacl zzz # file: zzz # owner: littef # group: Domain Users user::rw- group::r-- mask:rwx other:r-- -- 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: setfacl fails to replace ACLs when given a pathname starting with a drive letter
DePriest, Jason R. jrdepriest at gmail.com writes: On Wed, Mar 10, 2010 at 3:43 PM, Francis Litterio wrote: I notice that setfacl does not change the ACLs of a file when given a pathname starting with a drive letter (e.g., c:/temp/zzz), but it will work when given a UNIX-style pathname (e.g., /cygdrive/c/temp/zzz). Example below. Is this a known problem? I'm pretty sure it is more of a feature than a problem. The path of c:/temp/zzz doesn't have any meaning in POSIX. I suppose we're lucky Cygwin supports that format for *any* actions. But it used to work. I noticed this after updating to the latest release. If the drive-letter form of the pathname is not acceptable to the tool, it should complain, but (like most Cygwin utilities) it probably doesn't care about the syntax of the pathname, as long as open(2) accepts it. -- Fran -- 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: setfacl fails to replace ACLs when given a pathname starting with a drive letter
DePriest, Jason R. jrdepriest at gmail.com writes: According to http://cygwin.com/cygwin-ug-net/using.html#using-pathnames, Cygwin supports both Win32 and POSIX file paths and they are translated internally on-the-fly as needed. Indeed. Cygwin has allowed pathnames to start with drive letters for as long as I can remember. It also specifically mentions this: POSIX operating systems (such as Linux) do not have the concept of drive letters. Instead, all absolute paths begin with a slash (instead of a drive letter such as c:) and all file systems appear as subdirectories (for example, you might buy a new disk and make it be the /disk2 directory). Yes, but I'm not sure how that's relevant to the behavior of setfacl when given a pathname starting with a drive letter. By the way, when you said updating to the latest release do you mean you upgraded a 1.5 installation to 1.7.1 or a 1.7.1 to some newer version of 1.7.1? No, not that old. I was upgrading from an installation I had done about 8 months ago. This gets stranger. Watch this: $ /bin/ls -l /cygdrive/c/temp/xyz -rwx--+ 1 littef Domain Users 6714 Mar 1 15:07 /cygdrive/c/temp/xyz $ /bin/ls -l c:/temp/xyz -rw-r--r-- 1 littef Domain Users 6714 Mar 1 15:07 c:/temp/xyz Notice the '+' indicating additional ACLs on the file when a UNIX pathname is used, but the '+' is missing when a drive-letter is used. This also did not used to happen. It is as if the presence of drive letters is suppressing awareness of ACLs within the Cygwin layer. Anyone know if this was this done on purpose? -- Fran -- 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: setfacl fails to replace ACLs when given a pathname starting with a drive letter
Eric Blake eblake at redhat.com writes: Yes, this is on purpose. Use of a drive letter says that you DON'T want POSIX path processing, therefore, you are also giving up ACL processing. Moral of the story - don't expect drive letters to do what you want. Use POSIX paths. Thanks, Eric. I just wanted to be sure this wasn't a bug. -- Fran -- 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: Run a script in the Background
Diogo Branco wrote: Hi, i have Cygwin install on a Windows 2003 Machine and i whant to run a script on the background from time to time how can I accomplish that? You can do this in a Bash shell: $ myscript output You may want to follow the above command with: $ disown so that the script continues to run when you exit Bash. This can also be achieved by starting the script with the nohup command. If you want to launch the script from a Windows shortcut, make the shortcut run this command: cygstart --hide bash c:/path/to/myscript You will probably want to make the shortcut start minimized, otherwise you see a console window flash on the screen briefly when you launch the shortcut. -- Fran -- 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: Run a script in the Background
Francis Litterio wrote: If you want to launch the script from a Windows shortcut, make the shortcut run this command: cygstart --hide bash c:/path/to/myscript You will probably want to make the shortcut start minimized, otherwise you see a console window flash on the screen briefly when you launch the shortcut. Actually, this command does the same without needing to make the shortcut start minimized: run bash c:/path/to/myscript -- Fran -- 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: Magic disappearing e
Ned Ludd wrote: I have a strange issue. The letter e magically disappears in my cygwin bash terminal. If I type e, and only the e, at the prompt, nothing appears until I type the next character. If I type ee, only the first one hides. The others appear normally. This seems similar to the behavior when you are SSH'ed into a remote host and you type a command that starts with '~' (the SSH escape character). Until the SSH client sees the next character it doesn't know whether to process the '~' as a normal input character or to handle a special local command (e.g. ~. disconnects, ~# lists forwarded connections, etc.). Are you by any chance running a program that behaves this way? -- Fran -- 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: ABI unification
Dave Korn wrote: Perhaps this can be fixed for any non-x86 Cygwin port? The very concept of a non-x86 Cygwin port is meaningless nonsense. You need to do a bit more homework. I suggest you start by reading the first sentence on the first page at http://cygwin.com/. Doesn't Windows Server 2003 run on Intel's Itanium processor? Technically, that's a non-x86 Windows platform. -- Fran -- 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: How to run cygwin compiled/linked application on machine without cygwin installed?
René Berber wrote: And you need Cywin/X running (the above library is for X windows) which is a lot more than a list of libraries. Well, an X application can display itself on a different computer, so the OP doesn't necessarilly need to run X on machine B. -- Fran -- 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/
How to prevent new files from having ACL that grants SYSTEM full control?
I have ntsec enabled, and I have the permissions on all my personal files and directories set so that /bin/ls will show the permissions without the trailing '+'. Thus, /bin/ls shows me extactly who has access to my files, and I don't have use Explorer or cacls to see who has access. Whenever I create a new file or directory in one of my directories using a non-Cygwin Windows application (e.g., Wordpad), the file has the following ACLs: c:\franl\todo.txt CORP\flitteri:F NT AUTHORITY\SYSTEM:F which causes /bin/ls to show the permissions as rwx--+. Is there any way to prevent the SYSTEM ACE from appearing in the ACL of new files and directories created by Windows applications (thus eliminating the '+' from the /bin/ls output)? At first, I thought the SYSTEM ACE was being inherited from the directory in which the file was created, but that's not the case. There is no SYSTEM ACE in the ACL on the containing directory. Any suggestions? -- Francis Litterio franl at world . std . com -- 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: What is rebase and why did I need to run it on a fresh re-install?
Jason Tishler wrote: Peter, On Thu, Jan 13, 2005 at 04:29:25AM +0100, Peter Valdemar M?rch wrote: * What does rebase do? As its name implies, rebase rebases (i.e., changes) the base address of DLLs. See the following for more details: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/tools/rebase.asp Why on Earth are virtual addresses hardcoded into DLLs? Do UNIX systems do this for shared libraries? I've never heard of such a thing under UNIX. Shouldn't the NT kernel's page tables allow DLL text and data sections to be loaded at any virtual address without requiring a copy of the DLL to be made (i.e., rebasing)? Just curious. -- Francis Litterio franl at world . std . com -- 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: Obscene content in cygwin file.
Andrew DeFaria wrote: Gary R. Van Sickle wrote: Cygwin already provides the content. Accidentally, and without the knowledge or consent of the user. Bull. It is not installed by default. The user must select it, thus that's his consent. The user does not know he is giving consent to installing fortune when he is doing a full install of Cygwin. There are over 500 hundred packages in a full Cygwin install. -- Francis Litterio franl at world . std . com -- 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: Obscene content in cygwin file.
Andrew DeFaria wrote: Francis Litterio wrote: Andrew DeFaria wrote: Gary R. Van Sickle wrote: Cygwin already provides the content. Accidentally, and without the knowledge or consent of the user. Bull. It is not installed by default. The user must select it, thus that's his consent. The user does not know he is giving consent to installing fortune when he is doing a full install of Cygwin. There are over 500 hundred packages in a full Cygwin install. 1) Ignorance is no defense That's debatable in this case. 2) even doing a full Cygwin install (whatever that means) fortune is not selected by default (it wasn't for me). It was for me. Perhaps you did not do a full install of Cygwin? -- Francis Litterio franl at world . std . com -- 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: Obscene content in cygwin file.
Gary R. Van Sickle wrote: Good thing I didn't install it at work, and that I don't work at a Megacorp that has whole departments devoted to rooting through peoples' files looking for reasons to fire them. IMHO, this is the single best reason for obfuscating the profanity with rot13. -- Francis Litterio franl at world . std . com -- 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: Limitation in SCP?
Bob Smart wrote: I've discovered that in some circumstances, scp seems to get tired early when transferring a largish file (around 200MB). It copies diligently for the first 20-40MB (exactly where it stops varies from run to run), then CPU usage drops to zero, the file stops growing on the receiving end, there's no apparent network traffic, and everything just pretty much halts. A ps shows the scp task running, but not doing anything. I've seen the same thing, except I see scp stop transferring data _very_ close to the end of the large file (i.e., within 1 bytes of the end). I've only seen this when scp'ing files that are over 100 MB. I've found that this equivalent command works when scp fails: ssh remotehost cat remotefile localfile I've only seen this when copying between two W2K machines In my case it's only between two XP machines. -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- 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/
PATCH to get bc 1.06-1 to build with readline support under Cygwin
I installed the bc source package (bc-1.06-1-src.tar.bz2) and configured it to build with readline support as follows: cd /usr/src/bc-1.06-1 ./configure --with-readline --prefix=/usr/local The build fails with a syntax error related to the readline support: $ make ... gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h-g -O2 -Wall -funsigned-char -c scan.c scan.l:146: error: conflicting types for `readline' /usr/include/readline/readline.h:277: error: previous declaration of `readline' I made the following small change to the source code in scan.l and bc builds just fine: --- scan.l.orig 2004-02-13 16:22:26.847595200 -0500 +++ scan.l 2004-02-13 16:21:55.702811200 -0500 @@ -143,7 +143,7 @@ /* Definitions for readline access. */ extern FILE *rl_instream; -_PROTOTYPE(char *readline, (char *)); +/* _PROTOTYPE(char *readline, (char *)); */ /* rl_input puts upto MAX characters into BUF with the number put in BUF placed in *RESULT. If the yy input file is the same as I hope the Cygwin bc maintainer can integrate this change. bc is much nicer to use when it has readline support. -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- 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: decent fonts for rxvt in cygwin
Edward Peschko wrote: I've been searching for decent fonts in cygwin, and haven't found a really good method for doing so. You might find my Windows version of the classic X Window system 6x10 font useful: http://world.std.com/~franl/6x10.html -- 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: cygwin/1.3.20-1 bash child process disassociation behaviorweirdness
Max Bowsher wrote: Richard H. Broberg wrote: In the meantime I'll happily use rxvt in place of bash, since it does what I need. You are confused. rxvt is a terminal. bash is a shell. Looked at another way: rxvt is a GUI application. bash is a console application. When bash runs, Windows allocates a console. When rxvt runs, Windows doesn't allocate a console. Very different behaviors result. -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Fw: Creating an ssh key with ssh-keygen
Joshua S. Abbott wrote: Anyone know how to use the -t switch with ssh-keygen?? Like this: bash$ ssh-keygen -t dsa -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: change bc to use readline
Christopher Faylor wrote: On Thu, Feb 27, 2003 at 02:41:53PM -0800, Philip Nemec wrote: I recently installed another fresh copy of cygwin and was reminded of a complaint I have with bc... Perhaps you'd like to be the bc maintainer? I rarely use it and have no burning desire to continue to support it. Just an FYI ... On Oct 3, 2002, I posted to this list a patch to get bc to link against libreadline under Cygwin. Here's my posting: http://sources.redhat.com/ml/cygwin/2002-10/msg00177.html -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Is there cygwin port of docbook?
Elfyn McBratney wrote: I'm wondering whether there is cygwin port of docbook. I want to use it in my office, but I don't wanna bother to install a whole Linux OS just in order to use docbook. Someone, Me thinks the DocBook maintainer, posted a message to [EMAIL PROTECTED] a little while ago saying that he had a mirror that would provide this port for a short while. Jump quickly and you might find it ;-) FWIW, here's a shell script that uses xsltproc to render DocBook XML into HTML. You'll need to change the STYLESHEET variable to point at whatever XML stylesheet you're using. Invoke this script like this: bash$ db2html mydoc.xml #!/bin/sh STYLESHEET=$HOME/work2/ldp/xsl/ldp-html.xsl TMPFILE=/tmp/db2html.html rm -f $TMPFILE xsltproc --output $TMPFILE $STYLESHEET $@ if [ $OSTYPE = cygwin ] then if [ -f $TMPFILE ] then cygstart $TMPFILE else messagebox db2html No HTML file produced due to errors! fi else echo HTML file is $TMPFILE. fi exit 0 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
How to make setup.exe download everything?
I recently tried to use setup.exe to download everything from the latest Cygwin release, but setup.exe only lets me download packages that are not already installed. I need to download everything so I can instal Cygwin on a non-networked machine, can anyone tell me how to use setup.exe to download packages that I already have installed? -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: RXVT geometry bug
[EMAIL PROTECTED] wrote: But if I run: rxvt -g 80x25 -fn 8X16 the window that appears is BIGGER and does not properly function. I can confirm that it's bigger -- I count 26 lines and 80 columns when rxvt 2.7.2 is invoked with -geometry 80x25. The font does not seem to matter. -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
What is the W2K equivalent of chgrp groupname file?
I just upgraded to a Cygwin 1.3.15-2, and I'm using ntsec-style security with NTFS for the first time. This has me wondering about group ownership of files, specifically: What is the W2K equivalent of the command chgrp groupname file? Using Explorer, I can change the user that owns a file or directory, but I see no way to change the group owner. Is group ownership really a feature of NTFS or is it faked by Cygwin? -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
How do I stop newly-created files from being +x?
I'm using Cygwin 1.3.15-1 with ntsec on an NTFS filesystem. I have my umask set to 077, and when I create a new file from a Cygwin application, it's permissions are rw-r--r--, which is what I expect. But if I create a new file from a non-Cygwin application (e.g., copy a file using Explorer), Cygwin applications show its permissions as rwxr-xr-x, which is not what I expect. Is there any way to make it so that files created by non-Cygwin applications do not appear executable to Cygwin applications? I think this is happening because the ACLs on my directory are: c:\franl MYDOMAIN\litterio:(OI)(CI)F MYDOMAIN\Domain Users:(OI)(CI)R Everyone:(OI)(CI)R I think this is happening because the F (full control) access is marked (OI)(CI) (object inherit + container inherit). I've played with cacls.exe to attempt to fix this, but to no avail. Anyone else having this problem? Anyone know how to fix it? -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Question about umask and CYGWIN=ntsec
I'm using Cygwin 1.3.12-4 with CYGWIN=ntsec on an NTFS filesystem, and I have my umask set to 177, but when I create a new file with touch foo, the permissions on the file are rwxr-xr-x. Is there any way to use ntsec and not have all newly created files appear with execute permissions? -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Patch to get bc 1.06 to compile under Cygwin with readline library.
I downloaded and installed the Cygwin source code to bc 1.06, but it would not build under Cygwin 1.3.12-2 when configured with --enable-readline unless I made a small change to bc/scan.l (which may or may not be the right way to fix the compiler error about symbol readline having conflicting definitions, one in scan.l and one in /usr/include/readline/readline.h). The patch is below. Hope this helps. -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. --- scan.l.orig 2002-10-03 10:45:18.0 -0400 +++ scan.l 2002-10-03 10:43:23.0 -0400 @@ -143,7 +143,7 @@ /* Definitions for readline access. */ extern FILE *rl_instream; -_PROTOTYPE(char *readline, (char *)); +/* _PROTOTYPE(char *readline, (char *)); */ /* rl_input puts upto MAX characters into BUF with the number put in BUF placed in *RESULT. If the yy input file is the same as -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Bug in rxvt 2.7.2: shift-pageup/pagedown ignored with -sk option
Cygwin version: 1.3.12-2 Application: rxvt 2.7.2 If I invoke rxvt as follows: rxvt -sk and then fill the window with lots of output, such as from the command ls -l c:/winnt then the shift-pageup and shift-pagedown keypresses fail to scroll the window (except for the very first shift-pageup)! The -sk option is documented as: -sk|+sk Turn on/off scroll-to-bottom on keypress; resource scrollTtyKeypress. Based on the description of that option, I wouldn't expect shift-pageup and shift-pagedown to stop working. I think this is a bug. -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gpg file permissions
C. Porter Bassett [EMAIL PROTECTED] writes: Whenever I try to run gpg, I get the errors: gpg: Warning: unsafe permissions on file /home/porter/.gnupg/options gpg: Warning: unsafe permissions on file /home/porter/.gnupg/random_seed gpg: Warning: unsafe permissions on file /home/porter/.gnupg/secring.gpg gpg: Warning: unsafe permissions on file /home/porter/.gnupg/pubring.gpg This is making it impossible for my cygwin gpg to work for enigmail in mozilla. Is there a way around this? Put: no-permission-warning into your ~/.gnupg/options file. -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. Eschew obfuscation! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to get GnuPG and EGD to work together under Cygwin?
Volker Quetschke [EMAIL PROTECTED] writes: Has anyone managed to get GnuPG and EGD (the Entropy Gathering Daemon -- http://egd.sourceforge.net/) to work together under Cygwin? never tried ;-) but it should be possible. Did you read the annoncement concerning gnupg 1.0.7-3? http://cygwin.com/ml/cygwin/2002-08/msg01059.html The relevant part is: * Fixed the use of loadable modules. Now all modules can be loaded with the --load-extension=modulename command. The standard build will link rndlinux statically, but if you run $ ./configure --enable-static-rnd=none then also the rndegd random generator modules will be build as a loadable module. Attention! Now you have to call gpg with --load-extension=rnd??? to make it work properly. Actually, I never tried, but it may work. Please let me know if it does. I got it to work. I downloaded the GnuPG source code from the Cygwin Web site, configured with --enable-static-rnd=egd --disable-dev-random and now it works fine with EGD. I had to alter EGD to gather data using commands appropriate for Windows rather than UNIX (e.g., ps -W instead of vmstat, netstat -a -n -p tcp instead of netstat -ant). One fun way to get good entropy is to use this gathering command: wget -O - http://www.earthwatch.com/SKYWATCH/images/IRUS2D.jpg It fetches a periodically-updated ~50 KB JPEG weather satellite image of North America. The opportunities for gathering entropy from Webcams are abundant, and the weather is nicely chaotic! Talk about the butterfly effect on the weather! Now a butterfly flapping its wings in Japan can affect GnuPG key generation around the world. -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
How is Cygwin's version stamp (currently 1.3.12-2) determined?
About three or four weeks ago, I downloaded and installed Cygwin 1.3.12-2. Today, I re-ran setup.exe, and it downloaded several newer packages, yet the Web site still claims that this is Cygwin 1.3.12-2. What are the criteria for changing the Cygwin revision stamp? -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
How to get GnuPG and EGD to work together under Cygwin?
Has anyone managed to get GnuPG and EGD (the Entropy Gathering Daemon -- http://egd.sourceforge.net/) to work together under Cygwin? On W2K, using GnuPG 1.07 that comes with Cygwin 1.3.12-2, I cannot get GnuPG to read entropy from the UNIX domain socket created by EGD. I run EGD as follows: egd.pl --nofork --debug-client ~/.gnupg/entropy This causes it not to fork a daemon and to display client entropy requests to STDERR. I verify that the socket ~/.gnupg/entropy is created by EGD, but EGD never reports any clients fetching entropy, even though I use GnuPG to encrypt messages. I have this line in my ~/.gnupg/options file: load-extension rndegd as suggested by the EGD documentation. I know that GnuPG is reading my ~/.gnupg/options file, because other options I put there (e.g., armor) take effect. I get no errors from GnuPG, yet it seems to use some other source of entropy (rather than EGD). I'm worried that GnuPG is using a poor quality PRNG for entropy. I'd rather have it use EGD-gathered entropy. Any help is appreciated. -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/