text emacs issues and solution

2009-10-27 Thread Kurt Harriger
I was having some trouble with text based emacs under cygwin. The C-x C-c to exit was for some reason being interpreted as C-x C-g. After some googling around I found that export CYGWIN=tty seemed to fix the key sequence, however this also introduced new problems.  Namely, after exiting emacs my in

[ANNOUNCEMENT] [1.7] Updated: libxml2-2.7.4-1

2009-10-27 Thread Yaakov (Cygwin/X)
The following packages have been updated for Cygwin 1.7: *** libxml2-2.7.4-1 *** libxml2-devel-2.7.4-1 *** libxml2-doc-2.7.4-1 *** python-libxml2-2.7.4-1 This is an update to the latest upstream release. Yaakov CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to

[ANNOUNCEMENT] [1.7] Updated: libssh2-1.2.1-1

2009-10-27 Thread Yaakov (Cygwin/X)
The following packages have been updated for Cygwin 1.7: *** libssh2_1-1.2.1-1 *** libssh2-devel-1.2.1-1 This is an update to the latest upstream version. Yaakov CYGWIN-ANNOUNCE UNSUBSCRIBE INFO If you want to unsubscribe from the cygwin-announce mailing lis

Re: 1.7.0-62: segfault when PATH is not set

2009-10-27 Thread Denis Excoffier
On 2009-10-19 21:47, Corinna Vinschen wrote: On Oct 19 21:18, Denis Excoffier wrote: Hope this helps. It does. The value of $PATH is used without checking if $PATH exists. I fixed that in CVS. Thank you. Let's wait until 1.7.0-63 now. In the same spirit, i discovered that `cygcheck -s' do

1.7: mv: Device or resource busy

2009-10-27 Thread Denis Excoffier
Hello, I would like to report a strange behavior. It seems intermittent by nature, but i succeeded to make it constantly reproducible (at least on my PC). So please don't quit. Under some circumstances (detailed below), the command: mv file1 file2 produces mv: cannot move `file1' to `file2': De

Re: Setup version 2.573.2.3 hangs when parsing ini file

2009-10-27 Thread Larry Hall (Cygwin)
On 10/27/2009 06:18 PM, Jason Schamp wrote: If I launch from the command line WITHOUT the -q switch, it requires me to hit enter a few times, but doesn't go into this infinite loop. Any ideas? I was going to recommend trying a different mirror before you mentioned about the '-q' switch. Maybe

Setup version 2.573.2.3 hangs when parsing ini file

2009-10-27 Thread Jason Schamp
Hi. I'm new, first post, and getting to know Cygwin for SSH. I'm using a vbscript to install Cygwin on several servers. The script's executes this line, which launches setup.exe successfully: setup.exe -d -q -R C:\Cygwin -L "C:\documents and settings\schamji\desktop\new-cygwin installation v2.

Re: Bash - IF Statement

2009-10-27 Thread briglass111
It didn't matter if I believed what I read on the internet or not, I couldn't get the IF-statement to work, and when I queried a unix user, he wasn't sure at first, and so I thought maybe it was a cygwin-specific issue. The issue was finalized and complete before schulman's detour, and this small

Re: Bash - IF Statement

2009-10-27 Thread Larry Hall (Cygwin)
. Reformatted. On 10/27/2009 05:34 PM, briglass111 wrote: Andrew Schulman-3 wrote: good job, bash This is the Cygwin list. Please take non-Cygwin-related comments elsewhere. before i knew that bash was white-space picky, i thought this may be a cygwin i

Re: Bash - IF Statement

2009-10-27 Thread briglass111
before i knew that bash was white-space picky, i thought this may be a cygwin issue because i read a bit about people saying bash is different in cygwin than in unix, and i got the if-statement code from a website about unix, and when it didn't run in cygwin's bash i figured it was a cygwin-specif

Re: Bash - IF Statement

2009-10-27 Thread Andrew Schulman
> good job, bash This is the Cygwin list. Please take non-Cygwin-related comments elsewhere. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#un

Re: Bash - IF Statement

2009-10-27 Thread paul . hermeneutic
On Tue, Oct 27, 2009 at 15:15, briglass111 wrote: > > my friend pointed out that the problem is that there needs to be extra > spaces: > > [ "$T" = "y" ]; > > good job, bash I am not sure your comment is praising or bemoaning the bash shell. The shell interpreter needs a space after the square b

Re: Bash - IF Statement

2009-10-27 Thread briglass111
my friend pointed out that the problem is that there needs to be extra spaces: [ "$T" = "y" ]; good job, bash briglass111 wrote: > > I am trying to write an IF Statement in Bash, but I am having issues. It > doesn't like the following format: > > echo "yes or no?" > read T > > if ["$T"="y"]

RE: Bash - IF Statement

2009-10-27 Thread Thrall, Bryan
briglass111 wrote on Tuesday, October 27, 2009 3:02 PM: > I am trying to write an IF Statement in Bash, but I am having issues. It > doesn't like the following format: > > echo "yes or no?" > read T > > if ["$T"="y"]; > then > echo "YES" > fi > > .. It also doesn't like the

Re: Bash - IF Statement

2009-10-27 Thread Reid Thompson
On Tue, Oct 27, 2009 at 01:01:38PM -0700, briglass111 wrote: > > I am trying to write an IF Statement in Bash, but I am having issues. It > doesn't like the following format: > > echo "yes or no?" > read T > > if ["$T"="y"]; > then > echo "YES" > fi > > .. It also doesn't li

Bash - IF Statement

2009-10-27 Thread briglass111
I am trying to write an IF Statement in Bash, but I am having issues. It doesn't like the following format: echo "yes or no?" read T if ["$T"="y"]; then echo "YES" fi .. It also doesn't like the following alternatives: if [$T="y"]; if ["$T"=="y"]; if [$T=="y"]; if "$T"="y";

Re: mark/copy text to clipboard without a mouse in rxvt or mintty

2009-10-27 Thread Andy Koppe
2009/10/27 Kurt Harriger: > Screen might just be the solution I'm looking for, thanks! > I also found this post to describing a way to integrate the screen > copy buffer with windows clipboard. > http://www.hanhuy.com/pfn/integrating_screen_and_clipboard On Cygwin there are simpler ways to get at

dash but no ash solved

2009-10-27 Thread Eliot Moss
Ok, that one was easily solved by reinstalling the dash package. Not sure what happened in the first place. I don't *think* that the apparently shadowing of /bin/bash by /usr/local/bin/bash is an issue, since /usr/local/bin/bash is just a symlink to /bin/bash. I would not be surprised if this was

Re: including file

2009-10-27 Thread Dave Korn
Mar11 wrote: > > thanks alot for your respons. > > you can view the code form this website: > > http://www.mirrorservice.org/sites/ftp.wiretapped.net/pub/security/packet-capture/winpcap/docs/docs_40_2/html/group__wpcap__tut2.html > > > the used compile flag is: > > gcc -o testprog testprog.c

Re: including file

2009-10-27 Thread Larry Hall (Cygwin)
On 10/27/2009 02:42 PM, Mar11 wrote: thanks alot for your respons. you can view the code form this website: http://www.mirrorservice.org/sites/ftp.wiretapped.net/pub/security/packet-capture/winpcap/docs/docs_40_2/html/group__wpcap__tut2.html the used compile flag is: gcc -o testprog testpro

Re: including file

2009-10-27 Thread Mar11
thanks alot for your respons. you can view the code form this website: http://www.mirrorservice.org/sites/ftp.wiretapped.net/pub/security/packet-capture/winpcap/docs/docs_40_2/html/group__wpcap__tut2.html the used compile flag is: gcc -o testprog testprog.c -lpcap (if assumed that the file na

Re: mark/copy text to clipboard without a mouse in rxvt or mintty

2009-10-27 Thread Kurt Harriger
> Apple's Terminal.app has such a feature, but I don't know of any open > source terminal that has it. Except for the special case of GNU > screen, although there you're limited to copy&pasting within screen, > but perhaps that'd be sufficient? Screen might just be the solution I'm looking for, th

Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

2009-10-27 Thread paul . hermeneutic
On Tue, Oct 27, 2009 at 09:11, Thomas Wolff wrote: > I agree absolutely. This setting is needed for many apps and I suggest > adding it to the default cygwin.bat, where it should probably be > 'set LC_CTYPE=C.UTF-8' to be more specific and to avoid a national > preference. If it is to be added to

Re: including file

2009-10-27 Thread Larry Hall (Cygwin)
On 10/27/2009 11:30 AM, Mar11 wrote: Hi all, I have problem with including some header file which are stored in ../usr/include/ look at this include files #include #include #include when i compile the program i get this errom message netinet/in.h: No such file or directory arpa/inet.h:

Re: Running Java application with drag and drop support in cygwin

2009-10-27 Thread Larry Hall (Cygwin)
On 10/27/2009 03:14 AM, Dees wrote: Hi, I have developed a Java application involving jTree with extensive drag and drop support, which runs correctly in my Linux box. However, when I switch to a windows box and access the same Linux box using cygwin x-server, the drag and drop in jTree stops wo

including file

2009-10-27 Thread Mar11
Hi all, I have problem with including some header file which are stored in ../usr/include/ look at this include files #include #include #include when i compile the program i get this errom message netinet/in.h: No such file or directory arpa/inet.h: No such file or directory .. i have

Re: dash but no ash; mkpasswd/mkgroup problem; rebasing

2009-10-27 Thread Larry Hall (Cygwin)
On 10/27/2009 10:18 AM, Eliot Moss wrote: Warning: C:\cygwin\usr\local\bin\bash.exe hides C:\cygwin\bin\bash.exe This could have been your problem. Postinstall scripts run under bash. If your local version wasn't up to the task for some reason, postinstall scripts would fail and your installa

Re: ash "gotcha", other 1.7 upgrade wrinles

2009-10-27 Thread Larry Hall (Cygwin)
On 10/27/2009 10:17 AM, Edward Lam wrote: Larry Hall (Cygwin) wrote: - In my experience, I have to rebase everything (Windows 7, like Vista, shows this fork-failure behavior depending on where dll's load into virtual memory); that's ok, though not fun I haven't found that on any of my Win7 ins

Re: ash "gotcha", other 1.7 upgrade wrinles

2009-10-27 Thread Larry Hall (Cygwin)
On 10/27/2009 01:18 AM, Mark J. Reed wrote: On Mon, Oct 26, 2009 at 5:26 PM, Larry Hall (Cygwin) wrote: It is not gratuitous. 'ash' is now 'dash' instead of 'bash'. Dash is a more standards compliant shell which is also faster. Huh? ash was never bash, and ash.exe was part of the dash packag

Re: ncurses: ncurses-config

2009-10-27 Thread Charles Wilson
Yaakov (Cygwin/X) wrote: > A few issues with ncurses-config: > > 1) The fact that there have been several (Cygwin-specific) ABI bumps to > libncurses during the 5.x cycle (now at 9) doesn't change the fact that > the API is still version 5, and other packages look for the script to be > named ncu

Re: ash "gotcha", other 1.7 upgrade wrinles

2009-10-27 Thread Edward Lam
Larry Hall (Cygwin) wrote: - In my experience, I have to rebase everything (Windows 7, like Vista, shows this fork-failure behavior depending on where dll's load into virtual memory); that's ok, though not fun I haven't found that on any of my Win7 installations but that probably reflects more

Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

2009-10-27 Thread Thomas Wolff
ext Andy Koppe wrote: 2009/10/27 Corinna Vinschen: I added 'set LC_ALL=en_US.UTF-8' (without the quotes) to Cygwin.bat, as suggested in the Internationalization section of the 1.7 User Guide, but there was no improvement. Uh oh, I guess this must be changed again in the docs. Cygwin

Re: crontab 1.12 issuing error about

2009-10-27 Thread Pierre A. Humblet
- Original Message - From: "Larry W. Virden To: Cygwin | | --- On Mon, 10/26/09, Pierre A. Humblet writes: | > Up to now you have only described Windows problems: | > CAS\Olentangy probably cannot login as a service or has the | > wrong password | > and there is some permission issue u

Re: [ANNOUNCEMENT] [1.7] Updated: lapack 3.2.1-1

2009-10-27 Thread Christopher Faylor
On Tue, Oct 27, 2009 at 09:38:59AM +, Marco Atzeri wrote: >--- Mar 27/10/09, Corinna Vinschen ha scritto: > >> On Oct 27 06:52, Fergus wrote: >> >> New versions 3.2.1-1 of >> > >> >> lapack (source) >> >> liblapack0 >> >> liblapack-devel >> > >> > I can see "source" above, but the lack of an >

Re: [ANNOUNCEMENT] [1.7] Updated: lapack 3.2.1-1

2009-10-27 Thread Marco Atzeri
--- Mar 27/10/09, Corinna Vinschen ha scritto: > On Oct 27 06:52, Fergus wrote: > >> New versions 3.2.1-1 of > > > >> lapack (source) > >> liblapack0 > >> liblapack-devel > > > > I can see "source" above, but the lack of an > > install: > > line under @lapack in the current setup ini file for > [

Re: Cygwin/OpenSSH authentication without applying group policies...

2009-10-27 Thread Corinna Vinschen
On Oct 27 10:11, carsten.porz...@spb.de wrote: > > > LogonUser() really the right one, we use for the login procedure? > > > > When using password authentication or pubkey with saved password, yes. > > It's the one supported Win32 call to create a user token from user name > > and password. In co

Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

2009-10-27 Thread Andy Koppe
2009/10/27 Corinna Vinschen: >> I added 'set LC_ALL=en_US.UTF-8' (without the quotes) to Cygwin.bat, as >> suggested in the Internationalization section of the 1.7 User Guide, but >> there was no improvement. > > Uh oh, I guess this must be changed again in the docs.  Cygwin is using > UTF-8 throug

Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

2009-10-27 Thread Corinna Vinschen
On Oct 26 19:26, Steven Monai wrote: > Hello folks, > > I recently removed Cygwin 1.5.25 from a WindowsXP box (as per FAQ # > 2.17), and then installed the Cygwin 1.7.0 beta in its place. The > install seemed to go flawlessly. I was looking forward to having more > robust handling of filenames wit

Re: Cygwin/OpenSSH authentication without applying group policies...

2009-10-27 Thread Carsten . Porzler
> On Oct 26 16:01, carsten.porz...@spb.de wrote: > > Hello, > > > > > With password > > > authentication it's entirely up to the Win32 call LogonUser() to create > > > that token and to manage that connection. Using pubkey authentication > > > you have three choices described in the user's gu

Re: [ANNOUNCEMENT] [1.7] Updated: lapack 3.2.1-1

2009-10-27 Thread Corinna Vinschen
On Oct 27 06:52, Fergus wrote: >> New versions 3.2.1-1 of > >> lapack (source) >> liblapack0 >> liblapack-devel > > I can see "source" above, but the lack of an > install: > line under @lapack in the current setup ini file for [1.7] datestamp > 1256597494 > seems to lead to an installation error:

Running Java application with drag and drop support in cygwin

2009-10-27 Thread Dees
Hi, I have developed a Java application involving jTree with extensive drag and drop support, which runs correctly in my Linux box. However, when I switch to a windows box and access the same Linux box using cygwin x-server, the drag and drop in jTree stops working. Interestingly, rest of the appl