Re: File output Question

2011-01-03 Thread ERIC HO
Thanks Andy for your explanation on why vim interpreting the utf 16 file as ascii. Eric. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubs

Re: File output Question

2011-01-02 Thread ERIC HO
Looking at this closer, I've found the file contains hex '00' between characters. In vim, it displays ^@ for hex '00'. So it looks unreadable. But when I use cat or tail commands, it strips off hex '00' and looks readable. For example. in vim, it displays: p...@r^@o...@d^@u...@c^@t^@: With cat

File output Question

2011-01-01 Thread ERIC HO
Using the cat or file command on a file, the output is readable. But if I use vim or less command, the output is either unreadable or nothing displayed. Not sure why the file output is readable from some commands and not others. Any way I can use vim/less command to display this file readable? T

Re: [ANNOUNCEMENT] [experimental] Updated: readline-6.1.2-1, libreadline7-6.1.2-1

2010-12-29 Thread ERIC HO
FYI. The new readline update has resolved the bash/readline spinout in vi command mode that I reported earlier. Thanks. Eric. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe inf

Re: bash/readline spinout in vi command mode (fix identified)

2010-04-25 Thread ERIC HO
Thanks Dave for the steps to identify looping routines. Much appreciated! Eric -- 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-simpl

Re: bash/readline spinout in vi command mode (fix identified)

2010-04-25 Thread ERIC HO
Got an update from the bash maintainer that the fix will be in the next readline release. Hi Dave, in your one update that you used gdb to identify the looping readline routines. I'd appreciate if you could show me the steps to do this so that I can do similar debugging myself next time. Than

Re: bash/readline spinout in vi command mode (fix identified)

2010-04-24 Thread ERIC HO
I downloaded the readline source and reviewed the looping rountines identified. It seems that the loop heappens when it is a null command line. If the command line contains some characters, the loop does not happen. I'm not a expert in C so I reported to the readline maintainer who responded wi

Re: bash loop using mintty

2010-04-17 Thread ERIC HO
Hi Andy, you are right, I just tested it under xterm and bash loops as well with shift F12. Eric -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml

Re: DBD-DB2-1.78 driver for Perl V5.10 under CYGWIN 1.7.4

2010-04-17 Thread ERIC HO
The attached script file was provided to me by T.Allsopp and it works. His email to cygwin somehow never delivered. Regards, Eric. fix.sh Description: Binary data -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: htt

bash loop using mintty

2010-04-17 Thread ERIC HO
I reported a couple of times of the bash loop problem before. But it seems the problem could bot be duplicated by others. I use "mintty -" to start up a terminal session. Today, I found out the problem. The loop is caused by set -o vi in my .bashrc. After I removed that statement, I can hit shi

Re: DBD-DB2-1.78 driver for Perl V5.10 under CYGWIN 1.7.4

2010-04-12 Thread ERIC HO
Thanks Reini. I suppose Gerrits's advice is to create an import lib of the IBM db2.dll and link against it. Not sure how to do it. Please let me know if someone has done this on a DB2 V9 system. Thanks. Eric -- Problem reports: http://cygwin.com/problems.html FAQ: http:

DBD-DB2-1.78 driver for Perl V5.10 under CYGWIN 1.7.4

2010-04-10 Thread ERIC HO
Just wondering if anyone has successfully installed DBD-DB2-1.78 driver for Perl V5.10 under CYGWIN 1.7.4 successfully. Please let me know the changes required to install it. Thanks. Regards, Eric -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com

Re: R: bash hang question

2010-02-27 Thread ERIC HO
al Message - From: Marco Atzeri Date: Friday, February 26, 2010 11:19 pm Subject: R: bash hang question To: cygwin@cygwin.com, ERIC HO > --- Sab 27/2/10, ERIC HO ha scritto: > > > I reported a bash hang issue a few > > months ago. When in bash, after enter ESC 2 4 > > the pr

bash hang question

2010-02-26 Thread ERIC HO
I reported a bash hang issue a few months ago. When in bash, after enter ESC 2 4 the prompt looks like this: (arg: 24) Pressing ';' at this point causes bash to hang. Someone indicated it is a missed degenerate case in Readline. I contacted the GNU Readline maintainer who said he could not duplic

RRe: [ANNOUNCEMENT] [1.7] Updated: xorg-server 1.7.5-1, 1.7.99.901-1 (TEST)

2010-02-25 Thread ERIC HO
I reported a problem back in December last year on: Cygwin 1.7 beta XWin Crashes from Ubuntun 9.10 after Firefox sessions. It was never fixed until I installed xorg-server 1.7.5-1 tonight. I sshed to Ubuntun 9.10 and stayed on Firefix and other applications with no problem. Thanks for the work

Re: [1.7] Updated: cygwin-1.7.0-56

2009-08-02 Thread ERIC HO
I'm running cygwin-1.7.0-56 and I've no problem with xterm. After the first ls, I can enter other commands too. I don;t use emacs. But I can start emacs and xemacs and get into editing the file. Both xterm and emacs do not come back with a prompt. Eric. -- Problem reports: http://cygwin.c

Re: [1.7] bash loop and mintty hung issue

