Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-12 Thread Harold L Hunt
First: Wrong mailing list. Send all Cygwin/XFree86 questions to [EMAIL PROTECTED] I have redirected this discussion to the correct mailing list, but be careful to remove [EMAIL PROTECTED] from the ``cc'' if you reply to this message. Second: Read the extensive comments in startxwin.bat that tal

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-12 Thread Bernard A Badger
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf > Of Harold L Hunt > Sent: Friday, July 12, 2002 10:27 AM > To: willichnicht habichnet; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: Bug in startxwin.bat after install

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-12 Thread Harold L Hunt
good service. Thank you :) Harold Bernard A Badger <[EMAIL PROTECTED]> said: > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf > > Of Harold L Hunt > > Sent: Friday, July 12, 2002 10:27 AM > > To: willichnicht habichnet; [E

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-12 Thread Jehan
Harold L Hunt wrote: > Okay, if you are so smart, explain to me how I can put a drive letter into a > batch file that is expected to work on computers where Cygwin could be > installed on ``c:\cygwin'' or ``d:\cygwin''? I certainly could not put ``c'' > as the drive, nor could I put ``d'' as the

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-12 Thread Harold L Hunt
Jehan <[EMAIL PROTECTED]> said: > Harold L Hunt wrote: > > Okay, if you are so smart, explain to me how I can put a drive letter into a > > batch file that is expected to work on computers where Cygwin could be > > installed on ``c:\cygwin'' or ``d:\cygwin''? I certainly could not put ``c'' > >

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-12 Thread Jehan
Harold L Hunt wrote: > Unfortunately you cannot use a relative path (e.g. ..\..\.., which gets \bin > appended on it to point to /bin) because that causes bash (or whatever shell > you launch in xterm) to have a relative path the Cygwin binaries. Thus you > can no longer run Cygwin binaries if yo

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-12 Thread Thomas Chadwick
registry, isn't it, so why not this? You could then modify the startxwin.bat and startxwin.sh scripts such that they don't attempt to assign CYGWIN_ROOT if it already has a value. >From: Harold L Hunt <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Bug in start

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-12 Thread Harold L Hunt
Thomas Chadwick <[EMAIL PROTECTED]> said: > I hate to jump into the middle of a religious argument (which this is > turning out to be) but it seems to me that a plausible solution would be to > urge the maintainers of the cygwin setup program to define a CYGWIN_ROOT > environment variable for

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-12 Thread Jehan
Thomas Chadwick wrote: > I hate to jump into the middle of a religious argument (which this is > turning out to be) but it seems to me that a plausible solution would be > to urge the maintainers of the cygwin setup program to define a > CYGWIN_ROOT environment variable for us. Cygwin setup is

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-12 Thread Christopher Faylor
On Fri, Jul 12, 2002 at 05:17:47PM -0400, Harold L Hunt wrote: >Oh great, you just took a religious war and told the heathens that they >could fight too. :) > >I am inclined to let this issue work itself out without my involvement, >other than to release a patched startxwin.bat if necessay. Oh s

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-12 Thread Jehan
Harold L Hunt wrote: > I am inclined to let this issue work itself out without my involvement, other > than to release a patched startxwin.bat if necessay. Hi harold, Here is a script that will generate the startxwin.bat file. You might want to verify that the batch file is like the original. I

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
I forgot to check if the batch file already existed or not. Attached is the corrected script. Jehan #!/bin/sh BATCH_FILE=/usr/X11R6/bin/startxwin.bat if [ ! -f ${BATCH_FILE} ]; then # First part of the batch file cat << EOF > $BATCH_FILE @echo

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Jehan <[EMAIL PROTECTED]> wrote: > I forgot to check if the batch file already existed or not. Attached is > the corrected script. > > Jehan > > #!/bin/sh > > BATCH_FILE=/usr/X11R6/bin/startxwin.bat > > if [ ! -f ${BATCH_FILE} ]; then > > > # Fir

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Harold L Hunt > Sent: Saturday, 13 July 2002 6:38 AM > To: [EMAIL PROTECTED] > Subject: Re: Bug in startxwin.bat after installing with > setup.exe in win98SE > > >

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
Nicholas Wourms wrote: > You still have the chicken-and-the egg issue. How is a user going to > startxwin from a console window if /usr/X11R6/bin is not in their path? Two things: - For what I understood of the problem, Michael already found the batch file but then, CYGWIN_ROOT was pointing to

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Jehan > Sent: Sunday, 14 July 2002 7:46 AM ... > - Create a shortcut to the batch file in the start menu. That > would be > the best solution except that I don't know how to do it. Cygwin does >

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
> I missed this the first time around. > > What you need is a small sed script in your postinstall script. The sed > script can replace some symbol with the output from 'cygpath -w > /usr/X11/'. > > As for linefeed issues, AFAIK windows will process bat files with unix > format, but you coul

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
Robert Collins wrote: >>- Create a shortcut to the batch file in the start menu. That >>would be >>the best solution except that I don't know how to do it. Cygwin does >>something like that for cygwin.bat but IIRC it has the cygwin path >>hardcoded to "C:\cygwin" even if you installed cygwin i

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: Jehan [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 14 July 2002 7:51 AM > To: Robert Collins > Subject: Re: Bug in startxwin.bat after installing with > setup.exe in win98SE > > > Robert Collins wrote: > >>- Create a sho

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
Robert Collins wrote: > Nope, it's also generated from mount information. Cygwin could be > z:\bar\foo\bar and it would still be correct. Is there a way then for a program to add (after asking the user) to create a shortcut on the desktop/start menu? Is there also way to get the information abo

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: Jehan [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 14 July 2002 8:18 AM > To: Robert Collins > Subject: Re: Bug in startxwin.bat after installing with > setup.exe in win98SE > > > Robert Collins wrote: > > Nope, it's

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Thomas Chadwick > I hate to jump into the middle of a religious argument (which this is > turning out to be) but it seems to me that a plausible > solution would be to > urge the maintainers of

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
Robert Collins wrote: > >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED]] On Behalf Of Thomas Chadwick > > >>I hate to jump into the middle of a religious argument (which this is >>turning out to be) but it seems to me that a plausible >>solution would be to

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
Robert Collins wrote: > >>-Original Message- >>From: Jehan [mailto:[EMAIL PROTECTED]] >>Sent: Sunday, 14 July 2002 8:18 AM >>To: Robert Collins >>Subject: Re: Bug in startxwin.bat after installing with >>setup.exe in win98SE >> >> >

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
I forgot to attach the "X.ico" file. It's not the best in the world but I guess it will do (it's the same I sent you with the systray patch a while ago). It is to be installed in /usr/X11R6/bin (or you have to modify the script) Jehan

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Jehan <[EMAIL PROTECTED]> wrote: > I forgot to attach the "X.ico" file. It's not the best in the world but > I guess it will do (it's the same I sent you with the systray patch a > while ago). It is to be installed in /usr/X11R6/bin (or you have to > modify the script) > > Jeh

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Nicholas Wourms > Sent: Sunday, 14 July 2002 10:13 AM > To: Jehan; [EMAIL PROTECTED] > Subject: Re: Bug in startxwin.bat after installing with > setup.exe in win98SE > &

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Charles Wilson
Better hold off on that patch, Nicholas -- it's opposite of the direction Robert wants to go. Setup should be , itself, as generic as possible, and all actions driven by external data. (granted, I haven't been reading this thread, so I might've missed something...like discussion of the mkshor

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Robert Collins <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] On Behalf Of Nicholas Wourms > > Sent: Sunday, 14 July 2002 10:13 AM > > To: Jehan; [EMAIL PROTECTED] &

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Charles Wilson <[EMAIL PROTECTED]> wrote: > Better hold off on that patch, Nicholas -- it's opposite of the > direction Robert wants to go. Setup should be , itself, as generic as > possible, and all actions driven by external data. > > (granted, I haven't been reading this thread, so I m

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan Bing
Nicholas Wourms wrote: >Excuse me? All I was suggesting is to reword the final setup screen to >something like the following: > >-Create Icon on Desktop for Cygwin Command Prompt >-Create Icon on Desktop for Cygwin/XFree86 >-Add Icon to Start Menu for Cygwin Command Prompt >-Add Icon to Start Me

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
Nicholas Wourms wrote: > --- Jehan <[EMAIL PROTECTED]> wrote: > > If you search the archives, others have already made icons ready for you > use :). Well, I had this one for quite a while already. > I wonder why not just can all the dos stuff by having the > batch file call bash which then ca

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: Nicholas Wourms [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 14 July 2002 10:24 AM > > I mind. Setup should become -more- data driven not less. > > > > Excuse me? All I was suggesting is to reword the final setup > screen to > something like the followin

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Nicholas Wourms > Sent: Sunday, 14 July 2002 10:29 AM > Chuck, > > For crying out loud, 95% of the installers out there create > shortcuts for > the user in the startmenu and on the desktop. Why

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Jehan Bing <[EMAIL PROTECTED]> wrote: > Nicholas Wourms wrote: > > >Excuse me? All I was suggesting is to reword the final setup screen to > >something like the following: > > > >-Create Icon on Desktop for Cygwin Command Prompt > >-Create Icon on Desktop for Cygwin/XFree86 > >-Add Icon to

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: Nicholas Wourms [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 14 July 2002 10:57 AM > To: Jehan Bing ... > No he isn't. There are two ways that someone will interface > with Cygwin, > via Console or via X11. The other apps you mention are Console apps, > the

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Jehan <[EMAIL PROTECTED]> wrote: > Nicholas Wourms wrote: > > --- Jehan <[EMAIL PROTECTED]> wrote: > > > > If you search the archives, others have already made icons ready for > you > > use :). > > Well, I had this one for quite a while already. > > > I wonder why not just can all the do

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Robert Collins <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Nicholas Wourms [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, 14 July 2002 10:24 AM > > > > I mind. Setup should become -more- data driven not less. > > > > > > > Excuse me? All I was suggesting is t

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Robert Collins <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Nicholas Wourms [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, 14 July 2002 10:57 AM > > To: Jehan Bing > ... > > No he isn't. There are two ways that someone will interface > > with Cygwin, > > via Cons

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Nicholas Wourms > Sent: Sunday, 14 July 2002 11:09 AM > Robert, > > I'll have none of this debian talk. You know full well that > I am working > very hard to get rpm-4.1 ready for inclusion into

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
Nicholas Wourms wrote: > --- Jehan <[EMAIL PROTECTED]> wrote: > >>Nicholas Wourms wrote: >> >>>--- Jehan <[EMAIL PROTECTED]> wrote: >>> >>>If you search the archives, others have already made icons ready for >> >>you >> >>>use :). >> >>Well, I had this one for quite a while already. >> >> >>>I

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: Nicholas Wourms [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 14 July 2002 11:19 AM > To: Robert Collins; 'Jehan Bing' > > The above is an argument for the creation of the shortcut, not for > > setup.exe creating it. > > > > Why should setup be more generic?

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Jehan <[EMAIL PROTECTED]> wrote: > Nicholas Wourms wrote: > > --- Jehan Bing <[EMAIL PROTECTED]> wrote: > > > >>Nicholas Wourms wrote: > >> > >> > >>>Excuse me? All I was suggesting is to reword the final setup screen > to > >>>something like the following: > >>> > >>>-Create Icon on Deskto

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
Nicholas Wourms wrote: > Why should setup be more generic? Because it's more flexible. We don't limit ourself to predefined behavior. Right now, only cygwin create a shortcut. Soon (hopefully) XWin will to. Tomorrow, SSH will want to. And rxvt. And csh... We *have* a way to make shortcuts alr

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Robert Collins <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] On Behalf Of Nicholas Wourms > > Sent: Sunday, 14 July 2002 11:09 AM > > Robert, > > > > I'll have none of this debian talk. You know full well that >

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
Nicholas Wourms wrote: > Because scripts are unreliable. Because users are stupid. Because people > like to have a GUI checkbox over a text console prompting them for input. > You are admirable for defending your script, but the fact of the matter is > that people prefer the graphical setup. W

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Jehan <[EMAIL PROTECTED]> wrote: > Nicholas Wourms wrote: > > --- Jehan <[EMAIL PROTECTED]> wrote: > > > >>Nicholas Wourms wrote: > >> > >>>--- Jehan <[EMAIL PROTECTED]> wrote: > >>> > >>>If you search the archives, others have already made icons ready for > >> > >>you > >> > >>>use :). >

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
Nicholas Wourms wrote: > --- Robert Collins <[EMAIL PROTECTED]> wrote: > >> >>>-Original Message- >>>From: [EMAIL PROTECTED] >>>[mailto:[EMAIL PROTECTED]] On Behalf Of Nicholas Wourms >>>Sent: Sunday, 14 July 2002 11:09 AM >>>Robert, >>> >>>I'll have none of this debian talk. You know f

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: Nicholas Wourms [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 14 July 2002 11:45 AM > To: Robert Collins; 'Jehan'; [EMAIL PROTECTED] > Hey, you were the one who brought up debian... Actually, I brought up the technique dpkg uses to address the same issue. But

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Jehan
Nicholas Wourms wrote: > I dunno, maybe > I'm wrong, but it just seems a bit silly to have two identical scripts for > two different situations. I agree with that. > I'm of the camp that loves reusable code... Yeah right, like modifying setup.exe for the XWin shortcut? ;) Jehan

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Robert Collins <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Nicholas Wourms [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, 14 July 2002 11:45 AM > > To: Robert Collins; 'Jehan'; [EMAIL PROTECTED] > > > Hey, you were the one who brought up debian... > > Actually,

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Nicholas Wourms
--- Jehan <[EMAIL PROTECTED]> wrote: > Nicholas Wourms wrote: > > I dunno, maybe > > I'm wrong, but it just seems a bit silly to have two identical scripts > for > > two different situations. > > I agree with that. > > > I'm of the camp that loves reusable code... > > Yeah right, like modify

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: Nicholas Wourms [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 14 July 2002 12:15 PM > > * Name to give the shortcut > > * Location to place it (i.e. %DESKTOP% | %STARTMENU%/subpath | / (to > > place in cygwin root dir)) > > * Target to point to (i.e. /usr/X11R

Re: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Christopher Faylor
On Sun, Jul 14, 2002 at 07:44:51AM +1000, Robert Collins wrote: >As for linefeed issues, AFAIK windows will process bat files with unix >format, but you could always use d2u in your script. I don't think Windows 9x systems will understand bat files with unix line endings. cgf (boy what a strange

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-13 Thread Robert Collins
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Christopher Faylor > Sent: Sunday, 14 July 2002 2:31 PM > To: [EMAIL PROTECTED] > Subject: Re: Bug in startxwin.bat after installing with > setup.exe in win98SE > > &

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-14 Thread Robert Collins
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Robert Collins > Sent: Sunday, 14 July 2002 4:33 PM > To: [EMAIL PROTECTED] > Subject: RE: Bug in startxwin.bat after installing with > setup.exe in win98SE > > >

RE: Bug in startxwin.bat after installing with setup.exe in win98SE

2002-07-14 Thread Harold Hunt
Wow. I sure am glad that I was out of town, throwing a party, and replacing the power steering pump in my Jeep this weekend while you guys slugged this one out. The end result is that I have a couple of scripts to look at and evaluate. Right now I am still trying to get that scrollbars patch rel