* Re: Cygwin version of GNU Nano does not accept CTRL-C
@ 2002-10-17 0:02 Gareth Pearce
2002-10-17 15:19 ` Rocco Corsi
0 siblings, 1 reply; 5+ messages in thread
From: Gareth Pearce @ 2002-10-17 0:02 UTC (permalink / raw)
To: rocco.corsi; +Cc: cygwin
dropped nano-devel since this would be offtopic for there now.
>
>Perfect, just added "CYGWIN=tty" to the environment variables and all is
>fine. Thanks.
good
>
>Maybe a dumb question. Why does Cygwin not automatically update
>environment variables as part of the installation? Or at least ask if they
>should be updated?
Well thats a little complex... - in win9x/ME - it would have to edit
autoexec.bat - win NT/2k/XP - fiddle with the system control panel
settings wherever they are stored. And then theres system vs
user.
The post install script could add a /etc/profile.d/ entry - but the tty
variable is supposed to be set before initialising cygwin or else it
can do some bizare things that are not so nice.
In either case - asking a question in a postinstal script would be
against the current trend of usage of postinstall scripts which work
without interaction. (and if unattended setup work is to reach
completition, they should probably stay that way)
Otherwise - it would have to be done by the setup program itself
and I suspect that Robert would not be interested in that given
that hes trying to make setup purely data-driven.
and Not asking a question - is not the go since while for best
usage nano and emacs (and others?) need tty. Nano at least
is mostly functional without it. And tty is an option for a reason,
people have experienced problems with tty On.
While I might think that tty should be on by default thus avoiding
these problems alltogeather, having never experienced tty
related problems. I dont use a very broad range of cygwin
related things and so am probably not representitive of the
broader cygwin communitiy.
However I didnt expect ntsec to have become the default
so soon - maybe tty will change despite my expectations
to the contrary.
Gareth
_________________________________________________________________
Get faster connections -- switch to MSN Internet Access!
http://resourcecenter.msn.com/access/plans/default.asp
--
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cygwin version of GNU Nano does not accept CTRL-C
2002-10-17 0:02 Cygwin version of GNU Nano does not accept CTRL-C Gareth Pearce
@ 2002-10-17 15:19 ` Rocco Corsi
0 siblings, 0 replies; 5+ messages in thread
From: Rocco Corsi @ 2002-10-17 15:19 UTC (permalink / raw)
To: Gareth Pearce; +Cc: cygwin
Gareth Pearce wrote:
>>
>> Maybe a dumb question. Why does Cygwin not automatically update
>> environment variables as part of the installation? Or at least ask
>> if they should be updated?
>
> Well thats a little complex... - in win9x/ME - it would have to edit
> autoexec.bat - win NT/2k/XP - fiddle with the system control panel
> settings wherever they are stored. And then theres system vs
> user.
>
> The post install script could add a /etc/profile.d/ entry - but the tty
> variable is supposed to be set before initialising cygwin or else it
> can do some bizare things that are not so nice.
>
> In either case - asking a question in a postinstal script would be
> against the current trend of usage of postinstall scripts which work
> without interaction. (and if unattended setup work is to reach
> completition, they should probably stay that way)
>
> Otherwise - it would have to be done by the setup program itself
> and I suspect that Robert would not be interested in that given
> that hes trying to make setup purely data-driven.
>
> and Not asking a question - is not the go since while for best
> usage nano and emacs (and others?) need tty. Nano at least
> is mostly functional without it. And tty is an option for a reason,
> people have experienced problems with tty On.
>
> While I might think that tty should be on by default thus avoiding
> these problems alltogeather, having never experienced tty
> related problems. I dont use a very broad range of cygwin
> related things and so am probably not representitive of the
> broader cygwin communitiy.
> However I didnt expect ntsec to have become the default
> so soon - maybe tty will change despite my expectations
> to the contrary.
>
Thanks for the information. Too many options for the environment
variables and if Cygwin does something incorrectly it could cause
trouble. Updating those files or panels would be a snap for advanced
users, so lets leave it up to the user, a least for now.
Actually, I haven't installed Cygwin for the first time on a machine, in
a long while. Does it popup a dialog to telling the user to modify the
PATH to include C:\cygwin\bin? If such a dialog exists, it could also
mention the CYGWIN variable set to "tty". Just an idea.
Rocco
--
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cygwin version of GNU Nano does not accept CTRL-C
2002-10-16 19:17 Gareth Pearce
@ 2002-10-16 21:16 ` Rocco Corsi
0 siblings, 0 replies; 5+ messages in thread
From: Rocco Corsi @ 2002-10-16 21:16 UTC (permalink / raw)
To: Gareth Pearce; +Cc: nano-devel, cygwin
Gareth Pearce wrote:
>
>
>
>> Hello
>>
>> I don't know if anyone has noticed, but it appears that when
>> CTRL-C is pressed in Nano it is not recognized under Cygwin. Is this
>> normal behavior under Windows, is the CTRL-C somehow intercepted and
>> stripped out? I am using WinXP.
>
>
> As mentioned in the cygwin archives - the CYGWIN enviornment variable
> needs to be set to include tty for ctrl-C to work (and some other
> things) - See the cygwin users guide for details on the CYGWIN
> environment variable. The tty option needs to be set Before you start
> cygwin.
>
> Gareth - cygwin nano maintainer.
Perfect, just added "CYGWIN=tty" to the environment variables and all is
fine. Thanks.
Maybe a dumb question. Why does Cygwin not automatically update
environment variables as part of the installation? Or at least ask if
they should be updated?
Rocco
--
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cygwin version of GNU Nano does not accept CTRL-C
@ 2002-10-16 19:17 Gareth Pearce
2002-10-16 21:16 ` Rocco Corsi
0 siblings, 1 reply; 5+ messages in thread
From: Gareth Pearce @ 2002-10-16 19:17 UTC (permalink / raw)
To: rocco.corsi, nano-devel, cygwin
>Hello
>
> I don't know if anyone has noticed, but it appears that when CTRL-C is
>pressed in Nano it is not recognized under Cygwin. Is this normal behavior
>under Windows, is the CTRL-C somehow intercepted and stripped out? I am
>using WinXP.
As mentioned in the cygwin archives - the CYGWIN enviornment variable needs
to be set to include tty for ctrl-C to work (and some other things) - See
the cygwin users guide for details on the CYGWIN environment variable. The
tty option needs to be set Before you start cygwin.
Gareth - cygwin nano maintainer.
_________________________________________________________________
Choose an Internet access plan right for you -- try MSN!
http://resourcecenter.msn.com/access/plans/default.asp
--
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Cygwin version of GNU Nano does not accept CTRL-C
@ 2002-10-16 18:48 Rocco Corsi
0 siblings, 0 replies; 5+ messages in thread
From: Rocco Corsi @ 2002-10-16 18:48 UTC (permalink / raw)
To: nano-devel, cygwin
Hello
I don't know if anyone has noticed, but it appears that when CTRL-C
is pressed in Nano it is not recognized under Cygwin. Is this normal
behavior under Windows, is the CTRL-C somehow intercepted and stripped
out? I am using WinXP.
Rocco
--
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-10-17 22:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-17 0:02 Cygwin version of GNU Nano does not accept CTRL-C Gareth Pearce
2002-10-17 15:19 ` Rocco Corsi
-- strict thread matches above, loose matches on Subject: below --
2002-10-16 19:17 Gareth Pearce
2002-10-16 21:16 ` Rocco Corsi
2002-10-16 18:48 Rocco Corsi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).