Re: cannot display man page for /bin/passwd
Greetings, Corinna Vinschen! When I try to display the man page for /bin/passwd, the man page for the openssl passwd subcommand is displayed. It appears that both the package containing /bin/passwd, and the openssl package place the passwd.1.gz file in the /usr/share/man/man1 directory, so that only the man page from the most recently installed package is displayed. No, the Cygwin passwd tool has no man page. That's sad. Can we change it? The documentation is only in the User's Guide: https://cygwin.com/cygwin-ug-net/using-utils.html#passwd While reading the page, I've noticed a discrepancy in options synopsis and further description of the tool operation. Namely, options --minage, --maxage parameter spelled as DAYS, while down the text they are referred to as MINDAYS and MAXDAYS. I suggest changing the options description to match the text, as that it'll make more sense. Also, the paragraph All operations affecting the current user is missing a $ sign in reference to environment variable LOGONSERVER. The phrase to enter a password which is probably missing a comma. Other question is relevance of a requirement to run cygserver as a service under the LocalSystem account for modern times. Slightly unrelated question. I've noticed, that if a paragraph in source file have line break after a period, the page is rendered with two spaces between a period and first letter of next sentence, even though there's only one character (a linefeed) exists. No stray spaces, no CR's. Is this intended? The latter issue can be demonstrated with this little sample: echo -e .TH test 1\n.SH NAME\nJust\ntwo.\nSpaces.\n | man -l - -- WBR, Andrey Repin (anrdae...@yandex.ru) 05.08.2014, 14:58 Sorry for my terrible english... passwd.1 Description: Binary data -- 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: cannot display man page for /bin/passwd
On Aug 6 21:21, Andrey Repin wrote: Greetings, Corinna Vinschen! When I try to display the man page for /bin/passwd, the man page for the openssl passwd subcommand is displayed. It appears that both the package containing /bin/passwd, and the openssl package place the passwd.1.gz file in the /usr/share/man/man1 directory, so that only the man page from the most recently installed package is displayed. No, the Cygwin passwd tool has no man page. That's sad. Can we change it? Would you like to take over maintainance of the cygwin-doc package? It's orphaned and in desperate need of an active maintainer. The documentation is only in the User's Guide: https://cygwin.com/cygwin-ug-net/using-utils.html#passwd While reading the page, I've noticed a discrepancy in options synopsis and further description of the tool operation. Namely, options --minage, --maxage parameter spelled as DAYS, while down the text they are referred to as MINDAYS and MAXDAYS. I suggest changing the options description to match the text, as that it'll make more sense. Good idea, fixed in CVS. Also, the paragraph All operations affecting the current user is missing a $ sign in reference to environment variable LOGONSERVER. No, that's deliberate at this point. The phrase to enter a password which is probably missing a comma. Hmm, not sure. The English language is pretty lazy in terms of punctuation characters. Other question is relevance of a requirement to run cygserver as a service under the LocalSystem account for modern times. That's ok. The cygserver service typically runs as SYSTEM. Slightly unrelated question. I've noticed, that if a paragraph in source file have line break after a period, the page is rendered with two spaces between a period and first letter of next sentence, even though there's only one character (a linefeed) exists. No stray spaces, no CR's. Is this intended? Yes, for the English language. See http://en.wikipedia.org/wiki/History_of_sentence_spacing#French_and_English_spacing Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat pgpNrBTU5707H.pgp Description: PGP signature
Re: cannot display man page for /bin/passwd
Greetings, Corinna Vinschen! When I try to display the man page for /bin/passwd, the man page for the openssl passwd subcommand is displayed. It appears that both the package containing /bin/passwd, and the openssl package place the passwd.1.gz file in the /usr/share/man/man1 directory, so that only the man page from the most recently installed package is displayed. No, the Cygwin passwd tool has no man page. That's sad. Can we change it? Would you like to take over maintainance of the cygwin-doc package? It's orphaned and in desperate need of an active maintainer. That's tempting. I'll think about it. It doesn't involve deep knowledge in the C language, I assume? (Which I'm lacking.) Also, the paragraph All operations affecting the current user is missing a $ sign in reference to environment variable LOGONSERVER. No, that's deliberate at this point. If we are to think about it as actual Windows environment variable being propagated to affect Cygwin processes, it makes sense. I'll amend the man page in this regard. The phrase to enter a password which is probably missing a comma. Hmm, not sure. The English language is pretty lazy in terms of punctuation characters. Uhhu... Slightly unrelated question. I've noticed, that if a paragraph in source file have line break after a period, the page is rendered with two spaces between a period and first letter of next sentence, even though there's only one character (a linefeed) exists. No stray spaces, no CR's. Is this intended? Yes, for the English language. See http://en.wikipedia.org/wiki/History_of_sentence_spacing#French_and_English_spacing Thanks. It was looked deliberate, judging from reproducibility on a number of available systems, was just unsure, why. Should probably follow locale settings, though... And it looks weird on fixed-width terminal, especially if you are using pretty-printing font (with most of punctuation shifted to the left). Looks almost like there's 3 spaces between sentences. -- WBR, Andrey Repin (anrdae...@yandex.ru) 06.08.2014, 23:46 Sorry for my terrible english... -- 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: cannot display man page for /bin/passwd
On Aug 6 23:57, Andrey Repin wrote: Greetings, Corinna Vinschen! When I try to display the man page for /bin/passwd, the man page for the openssl passwd subcommand is displayed. It appears that both the package containing /bin/passwd, and the openssl package place the passwd.1.gz file in the /usr/share/man/man1 directory, so that only the man page from the most recently installed package is displayed. No, the Cygwin passwd tool has no man page. That's sad. Can we change it? Would you like to take over maintainance of the cygwin-doc package? It's orphaned and in desperate need of an active maintainer. That's tempting. I'll think about it. It doesn't involve deep knowledge in the C language, I assume? (Which I'm lacking.) Not necessary. It's a documentation package :) Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat pgpqAVJYbaF5d.pgp Description: PGP signature
Re: cannot display man page for /bin/passwd
On Aug 4 13:48, Doug Henderson wrote: When I try to display the man page for /bin/passwd, the man page for the openssl passwd subcommand is displayed. It appears that both the package containing /bin/passwd, and the openssl package place the passwd.1.gz file in the /usr/share/man/man1 directory, so that only the man page from the most recently installed package is displayed. No, the Cygwin passwd tool has no man page. The documentation is only in the User's Guide: https://cygwin.com/cygwin-ug-net/using-utils.html#passwd Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat pgp88OgSoQAu2.pgp Description: PGP signature
RE: cannot display man page for /bin/passwd
From: Corinna Vinschen No, the Cygwin passwd tool has no man page. The documentation is only in the User's Guide: https://cygwin.com/cygwin-ug-net/using-utils.html#passwd But then, how to explain the following? $ man passwd | head PASSWD(1) CYGWIN PASSWD(1) NAME - Change USER's password or password attributes. SYNOPSIS passwd [OPTION] [USER] $ --Ken Nellis
Re: cannot display man page for /bin/passwd
On Aug 5 13:43, Nellis, Kenneth wrote: From: Corinna Vinschen No, the Cygwin passwd tool has no man page. The documentation is only in the User's Guide: https://cygwin.com/cygwin-ug-net/using-utils.html#passwd But then, how to explain the following? $ man passwd | head PASSWD(1) CYGWIN PASSWD(1) NAME - Change USER's password or password attributes. SYNOPSIS passwd [OPTION] [USER] $ I don't have that, but a package search educated me that a passwd.1 man page is part of the cygwin-doc package. In the next OpenSSL release I will apply the same patch as the Linux maintainer, which is, rename the passwd.1 to sslpasswd.1. That should help. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat pgpbF63bXL5V_.pgp Description: PGP signature
Re: cannot display man page for /bin/passwd
On Tue, Aug 5, 2014 at 2:21 AM, Corinna Vinschen wrote: On Aug 4 13:48, Doug Henderson wrote: When I try to display the man page for /bin/passwd, the man page for the openssl passwd subcommand is displayed. It appears that both the package containing /bin/passwd, and the openssl package place the passwd.1.gz file in the /usr/share/man/man1 directory, so that only the man page from the most recently installed package is displayed. No, the Cygwin passwd tool has no man page. The documentation is only in the User's Guide: https://cygwin.com/cygwin-ug-net/using-utils.html#passwd Corinna My apologies if this is a transitional problem related to the recent changes to the /etc/passwd file, but … Attached is a short script to demonstrate the problem I described. cyg-passwd.sh (attached with a .txt exension), will pause 3 times while you run setup-x86_64.exe to 1) install pending changes and make sure cygwin-doc and openssl are installed, 2) reinstall cygwin-doc, 3) reinstall openssl. Attached is the output from my short script. Attached is the output from cygcheck -svr. With 30+ years experience on *nix systems, the man page is my first stop for usage details on any program. I believe this problem should be directed to the attention of the openssl package maintainer. Thanks for your continued attention. Doug -- Doug Henderson, Calgary, Alberta, Canada : export MANWIDTH=80 rm -f cyg-passwd.txt echo cyg-passwd.txt echo -e \nrun setup to install all pending changes cyg-passwd.txt echo -n run setup to install all pending changes : read JUNK echo -e \n$ cygcheck -l cygwin-doc cyg-passwd.txt cygcheck -l cygwin-doc | grep passwd cyg-passwd.txt echo -e \n$ cygcheck -l openssl cyg-passwd.txt cygcheck -l openssl | grep passwd cyg-passwd.txt echo -e \n$ cygcheck -cv cygwin-do cyg-passwd.txt cygcheck -cv cygwin-doc cyg-passwd.txt echo -e \n$ cygcheck -cv openssl cyg-passwd.txt cygcheck -cv openssl cyg-passwd.txt echo -e \nrun setup to reinstall cygwin-doc package cyg-passwd.txt echo -n run setup to reinstall cygwin-doc package : read JUNK echo -e \n$ man passwd cyg-passwd.txt man passwd | head cyg-passwd.txt echo -e \nrun setup to reinstall openssl package cyg-passwd.txt echo -n run setup to reinstall openssl package : read JUNK echo -e \n$ man passwd cyg-passwd.txt man passwd | head cyg-passwd.txt run setup to install all pending changes $ cygcheck -l cygwin-doc /usr/share/man/man1/mkpasswd.1.gz /usr/share/man/man1/passwd.1.gz $ cygcheck -l openssl /usr/share/man/man1/passwd.1.gz $ cygcheck -cv cygwin-do Cygwin Package Information Last downloaded files to: D:\Users\Doug\Downloads\cygwin Last downloaded files from: http://mirrors.kernel.org/sourceware/cygwin/ Package VersionStatus cygwin-doc 1.7-1 OK $ cygcheck -cv openssl Cygwin Package Information Last downloaded files to: D:\Users\Doug\Downloads\cygwin Last downloaded files from: http://mirrors.kernel.org/sourceware/cygwin/ Package VersionStatus openssl 1.0.1h-1 OK run setup to reinstall cygwin-doc package $ man passwd PASSWD(1) CYGWIN PASSWD(1) NAME - Change USER's password or password attributes. SYNOPSIS passwd [OPTION] [USER] run setup to reinstall openssl package $ man passwd PASSWD(1) OpenSSL PASSWD(1) NAME passwd - compute password hashes SYNOPSIS openssl passwd [-crypt] [-1] [-apr1] [-salt string] [-in file] [-stdin] [-noverify] [-quiet] [-table] {password} Cygwin Configuration Diagnostics Current System Time: Tue Aug 05 15:06:07 2014 Windows 7 Home Premium Ver 6.1 Build 7601 Service Pack 1 Path: D:\cygwin64\home\Doug\bin D:\cygwin64\usr\local\bin D:\cygwin64\bin D:\oraclexe11g2\app\oracle\product\11.2.0\server\bin C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common C:\Program Files\Common Files\Microsoft Shared\Windows Live C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem C:\Windows\System32\WindowsPowerShell\v1.0 C:\Program Files (x86)\Windows Live\Shared C:\Program Files (x86)\IronRuby 1.1\bin D:\Go\Go64\bin C:\Users\Doug\bin D:\oraclexe11g2\app\oracle\product\11.2.0\server\bin C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common C:\Program Files\Common Files\Microsoft Shared\Windows Live C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem C:\Windows\System32\WindowsPowerShell\v1.0 C:\Program Files (x86)\Windows Live\Shared C:\Program Files (x86)\IronRuby 1.1\bin D:\Go\Go64\bin Output from D:\cygwin64\bin\id.exe UID: 1001(Doug) GID:
Re: cannot display man page for /bin/passwd
On 08/05/2014 11:09 AM, Doug Henderson wrote: On Tue, Aug 5, 2014 at 2:21 AM, Corinna Vinschen wrote: On Aug 4 13:48, Doug Henderson wrote: When I try to display the man page for /bin/passwd, the man page for the openssl passwd subcommand is displayed. It appears that both the package containing /bin/passwd, and the openssl package place the passwd.1.gz file in the /usr/share/man/man1 directory, so that only the man page from the most recently installed package is displayed. No, the Cygwin passwd tool has no man page. The documentation is only in the User's Guide: https://cygwin.com/cygwin-ug-net/using-utils.html#passwd Corinna My apologies if this is a transitional problem related to the recent changes to the /etc/passwd file, but … Attached is a short script to demonstrate the problem I described. cyg-passwd.sh (attached with a .txt exension), will pause 3 times while you run setup-x86_64.exe to 1) install pending changes and make sure cygwin-doc and openssl are installed, 2) reinstall cygwin-doc, 3) reinstall openssl. Attached is the output from my short script. Attached is the output from cygcheck -svr. With 30+ years experience on *nix systems, the man page is my first stop for usage details on any program. I believe this problem should be directed to the attention of the openssl package maintainer. Thanks for your continued attention. Did you not see this https://cygwin.com/ml/cygwin/2014-08/msg00097.html and now this? https://cygwin.com/ml/cygwin/2014-08/msg00100.html -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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: cannot display man page for /bin/passwd
On Tue, Aug 5, 2014 at 10:48 AM, Larry Hall (Cygwin) wrote: On 08/05/2014 11:09 AM, Doug Henderson wrote: On Tue, Aug 5, 2014 at 2:21 AM, Corinna Vinschen wrote: On Aug 4 13:48, Doug Henderson wrote: snip Did you not see this https://cygwin.com/ml/cygwin/2014-08/msg00097.html and now this? https://cygwin.com/ml/cygwin/2014-08/msg00100.html -- Larry Actually, I did not. I can see the unread message count, but not the messages unless I save the reply I am composing as a draft. With all the RL distractions going on, it took much longer than I expected to compose my reply - something like 3 hours! But you got be looking for a way to pop-out a reply, like I can for a new message. Found it! This should never happen again. Thanks, Doug -- Doug Henderson, Calgary, Alberta, Canada -- 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