On Thu, Jun 25, 2009 at 3:25 PM, Andy Koppe wrote:
> There's a bit in the TIPS section of the manual on how to set any
> environment variable using the shell's -c option, e.g.:
>
> mintty sh -c "TERM=xterm-256color emacs"

Hm.  Maybe I'm missing something, but - isn't this a place where using
/bin/env would make more sense than dealing with all the extra
processing required to launch a shell?  For instance,

    mintty env TERM=xterm-256color emacs

~Matt

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to