Re: Suggestion for run (with patch)

2007-04-09 Thread Christopher Faylor
On Mon, Apr 09, 2007 at 10:00:04PM +0100, Adye, TJ (Tim) wrote: >Christopher Faylor wrote: >>I don't see any reason to include a non-cygwin version of a program in >>the *cygwin* distribution. If you don't have cygwin1.dll in the path, >>then you aren't running in a cygwin environment. >> >>This i

RE: Vista File Permission Problems

2007-04-09 Thread Sergio Del Rio
I have successfully installed the application under Vista Business. I ran the following commands as I use a Windows 2003 Domain server at my office: mkpasswd -l -d > /etc/passwd mkgroup -l -d > /etc/group Now, the permissions look correct. The strange behaviour I am getting now is

Re: Suggestion for run (with patch)

2007-04-09 Thread Alexander Gottwald
Adye, TJ (Tim) wrote: If that did what we wanted, then we wouldn't need the run package in the first place. The run command hides the console for console applications (or at least those that Windows thinks of as console applications) like xterm. "cmd" gives you that pesky console. Well, cgf sp

Re: Status of hstrerror() and h_errno in cygwin and one more important question

2007-04-09 Thread Brian Dessent
Eric Lilja wrote: > I'm developing a very simple IRC bot (written in C++) with a gui using > the cygwin tools. I use Win32 for the gui and I use cygwin sockets and > pthreads for communicating with the server. > > Anyway, I found h_errno/hstrerror() to be useful when dealing with > gethostname()

RE: Status of hstrerror() and h_errno in cygwin and one more important question

