Cygwin.bat (was: [ANNOUNCEMENT] Updated: libreadline7-7.0.3-3)

2017-07-28 Thread Achim Gratz
Eric Blake writes: >> As in "C:\cygwin64\Cygwin.bat" that can be found after a regular install of >> Cygwin >> > > Oh, that one doesn't show up under 'cygcheck -p', so it must be created > by setup.exe. It's created by the postinsta

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-30 Thread Christian Franke
Corinna Vinschen wrote: On Aug 26 18:23, Christian Franke wrote: Traditionally setup.exe creates the /cygwin.bat file as follows if C:\cygwin is the install directory: - @echo off C: chdir C:\cygwin\bin bash --login -i - The following should work since WinXP regardless of install

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-30 Thread Andrey Repin
t;> .\bash --login -i >>>>>> "%~dp0bin\bash.exe" --login -i >>>> >>>>> Changing the directory before bash is run is a security measure because >>>>> the current directory may be in DLL search path. >>>> >

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-30 Thread cyg Simple
nge the last line to: >>>>>> .\bash --login -i >>>>> "%~dp0bin\bash.exe" --login -i >>> >>>> Changing the directory before bash is run is a security measure because >>>> the current directory may be in DLL search path.

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-30 Thread Corinna Vinschen
On Aug 26 18:23, Christian Franke wrote: > Traditionally setup.exe creates the /cygwin.bat file as follows if C:\cygwin > is the install directory: > - > @echo off > > C: > chdir C:\cygwin\bin > > bash --login -i > - > > > The following should

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-30 Thread Corinna Vinschen
gt; Possibly not. This does not run bash in current console. It starts a new > > mintty Window. > > Who in their right mind would want a bogus native console? > You? Ok, you can change it to > > "%~dp0bin\bash.exe" --login -i > > if you so desire. The

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-29 Thread Andrey Repin
> "%~dp0bin\bash.exe" --login -i >> >>> Changing the directory before bash is run is a security measure because >>> the current directory may be in DLL search path. >> >> And? >> >>> I guess this is one reason why the cygwin.bat file cre

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-29 Thread cyg Simple
>> Changing the directory before bash is run is a security measure because >> the current directory may be in DLL search path. > > And? > >> I guess this is one reason why the cygwin.bat file created by setup.exe also >> does this. > > I'm starting an a

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-27 Thread Andrey Repin
e > the current directory may be in DLL search path. And? > I guess this is one reason why the cygwin.bat file created by setup.exe also > does this. I'm starting an application by its full path. -- With best regards, Andrey Repin Saturday, August 27, 2016 20:42:53 Sorry for m

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-27 Thread Christian Franke
on why the cygwin.bat file created by setup.exe also does this. -- 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: Proposal for new cygwin.bat which is independent from install directory

2016-08-27 Thread Andrey Repin
Greetings, Christian Franke! >> Also don't see why so complicated. While staying in the console, how >> about: >> - >> @echo off >> >> cd /d "%~dp0\bin" >> >> bash --login -i >> - > An errorlevel check is IMO mandatory after a cd command. Absolutely unnecessary. --login will change the C

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-27 Thread Andrey Repin
Greetings, Christian Franke! > Andrey Repin wrote: >> ... >> Why so complicated? >> >> @START "" /B "%~dp0bin\mintty.exe" - >> >> Done. > Possibly not. This does not run bash in current console. It starts a new > mintty Window. Who in their right mind would want a bogus native console? You? Ok,

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-27 Thread Bengt Larsson
Christian Franke wrote: >Bengt Larsson wrote: >> - >> @echo off >> >> cd /d "%~dp0\bin" >> >> bash --login -i >> - > >An errorlevel check is IMO mandatory after a cd command. Otherwise >another bash in the PATH might be started if the directory does not exist. >Hmm... therefore it is also

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-27 Thread Thomas Wolff
.. therefore it is also better to change the last line to: .\bash --login -i The directory change is intentionally done with two cd commands to avoid possible problems with cmd variants (on Win10 "%~dp0" expands to a path with trailing backslash). If someone submits a patch to chang

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-27 Thread Christian Franke
Andrey Repin wrote: ... Why so complicated? @START "" /B "%~dp0bin\mintty.exe" - Done. Possibly not. This does not run bash in current console. It starts a new mintty Window. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentat

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-27 Thread Christian Franke
Bengt Larsson wrote: Andrey Repin wrote: The following should work since WinXP regardless of install directory: - @echo off cd /d %~dp0 if errorlevel 1 exit /b 1 cd bin if errorlevel 1 exit /b 1 bash --login -i - Why so complicated? Also don't see why so complicated. While staying in

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-27 Thread Bengt Larsson
Andrey Repin wrote: >Greetings, Christian Franke! > >> Traditionally setup.exe creates the /cygwin.bat file as follows if >> C:\cygwin is the install directory: >> - >> @echo off > >> C: >> chdir C:\cygwin\bin > >> bash --login -i

Re: Proposal for new cygwin.bat which is independent from install directory

2016-08-26 Thread Andrey Repin
Greetings, Christian Franke! > Traditionally setup.exe creates the /cygwin.bat file as follows if > C:\cygwin is the install directory: > - > @echo off > C: > chdir C:\cygwin\bin > bash --login -i > - > The following should work since WinXP rega

Proposal for new cygwin.bat which is independent from install directory

2016-08-26 Thread Christian Franke
Traditionally setup.exe creates the /cygwin.bat file as follows if C:\cygwin is the install directory: - @echo off C: chdir C:\cygwin\bin bash --login -i - The following should work since WinXP regardless of install directory: - @echo off cd /d %~dp0 if errorlevel 1 exit /b 1 cd

Re: bash not responding to control-c when started from cygwin.bat

2012-03-11 Thread Pat Tressel
Corinna -- > This problem is fixed in CVS for a while.  Please test the latest > developer snapshot from http://cygwin.com/snapshots/ Aha! Thanks! -- Pat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin

Re: bash not responding to control-c when started from cygwin.bat

2012-03-11 Thread Corinna Vinschen
On Mar 9 17:09, Pat Tressel wrote: > Got another console / bash oddity that just started... > > When I start a bash window with C:\cygwin\Cygwin.bat, which runs bash as... > > bash --login -i > > ...doing ^C gets no response: It doesn't clear typing, it doesn&#x

bash not responding to control-c when started from cygwin.bat

2012-03-09 Thread Pat Tressel
Got another console / bash oddity that just started... When I start a bash window with C:\cygwin\Cygwin.bat, which runs bash as... bash --login -i ...doing ^C gets no response: It doesn't clear typing, it doesn't go back to the shell, it doesn't stop a running program. If I

Re: Latest cygwin.bat - need one

2011-12-13 Thread Corinna Vinschen
On Dec 12 10:45, Ken Brown wrote: > On 12/12/2011 1:31 AM, Mike Brown wrote: > >On Sun, Dec 11, 2011 at 11:48:01PM -0600, Mike Brown wrote: > >Suggestions for document improvement: > > > >FAQ addition to show how to modify the cygwin.bat file, or a copied file for >

Re: Latest cygwin.bat - need one

2011-12-12 Thread Mike Brown
On Mon, Dec 12, 2011 at 10:07:23PM -0500, Ken Brown wrote: > [Sorry, I again accidentally replied to the OP instead of to the list.] Easy to do the way this mail list is set up. > Are you sure you didn't forget the `-' at the end of the target? That's > what tells mintty to start your shell as

Re: Latest cygwin.bat - need one

2011-12-12 Thread Jeremy Bopp
nd the terminal has no clue as to where any of the Cygwin programs are. > The PATH that is created before any of my files are read contains info on > Windblows program locations, but nowhere is /usr/bin or /bin, or any of the > long path names to the Cygwin binaries. > > Whe

Re: Latest cygwin.bat - need one

2011-12-12 Thread Ken Brown
has no clue as to where any of the Cygwin programs are. The PATH that is created before any of my files are read contains info on Windblows program locations, but nowhere is /usr/bin or /bin, or any of the long path names to the Cygwin binaries. When started from the cygwin.bat file, "/usr/loca

Re: Latest cygwin.bat - need one

2011-12-12 Thread Mike Brown
any of my files are read contains info on Windblows program locations, but nowhere is /usr/bin or /bin, or any of the long path names to the Cygwin binaries. When started from the cygwin.bat file, "/usr/local/bin:/usr/bin:/bin:" prefice the Windblows paths. So, a PATH that includes the