2009-08-02 Thread ERIC HO
Thanks for identifying it is a readline issue for the lockup/loop problem. Eric. -- 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-simpl

Fwd: [1.7] bash loop and mintty hung issue

2009-08-01 Thread ERIC HO
Hi Andy, FYI. I have tested out on my Linux machine running bash 3.2.48 (instead of 3.2.49 as on cygwin). I don't have this problem with bash under xterm with set -o vi and pressing shift PF key. Does this problem happen to you with set -o vi and pressing shift PF key when using mintty in cygwi

Fwd: [1.7] bash loop and mintty hung issue

2009-08-01 Thread ERIC HO
Hi Andy, yes the same happens in xterm. I found out the cause of the problem. I have the following statement in my .bashrc: set -o vi Not sure why this would casue the problem of using shift PF key and causing terminal hung and bash looping. Thanks Eric.--- Begin Message --- I did some more

Fwd: [1.7] bash loop and mintty hung issue

2009-08-01 Thread ERIC HO
I did some more testing. When in mintty, if I press shift and any PF key, the bash process will go to 50 % CPU. Thanks.--- Begin Message --- I'm running cygwin 1.7.0(0.212/5/3), bash 3.2.49(23), mintty 0.4.4. I use C:\cygwin\bin\mintty.exe - and get a terminal session. I then press shift F12. T

[1.7] bash loop and mintty hung issue

2009-07-31 Thread ERIC HO
I'm running cygwin 1.7.0(0.212/5/3), bash 3.2.49(23), mintty 0.4.4. I use C:\cygwin\bin\mintty.exe - and get a terminal session. I then press shift F12. The window just lock up and the Windows Task Manager shows bash.exe using 50% of cpu. When I close the hung window, bash.exe task is gone and

Re: MinTTY 0.3.8 - ALT+F2

2009-03-21 Thread ERIC HO
That was my setup problem. I have a windows shortcut with MinTTY.exe /bin/bash -l. ALT+F2 does not work for this window. I then bring up another MinTTYwindow and I ALT+F2 works. Thanks for helping. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://c

Re: MinTTY 0.3.8 - ALT+F2

2009-03-21 Thread ERIC HO
On the Window page of option, I only have the following 3 fields to me to choose: Disable transparency when active Show scrollbar Close on Alt+F4 I'm running Cygwin 1.7 Regards, -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/probl

MinTTY 0.3.8 - ALT+F2

2009-03-21 Thread ERIC HO
I have installed MinTTY 0.3.8 but ALT+F2 does not open a new session. I have to hit Ctrl+C to get back to command prompt. Is there some other setting I have to check? Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.htm

Re: MinTTY Double Click Issue

2009-01-13 Thread ERIC HO
Hi, Andy, you are right. Adjusting the Window's double click from fast to medium corrects the problem. I hardly use Windows applications nowadays with Cygwin available. Thanks again. Eric. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.

MinTTY Double Click Issue

2009-01-12 Thread ERIC HO
In MinTTY, when I try to highlight a word or the line by double clicking on the mouse, sometimes I have to do this (double click) a few times. I don't have this problem using rxvt. Is there a config option to adress this? Any others have this expereince? Thanks. Eric. -- Unsubscribe info:

MinTTY - Copy and Paste Issue

2009-01-03 Thread ERIC HO
I tried MinTTY under cygwin this morning. It works great. I just have 2 issues. Under vim, I found that when I copy a paragraph of text in Notepad or PDF and paste it into vim, only the first line is copied. Also, I have PF keys map to shortcuts including :q! ^M. But they are not working now.

Re: Snapshot - 2008-05-30

2008-05-31 Thread ERIC HO
I did not know that the latest snapshot is for 1.7.x series of cygwin. Anyway, I created /etc/fstab and I don't have the 3 messages on finding things like /usr/bin. I also don't have a pop-up window on no /etc/fstab file. But after I get into rxvt and entering the following commands: pwd cd

Snapshot - 2008-05-30

2008-05-31 Thread ERIC HO
I tried out snapshot 2008-05-30 and I got the following messages when getting into cygwin: bash: /usr/bin/tr: No such file or directory bash: /usr/bin/sed: No such file or directory bash: /usr/bin/tty: No such file or directory If I use RXVT, I got another pop up screen with the message: Huh? No

Re: Setup Error (fixed)

