delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/26/12:11:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Fri, 26 Feb 1999 19:07:08 +0200
From: Paul Sokolovsky <paul-ml AT is DOT lg DOT ua>
X-Mailer: The Bat! (v1.00 Christmas Preview) UNREG
Reply-To: Paul Sokolovsky <paul-ml AT is DOT lg DOT ua>
Message-ID: <9796.990226@is.lg.ua>
To: Timothy Reaves <treaves AT y11a165 DOT neo DOT rr DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Compleate env remapping?
References: <199902261420 DOT JAA30722 AT y11a165 DOT neo DOT rr DOT com>
Mime-Version: 1.0

Hello Timothy,

Timothy Reaves <treaves AT y11a165 DOT neo DOT rr DOT com> wrote:

TR>         I'm interested in doing all development under Cygwin.
TR> Not developing cygwin apps mind you, but using the env;
TR> primarily because I need make and I love bash. 

[]

TR>         Can anyone (or everyone) offer advise?  Have any of
TR> you done this?  Is there a better way?

    I don't understand your demands to "env", but I might describe how
I have it:

    First, I don't use cygwin-specific features (mount-tables and
links, with pity, as for latter), since I use Cygwin, Mingw32, DJGPP,
native, etc. tools at the same time. I keep that all on single drive,
where I have '/usr/bin' dir, stuffed with a mess of
cygwin/mingw32/djgpp tools. In the same dir I copy binaries from
precompiled packages of such tools as Perl and Python. I setup
PATH to it and other tool-specific environment variables for all this
to work properly.

   Further, I use fullscreen shell which allows me both seamlessly use
command line, constantly have a view of file environment and have
trivial operation such as viewing/editing/copying at my fingertips.
Problems bothered me with this were:

1. How to have bash underlying that fullscreen shell
2. Even without bash, I really craved shell scripts

   To get second done I went thru several ideas, among them such crazy
as hacking that fullscreen shell (it is not open source and even not
freeware ;-( ) or kernel32.dll hacking (don't tell anyone). Hopefully
I was able to solve both problems via simple COMSPEC marshaller I
announced here lately. So, now I have both coolest features of POSIX
(or UNIX, if you wish) environment and coolest (imho, I wouldn't
assert that too strong - it's just the way everybody uses computers
such way in this part of world (I'm about fullscreen (but console,
never GUI!) shells, of course)) things of usual "pee-cee" environment
to which I get used innately.

   Ok, that was my default environment. I have bat scripts which
constrain it to specific environment, for example, compiler paths;
bash as shell for cygwin, djgpp's binutils in front of path for djgpp,
etc.

TR>         Thanks!


Best regards,
 Paul                            mailto:paul-ml AT is DOT lg DOT ua


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019