Re: [1.7] gvim "Cannot fork" error

2009-09-24 Thread Yaakov (Cygwin/X)
On 24/09/2009 19:39, Angelo Graziosi wrote: In my case(*), using 20090924 snapshot, it fixes the problem partially: Emacs hangs on quitting. Could you put your emacs-gtk tarballs somewhere, or if not, at least your .cygport? Yaakov -- Problem reports: http://cygwin.com/problems.html

Re: [1.7] gvim "Cannot fork" error

2009-09-24 Thread Christopher Faylor
090920). Furthermore, it solves another >>> issue I posted myself: >>> >>> http://cygwin.com/ml/cygwin-xfree/2009-09/msg00051.html >> >>In my case(*), using 20090924 snapshot, it fixes the problem partially: >>Emacs hangs on quitting. > >Is this a ne

Re: [1.7] gvim "Cannot fork" error

2009-09-24 Thread Christopher Faylor
bug. >>> >>> http://cygwin.com/snapshots/ >> >> I am not the OP, but I could reproduce the problem, and I confirm it is >> fixed on today's snapshot (20090920). Furthermore, it solves another >> issue I posted myself: >> >> http://cygwin.com/ml

Re: [1.7] gvim "Cannot fork" error

2009-09-24 Thread Angelo Graziosi
it is fixed on today's snapshot (20090920). Furthermore, it solves another issue I posted myself: http://cygwin.com/ml/cygwin-xfree/2009-09/msg00051.html In my case(*), using 20090924 snapshot, it fixes the problem partially: Emacs hangs on quitting. Cheers, Angelo. --- (*) http://cyg

ssh session hangs and then disconnects with "Exit status 66" right after accepting a password

2009-09-24 Thread Leon Khaimovich
Hi, I have 1.5.25 version of Cygwin running on Vista SP1 in WinSrv2k8 domain. I've configured sshd and was connecting from other boxes with no problem. But it looks like when sshd runs as Windows service, there are problems with access to the console GUI. In the past I was able to work around th

Re: Small cygwin.com fonts

2009-09-24 Thread Larry Hall (Cygwin)
On 09/24/2009 07:00 PM, Dave Korn wrote: Jon Grant wrote: Did you know the fonts on cygwin.com display quite small? Would you be able to boost it to the normal size by not reducing the font size by -2 ? You can do something about that for yourself: hold down Ctrl and scroll your mouse

Re: Small cygwin.com fonts

2009-09-24 Thread Dave Korn
Jon Grant wrote: > Did you know the fonts on cygwin.com display quite small? > > Would you be able to boost it to the normal size by not reducing the > font size by -2 ? You can do something about that for yourself: hold down Ctrl and scroll your mouse wheel up and down. (Advice based on FF,

Small cygwin.com fonts

2009-09-24 Thread Jon Grant
Hello Did you know the fonts on cygwin.com display quite small? e.g. this HTML: InstallCygwinnow Likewise this text: === Cygwin! Install or update now! (using setup.exe) or get help on using setup.exe.or find where a package or file lives in the Cygwin release

Re: 1.7: help2man perl problem?

2009-09-24 Thread Yaakov (Cygwin/X)
On 05/08/2009 17:10, Reini Urban wrote: No, that's known problem for old perl programs with 5.10, in this case help2man. Just google "LC_ALL () vs none" - Locale::gettext->import; + Locale::gettext->import (qw(gettext textdomain)); Debian fixes Locale::gettext itself instead: http://patch-tra

Re: sftp Key info

2009-09-24 Thread Larry Hall (Cygwin)
On 09/24/2009 04:25 PM, Dave M wrote: Larry, It worked! Thank you so much for all your help! The private key in "id_rsa" file in the .ssh folder is the one used for authentication apparently. I really appreciate your vigilance with this issue. I did get good help from Julio, and Mark and Dave K d

Re: sftp Key info

2009-09-24 Thread Dave M
Larry, It worked! Thank you so much for all your help! The private key in "id_rsa" file in the .ssh folder is the one used for authentication apparently. I really appreciate your vigilance with this issue. I did get good help from Julio, and Mark and Dave K did try and help, but you were ther

Re: sftp Key info

2009-09-24 Thread Larry Hall (Cygwin)
On 09/24/2009 03:47 PM, Dave M wrote: Larry, Um, OK. I just don't know what questions to ask. I am not sure how it is "supposed" to work (sftp), so I am not sure if I am doing it right and it is not working or I am entering the incorrect info. Which key needs to be on the remote machine, the pub

Re: sftp Key info

2009-09-24 Thread Dave M
Larry, Um, OK. I just don't know what questions to ask. I am not sure how it is "supposed" to work (sftp), so I am not sure if I am doing it right and it is not working or I am entering the incorrect info. Which key needs to be on the remote machine, the pub or private key? Dave M - Ori

Re: sftp Key info

2009-09-24 Thread Larry Hall (Cygwin)
On 09/24/2009 03:14 PM, Dave M wrote: Did I enter the Key incorrectly? What is Server Path? I was hopijng it would make a folder for me with that name. Should I make that folder or is it not related to file folders at all? I think you've gotten to the point where you have questions about config

sftp Key info

2009-09-24 Thread Dave M
All, OK, I think it is working. I was able to sftp in with the account that the remote server will be using. the Key file I have is called "id_rsa.pub" the contents are as follows: ssh-rsa B3NzaC1yc2EBIwAAAQEArQ86/IfyGs2I/Afh528AEamHzxZKUUlpODXIELA8/IpPvgxVuYUqTIP7451Nuep7b6IN57DfjBvwxQ

Re: sftp on a Windows 2003 server

2009-09-24 Thread Dave M
Mark, Well, the good news is, I got ssh-host-config to work! The bad news is, I don't know what to do next. I am looking at readme files and what not, but if you know where the instructions are on how to setup public key authentication on an sftp server, please feel free to point me in the ri

RE: Re: Cygwin portable bash

2009-09-24 Thread Buchbinder, Barry (NIH/NIAID) [E]
I'm not aware that this has been mentioned before in this thread, but I'd worry that there is no mount table. (I assume that this is cygwin 1.5.) See the documentation on mount (hint: the -m option might be especially useful) or just run setup, clicking through it, on the derivative machines.

Re: sftp on a Windows 2003 server

2009-09-24 Thread Larry Hall (Cygwin)
On 09/24/2009 01:07 PM, Dave M wrote: Larry, I installed the beeta version (scarey), and I can ssh into localhost. Good! That's a step forward at least. Beta isn't as scary as you might think. It's pretty close to what will be released (soonish). Um, the question is, is there a way to test

Re: sftp on a Windows 2003 server

2009-09-24 Thread Mark J. Reed
On Thu, Sep 24, 2009 at 12:27 PM, Dave M wrote: > *** Warning: The permissions on the directory /var are not correct. > *** Warning: They must match the regexp d..x..x..[xt] > *** ERROR: Problem with /var directory. Exiting. > > t...@s-exsyslog01 ~ > $ ls -l /var That shows the permissions on the

Re: sftp on a Windows 2003 server

2009-09-24 Thread Dave M
Larry, I installed the beeta version (scarey), and I can ssh into localhost. Um, the question is, is there a way to test sftp, and is there a guide for configuring public key authentication for sftp? I am going to try and figure out what files are relevant to my need and read them, but if

Re: sftp on a Windows 2003 server

2009-09-24 Thread Dave M
Larry, OK, so I removed everything, cleaned up the registry, emptied the recycle bin and rebooted. then I logged in with a local use that had local admin right and reionstalled. t...@s-exsyslog01 ~ $ ssh-host-config *** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes *** Info: Cre

Re: Re: Cygwin portable bash

2009-09-24 Thread Andy Holt
I'm in a similar situation with about 10 different machines, some of which come and go very quickly. I rarely use more than one computer at a time, as most of them are in remote installations and not accessible physically. In order to save time installing cygwin and other software, my goal was

Re: sftp on a Windows 2003 server

2009-09-24 Thread Dave M
Larry, I am installing the latest version. I can try a local user, no problem. Dave M - Original Message Sent: Thursday, September 24, 2009 9:38:57 AM Subject: Re: sftp on a Windows 2003 server On 09/24/2009 10:22 AM, Dave M wrote: > $ ssh-host-config > *** Query: Overwrite existin

Re: sftp on a Windows 2003 server

2009-09-24 Thread Larry Hall (Cygwin)
On 09/24/2009 10:22 AM, Dave M wrote: $ ssh-host-config *** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes *** Info: Creating default /etc/ssh_config file *** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes *** Info: Creating default /etc/sshd_config file *** Info: Pri

Problem reading from serial port

2009-09-24 Thread Benjamin Oostveen
Hello everybody, i am new to cygwin so i'm not sure if my question bothers you all but i have been spending a lot of time on this issue and i don't really know where to search for anymore. So here i go! I have a function in my program that reads from the serial port. This function (I know) works

Re: non-BMP character width

2009-09-24 Thread andy.koppe
2009/9/24 Thomas Wolff: > I also tried to test eucJP, but that doesn't seem to work at all and mintty > crashes... Ouch. Details? > The problem used to be in mintty as well until I pointed it out and > Andy was so ambitious to find a workaround Yep, given a font that actually supports them, e.g

Re: Encoding of German 'umlauts' - please explain

2009-09-24 Thread Thomas Wolff
Ronald Fischer wrote: > Maybe someone could enlighten me about the following: > ... > That means, the German letter ü has encoding 0xFC. If I do the same on CMD > shell > (the 'od' used here comes from the Gnu Utilities for Windows), I see: > ... > That is, ü is encoded as 0x81. Why is this differ

Re: non-BMP character width

2009-09-24 Thread Thomas Wolff
Corinna Vinschen wrote: > Can you please create a simple self-contained testcase? I'm not exactly > sure how this is supposed to work and if a solution exists. Is that a > problem for the non-UTF-8 case, too, or for UTF-8 only? Sorry for the late response; I see you reproduced the case meanwhile

Re: sftp on a Windows 2003 server

2009-09-24 Thread Dave M
Larry (or anyone who can help), Here is what I am getting now: je28...@s-exsyslog01 ~ $ chmod +r /etc/passwd je28...@s-exsyslog01 ~ $ chmod +r /etc/group je28...@s-exsyslog01 ~ $ ssh-host-config *** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes *** Info: Creating default /etc/ssh

Re: Cygwin portable bash

2009-09-24 Thread Morten Kjærulff
Hi, If you have a cygwin application running on machine A and update the installation on machine B, you might run into problems when dropbox tries to copy the files to machine A. I did almost the same with Windows Live Mesh. Now I am only synchronizing my home directory. Cheers, Morten On Thu, S

Re: Cygwin portable bash

2009-09-24 Thread J. David Boyd
Andy Holt writes: > Hey everyone, > > I installed cygwin on my laptop (domain andy-laptop), and it works > great from here. I installed in a special folder ("My Dropbox") which > uses the free dropbox service online to synchronize the folder accross > multiple machines (my other machine is andy-d

Re: Using bash(cygwin) inside C# program

2009-09-24 Thread amir knippel
References: <4aba9534.9080...@gmail.com> Why exactly do you think you need to run stty and set the tty operating parameters, when the bash process is quite plainly *not* connected to a tty, it is connected to your C# application? It's your application that is in charge of I/O - if it doesn't

Re: Encoding of German 'umlauts' - please explain

2009-09-24 Thread Matthias Andree
Ronald Fischer schrieb: > Maybe someone could enlighten me about the following: > > On Cygwin bash I see > > $ echo ü | od -cx > 000 374 \n > 0afc > 002 > > That means, the German letter ü has encoding 0xFC. If I do the same on CMD > shell > (the 'od' used here comes from the G

Re: The C locale

2009-09-24 Thread Corinna Vinschen
On Sep 24 11:57, Corinna Vinschen wrote: > On Sep 24 18:37, IWAMURO Motonori wrote: > > - CP932 (Shift_JIS) has 1byte character and 2bytes character. > > > > - The range of 1byte character is 0x00-0x7F and 0xA0-0xDF. > > > > - The range of first byte of 2byte character is 0x80-0x9F and 0xE0-0xFC.

Re: Is this a known problem with getenv() ?

2009-09-24 Thread John Emmas
Oops, another typo as "Corinna" suggested. :-( -- 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: The C locale

2009-09-24 Thread Corinna Vinschen
On Sep 24 18:37, IWAMURO Motonori wrote: > 2009/9/24 Corinna Vinschen : > > On Sep 24 16:03, IWAMURO Motonori wrote: > >> 2009/9/22 Andy Koppe : > >> > Let's use the Windows "ANSI" codepage as the character set for the C > >> > locale, for both the conversion functions and filenames. This means > >

Re: Is this a known problem with getenv() ?

2009-09-24 Thread John Emmas
- Original Message - From: "Matthias Andree" For the records, the right way to do it is either: puts(getenv("PATH")); or printf("%s\n", getenv("PATH")); Oops, a simple typo. I'd used the correct printf syntax in the actual code, but mistyped it here. Just goes to show that even th

Re: Is this a known problem with getenv() ?

2009-09-24 Thread Matthias Andree
John Emmas schrieb: > - Original Message - > From: "John Emmas" >> >> I might just try experimenting with a very simple program and see if I >> still get the error >> > I partially tracked down the problem, although I don't quite know how to > solve it. If I write this simple console app:

Re: The C locale

2009-09-24 Thread IWAMURO Motonori
2009/9/24 Corinna Vinschen : > On Sep 24 16:03, IWAMURO Motonori wrote: >> 2009/9/22 Andy Koppe : >> > Let's use the Windows "ANSI" codepage as the character set for the C >> > locale, for both the conversion functions and filenames. This means >> > CP1252 on Western systems, CP1251 on Cyrillic one

Re: Is this a known problem with getenv() ?

2009-09-24 Thread Corinna Vinschen
On Sep 24 07:03, John Emmas wrote: > Regarding my problem (extra entries being added to my path when I run a > program under X11) I've tracked the problem down a bit further and I've > realised that it isn't a problem with getenv(). In actual fact, the problem > seems to be caused by startxwin.bat

Re: Re: Cygwin 1.7 message queues - permission denied error still exists

2009-09-24 Thread Corinna Vinschen
On Sep 23 21:46, Ren? Liebscher wrote: > there is another problem with the queues. > The mentioned test case opens two different queues in the same process. > > But if you open the same queue in two different processes you get also a > permission denied error. > > I add here some test case: > ---

Re: sftp on a Windows 2003 server

2009-09-24 Thread Julio Costa
Dave, If you want to consider, maybe it would be better to try with the newer Cygwin version, 1.7. There was some changes/improvements related to environments and installations done by Domain users (instead of local ones) and also related to the use of public key authentications. And those are re

Encoding of German 'umlauts' - please explain

2009-09-24 Thread Ronald Fischer
Maybe someone could enlighten me about the following: On Cygwin bash I see $ echo ü | od -cx 000 374 \n 0afc 002 That means, the German letter ü has encoding 0xFC. If I do the same on CMD shell (the 'od' used here comes from the Gnu Utilities for Windows), I see: echo ü | od

Re: The C locale

2009-09-24 Thread Thorsten Kampe
* Lapo Luchini (Wed, 23 Sep 2009 12:48:03 +0200) > Thorsten Kampe wrote: > >> I created a file "aà€?.txt" in WinExplorer, and then: > >> > >> 23/09/2009 06.58 0 aà??.txt > >>1 File(s) 0 bytes > > > > Works for me, too. Maybe not only the codepage but a

Re: The C locale

2009-09-24 Thread Corinna Vinschen
On Sep 24 16:03, IWAMURO Motonori wrote: > 2009/9/22 Andy Koppe : > > Let's use the Windows "ANSI" codepage as the character set for the C > > locale, for both the conversion functions and filenames. This means > > CP1252 on Western systems, CP1251 on Cyrillic ones, CP932 on Japanese > > ones, and

Re: The C locale

2009-09-24 Thread IWAMURO Motonori
2009/9/22 Andy Koppe : > Let's use the Windows "ANSI" codepage as the character set for the C > locale, for both the conversion functions and filenames. This means > CP1252 on Western systems, CP1251 on Cyrillic ones, CP932 on Japanese > ones, and so on. I oppose the approach (the ANSI codepage is