Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 1 Apr 2003 14:59:17 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Peter Davis cc: cygwin AT cygwin DOT com Subject: Re: Aliases no longer defined? In-Reply-To: <20030401145356.00003614.pd@world.std.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 1 Apr 2003, Peter Davis wrote: > On Tue, 1 Apr 2003 11:46:34 -0500 (EST) > Igor Pechtchanski wrote: > > > [snip] > > Peter, > > > > Could you please attach your .bashrc (if you did and I missed it, I > > apologize). Also, please attach the output of "cygcheck -svr". > > Please do not paste either in-line, as there may be special characters > > that matter. > > I'm trying this again, as last time the list bounced it as suspected > spam. > > set rmnx='rmm;next' > export rmnx > set rmpr='rmm;prev' > export rmpr > set pinc='perl ~/pinc.pl' > export pinc > set reshow='more `mhpath cur`' > export reshow > set wshow='cat `mhpath cur` | ~/showhtml.pl | ~/shellex.sh' > export wshow > set bshow='~/demime.pl `mhpath cur` | ~/shellex.sh' > export bshow > set kfilt='pick -search euc-kr -or -search ks_c_5601-1987 -seq korean' > export kfilt > set stunnel='/cygdrive/c/stunnel/stunnel-3.22 -c -d pop3 -r mail.attbi.com:995&' > export stunnel > set html2ps='/cygdrive/c/html2ps/html2ps' > export html2ps > set NNTPSERVER=news.bitstream.com > export NNTPSERVER > set xemacs='c:/PROGRA~1/XEmacs/XEmacs-21.4.10/i586-pc-win32/xemacs.exe&' > export xemacs > set xterm='rxvt -g 80x56-70+0 -backspacekey ^H -fn 9x15 -fb 9x15bold &' > export xterm > set xmutt='rxvt -g 80x56-75+0 -backspacekey ^H -fn 9x15 -fb 9x15bold -e mutt &' > export xmutt Peter, First off, I don't see any alias definitions in the above file. Secondly, "set A=B" is *not* bash syntax, it's cmd.exe syntax. This will not work in bash. Thirdly, even if it did, you'd need to use "$xemacs" instead of "xemacs", for example, to invoke it. Since I'm picking on xemacs, I'll use that as an example. Try either alias xemacs='c:/PROGRA~1/XEmacs/XEmacs-21.4.10/i586-pc-win32/xemacs.exe&' Or xemacs() { 'c:/PROGRA~1/XEmacs/XEmacs-21.4.10/i586-pc-win32/xemacs.exe'& } export xemacs Either should work. Depending on your bash settings, you may not need the "export" above. For details, "man bash"/"info bash". Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II -- 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/