Mail Archives: cygwin/2003/04/01/16:11:11
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/
- Raw text -