This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: tramp on NT emacs
- To: "'Kai dot Grossjohann at cs dot uni-dortmund dot de'" <Kai dot Grossjohann at cs dot uni-dortmund dot de>, mah at everybody dot org, ntemacs-users at cs dot washington dot edu
- Subject: RE: tramp on NT emacs
- From: "Andrew Maguire (SWW)" <Andrew dot Maguire at Smallworld dot co dot uk>
- Date: Mon, 23 Apr 2001 22:03:08 +0100
- Cc: Keith Amidon <camalot at picnicpark dot org>, "rcp.el mailing list" <emacs-rcp at amaunet dot cs dot uni-dortmund dot de>, cygwin at cygwin dot com
> /----
> | revision 1.312
> | date: 2000/05/12 21:04:20; author: grossjoh; state: Exp;
> lines: +19 -4
> | Don't use "set +o history 1>/dev/null 2>/dev/null". AIX chokes on
> | redirecting stderr here?!
> \----
>
> Isn't that nice? So. Can we be sure that `ls' is never a shell
> builtin, and that doing "2>/dev/null" on those commands never fails?
> I think we cannot be sure. (And also, the exit status of `cd' is
> sometimes queried, and that's always a shell builtin.)
>
> Does anybody have a suggestion?
I have absolutely no idea what you are trying to solve ;-)
but you might like to try:
set +o history 1>/dev/null 2>&1
You may need to do it this way around:
set +o history 2>&1 1>/dev/null
Andrew
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple