Re: undefined references compiling gcc with ncurses

2005-10-25 Thread Gerrit P. Haase
Jeff Scudder wrote: Greetings, I am a curses newbie and having trouble running a simple curses program. I haven't run into a discussion thus far on the specific problem I'm having and I imagine there is a simple solution. My program is named ctest.c and is as follows: #include #include int mai

Re: VIM - Vi IMproved 6.4 (2005 Oct 15, compiled Oct 17 2005 11:54:34

2005-10-25 Thread Igor Pechtchanski
On Wed, 26 Oct 2005, Arend-Jan Westhoff wrote: > Could this for once mean a positive press for text mounts? Or has it > something to do with NTFS <-> FAT32 ? The former is unlikely. The latter is possible. > How come that if I have text mounts the edit action in the preceding > procedure only a

tab-completion [was: VIM - Vi IMproved 6.4 (2005 Oct 15, compiled Oct 17 2005 11:54:34]

2005-10-25 Thread Eric Blake
> PS Speaking of filename completion: Windows can be configured to use TAB as > cmd file and directory expansion character. I do find the cmd filename > completion behaviour more convenient than the default bash version. It is > usually > not difficult to organize a directory so that TAB or SHIF

Re: VIM - Vi IMproved 6.4 (2005 Oct 15, compiled Oct 17 2005 11:54:34

2005-10-25 Thread Arend-Jan Westhoff
At 15:32 2005-10-24 +0200, Corinna Vinschen wrote: >On Oct 20 14:16, Shankar Unni wrote: >> Christopher Faylor wrote: >> >On Thu, Oct 20, 2005 at 04:15:34PM +0200, Christoph Jeksa wrote: >> >> >>Supposed, you have a file X.sh ( exactly in this spelling ). If you >> >>enter: >> >> >> >>vim x.sh (

Re: another manifestation of the .. bug

2005-10-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Corinna Vinschen on 10/25/2005 7:27 AM: >>I would much rather see a fix in cygwin so that coreutils would work out >>of the box in this case. >> > > And I really can't see how "one testcase fails because Cygwin allows > something which sh

Re: cygwin-setup & rebaseall

2005-10-25 Thread Brian Dessent
Satish Balay wrote: > - open a dialog box with a message: > "some packages that require 'rebaseall' are updated. This operation > cannot be done at this time due to active cygwin processes. Please > reboot, shutdown cygwin services, and run 'rebaseall' from 'ash'." The thing is, you can't just

Re: undefined references compiling gcc with ncurses

2005-10-25 Thread René Berber
Jeff Scudder wrote: > I am a curses newbie and having trouble running a simple curses > program. I haven't run into a discussion thus far on the specific > problem I'm having and I imagine there is a simple solution. My > program is named ctest.c and is as follows: > > > #include > #include > >

Re: undefined references compiling gcc with ncurses

2005-10-25 Thread Igor Pechtchanski
On Tue, 25 Oct 2005, Jeff Scudder wrote: > Greetings, > I am a curses newbie and having trouble running a simple curses > program. I haven't run into a discussion thus far on the specific > problem I'm having and I imagine there is a simple solution. My > program is named ctest.c and is as follows

Re: AllVersions: Running Cygwin X w/ Registy Entries

2005-10-25 Thread Igor Pechtchanski
On Tue, 25 Oct 2005, gtg793x wrote: > Quoting Igor Pechtchanski <[EMAIL PROTECTED]>: . Thanks. > > See "man mount". Please, please, please don't manipulate the registry > > directly if you want to stay portable. You can easily create a batch file > >

Re: cygwin-setup & rebaseall

2005-10-25 Thread Brian Dessent
Satish Balay wrote: > Doesn't setup have similar problem with updating 'packages' for > running apps? I think it prompts for a reboot to complete. So I'm > guessing the same approach can be used when it needs a rebase. Yes, of course setup already has that logic. That's what I was referring to a

Re: cygwin-setup & rebaseall

2005-10-25 Thread Brian Dessent
Satish Balay wrote: > So the curent assesment is : > > - python - and similar tools can break - is so use rebase to fix it. > - rebase is broken - is lets not use it all the time. As far as I know almost all of the issues of corrupted DLLs have been fixed, but there still remains at least one

Re: undefined references compiling gcc with ncurses

2005-10-25 Thread Reid Thompson
Jeff Scudder wrote: Greetings, I am a curses newbie and having trouble running a simple curses program. I haven't run into a discussion thus far on the specific problem I'm having and I imagine there is a simple solution. My program is named ctest.c and is as follows: #include #include int ma

Re: AllVersions: Running Cygwin X w/ Registy Entries

2005-10-25 Thread gtg793x
Quoting Igor Pechtchanski <[EMAIL PROTECTED]>: > See "man mount". Please, please, please don't manipulate the registry > directly if you want to stay portable. You can easily create a batch file > to reproduce the mounts properly. > ... > "User mounts" is the answer. The CURRENT_USER tree is usu

undefined references compiling gcc with ncurses

2005-10-25 Thread Jeff Scudder
Greetings, I am a curses newbie and having trouble running a simple curses program. I haven't run into a discussion thus far on the specific problem I'm having and I imagine there is a simple solution. My program is named ctest.c and is as follows: #include #include int main() { initsscr();

Re: AllVersions: Running Cygwin X w/ Registy Entries

2005-10-25 Thread Svend Sorensen
On 10/25/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Greetings > I would like to be able to have a portable version of cygwin in my Flash > Drive. > I have been able to do it but it requires that I enter some registry entries > such as: > > [HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cyg

Re: AllVersions: Running Cygwin X w/ Registy Entries

2005-10-25 Thread Christopher Faylor
On Tue, Oct 25, 2005 at 08:20:29PM +0100, Thorsten Kampe wrote: >* gtg793x (2005-10-25 18:55 +0100) >> Greetings >> I would like to be able to have a portable version of cygwin in my Flash >> Drive. >> I have been able to do it but it requires that I enter some registry entries >> such as: >> >>

Re: cygwin-setup & rebaseall

2005-10-25 Thread Satish Balay
On Tue, 25 Oct 2005, Christopher Faylor wrote: > >And Jason's post was in Feb-2002 - and things have been in this bad > >state since a long time. > > And, yet, somehow, we survive. But at a cost of regular user frustation - which I was hoing could be avoided. >From the replies so far - it appea

AW: AllVersions: Running Cygwin X w/ Registy Entries

2005-10-25 Thread marco.lechner
Hi, I use a modified Version of XliveCD (http://xlivecd.indiana.edu/) for this. I putted all the Files on an USB-Stick and deleted one after the other. Well it was a little try and error but it worked well. With my "XliveUSB" I can go into an Internet-Café, plug it in, establish my ssh-sonnection

Re: AllVersions: Running Cygwin X w/ Registy Entries

2005-10-25 Thread Thorsten Kampe
* [EMAIL PROTECTED] (2005-10-25 18:55 +0100) > Greetings > I would like to be able to have a portable version of cygwin in my Flash > Drive. > I have been able to do it but it requires that I enter some registry entries > such as: > > [HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v

Re: VIM - Vi IMproved 6.4 (2005 Oct 15, compiled Oct 17 2005 11:54:34

2005-10-25 Thread Shankar Unni
Corinna Vinschen wrote: No, it doesn't. I just tried it in 6.3 and this behaviour is the same as in 6.4. ?? % pwd /cygdrive/c/temp/test % ls % touch x % ls -li 20547673299962566 -rw-rw-rw- 1 shankar None 0 Oct 25 12:10 x % vim X % ls -li total 1 20547673299962566 -rw-rw-rw- 1 shankar None

Re: AllVersions: Running Cygwin X w/ Registy Entries

2005-10-25 Thread Wes S
On 25 Oct 2005 at 13:55, [EMAIL PROTECTED] wrote: > Greetings > I would like to be able to have a portable version of cygwin in my Flash > Drive. I have been able to do it but it requires that I enter some > registry entries such as: > [snip] I'd like to add a 'me too' to this request. I have

Re: Hang with 20051018 (3rd version) snapshot while building OOo

2005-10-25 Thread Christopher Faylor
On Tue, Oct 25, 2005 at 12:07:21PM -0400, Volker Quetschke wrote: >Christopher Faylor wrote: >>>Volker Quetschke wrote: Christopher Faylor wrote: >On Wed, Oct 19, 2005 at 03:45:30PM -0400, Volker Quetschke wrote: >(snip) >Given the number of changes that have been made to cygwin, pa

Re: cygwin-setup & rebaseall

2005-10-25 Thread Christopher Faylor
On Tue, Oct 25, 2005 at 11:41:05AM -0500, Satish Balay wrote: >On Tue, 25 Oct 2005, Igor Pechtchanski wrote: > >> Plus, as Jason mentions, rebasing corrupts some DLLs. So, until a robust >> solution for that is found, automatically rebasing in setup.exe isn't such >> a hot idea. > >So the curent a

Re: AllVersions: Running Cygwin X w/ Registy Entries

2005-10-25 Thread Igor Pechtchanski
On Tue, 25 Oct 2005, gtg793x wrote: > Greetings > I would like to be able to have a portable version of cygwin in my Flash > Drive. I have been able to do it but it requires that I enter some > registry entries such as: > > [HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/] > "nati

AllVersions: Running Cygwin X w/ Registy Entries

2005-10-25 Thread gtg793x
Greetings I would like to be able to have a portable version of cygwin in my Flash Drive. I have been able to do it but it requires that I enter some registry entries such as: [HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/] "native"="F:\\cygwin" "flags"=dword:000a [HKEY_LOCA

RE: cygwin-setup & rebaseall

2005-10-25 Thread Satish Balay
On Tue, 25 Oct 2005, Dave Korn wrote: > Satish Balay wrote: > > > Doesn't setup have similar problem with updating 'packages' for > > running apps? I think it prompts for a reboot to complete. So I'm > > guessing the same approach can be used when it needs a rebase. > > It's not as straightfor

Re: cygwin-setup & rebaseall

2005-10-25 Thread Satish Balay
On Tue, 25 Oct 2005, Igor Pechtchanski wrote: > Plus, as Jason mentions, rebasing corrupts some DLLs. So, until a robust > solution for that is found, automatically rebasing in setup.exe isn't such > a hot idea. So the curent assesment is : - python - and similar tools can break - is so use r

RE: cygwin-setup & rebaseall

2005-10-25 Thread Dave Korn
Satish Balay wrote: > Doesn't setup have similar problem with updating 'packages' for > running apps? I think it prompts for a reboot to complete. So I'm > guessing the same approach can be used when it needs a rebase. It's not as straightforward as all that. The facility to update a file on r

Re: cygwin-setup & rebaseall

2005-10-25 Thread Satish Balay
On Mon, 24 Oct 2005, Brian Dessent wrote: > Automatically running rebaseall from setup.exe has issues too. For one > thing, it would run into problems if the user had programs or services > running. The rebaseall script bails if it cannot write to a DLL, so > unless the user was very careful to

Setup fails to write help output to logfile [was RE: 1.5.12 ssh hangs on some machines when stdout has content]

2005-10-25 Thread Dave Korn
Rolf Campbell wrote: > Igor Pechtchanski wrote: >> As I've said before, . >> This result from the search I suggested looks promising, if only to get >> the setup options: . See >> also /var/log/setup.l

RE: Running ssh in background

2005-10-25 Thread Alexander Gottwald
On Tue, 25 Oct 2005, Jörg Schaible wrote: > Good guess. While I have no console window popping up anymore, the ssh > process does now no longer terminate and the Windows app hangs until I kill > the ssh process :( most likely run.exe does not support piping or piping data to a non-console appli

RE: Running ssh in background

2005-10-25 Thread Jörg Schaible
Hi Igor, Igor Pechtchanski wrote on Tuesday, October 25, 2005 5:44 PM: > On Tue, 25 Oct 2005, Jörg Schaible wrote: > >> Hello Cygwinners :) >> >> can anything be done to run ssh in the background i.e. no console >> window pops up if it is called by a native Windows process? > > /usr/X11R6/bin/

Re: 1.5.12 ssh hangs on some machines when stdout has content

2005-10-25 Thread Rolf Campbell
Igor Pechtchanski wrote: As I've said before, . This result from the search I suggested looks promising, if only to get the setup options: . See also /var/log/setup.log after "setup --help" (yes, it

Re: problem with sendto and raw sockets

2005-10-25 Thread Fernando Barsoba
Brian Dessent wrote: Fernando Barsoba wrote: snapshot. I only got the socket.h header file from the snapshot... and not the whole thing. I have been able to build the program, but I am not sure if using only the socket.h could be the problem... Using a modified header with the old

Re: Running ssh in background

2005-10-25 Thread Igor Pechtchanski
On Tue, 25 Oct 2005, Jörg Schaible wrote: > Hello Cygwinners :) > > can anything be done to run ssh in the background i.e. no console window > pops up if it is called by a native Windows process? /usr/X11R6/bin/run ? Igor -- http://cs.nyu.edu/~pechtcha/

Running ssh in background

2005-10-25 Thread Jörg Schaible
Hello Cygwinners :) can anything be done to run ssh in the background i.e. no console window pops up if it is called by a native Windows process? Background: Running Eclipse with the Subclipse plugin to access Subversion repositories. If I setup subversion to use Cygwin's ssh, anything went fin

Re: ... Resource temporarily unavailable

2005-10-25 Thread Igor Pechtchanski
On Tue, 25 Oct 2005, Christoph Jeksa wrote: > Hi all, > I'm using CYGWIN on Windows 2003 Server, multi-processor edition. > Recently I get an error message, when calling several scripts from each > other: > > T:/etc/kshenv: line 147: /usr/bin/cygpath: Resource temporarily > unavailable > T:/bin/k2

... Resource temporarily unavailable

2005-10-25 Thread Christoph Jeksa
Hi all, I'm using CYGWIN on Windows 2003 Server, multi-processor edition. Recently I get an error message, when calling several scripts from each other: T:/etc/kshenv: line 147: /usr/bin/cygpath: Resource temporarily unavailable T:/bin/k2mk: ... ... ... and the scripts fail. Can somebody tell

Re: 1.5.12 ssh hangs on some machines when stdout has content

2005-10-25 Thread Igor Pechtchanski
On Tue, 25 Oct 2005, David Corbin wrote: > On Tuesday 25 October 2005 10:12, Igor Pechtchanski wrote: > > On Tue, 25 Oct 2005, David Corbin wrote: > > > The first thing anyone would notice is that 1.5.12 (and your > > OpenSSH/OpenSSL versions) are very old. The current Cygwin is 1.5.18 > > (going

Re: 1.5.12 ssh hangs on some machines when stdout has content

2005-10-25 Thread Chris Taylor
David Corbin wrote: I will give it a try, but we do have a rather large set (~1 systems in over 500 locations) that would need to be upgraded. Is there any direct/easy way to upgrade cygwin without user-interaction? The only way I know is to run the GUI install program, and that's going t

Re: 1.5.12 ssh hangs on some machines when stdout has content

2005-10-25 Thread David Corbin
On Tuesday 25 October 2005 10:12, Igor Pechtchanski wrote: > On Tue, 25 Oct 2005, David Corbin wrote: > The first thing anyone would notice is that 1.5.12 (and your > OpenSSH/OpenSSL versions) are very old. The current Cygwin is 1.5.18 > (going on 1.5.19), and OpenSSH is up to 4.2p1. This list c

Re: 1.5.12 ssh hangs on some machines when stdout has content

2005-10-25 Thread Igor Pechtchanski
On Tue, 25 Oct 2005, David Corbin wrote: > I have found that ssh hangs semi-consistently, when it's stdout is piped > to another process. > > I say semi-consistently, because it's not happening on all of our > machines, but it is consistent for any of the problem machines. > Furthermore, the comma

RE: 1.5.12 ssh hangs on some machines when stdout has content

2005-10-25 Thread Dave Korn
David Corbin wrote: > I have found that ssh hangs semi-consistently, when it's stdout is piped > to another process. > > I say semi-consistently, because it's not happening on all of our > machines, but it is consistent for any of the problem machines. > Furthermore, the command must actually pro

Re: Minor ssh-host-config typos (openssh-4.2p1-1)

2005-10-25 Thread Igor Pechtchanski
On Tue, 25 Oct 2005, Corinna Vinschen wrote: > On Oct 24 22:29, Igor Pechtchanski wrote: > > The questions about creating SSH2 RSA and DSA identities contain a > > "(yes/no)" within the question. Since the request function also > > appends "(yes/no)" to the message, this results in "(yes/no) > >

Re: cygwin-setup & rebaseall

2005-10-25 Thread Igor Pechtchanski
On Mon, 24 Oct 2005, Brian Dessent wrote: > Satish Balay wrote: > > > [maybe the fix is: for any package that is likely to break - add a > > flag - which triggers setup to run rebaseall - after > > install/upgrade. So no overhead for pacakges that don't break - but > > always overhead for packages

Re: another manifestation of the .. bug

2005-10-25 Thread Corinna Vinschen
On Oct 25 07:07, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > The fact that cygwin incorrectly flattens /name/../ to / in pathname > resolution without first resolving name is triggering a failure in a new > test recently added to the coreutils testsuite. > > mkdir -p d

another manifestation of the .. bug

2005-10-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The fact that cygwin incorrectly flattens /name/../ to / in pathname resolution without first resolving name is triggering a failure in a new test recently added to the coreutils testsuite. mkdir -p dir/.. && test -d dir should always succeed when di

Re: CPU usage issue with bash

2005-10-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Urgh - http://cygwin.com/acronyms/#TOFU - reformatted. >> -Original Message- >> From: Eric Blake [mailto:[EMAIL PROTECTED] http://cygwin.com/acronyms/#PCYMTNQREAIYR >> That message was for a much older configuration. Perhaps the issue has >

1.5.12 ssh hangs on some machines when stdout has content

2005-10-25 Thread David Corbin
I have found that ssh hangs semi-consistently, when it's stdout is piped to another process. I say semi-consistently, because it's not happening on all of our machines, but it is consistent for any of the problem machines. Furthermore, the command must actually produce output to standard out

RE: zsh as login shell

2005-10-25 Thread Williams, Gerald S \(Jerry\)
I started using zsh about 10 months ago myself. Now I can have my favorite ksh feature (two argument cd) as well as all the things I like in BASH. But I digress... I edited my /etc/profile, replacing bash with zsh, though that of course doesn't help me start ZSH from Windows. To get that, I copie

Re: short mime type question (off list)

2005-10-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://cygwin.com/acronyms/#PPIOSPE Please avoid http://cygwin.com/acronyms/#TOFU - reformatted >> On 10/24/05, Eric Blake wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR >> Please convince your mailer to send text files with a text mime-type, not

xp64 installation problem

2005-10-25 Thread magnatomdb
Hi, I am trying to install cygwin onto a PC running xp64. However during the install it fails whilst running /etc/postinstall/gnome-vfs-2.sh. This produces a large number of gconftool-2.exe processes which eventually fail. I had a look at the archive and noticed that this problem has been menti

RE: textmount/binmount issue

2005-10-25 Thread Dave Korn
Yitzchak Scott-Thoennes wrote: > On Mon, Oct 24, 2005 at 05:56:36PM -0400, Igor Pechtchanski wrote: >> On Mon, 24 Oct 2005, Yitzchak Scott-Thoennes wrote: >> >>> On Mon, Oct 24, 2005 at 11:05:13AM -0400, Igor Pechtchanski wrote: Looks like the cygdrive prefix takes precedence over explicit mo

Re: cygwin-setup & rebaseall

2005-10-25 Thread Jason Tishler
On Mon, Oct 24, 2005 at 09:57:21PM -0700, Brian Dessent wrote: > Satish Balay wrote: > > Ok so the problem is likely to go away for python users. > > I don't know if Jason has started compiling Python with > --enable-auto-image-base or not. I have been using --enable-auto-image-base since the ver

Re: zsh as login shell

2005-10-25 Thread Corinna Vinschen
On Oct 25 11:38, Vaclav Haisman wrote: > > > On Mon, 24 Oct 2005, Thorsten Kampe wrote: > > >Urgh, /top-posting/, > Huh? http://cygwin.com/acronyms/#TOFU Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DO

Re: zsh as login shell

2005-10-25 Thread Vaclav Haisman
On Mon, 24 Oct 2005, Thorsten Kampe wrote: Urgh, /top-posting/, Huh? * Václav Haisman (2005-10-24 13:35 +0100) What about editing /etc/passwd? That's only used for remote logins (ssh, etc.) Vaclav Haisman -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem re

Re: Minor ssh-host-config typos (openssh-4.2p1-1)

2005-10-25 Thread Corinna Vinschen
On Oct 24 22:29, Igor Pechtchanski wrote: > The questions about creating SSH2 RSA and DSA identities contain a > "(yes/no)" within the question. Since the request function also appends > "(yes/no)" to the message, this results in "(yes/no) (yes/no)" at the end > of those two questions. Not a bug