Earnie Boyd | 1 Nov 2002 01:25
Picon
Favicon

Re: Re: [Mingw-users] MSYS-1.0.8-rc-1.exe available

FYI, I have a maxima.exe but I don't know if it does the right thing. 
Try MSYS-1.0.8-rc-2.exe and see if you get farther.  The ending : 
problem has yet to be fixed.

Earnie.

Mike Thomas wrote:
> Hi again.
> 
> Further to my earlier reply:
> 
> 
>>#!/bin/sh
>>export C_INCLUDE_PATH=/g/gclm/lib/gcl-2.5.0/h:$C_INCLUDE_PATH
>>exec /g/gclm/lib/gcl-2.5.0/unixport/saved_gcl.exe \
>>     -dir g:/gclm/lib/gcl-2.5.0/unixport/ \
>>     -libdir g:/gclm/lib/gcl-2.5.0/ \
>>     -eval '(setq si::*allow-gzipped-file* t)' \
>>     "$ <at> "
>>
>>1) Use POSIX paths for path lists, such as C_INCLUDE_PATH when using
>>/bin/sh.
> 
> 
> Unfortunately, in order to build Maxima I have to change the C_INCLUDE_PATH
> to either:
> 
>    export C_INCLUDE_PATH=g:/gclm/lib/gcl-2.5.0/h
> 
> or
(Continue reading)

Picon

MSYS rc1 and rc2 and mv.exe

Hi

The version of mv.exe that comes  
with MSYS 1.08 rc1 and rc2 fails if the 
source and target are on different 
drives. The old version works (from 
1.07) okay, and I have reverted to that 
for the time being.

Best regards, The Chief
--------
Prof. Abimbola A. Olowofoyeku (The 
African Chief) 
web:  
http://www.bigfoot.com/~african_chief/
email: african_chief@...

-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
Earnie Boyd | 1 Nov 2002 21:16
Picon
Favicon

Re: MSYS rc1 and rc2 and mv.exe

I just tried it and don't see the problem:

mv /a/foo .
mv foo /a/

Hmm... trying to move a directory

mv foo/ /a/

nope, doesn't work.  Thanks for the report.

Earnie.

Prof. A Olowofoyeku (The African Chief) wrote:
> Hi
> 
> The version of mv.exe that comes  
> with MSYS 1.08 rc1 and rc2 fails if the 
> source and target are on different 
> drives. The old version works (from 
> 1.07) okay, and I have reverted to that 
> for the time being.
> 
> Best regards, The Chief
> --------
> Prof. Abimbola A. Olowofoyeku (The 
> African Chief) 
> web:  
> http://www.bigfoot.com/~african_chief/
> email: african_chief@...
(Continue reading)

Paul G. | 2 Nov 2002 05:44
Picon

Re: Updated: MSYS-1.0.8-rc-2.exe


On 31 Oct 2002 at 14:08, Earnie Boyd wrote:

> Ok, I've found the race condition that caused the crashme.mk file to
> fail.  Other changes have also been made.
> 
> Please test and report to mingw-msys@...

	Initial report re: rc2 under Win9x after defining appropriate command.com definitions 
(using gcc-2.95.3-6 and -fomit-frame-pointer, -g is not enabled):

		So far there have been no problems under Win98 for simply 
compiling/building, though it appears that Win98 may be choking on something when I 
launch an executable from within the msys/rxvt command prompt.  NT4 does not have this 
problem, as the same executable, built under NT4, does not display the behavior noted 
below.

	Behavior:

		Enter executable name at command prompt (size of .exe is ~1Mb, 
command.com /E:4096) for rxvt.

		Win98 all but freezes up, and numerous systems processes are being 
suspended, apparently due to lack of available resources (Msys/rxvt memory leak maybe 
that only occurs under Win98?).

	Could be that it is the same old resource problem that has always existed for Win98.  
Just thought I'd mention it.

	Paul G.
(Continue reading)

Paul G. | 2 Nov 2002 07:54
Picon

Addendum: Re: Updated: MSYS-1.0.8-rc-2.exe


On 1 Nov 2002 at 20:44, Paul G. wrote:

