This is the mail archive of the cygwin 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] |
On Feb 21 11:49, Andrey Repin wrote: > Greetings, Thomas Wolff! > > >>>>> Not specific to this snapshot but it happens when trying to test it: > >>>>> If a cygwin console is started from a cygwin terminal (e.g. in mintty: > >>>>> cygstart /Cygwin.bat), the TERM variable is set incorrectly. > >>>>> Suggested fix: ... unset TERM to Cygwin.bat. > >>>> unset would be better (more neutral) choice in a long-term, IMO. > >>> Actually, unset doesn't exist in cmd (blush). > >>> It should be "set TERM=" then. > >> However you spell it :) > >> Using same assignment in shell would have nearly equal results. > > Having something like case `tty` in /dev/cons*) TERM=cygwin;; esac in > > /etc/profile would be a clumsy workaround and possibly have tricky glitches. > > Except not every shell read /etc/profile > > > My proposal catches the issue at its root in the simplest way. > > I would provide a patch (if needed) if I had an idea in which package > > Cygwin.bat is hiding;-) > > It's autogenerated. ...by setup itself. Changing this would require to create a new setup. Is it worth it? I mean, how often do people start Cygwin.bat from mintty? I never occured to me to do that at all :} And if so, why not just call it like this: $ TERM=cygwin cygstart /Cygwin.bat Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
Attachment:
pgpMewys9Q19X.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |