delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/01/16:16:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 1 Apr 2003 15:13:38 -0600
From: wayne <wayne AT reliant DOT immure DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Aliases no longer defined?
Message-ID: <20030401151338.A18117@reliant.immure.com>
Reply-To: Wayne Willcox <wayne AT reliant DOT immure DOT com>
References: <20030401154320 DOT 000027d8 DOT pd AT world DOT std DOT com> <Pine DOT GSO DOT 4 DOT 44 DOT 0304011548320 DOT 21921-100000 AT slinky DOT cs DOT nyu DOT edu> <20030401211058 DOT GA7808 AT bitstream DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20030401211058.GA7808@bitstream.com>; from pd@world.std.com on Tue, Apr 01, 2003 at 04:10:58PM -0500
X-Operating-System: FreeBSD reliant.immure.com 4.4-RELEASE FreeBSD 4.4-RELEASE

PATH="/path/to/directories/you/want/to/include"
MANPATH="/path/to/directories/you/want/to/include"
On Tue, Apr 01, 2003 at 04:10:58PM -0500, Peter Davis wrote:
> On Tue, Apr 01, 2003 at 03:52:09PM -0500, Igor Pechtchanski wrote:
> > 
> > Peter,
> > 
> > Note how I took your own value, and simply used the correct bash commands
> > to associate it with an alias/shell function.  I'll give another example,
> > perhaps the pattern will become clear:
> > 
> > Change
> > 	set stunnel='/cygdrive/c/stunnel/stunnel-3.22 -c -d pop3 -r mail.attbi.com:995&'
> > 	export stunnel
> > into either
> > 	alias stunnel='/cygdrive/c/stunnel/stunnel-3.22 -c -d pop3 -r mail.attbi.com:995&'
> > or
> > 	stunnel () { /cygdrive/c/stunnel/stunnel-3.22 -c -d pop3 -r mail.attbi.com:995 & }
> > 	export stunnel
> > 
> > Does the above make it clearer?
> 
> 
> D'oh!  This is what this file originally said.  It was all
> 
> alias x=y
> export x
> 
> When this failed to work on my new Cygwin installation, I changed them
> all to
> 
> export x=y
> 
> That still didn't work, so I changed them back ... to "set".  D'oh.
> That was my own stupid fault.  Anyway, that wasn't working, but now it
> seems to be.  I just did 'source ~/.bashrc' again, and all seems well.
> 
> I'll double check this on my home system, where I did *not* tamper
> with the .bashrc file.
> 
> Thanks for all your help on this.
> 
> Can you give me a hint how to add some directories to my PATH and
> MANPATH variables in the .bashrc?
> 
> Thanks *very* much!
> 
> -pd
> 
> 
> -- 
> --------
>                              Peter Davis
>                Funny stuff at http://www.pfdstudio.com
>                  The artwork formerly shown as prints
>     List of resources for children's writers and illustrators at:
>                   http://www.pfdstudio.com/cwrl.html
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

-- 
Slowly and surely the unix crept up on the Nintendo user ...
Wayne Willcox                          I will not eat green eggs and ham
wayne AT reliant DOT immure DOT com                     I will not eat them Sam I Am!!
A wise person makes his own decisions, a weak one obeys public opinion.
                -- Chinese proverb

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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