Re: Latest cygwin.bat - need one

2011-12-12 Thread Gary Johnson
On 2011-12-12, Jeremy Bopp wrote: > On 12/12/2011 03:23 PM, Mike Brown wrote: > > In my case that is a no go. That is because, as mentioned, I told the > > installer not to create the desktop shortcut or the start menu option, as I > > already had them. So, the start menu currently points to the

Re: Latest cygwin.bat - need one

2011-12-12 Thread Jeremy Bopp
On 12/12/2011 03:23 PM, Mike Brown wrote: > In my case that is a no go. That is because, as mentioned, I told the > installer not to create the desktop shortcut or the start menu option, as I > already had them. So, the start menu currently points to the BAT file. Hmm, it seems that my messages

Re: Latest cygwin.bat - need one

2011-12-12 Thread Mike Brown
On Mon, Dec 12, 2011 at 03:28:39PM -0500, Ken Brown wrote: > There's nothing to set up. You just click on the start menu shortcut. You > can then right click in the mintty window and select "Options" if you want > to change some of the defaults. In my case that is a no go. That is because, as

Re: Latest cygwin.bat - need one

2011-12-12 Thread Ken Brown
uple weeks if no one beats me to it. (Much of the documentation has already been updated in CVS.) By the way, I was wrong when I said there is no longer a default BAT file. setup.exe still creates /Cygwin.bat if it doesn't already exist. But setup.exe no longer creates a shortcut to star

Re: Latest cygwin.bat - need one

2011-12-12 Thread Jeremy Bopp
On 12/12/2011 11:44 AM, Mike Brown wrote: snipped doc references... > In other words, no where in the documentation is it stated that mintty is now > the default startup. It all leans toward cygwin.bat as being the way things > are started. > > So, just what is a user suppose

Re: Latest cygwin.bat - need one

2011-12-12 Thread Mike Brown
in a .bat file. An initial file is named Cygwin.bat and is created in the Cygwin root directory that you specified during setup. Note that the "Cygwin" option of the Start Menu points to Cygwin.bat. Edit Cygwin.bat to your liking or create your own .bat files to start Cygwin p

Re: Latest cygwin.bat - need one

2011-12-12 Thread Ken Brown
On 12/12/2011 1:31 AM, Mike Brown wrote: On Sun, Dec 11, 2011 at 11:48:01PM -0600, Mike Brown wrote: Suggestions for document improvement: FAQ addition to show how to modify the cygwin.bat file, or a copied file for modification, in order to be able to run rxvt to start a better terminal. This

Re: Latest cygwin.bat - need one

2011-12-12 Thread Mike Brown
On Mon, Dec 12, 2011 at 01:13:02AM -0600, Tim McDaniel wrote: > On Mon, 12 Dec 2011, Mike Brown wrote: >> Doing some more digging I found >> the following posting (via google): >> >>> Does changing 'bash' to '/bin/bash' make a difference? >> >>Answering my own question: yes. >> >>There

Re: Latest cygwin.bat - need one

2011-12-11 Thread Tim McDaniel
On Mon, 12 Dec 2011, Mike Brown wrote: Doing some more digging I found the following posting (via google): > Does changing 'bash' to '/bin/bash' make a difference? Answering my own question: yes. There was a change in execvp()'s behaviour to no longer look up an executable in the c

Re: Latest cygwin.bat - need one

2011-12-11 Thread Mike Brown
it > does manage to stick, it seems to fail to start the zsh login process, i.e., > the reading on my .z* startup files. That results in any entered characters > being ignored, as there isn't a prompt there to accept input. >From what I can discover, the default cygwin.bat file

Latest cygwin.bat - need one

2011-12-11 Thread Mike Brown
Because I already had a cygwin.bat file, the upgrade from 1.5.x to 1.7.x did not provide a new one, not even a cygwin.bat.sample (which would have been nice), so that one could see if there are differences between releases. As a result of there not being a sample, my current bat file will not

Re: cygwin-1.7.7-1 setup.exe errors and cygwin.bat/bash anomalies

2010-09-06 Thread Andy Koppe
On 7 September 2010 03:23, Monte Cabet wrote: >  I get quite unique experiences with the new update. First, it didn't like > to fulfill the dependencies, though it did state they were needed. To > somewhat explain what I mean, I would do the very basic install and it would > say that some files are

cygwin-1.7.7-1 setup.exe errors and cygwin.bat/bash anomalies

2010-09-06 Thread Monte Cabet
I get quite unique experiences with the new update. First, it didn't like to fulfill the dependencies, though it did state they were needed. To somewhat explain what I mean, I would do the very basic install and it would say that some files are required, but wouldn't install'em. Some reason, t

Re: 1.7.5 run cygwin.bat and returned with c:\cygwin\bin folder

2010-05-15 Thread Stephen Morton
On Fri, 14 May 2010 17:13:05 -0700 (PDT), Ping Wu Wrote: >I have try to install Cygwin on Amazon AMI >ami-f71ff09e amazon/Windows-Server2003R2-x86_64-SqlExpress-v109 >The setup.exe did completed with the installation, but cygwin.bat return >right away and going nowhere. > &g

Re: 1.7.5 run cygwin.bat and returned with c:\cygwin\bin folder

2010-05-15 Thread Greg Chicares
On 2010-05-15 00:13Z, Ping Wu wrote: > > The questions: Are there any way I can a do a complete clean remove Follow the FAQ link below and search for "remove"--soon you'll find: http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all How do I uninstall all of Cygwin? It gives step-

1.7.5 run cygwin.bat and returned with c:\cygwin\bin folder

2010-05-14 Thread Ping Wu
I have try to install Cygwin on Amazon AMI ami-f71ff09e amazon/Windows-Server2003R2-x86_64-SqlExpress-v109 The setup.exe did completed with the installation, but cygwin.bat return right away and going nowhere. If I ran it from command line it will ended up at c:\cygwin\bin. I have try to

Re: modified cygwin.bat for rxvt - window does not stay up in 1.7.2

2010-03-25 Thread Corinna Vinschen
On Mar 25 14:40, j8raa6t...@snkmail.com wrote: > Corinna Vinschen wrote at 21:20 +0100 on Mar 24, 2010: > > On Mar 24 20:16, Andy Koppe wrote: > > > Andy Koppe: > > > > j8raa6t5a9: > > > >> I updated to 1.7.2 and the cygwin.bat I modified ages a

Re: modified cygwin.bat for rxvt - window does not stay up in 1.7.2

2010-03-25 Thread j8raa6t5a9
Corinna Vinschen wrote at 21:20 +0100 on Mar 24, 2010: > On Mar 24 20:16, Andy Koppe wrote: > > Andy Koppe: > > > j8raa6t5a9: > > >> I updated to 1.7.2 and the cygwin.bat I modified ages ago to run rxvt > > >> does not work anymore. The

Re: modified cygwin.bat for rxvt - window does not stay up in 1.7.2

2010-03-24 Thread Corinna Vinschen
On Mar 24 20:16, Andy Koppe wrote: > Andy Koppe: > > j8raa6t5a9: > >> I updated to 1.7.2 and the cygwin.bat I modified ages ago to run rxvt does > >> not work anymore.  The window pops up and quickly disappears (I'm using > >> Windows XP). > >>

Re: modified cygwin.bat for rxvt - window does not stay up in 1.7.2

2010-03-24 Thread Andy Koppe
Andy Koppe: > j8raa6t5a9: >> I updated to 1.7.2 and the cygwin.bat I modified ages ago to run rxvt does >> not work anymore.  The window pops up and quickly disappears (I'm using >> Windows XP). >> >> cygwin.bat looks like: >> @echo off >> C:

Re: modified cygwin.bat for rxvt - window does not stay up in 1.7.2

2010-03-24 Thread Andy Koppe
j8raa6t5a9: > I updated to 1.7.2 and the cygwin.bat I modified ages ago to run rxvt does > not work anymore.  The window pops up and quickly disappears (I'm using > Windows XP). > > cygwin.bat looks like: > @echo off > C: > chdir C:\cygwin\bin > rxvt -e bash --l

modified cygwin.bat for rxvt - window does not stay up in 1.7.2

2010-03-24 Thread j8raa6t5a9
I updated to 1.7.2 and the cygwin.bat I modified ages ago to run rxvt does not work anymore. The window pops up and quickly disappears (I'm using Windows XP). cygwin.bat looks like: @echo off C: chdir C:\cygwin\bin rxvt -e bash --login -i I don't see any info in /var/log. Maybe ther

Re: question with cygwin.bat and Windows Scheduler

2010-01-10 Thread Thorsten Kampe
* aviate (Sat, 9 Jan 2010 19:02:46 -0800 (PST)) > > I was avoiding cron...but it might be most useful here. Is there any way to > hide the window popping up by Windows Scheduler?? hstart -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Doc

Re: question with cygwin.bat and Windows Scheduler

2010-01-09 Thread aviate
#x27;t need cron. > > -SM > -- > > -- > 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: question with cygwin.bat and Windows Scheduler

2010-01-09 Thread Steven Monai
On 2010/01/09 8:42 PM, Steven Monai wrote: > On 2010/01/09 7:02 PM, aviate wrote: >> I was avoiding cron...but it might be most useful here. Is there any >> way to >> hide the window popping up by Windows Scheduler?? > > Yes there is. Duh, just replying to myself to let you know that there's an

Re: question with cygwin.bat and Windows Scheduler

2010-01-09 Thread Steven Monai
On 2010/01/09 7:02 PM, aviate wrote: > I was avoiding cron...but it might be most useful here. Is there any > way to > hide the window popping up by Windows Scheduler?? Yes there is. Install the Cygwin 'run' package (if not installed already). Use the Windows Task Scheduler interface to schedule

Re: question with cygwin.bat and Windows Scheduler

2010-01-09 Thread aviate
ke this work to no >> avail...and >> did not find help online. >> >> Using Windows XP, I am running a bash script via the windows task >> scheduler, >> which is calling Cygwin.bat ...The command being tasked is: >> >> C:\cygwin\Cygwin.bat /myfolder/mysc

Re: question with cygwin.bat and Windows Scheduler

2010-01-09 Thread Steven Monai
On 2010/01/09 5:36 PM, aviate wrote: > > Hi...tried for a long, long time trying to make this work to no avail...and > did not find help online. > > Using Windows XP, I am running a bash script via the windows task scheduler, > which is calling Cygwin.bat ...The command being

question with cygwin.bat and Windows Scheduler

2010-01-09 Thread aviate
Hi...tried for a long, long time trying to make this work to no avail...and did not find help online. Using Windows XP, I am running a bash script via the windows task scheduler, which is calling Cygwin.bat ...The command being tasked is: C:\cygwin\Cygwin.bat /myfolder/myscript.sh The tasking

RE: upgrade to 1.7 experience ; Cygwin.bat doesn't find home directory

2009-12-24 Thread Buchbinder, Barry (NIH/NIAID) [E]
lling the base package cleared this issue up. Cygwin.bat doesn't find my home directory (which is a sym link) rathe it prints a message telling me that there isn't a ./.bashrc in /usr/bin. Looks like Cygwin.bat is identical between 1.5 and 1.7 but the behavior is different.I thou

Re: upgrade to 1.7 experience ; Cygwin.bat doesn't find home directory

2009-12-24 Thread Larry Hall (Cygwin)
On 12/24/2009 02:56 AM, Myron Flickner wrote: It appears that bash not finding the home directory is caused by a missing /etc/profile. I copied over this file from a 1.5 system and now bash finds my profile and .bashrc. Is this a bug or by design ? Neither. See Chris' email here:

Re: upgrade to 1.7 experience ; Cygwin.bat doesn't find home directory

2009-12-23 Thread Myron Flickner
gwin1.dll". After a reboot bash wouldn't start - same error message. Reinstalling the base package cleared this issue up. Cygwin.bat doesn't find my home directory (which is a sym link) rathe it prints a message telling me that there isn't a ./.bashrc in /usr/bin.

Re: upgrade to 1.7 experience ; Cygwin.bat doesn't find home directory

2009-12-23 Thread Christopher Faylor
On Wed, Dec 23, 2009 at 09:45:15PM -0800, Myron Flickner wrote: >I just upgraded my first XP Pro machine from 1.5 to 1.7 - a couple of minor >issues > >Part of the post-install failed with many popup dialogs - "The procedure >entry point __ctype_ptr__ could not be located in the dynamic link lib

upgrade to 1.7 experience ; Cygwin.bat doesn't find home directory

2009-12-23 Thread Myron Flickner
t start - same error message. Reinstalling the base package cleared this issue up. Cygwin.bat doesn't find my home directory (which is a sym link) rathe it prints a message telling me that there isn't a ./.bashrc in /usr/bin. Looks like Cygwin.bat is identical between 1.5 an

Re: cygwin settings in cygwin.bat

2009-10-01 Thread Thomas Wolff
CygwinUser wrote: Hi, Thanks for your reply. It works. But just curious to know if I can change it inside cygwin.bat file?. mode con lines=40 cols=90 Larry Hall (Cygwin) wrote: On 09/30/2009 01:37 PM, CygwinUser wrote: Hi, I would like to change the default settings for screen

Re: cygwin settings in cygwin.bat

2009-09-30 Thread Larry Hall (Cygwin)
On 09/30/2009 02:36 PM, CygwinUser wrote: Thanks for your reply. It works. But just curious to know if I can change it inside cygwin.bat file?. I don't know of a way to do that. You might find someone in a Windows forum that knows a way to make that happen from a batch file. -- Larry

Re: cygwin settings in cygwin.bat

2009-09-30 Thread CygwinUser
Hi, Thanks for your reply. It works. But just curious to know if I can change it inside cygwin.bat file?. Larry Hall (Cygwin) wrote: > > On 09/30/2009 01:37 PM, CygwinUser wrote: >> >> Hi, >> >> I would like to change the default settings for screen buffer siz

Re: cygwin settings in cygwin.bat

2009-09-30 Thread Larry Hall (Cygwin)
On 09/30/2009 01:37 PM, CygwinUser wrote: Hi, I would like to change the default settings for screen buffer size and screen width. I would like to know which cygwin variable should be used and the syntax to set in cygwin.bat. Could you please let me know Thanks in advance. If you're ta

cygwin settings in cygwin.bat

2009-09-30 Thread CygwinUser
Hi, I would like to change the default settings for screen buffer size and screen width. I would like to know which cygwin variable should be used and the syntax to set in cygwin.bat. Could you please let me know Thanks in advance. CygwinUser -- View this message in context: http

Re: Cygwin 1.7(even in 1.5) user logined through cygwin.bat can't show whit "w" command

2009-05-26 Thread Christopher Faylor
On Tue, May 26, 2009 at 11:48:30PM -0400, Larry Hall (Cygwin) wrote: >Huang Bambo wrote: >> As showed in the title. >> If I start a shell from cygwin.bat, the "w" and "who" command showed >> nothing while the shell from ssh can. >> And I also think th

Re: Cygwin 1.7(even in 1.5) user logined through cygwin.bat can't show whit "w" command

2009-05-26 Thread Larry Hall (Cygwin)
Huang Bambo wrote: As showed in the title. If I start a shell from cygwin.bat, the "w" and "who" command showed nothing while the shell from ssh can. And I also think the tty should be pts/x, not ttyx. Set "CYGWIN=tty" in your Windows environment if you wan

Cygwin 1.7(even in 1.5) user logined through cygwin.bat can't show whit "w" command

2009-05-26 Thread Huang Bambo
As showed in the title. If I start a shell from cygwin.bat, the "w" and "who" command showed nothing while the shell from ssh can. And I also think the tty should be pts/x, not ttyx. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: [attention base-files maintainer] copying /bin files to home dir on first run of cygwin.bat

2009-02-16 Thread John Morrison
> I did a base install of cygwin 1.7 (using setup-1.7.exe), > and the first time I ran cygwin.bat, it gave the following: > > +/bin/mkdir -p `dirname ${fDest}` Thanks I'll patch that ASAP. J. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem re

[attention base-files maintainer] copying /bin files to home dir on first run of cygwin.bat

2009-02-15 Thread Yitzchak Scott-Thoennes
I did a base install of cygwin 1.7 (using setup-1.7.exe), and the first time I ran cygwin.bat, it gave the following: Copying skeleton files. These files are for the user to personalise their cygwin experience. They will never be overwritten nor automatically updated. bash: cd: /etc/skel

Re: Cygwin.bat doesn't save original directory in OLDPWD after login

2008-08-17 Thread Christopher Faylor
gin restores >wrong directory. This is because batch file has been wroten >incorrectly. This is correct: > >"%~dp0bin\bash" --login -i I don't see how that can be correct. There seems to be some inexplicable mangling in the above. However, the cygwin.bat file isn't

Cygwin.bat doesn't save original directory in OLDPWD after login

2008-08-17 Thread Andry
Hello cygwin, If run cygwin from cmd.exe from random directory, for example, from "c:\blablabla", then after login OLDPWD would be "/usr/bin" instead original directory. So command cd "$OLDPWD" just after login restores wrong directory. This is because batch file has been wroten incorrec

Setup properly logged me in and starts session; all subsequent cygwin.bat invocations just start bash

2008-06-03 Thread Bernie Baillargeon
gs/Bern windows folder and wrote the initial .bash_history file there; yet the skeleton files are written to M:/./cygwin/home/Bern. [They're not on the same drive, but I have admin rights and can access them, so my executing cygwin should work there too.] However, on every call after that,

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer (SOLVED)

2008-04-15 Thread Christoph Herdeg
;openssl.sh" export MANPATH="${MANPATH}:/usr/ssl/man" # Run our script if [ -e /etc/profile.d/ibm_customize_cygwin.sh ]; then /etc/profile.d/./ibm_customize_cygwin.sh fi; This may not be elegant but at least works as planned. When Cygwin&#x

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-11 Thread Corinna Vinschen
On Apr 11 11:48, Christopher Faylor wrote: > Also, Red Hat has their own supported distribution so I wouldn't assume > that they would be thrilled to make changes in the cygwin net disro to > accommodate someone else's attempts to install packages. Hmm, you know how it is with money... Corinna

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-11 Thread Christopher Faylor
On Thu, Apr 10, 2008 at 12:58:14PM -0700, Matt Seitz (matseitz) wrote: >"Christopher Faylor" <[EMAIL PROTECTED]> wrote >in message news:<[EMAIL PROTECTED]>... >>It's nice that people have found other uses for cygwin1.dll and the >>packages which go into the distribution found at http://cygwin.com/

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-11 Thread Christopher Faylor
On Fri, Apr 11, 2008 at 10:10:06AM +0200, Christoph Herdeg wrote: >blub. blub. blubber. > >Hey, Christopher: I'm very sorry for apparently having risen your most >honest anger. I will frefrain from asking questions in the future. Or maybe >better you simply shouldn't read mine? If you just don't wa

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-11 Thread Mark J. Reed
Christoph: Corrina has been nothing but polite and helpful. Please don't let Christopher's somewhat hostile response color your interpretation of others'. Your attitude in the last few messages has been unhelpful, to say the least, and might wind up keeping anyone from helping you further. I don

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-11 Thread Corinna Vinschen
On Apr 11 16:45, Christoph Herdeg wrote: > Okay. But the information I gave included about 10 times the fact that the > Nullsoft Installer we use calls the standard cygwin.bat as penultimate step > (before at last cleaning up). I'm sorry that I didn't remember every detail y

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-11 Thread Corinna Vinschen
On Apr 11 16:45, Christoph Herdeg wrote: > btw.: > > your proposal to delete the variables in the batch that does start cygwin > for the 1st time doesn't work. The variables are deleted before bash starts > (echo $tmp is...nothing but this doesn't change anything; the same error > occurs at the sa

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-11 Thread Christoph Herdeg
Okay. But the information I gave included about 10 times the fact that the Nullsoft Installer we use calls the standard cygwin.bat as penultimate step (before at last cleaning up). Christoph Corinna

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-11 Thread Christoph Herdeg
cygwin@cygwin.com Subject 11.04.2008 10:50 Re: -11: Problem at 1st start when "cygwin.bat" is run by

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-11 Thread Corinna Vinschen
On Apr 11 10:53, Christoph Herdeg wrote: > A tip _when_ to do it would be great. I can well write shellscripts for my > own simple purposes, but I am definiteley no Guru. *Before* calling bash. I don't know what your installer is doing and how and where it calls bash, but the environment should b

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-11 Thread Christoph Herdeg
at 1st start when "cygwin.bat" is run by Nu

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-11 Thread Corinna Vinschen
On Apr 11 10:10, Christoph Herdeg wrote: > And...while already bein on rant: Hey Corinna, instead of writing "use > unset" and "man bash"...wouldn't it have been easier to have written "unset > -fv TMP" in the first time? You said you know how to write shell scripts. And then again, I said that i

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-11 Thread Christoph Herdeg
CTED] Subject in.comRe: -11: Problem at 1st start when "cygwin.bat" is run by

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-10 Thread Matt Seitz (matseitz)
"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > It's nice that people have found other uses for cygwin1.dll and the packages > which go into the distribution found at http://cygwin.com/ but I think > it is unrealistic to expect that people here will be ch

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-10 Thread Christopher Faylor
sn't yet exist at the >> time the error occurs? > >No. The environment is converted before the shell is doing something >on its own accord. > >Is it possible that the cygdrive prefix doesn't exist when cygwin.bat is >called the first time? So far the instal

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-10 Thread Corinna Vinschen
On Apr 10 12:50, Christoph Herdeg wrote: > Adding the following lines to /etc/profile to delet the variables didn't > help anything: > > TMP= > TEMP= > TMPDIR= man bash The above doesn't remove the variables. Use unset. > The same error occured a the same place, so it's neither a solution no

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-10 Thread Christoph Herdeg
Re: -11: Problem at 1st start when 10.04.2008 10:59 "cygwin.bat" is run by Nullsoft-Installer

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-10 Thread Christoph Herdeg
Subject Re: -11: Problem at 1st start when 10.04.2008 10:59 "cygwin.bat" is run by

Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-10 Thread Corinna Vinschen
a > problem: At the end of the installation, cygwin.bat is executed by the > Nullsoft Installer. Normally bash should open and all shellscripts residing > in /etc/profile.d should be run automagically (the script /etc/profile > collects and runs them). In our case it doesn't - at le

-11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer

2008-04-10 Thread Christoph Herdeg
Hello List, We have made up an unattended installer package for cygwin using Nullsoft Installer. This package works on all x32 and x64 versions of Windows 2000, XP and Server 2003. Testing with Windows Server 2008 we discovered a problem: At the end of the installation, cygwin.bat is executed by

Re: cygwin.bat

2007-11-19 Thread Carlo Florendo
123cu wrote: First, I am a newbee to Cygwin so please excuse my lack of knowledge. I have a text file (aaa.txt) which contains a simple grep command. When I start Cygwin.bat, I want this file to be started (executed) as part of invoking the cygwin.bat file. I don't know how to do it. Any

Re: cygwin.bat

2007-11-19 Thread Brian Mathis
On Nov 19, 2007 11:01 AM, 123cu <[EMAIL PROTECTED]> wrote: > > First, I am a newbee to Cygwin so please excuse my lack of knowledge. > > I have a text file (aaa.txt) which contains a simple grep command. When I > start Cygwin.bat, I want this file to be started (executed) as p

cygwin.bat

2007-11-19 Thread 123cu
First, I am a newbee to Cygwin so please excuse my lack of knowledge. I have a text file (aaa.txt) which contains a simple grep command. When I start Cygwin.bat, I want this file to be started (executed) as part of invoking the cygwin.bat file. I don't know how to do it. Any help wi

Re: cygwin.bat/bash fails after install

2007-09-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Allen on 9/18/2007 10:04 AM: > After a successful installation of cygwin you run cygwin.bat and the > following message flashes briefly on your screen: > > bash: can't find configuration file /usr/local/etc/profil

RE: cygwin.bat/bash fails after install

2007-09-18 Thread Dave Korn
On 18 September 2007 17:05, Jim Allen wrote: > After a successful installation of cygwin you run cygwin.bat and the > following message flashes briefly on your screen: > > bash: can't find configuration file /usr/local/etc/profile.global; exiting. Nope, that doesn't

Re: cygwin.bat/bash fails after install

2007-09-18 Thread Larry Hall (Cygwin)
Jim Allen wrote: After a successful installation of cygwin you run cygwin.bat and the following message flashes briefly on your screen: bash: can't find configuration file /usr/local/etc/profile.global; exiting. A work-around was first documented in http://sourceware.org/ml/cygwin/20

  1   2   >