> 
> 
> On 31 Oct 2002 at 14:08, Earnie Boyd wrote:
> 
> > Ok, I've found the race condition that caused the crashme.mk file to
> > fail.  Other changes have also been made.
> > 
> > Please test and report to mingw-msys@...
> 
>  Initial report re: rc2 under Win9x after defining appropriate
>  command.com definitions 
> (using gcc-2.95.3-6 and -fomit-frame-pointer, -g is not enabled):
> 
>   So far there have been no problems under Win98 for simply 
> compiling/building, though it appears that Win98 may be choking on
> something when I launch an executable from within the msys/rxvt
> command prompt.  NT4 does not have this problem, as the same
> executable, built under NT4, does not display the behavior noted
> below.
> 
>  Behavior:
> 
>   Enter executable name at command prompt (size of .exe is ~1Mb,
> command.com /E:4096) for rxvt.
> 
>   Win98 all but freezes up, and numerous systems processes are being
> suspended, apparently due to lack of available resources (Msys/rxvt
(Continue reading)

Manu B | 2 Nov 2002 11:35
Picon

Invoking Bash

I'm desperately trying to find an equivalent of 
"%COMSPEC% /K cmdline" with Bash.
With command.com/cmd.exe, the /K switch
executes 'cmdline' and remains.
I've RTFM and just found the '-c' switch.
eg: 
$ sh --login -i -c 'rm -f toto'

With '-c', Bash executes 'rm -f toto' and terminates.
IOW, '-c' equals to the '/C' switch of command.com/
cmd.exe.

How could I make Bash to execute a command line
and stay open.

Manu.

-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
Earnie Boyd | 2 Nov 2002 13:49
Picon
Favicon

Re: Invoking Bash

Manu B wrote:
> I'm desperately trying to find an equivalent of 
> "%COMSPEC% /K cmdline" with Bash.
> With command.com/cmd.exe, the /K switch
> executes 'cmdline' and remains.
> I've RTFM and just found the '-c' switch.
> eg: 
> $ sh --login -i -c 'rm -f toto'
> 
> With '-c', Bash executes 'rm -f toto' and terminates.
> IOW, '-c' equals to the '/C' switch of command.com/
> cmd.exe.
> 
> How could I make Bash to execute a command line
> and stay open.
> 

Not that I'm aware of.  What are you trying to accomplish?  Why do you 
need the subprocess shell to remain open?  Could you put the commands in 
the startup ~/.profile file?

Earnie.

-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
Manu B | 2 Nov 2002 15:17
Picon

Re: Invoking Bash

Earnie Boyd wrote:

> Manu B wrote:
> > I'm desperately trying to find an equivalent of 
> > "%COMSPEC% /K cmdline" with Bash.
> > With command.com/cmd.exe, the /K switch
> > executes 'cmdline' and remains.
> > I've RTFM and just found the '-c' switch.
> > eg: 
> > $ sh --login -i -c 'rm -f toto'
> > 
> > With '-c', Bash executes 'rm -f toto' and terminates.
> > IOW, '-c' equals to the '/C' switch of command.com/
> > cmd.exe.
> > 
> > How could I make Bash to execute a command line
> > and stay open.
> > 
> 
> Not that I'm aware of.  What are you trying to accomplish?  Why do you 
> need the subprocess shell to remain open?  Could you put the commands in 
> the startup ~/.profile file?

Well, I'd prefer to keep my intentions secret until I succeed... never mind.
Do you know "DOS Prompt Here" from IE 4 power toys? It's an .inf script
which add the following key into the registry:

REGEDIT4

[HKEY_CLASSES_ROOT\Drive\shell\DosHere\command]
(Continue reading)

Earnie Boyd | 3 Nov 2002 03:19
Picon
Favicon

Re: Invoking Bash

Manu B wrote:
> Earnie Boyd wrote:
> 
> Well, I'd prefer to keep my intentions secret until I succeed... never mind.
> Do you know "DOS Prompt Here" from IE 4 power toys? It's an .inf script
> which add the following key into the registry:
> 
> REGEDIT4
> 
> [HKEY_CLASSES_ROOT\Drive\shell\DosHere\command]
>  <at> ="C:\\WINDOWS\\command.com /k cd \"%1\""
> 
> Then, when you right-click on a folder or drive in Windows Explorer,
> and click the "DOS Prompt Here" sub-menu, "command /k cd \"%1\""
> opens a brand new DOS box and 'cd' to the directory pointed by %1.
> 
> Nice isn't it?
> Now, when you are used to that "DOS Here" menu, it's natural to think
> to a "MSYS here" menu in Windows Explorer :)
> Using MSYS as a build environment is great, it would be wonderful to
> use the MSYS Bash shell instead of our (stupid) DOS boxes. d:]
> 

It's explaned in the cygwin@... list.  You still may not be able 
to execute the command at execution.

Earnie.

-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
(Continue reading)

Luke Dunstan | 3 Nov 2002 11:22
Picon
Favicon

Re: Invoking Bash


Perhaps you could try writing a batch file that invokes bash. You need to be
aware that the /etc/profile script does "cd $HOME" so you can't change to
the desired directory before invoking bash. However, you could probably
store the directory path in an environment variable and chdir to it in your
~/.profile script. You might wish to modify /etc/profile but I don't
recommend it because it will be overwritten if you install a new version of
MSYS.

Luke

----- Original Message -----
From: "Manu B" <manubee@...>
To: <MinGW-MSYS@...>
Sent: Saturday, November 02, 2002 10:17 PM
Subject: Re: [Mingw-msys] Invoking Bash

> Earnie Boyd wrote:
>
>
> > Manu B wrote:
> > > I'm desperately trying to find an equivalent of
> > > "%COMSPEC% /K cmdline" with Bash.
> > > With command.com/cmd.exe, the /K switch
> > > executes 'cmdline' and remains.
> > > I've RTFM and just found the '-c' switch.
> > > eg:
> > > $ sh --login -i -c 'rm -f toto'
> > >
> > > With '-c', Bash executes 'rm -f toto' and terminates.
(Continue reading)


Gmane