This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Aliases no longer defined?


On Tue, 1 Apr 2003, Peter Davis wrote:

> On Tue, 1 Apr 2003 11:46:34 -0500 (EST)
> Igor Pechtchanski <pechtcha at cs dot nyu dot edu> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]