2007-04-09 Thread Dave Korn
On 09 April 2007 22:35, Eric Lilja wrote: > I'm developing a very simple IRC bot (written in C++) with a gui using > the cygwin tools. > Also, and more importantly, I'm having a weird core dump in my > application. The program is very simple, when launched you can connect > to an irc server (whic

RE: Suggestion for run (with patch)

2007-04-09 Thread Dave Korn
On 09 April 2007 22:07, Adye, TJ (Tim) wrote: > Hi Dave, > > Dave Korn wrote on 09 April 2007 17:16: >> >>> You might have a better idea for where the non-Cygwin version >>> should go - I just put it in /usr/bin/run-native.exe. >> >> Or just "alias run-native='cmd /c start '". > > If that di

Re: Renaming gotcha under FAT file system

2007-04-09 Thread robert_neville310
On Sat, 7 Apr 2007 11:11:39 +0100, "Dave Korn" <[EMAIL PROTECTED]> wrote: >On 06 April 2007 20:32, [EMAIL PROTECTED] wrote: > >> printf "mv %-200s \"%s\"\n" "-f \"$DIR/"$FILE"\"" "$DIR"/"$NEWNAME" >> >> doit.sh > >printf "mv %-200s \"%s\"\n" "-f \"$DIR/"$FILE"\"" "$DIR"/"$NEWNAME~" >>doit.sh > >p

LyX postinstall script limitations: Was Fontconfig is missing /etc/fonts/local.conf.

2007-04-09 Thread Cary R.
It appears that Jan would rather have LyX resolve this problem. The basics are that fontconfig no longer creates a default local.conf file, so LyX will need to correctly handle this case. It looks like adding an else clause to the existing -f check that generates a default file will fix things up.

Re: 1.5.24: rxvt or console fail to shutdown due to ssh -f still running despite setsid()

2007-04-09 Thread Ken Shaffer
I have just checked the source for the daemon() function and the setsid executable. They both call fork() and then setsid(). Do the console/rxvt process stick after calling ssh -f because file descriptors are left open? Can you suggest a strategy to deal with this? I'm not running ssh as a da

Status of hstrerror() and h_errno in cygwin and one more important question

2007-04-09 Thread Eric Lilja
Hello! I'm developing a very simple IRC bot (written in C++) with a gui using the cygwin tools. I use Win32 for the gui and I use cygwin sockets and pthreads for communicating with the server. Anyway, I found h_errno/hstrerror() to be useful when dealing with gethostname() errors, but they a

Re: Fontconfig 2.4.1-4 is missing /etc/fonts/local.conf

2007-04-09 Thread Jan Nieuwenhuizen
"Cary R." <[EMAIL PROTECTED]> writes: > the postinstall script for LyX appends > its information to an existing file. It does not > create a local.conf file if one does not already > exist. Maybe this behavior should be considered a LyX > bug and the subject line changed to reflect this. Indeed,

RE: Suggestion for run (with patch)

2007-04-09 Thread Adye, TJ \(Tim\)
Brian Dessent wrote on 09 April 2007 22:05: > > If you really want a compromise solution, you could modify > run to not depend on cygwin1.dll at link-time but instead > LoadLibrary() it at runtime, and if that fails fall back to > whatever the native version would have done. Thus you get a > s

RE: Suggestion for run (with patch)

2007-04-09 Thread Adye, TJ \(Tim\)
Hi Dave, Dave Korn wrote on 09 April 2007 17:16: > > > You might have a better idea for where the non-Cygwin version > > should go - I just put it in /usr/bin/run-native.exe. > > Or just "alias run-native='cmd /c start '". If that did what we wanted, then we wouldn't need the run package in

Re: Suggestion for run (with patch)

2007-04-09 Thread Brian Dessent
"Adye, TJ (Tim)" wrote: > Also, since the run package is now part of Cygwin (and doesn't seem to > be maintained elsewhere), it seems an unnecessary confusion to maintain > two branches. If you really don't like having anything not linked with > cygwin1.dll as part of the distribution, then how ab

RE: Suggestion for run (with patch)

2007-04-09 Thread Adye, TJ \(Tim\)
Hi Christopher, Christopher Faylor wrote: > > I don't see any reason to include a non-cygwin version of a > program in the *cygwin* distribution. If you don't have > cygwin1.dll in the path, then you aren't running in a cygwin > environment. > > This is not to say that I don't understand perf

Re: ln -s exe magic (coreutils 6.7-2)

2007-04-09 Thread Eric Blake-1
> Brian Dessent wrote: > > Eric Blake wrote: > > > when creating symlinks, I plan to still auto-append the .exe to the link > > target if necessary (otherwise, exec*() succeeds but open() fails when > > dereferencing the symlink), but not to the link name. > > That sounds correct. If open() fai

Re: ln -s exe magic (coreutils 6.7-2)

2007-04-09 Thread Brian Dessent
Eric Blake wrote: > when creating symlinks, I plan to still auto-append the .exe to the link > target if necessary (otherwise, exec*() succeeds but open() fails when > dereferencing the symlink), but not to the link name. That sounds correct. If open() fails on a link target that's missing an .e

Re: Fontconfig 2.4.1-4 is missing /etc/fonts/local.conf

2007-04-09 Thread Cary R.
Sorry for the tardy reply. Between too many hours spent finishing a project and some much needed rest/recovery after finishing it I have not been monitoring the list as I would like to. "Jan Nieuwenhuizen" writes: > "Cary R." <[EMAIL PROTECTED]> writes: > >> The previous version 2.2.2-1 does in

Re: Setup.exe version @ cygwin.com

2007-04-09 Thread Larry Hall (Cygwin)
LDR wrote: Larry Hall (Cygwin) wrote: LDR wrote: Since there seems to be "some traffic" on which version of setup.exe is causing (or not) which problems, might it not be a good idea to include the version number of setup.exe with the link to the binary on the next version of setup.exe? This ha

RE: Setup.exe version @ cygwin.com

2007-04-09 Thread Dave Korn
On 09 April 2007 17:11, LDR wrote: > Larry Hall (Cygwin) wrote: >> LDR wrote: >>> Since there seems to be "some traffic" on which version of setup.exe is >>> causing (or not) which problems, might it not be a good idea to include >>> the version number of setup.exe with the link to the binary on t

RE: Suggestion for run (with patch)

2007-04-09 Thread Dave Korn
On 09 April 2007 15:33, Adye, TJ (Tim) wrote: > Hi Alexander, > > For many years I've continued to use Chuck Wilson's old run-1.1.4 > because it included a version that was linked without Cygwin > (run-native.exe, built with VC). Although it doesn't have all the > features of the Cygwin version (

Re: Setup.exe version @ cygwin.com

2007-04-09 Thread LDR
Larry Hall (Cygwin) wrote: > LDR wrote: >> Since there seems to be "some traffic" on which version of setup.exe is >> causing (or not) which problems, might it not be a good idea to include >> the version number of setup.exe with the link to the binary on the next >> version of setup.exe? > > This

Re: Where to discuss emacs (in cygwin) problems

2007-04-09 Thread Larry Hall (Cygwin)
Rockefeller, Harry wrote: Is this the correct mail group to discuss cygwin application problems? Where can I get help with a cygwin-only emacs problem? From cygwin: a high volume list for discussion of just about all things related to the Cygwin community rele

Re: Setup.exe version @ cygwin.com

2007-04-09 Thread Larry Hall (Cygwin)
LDR wrote: Since there seems to be "some traffic" on which version of setup.exe is causing (or not) which problems, might it not be a good idea to include the version number of setup.exe with the link to the binary on the next version of setup.exe? This has been discussed before. IMO, I don't

Re: mkpasswd -l gives wrong local user

2007-04-09 Thread Larry Hall (Cygwin)
. Reformatting. Rockefeller, Harry wrote: -Original Message- From: cygwin-owner cygwin com ^^ [mailto:cygwin-owner cygwin com] On Behalf Of Larry Hall (Cygwin) ^

1.5.24: rxvt or console fail to shutdown due to ssh -f still running despite setsid()

2007-04-09 Thread Michael Hoffman
I originally reported this in October 2006 : [Michael Hoffman] When I log out of or shutdown my Windows login session, if I had a background process that I started within a Win32 rxvt session, I get an error that rxvt0 has not shut down. Fo

Where to discuss emacs (in cygwin) problems

2007-04-09 Thread Rockefeller, Harry
Is this the correct mail group to discuss cygwin application problems? Where can I get help with a cygwin-only emacs problem? Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com

Re: redefining $HOME

2007-04-09 Thread Larry Hall (Cygwin)
Gustavo Seabra wrote: Hi all, I was wondering if it is possible to use the windows folder "My Documents" or even "C:\Documents and Settings\USERNAME" (or some dir inside those) as the hoe directory in Cygwin. I though about substituting the user directory inside /home by a symlink to one of t

Setup.exe version @ cygwin.com

2007-04-09 Thread LDR
Since there seems to be "some traffic" on which version of setup.exe is causing (or not) which problems, might it not be a good idea to include the version number of setup.exe with the link to the binary on the next version of setup.exe? Lee -- Unsubscribe info: http://cygwin.com/ml/#unsubsc

RE: mkpasswd -l gives wrong local user

2007-04-09 Thread Rockefeller, Harry
Thanks for the help. I set up both passwd and group files using -d option. Now when I "ls -l" my cygwin home directory I find these files owned by "dickra". I believe this is "Ryan Dick" an employee here. Perhaps NTUSER.DAT is causing the "mkpasswd -l" to create a "Ryan" user. d-+ 2

redefining $HOME

2007-04-09 Thread Gustavo Seabra
Hi all, I was wondering if it is possible to use the windows folder "My Documents" or even "C:\Documents and Settings\USERNAME" (or some dir inside those) as the hoe directory in Cygwin. I though about substituting the user directory inside /home by a symlink to one of the above. Is there any

RE: Using dos2unix and attaching it to a while loop

2007-04-09 Thread Williams, Gerald S \(Jerry\)
[EMAIL PROTECTED] wrote: > I am dealing with DOS text files and need to output DOS text files. [...] > I found dos2unix, but I do not know how to properly implement it. The > following Bash code is a work-in- progress. Please let me know if a more > efficient approach exists. > > while read line

Re: Suggestion for run (with patch)

2007-04-09 Thread Christopher Faylor
On Mon, Apr 09, 2007 at 03:32:35PM +0100, Adye, TJ (Tim) wrote: >For many years I've continued to use Chuck Wilson's old run-1.1.4 >because it included a version that was linked without Cygwin >(run-native.exe, built with VC). Although it doesn't have all the >features of the Cygwin version (eg. it

Suggestion for run (with patch)

2007-04-09 Thread Adye, TJ \(Tim\)
Hi Alexander, For many years I've continued to use Chuck Wilson's old run-1.1.4 because it included a version that was linked without Cygwin (run-native.exe, built with VC). Although it doesn't have all the features of the Cygwin version (eg. it can't translate Cygwin mount points), it does allow

Re: perl problem with cygwin path

2007-04-09 Thread Mike R Brown
Larry Hall (Cygwin) wrote: Mike R Brown wrote: Matthew Woehlke wrote: Mike R Brown wrote: [snip] Nope. With a current updatedb locate found one perl.exe under /usr/bin. When I renamed this perl.exe to perly.exe and copied the version that worked from my machine and did a version

Re: Cygwin Installation Problems on Windows Vista

2007-04-09 Thread Kevin Hilton
Im not sure they are "broken" in the purest sense, however I waited over 2 hours for the gnuplot.sh script to finish. It never did. The script seems simple: #!/bin/sh if [ -f /usr/bin/texhash ] then /usr/bin/texhash fi /usr/bin/install-info --dir-file=/usr/share/info/dir --info-file=/usr/shar

Re: ln -s exe magic (coreutils 6.7-2)

2007-04-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Revisiting an old thread... According to Corinna Vinschen on 1/24/2007 7:38 AM: > On Jan 24 06:45, Eric Blake wrote: >> According to Corinna Vinschen on 1/24/2007 2:48 AM: >>> This looks rather like a problem with the exe magic in coreutils. FWIW, >>

Using dos2unix and attaching it to a while loop

2007-04-09 Thread robert_neville310
I am dealing with DOS text files and need to output DOS text files. This scenario is not about converting a file in DOS format to UNIX format; or read a file line by line. It relates to using Unix commands and manipulating a dos file and staying in a dos format How do you read each line in a whi