2007-09-01 Thread ERIC HO
I manually removed the rxvt entry from installed.db and run the setup to install/reinstall the rxvt without problem. What a strange setup error and a learning experience!! I was close to giving up on this segmentation fault error. - Original Message - From: ERIC HO <[EMAIL PROTEC

Re: Setup Error

2007-09-01 Thread ERIC HO
installing the new/update packages until I move to a new machine. Thanks. - Original Message - From: ERIC HO <[EMAIL PROTECTED]> Date: Saturday, September 1, 2007 9:57 am Subject: Re: Setup Error To: cygwin@cygwin.com > I tried to reinstall the coreutils and cywin and it i

Re: Setup Error

2007-09-01 Thread ERIC HO
Message - From: ERIC HO <[EMAIL PROTECTED]> Date: Friday, August 31, 2007 7:14 pm Subject: Re: Setup Error To: cygwin@cygwin.com > I did a gdb on setup and saw the following messages when > uninstalling rxvt: > warning: LOG: 2 Running preremove script for rxvt > warning: L

Re: Setup Error

2007-08-31 Thread ERIC HO
. - Original Message - From: ERIC HO <[EMAIL PROTECTED]> Date: Friday, August 31, 2007 7:34 am Subject: Setup Error To: cygwin@cygwin.com > I'm running snapshot 2007-08-10. When I ran setup to install the > new rxvt, it hang. I then canceled the install. Now everytime I > ran

Setup Error

2007-08-31 Thread ERIC HO
I'm running snapshot 2007-08-10. When I ran setup to install the new rxvt, it hang. I then canceled the install. Now everytime I ran the setup again, it tries to uninstall rxvt. But then setup encountered an error and closed. It seems some files/registers corrupted. Is ther anyway to workaround

Re: cygstart getting The specified file was not found

2006-12-12 Thread ERIC HO
Thanks to all who helped out on this! -- 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: cygstart getting The specified file was not found

2006-12-11 Thread ERIC HO
The command and out are as follows: /cygdrive/c/user $cmd /c cd c:\user The latest snapshot (2006-12-11) has the same problem. I went back to 1.5.22-1 release and the problem is fixed. Not sure which change causes this. Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Pr

Re: cygstart getting The specified file was not found

2006-12-11 Thread ERIC HO
I was able to use Windows Explorer to open the file by double clicking the file. I was able to use cygstart open the file with full path. The problem is with all file type. I can do a cygstart http://www.cygwin.com/ with no problem. The result from: strace cygstart hello.txt |grep hello.txt is

Re: Using gcc under cygwin to compile and link the db2 udb sample c programs

2005-12-23 Thread ERIC HO
Thanks Eric. I was able to compile and link the db2 udb sample program using gcc with no errors. But I got segmentation fault error when running the sample program. After spending some time on this problem, I decided to install Microsoft VC++. I then ran nmake all and was able to run the sample

Using gcc under cygwin to compile and link the db2 udb sample c programs

2005-12-22 Thread ERIC HO
I'm wondering whether anyone have used gcc under cygwin (windows xp) to compile and link the db2 udb sample c/cpp programs successfully? I'd appreciate if you could share the steps and command syntax. Under Linux, it is very simple and I just run the make all command. Thanks. -- Unsubscribe in

Re: vim display funny character under cygwin

2005-04-09 Thread ERIC HO
Hi there, I've got the suggestion to try: setlocal isprint=@,128-255 It works!! Thanks - Original Message - From: ERIC HO <[EMAIL PROTECTED]> Date: Friday, April 8, 2005 10:19 pm Subject: Re: vim display funny character under cygwin > > Hi Igor, thank you for the

Re: vim display funny character under cygwin

2005-04-08 Thread ERIC HO
imal. Not an elegant solution. Please let me know if you have a encoding setting for me to try. Thanks again. - Original Message - From: Igor Pechtchanski <[EMAIL PROTECTED]> Date: Friday, April 8, 2005 6:45 pm Subject: Re: vim display funny character under cygwin > On Fri, 8 Apr 2

vim display funny character under cygwin

2005-04-08 Thread ERIC HO
Hi there, not sure whether this is a cygwin or vim issue. I have a file that contains "hello" (note it's really a upside down ,,). When I cat the file, it displays correctly like when I use notepad. But when I'm in vim editing the file, it shows up as ~Shello~T. Very likely it's not a cygwin is

Fwd: ncftp hang after the first file download - Fixed by the new snapshot - 20041010

2004-10-10 Thread ERIC HO
The 20041010 snapshot finally fixed the ncftp hang problem. Great and thanks!--- Begin Message --- Hi there, under cygwin 1.5.11 and also the 2004-Sep-07 snapshot, ncftp hang after the first file download. I used get *.pdf command. ftp does not have this problem under mget. I'm wondering whether

ncftp hang after the first file download

2004-09-11 Thread ERIC HO
Hi there, under cygwin 1.5.11 and also the 2004-Sep-07 snapshot, ncftp hang after the first file download. I used get *.pdf command. ftp does not have this problem under mget. I'm wondering whether this problem has been experienced by others as well? Thanks. -- Unsubscribe info: http://cy

Perl's XML::Xerces on CYGWIN 1.5.11s

2004-06-19 Thread ERIC HO
I'm wondering has anyone installed successfully Perl's XML::Xerces on CYGWIN 1.5.11s before. I'd appreciate if you could share the installation procedures with me. Thanks Regards, -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problem

20040603 Snapshot - rxvt and fethcmail - Segmentation fault (core dumped)

2004-06-03 Thread ERIC HO
I've tried 20040603 Snapshot and got Segmentation fault (core dumped) when running rxvt and fetchmail. Regards, -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Fetchmail Hang with the New Snapshot

2004-05-15 Thread ERIC HO
Hi It seems fetchmail hang with the nw snapshot. The last snapshot without fetchmail problem is from 20040506. Not quite sure whether others experience this too. Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Docum