This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Need general snapshot testers
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Corinna Vinschen <cygwin at cygwin dot com>
- Date: Fri, 21 Feb 2014 16:17:11 +0400
- Subject: Re: Need general snapshot testers
- Authentication-results: sourceware.org; auth=none
- References: <20140218190809 dot GA4395 at ednor dot casa dot cgf dot cx> <5305141C dot 7070901 at towo dot net> <1255411108 dot 20140220022456 at yandex dot ru> <530535DB dot 7060200 at towo dot net> <945473572 dot 20140220052622 at yandex dot ru> <53070313 dot 8090608 at towo dot net> <166225961 dot 20140221114928 at yandex dot ru> <20140221085233 dot GX2246 at calimero dot vinschen dot de>
- Reply-to: cygwin at cygwin dot com
Greetings, Corinna Vinschen!
>> >>>>> 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?
It's not a priority, but something that needs fix.
> 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
For that, you need to know, that you need to do it this way.
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 21.02.2014, <16:15>
Sorry for my terrible english...
--
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