RE: Running tasklist /m in cygwin hangs
Hi, Running "tasklist /m file.dll" hangs in Cygwin even though it works perfectly fine in the cmd window. Is there any reason for this? I am using a somewhat older cygwin (1.7.25) on a Windows 7 box, and do not want to upgrade unless newer cygwin doesnt show the problem. Thank you. -- 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: Running tasklist /m in cygwin hangs
I can confirm it still hangs for me with 1.7.35. I am using the 32 bit (i686) Cygwin which is the only difference from Andrey's. > Date: Wed, 15 Apr 2015 22:15:57 +0300 > From: anrdae...@yandex.ru > To: saur...@hotmail.com; cygwin@cygwin.com > Subject: Re: Running tasklist /m in cygwin hangs > > Greetings, Saurabh T! > >> Running >> "tasklist /m file.dll" hangs in Cygwin > > First, mintty (I assume you did mean that) is not "Cygwin" itself. > >> even though it works perfectly fine in the cmd window. > > I hope you did mean native console by that. > >> Is there any reason for this? I am using a >> somewhat older cygwin (1.7.25) on a Windows 7 box, and do not want to >> upgrade unless newer cygwin doesnt show the problem. Thank you. > > $ tasklist /m normaliz.DLL | iconv -f CP866 > > Имя образа PID Модули > = > > taskhost.exe 3492 normaliz.DLL > litestep.exe 2172 normaliz.DLL > spideragent.exe 3336 normaliz.DLL > > Results are the same if running in mintty or native console. > No hangs can be seen from my side. > CYGWIN_NT-6.1 daemon2 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64 Cygwin > CYGWIN_NT-6.1 daemon2 2.0.0(0.287/5/3) 2015-04-15 17:39 x86_64 Cygwin > > > -- > With best regards, > Andrey Repin > Wednesday, April 15, 2015 22:07:13 > > 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
peflags makes perl not print to stdout
I have been trying to get perl to use 2GB of memory (this is on a 32 bit xp machine with 4 GB total memory). As per http://cygwin.com/cygwin-ug-net/setup-maxmem.html I tried peflags --cygwin-heap=2048 /usr/bin/perl However this causes perl to not write to screen. On further investigation, I found the magic number to be 1040: $ peflags --cygwin-heap=1039 /usr/bin/perl /usr/bin/perl: initial Cygwin heap size: 1039 (0x40f) MB $ perl -e 'print "Hello\n";' Hello $ peflags --cygwin-heap=1040 /usr/bin/perl /usr/bin/perl: initial Cygwin heap size: 1040 (0x410) MB $ perl -e 'print "Hello\n";' $ In other words, anything 1040 and above, perl stops writing to screen. I have the latest cygwin (1.7.16) and perl (5.14.2). Any idea what might be wrong? Thank you. -- 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: rm -r removes directory but reports "cannot remove 'dir', directory not empty"
> What is that I: drive? What does `mount' print as filesystem type of > /cygdrive/i, and what does `/usr/lib/csih/getVolInfo /cygdrive/i' > print(*)? I assume I: is not Samba, right? > Corinna mount shows: I: on /cygdrive/i type cifs (binary,posix=0,user,noumount,auto) compared to C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto) > /usr/lib/csih/getVolInfo /cygdrive/ Device Type: 7 Characteristics: 10 Volume Name: Serial Number : 110167052 Max Filenamelength : 255 Filesystemname : Flags : 3 FILE_CASE_SENSITIVE_SEARCH : TRUE FILE_CASE_PRESERVED_NAMES : TRUE FILE_UNICODE_ON_DISK: FALSE FILE_PERSISTENT_ACLS: FALSE FILE_FILE_COMPRESSION : FALSE FILE_VOLUME_QUOTAS : FALSE FILE_SUPPORTS_SPARSE_FILES : FALSE FILE_SUPPORTS_REPARSE_POINTS: FALSE FILE_SUPPORTS_REMOTE_STORAGE: FALSE FILE_VOLUME_IS_COMPRESSED : FALSE FILE_SUPPORTS_OBJECT_IDS: FALSE FILE_SUPPORTS_ENCRYPTION: FALSE FILE_NAMED_STREAMS : FALSE FILE_READ_ONLY_VOLUME : FALSE FILE_SEQUENTIAL_WRITE_ONCE : FALSE FILE_SUPPORTS_TRANSACTIONS : FALSE I believe I: is Samba (says so in "My Computer"). Thanks, saurabh -- 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
Max memory page hosed my cygwin registry - how to get it back?
I ran the regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 1024 command from http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html After this regtool -v list /HKLM/Software/Cygwin shows nothing. Appears regtool has a different syntax than what's shown on the page. (a) How do I get my previous settings (default, cygwin 1.7) back? Is there any problem not having the registry values in there? (b) Whom do I kick for writing faulty documentation? saurabh -- 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: Max memory page hosed my cygwin registry - how to get it back?
On Fri, Oct 22, 2010 at 10:13:36PM +, Saurabh T wrote: >I ran the >regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 1024 >command from >http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html > >After this >regtool -v list /HKLM/Software/Cygwin >shows nothing. > In that case you're probably doing something wrong. At the very least, you aren't following the guidelines suggested here: http://cygwin.com/problems.html >Appears regtool has a different syntax than what's shown on the page. > >(a) How do I get my previous settings (default, cygwin 1.7) back? Is >there any problem not having the registry values in there? >(b) Whom do I kick for writing faulty documentation? I'd suggest reading this link, referenced at the above web page: http://www.catb.org/~esr/faqs/smart-questions.html cgf I understand you dont have a lot of time to respond to emails, but if you cant respond helpfully, please attempt to read the email before polluting the thread with a dismissive reply. regtool has a different syntax from what is shown on the max memory page. regtool -i set Key\Value not regtool -i set Key Value. Doing the latter seems to have removed the cygwin registry values. I asked how to get the original registry values back, and whether there was a problem not having these values. Ok I admit (b) was a pitiful attempt at http://dictionary.com/browse/humor. saurabh -- 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: peflags makes perl not print to stdout
Hi, I asked this before and havent gotten a reply. Is there any other information I can provide? This is currently quite a bummer for me. Any help will be greatly appreciated. Thanks. From: saurabh To: cygwin Subject: peflags makes perl not print to stdout Date: Mon, 24 Sep 2012 17:29:42 + I have been trying to get perl to use 2GB of memory (this is on a 32 bit xp machine with 4 GB total memory). As per http://cygwin.com/cygwin-ug-net/setup-maxmem.html I tried peflags --cygwin-heap=2048 /usr/bin/perl However this causes perl to not write to screen. On further investigation, I found the magic number to be 1040: $ peflags --cygwin-heap=1039 /usr/bin/perl /usr/bin/perl: initial Cygwin heap size: 1039 (0x40f) MB $ perl -e 'print "Hello\n";' Hello $ peflags --cygwin-heap=1040 /usr/bin/perl /usr/bin/perl: initial Cygwin heap size: 1040 (0x410) MB $ perl -e 'print "Hello\n";' $ In other words, anything 1040 and above, perl stops writing to screen. I have the latest cygwin (1.7.16) and perl (5.14.2). Any idea what might be wrong? Thank you. -- 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
Bold color in "cygwin bash shell"
Hi, For various reasons, I cannot switch to rxvt or similar, and am stuck using the cygwin bash shell (which runs on top of the dos cmd window). Here, the background color defaults to black and foreground to light. I reversed this using the dos window -> Properties -> Colors. However the bold color does not change. This causes for example man pages to be displayed badly (light text on light background). Is there anything that can be done to change the bold color? I searched on this mailing list and found just one similar question from 10 years ago which was unanswered: http://cygwin.com/ml/cygwin/2002-01/msg01512.html Hopefully someone can help. Thank you. saurabh -- 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: Bold color in "cygwin bash shell"
Date: Wed, 17 Oct 2012 13:04:02 -0400 Subject: Re: Bold color in "cygwin bash shell" Found this nice tip but haven't tried it myself. http://linuxtidbits.wordpress.com/2009/03/23/less-colors-for-man-pages/ -- Earnie -- Thanks for all the help. Earnie's suggestion worked. I ended up adding: export LESS_TERMCAP_md=$'\e[1;34m' in ~/.bashrc, which paints those in bold blue. Alternatively, making the cmd background a light grey instead of completely white also works in that the original bold white color is clearly visible. saurabh -- 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
Source a .bat file from bash
Is there a way to source a .bat file from bash and have the paths and other environment variables set in it apply in cygwin? For example $ echo $PATH /usr/local/bin:/usr/bin $ cat file.bat set path=%path%;C:\windows\something set x=somevar $ some_command file.bat $ echo $PATH /usr/local/bin:/usr/bin:/cygdrive/c/windows/something <- Expected $ echo $x somevar <- Expected Is this possible? Thanks, saurabh -- 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
Mintty terminal always opens at 79 char width
n/t. Despite being set to 80 in the Options, Apply/Save being done, minttyrc being manually edited to say Columns=80, windows keep opening at 79 char width. This is on Windows 10 Home with the latest 32 bit Cygwin 2.11.2. I've tried both Consolas and Lucida Console font. Thanks, saurabh -- 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: Mintty terminal always opens at 79 char width
There is no match. From: Marco Atzeri Sent: Saturday, November 17, 2018 10:44 AM To: cygwin@cygwin.com Subject: Re: Mintty terminal always opens at 79 char width Am 17.11.2018 um 16:28 schrieb Saurabh T: > n/t. Despite being set to 80 in the Options, Apply/Save being done, minttyrc > being manually edited to say Columns=80, windows keep opening at 79 char > width. This is on Windows 10 Home with the latest 32 bit Cygwin 2.11.2. I've > tried both Consolas and Lucida Console font. Thanks, > saurabh what is the output of $ set | grep COLUMNS --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus -- 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: Mintty terminal always opens at 79 char width
From: Thomas Wolff Sent: Sunday, November 18, 2018 8:16 AM To: Saurabh T Subject: Re: Mintty terminal always opens at 79 char width Am 17.11.2018 um 16:28 schrieb Saurabh T: > Despite being set to 80 in the Options, Apply/Save being done, minttyrc being > manually edited to say Columns=80, windows keep opening at 79 char width. > This is on Windows 10 Home with the latest 32 bit Cygwin 2.11.2. I've tried > both Consolas and Lucida Console font. Thanks, > saurabh Please try to minimize/remove your config file and quote a minimal configuration that has the effect. Do you have the scrollbar enabled? That was helpful! Removed .minttyrc, then opened a terminal, the problem had disappeared. Now bringing back the same exact .minttyrc does not have any problem. Thank you! saurabh -- 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
"man" failing all the time with status 3
n/t. Following is the error message: man: command exited with status 3: /usr/libexec/man-db/zsoelim | /usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE | preconv -e UTF-8 | tbl | nroff -mandoc -Tascii I just upgraded cygwin and have (uname -a): CYGWIN_NT-10.0-WOW tacuki 2.8.0(0.309/5/3) 2017-04-01 20:42 i686 Cygwin Thank you for any help. saurabh -- 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: "man" failing all the time with status 3
Nvm. Just ran setup-x86 again and problem seems to have fixed itself. Wonder what it was though. saurabh From: Saurabh T Sent: Monday, June 26, 2017 8:54 AM To: Cygwin Subject: "man" failing all the time with status 3 n/t. Following is the error message: man: command exited with status 3: /usr/libexec/man-db/zsoelim | /usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE | preconv -e UTF-8 | tbl | nroff -mandoc -Tascii I just upgraded cygwin and have (uname -a): CYGWIN_NT-10.0-WOW tacuki 2.8.0(0.309/5/3) 2017-04-01 20:42 i686 Cygwin Thank you for any help. saurabh -- 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