Web lists-archives.org

Re: [Mingw-msys] umount drive C




On Tuesday 03 July 2007 21:24, Aurimas Černius wrote:
> > A method for constructing the rxvt command line, which doesn't
> > pollute the environment, (as at present), and independent of hard
> > coded settings within msys.bat, could be welcome; surely that can
> > be achieved within the msys.bat framework?
>
> That's what I'm thinking about - an special configuration file,
> containing such things as colors and font for rxvt and an option for
> disabling rxvt (using sh directly).

CVS msys.bat, (which is already in the pre-1.0.11 snapshot), has the 
--norxvt switch to do the latter.  Colours are handled by environment 
variables, which pollute the environment; that could be cleaned up 
again in /etc/profile, after sh.exe gets control, but it is a bit
messy -- if only cmd.exe supported something like sh's command 
substitution...

Some users have asked for a user callout, to perform custom setup of
the environment, before sh.exe was given control.  Earnie wasn't too 
sympathetic to that request, but I wouldn't object.  A simple `call' 
command, invoking a user supplied subsidiary batch file, conditional on 
its existence, should suffice.

Regards,
Keith.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys