public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: CYGWIN=tty round 2
@ 2011-05-23 21:24 Angelo Graziosi
  2011-05-23 21:41 ` Fahlgren, Eric
  2011-05-23 22:27 ` Christopher Faylor
  0 siblings, 2 replies; 15+ messages in thread
From: Angelo Graziosi @ 2011-05-23 21:24 UTC (permalink / raw)
  To: Cygwin

Following this thread and the similar

   http://cygwin.com/ml/cygwin-apps/2011-05/msg00041.html

I want to flag that this:

/cygdrive/c/WINDOWS/system32/runas.exe /user:pippo 'C:\cygwin-2\bin\bash 
--login -i'

works in a dos-like shell (Cygwin.bat) but not in mintty. Is there some 
trick to do the job also in mintty?

Thanks,
Angelo.

--
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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: CYGWIN=tty round 2
@ 2011-05-23 22:01 Angelo Graziosi
  0 siblings, 0 replies; 15+ messages in thread
From: Angelo Graziosi @ 2011-05-23 22:01 UTC (permalink / raw)
  To: cygwin

Hi Eric,

> but this works for me to get a shell running under the proper user:
>
> runas /user:proddev\bldmgr "c:\cygwin\bin\mintty.exe -"

yes, also for me, but *only* from Cygwin.bat shell not from MinTTY: here 
it asks for password and return the prompt without waiting for password 
typing.

I would like to start MinTTY, running under the proper user, from MinTTY 
and not from Cygwin.bat.

Ciao,
Angelo.

--
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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* CYGWIN=tty round 2
@ 2011-05-22 21:19 Christopher Faylor
  2011-05-23  2:53 ` Yaakov (Cygwin/X)
  2011-05-23  9:36 ` Sven Köhler
  0 siblings, 2 replies; 15+ messages in thread
From: Christopher Faylor @ 2011-05-22 21:19 UTC (permalink / raw)
  To: cygwin

I don't think we saw anyone step forward with a valid reason why they
needed to use CYGWIN=tty over something like "mintty".

I've summarized the thread where Corinna asked why people used CYGWIN=tty
over CYGWIN=notty below.

I don't see any showstoppers here so unless people can provide specific
examples of how this change would cause hardwhip, we'll be removing
CYGWIN=tty in a snapshot near you soon.

Summary:

0) There was some confusion over what Corinna meant by CYGWIN=notty.

Response: Corinna thought (as did I) that people would understand that
CYGWIN=notty is the default.  It's what you get if you haven't added
"tty" to the CYGWIN environment variable.  And, if you don't know what
any of that means then this whole discussion is not something that you
have to worry about.

1) People thought that because CYGWIN=tty was mentioned in an example in
the documentation, it was actually a recommendation.

Response: It was not a recommendation (if it was it would have been the
default).  It has been removed from the documentation.

2) screen needs CYGWIN=tty for reattach to work.

Response: Use "mintty".  Or, possibly proposed changes for 9 below will
cause reattach to work with screen.

3) emacs requires CYGWIN=tty for CTRL-C to work.

Response: Use "mintty".  Long-term possibly get CTRL-C working with the
cygwin console.

4) sshd requires CYGWIN=tty.

Response: Pure unadulterated rumor.  This was never the case unless you
needed to inexplicably slow down sshd for some unknown reason.

5) brltty might need it.

Response: brltty doesn't need it.

6) "It made something I cared about work properly and four M$ operating
systems later..."

Response: Use mintty or provide a specific example of failure.

7) There's a bug in Cygwin's console handling.

Response: We'll (eventually) fix the bug.

8) "Not a power user and don't understand the question"

Response: Don't worry about it then.  You probably aren't using the setting.

9) With CYGWIN=tty, each console window gets its own /dev/ttyN.  For
console windows everything gets /dev/console and, so, there is no way to
distinguish between console windows.

Response: Cygwin will be changed to cause each console window to have its own
unique /dev/consN numbering, similar to /dev/ttyN.

10) The non-cygwin application "jam" inexplicably seems to require it for proper
operation.

Response: One workaround was suggested when dealing with console mode but it
seems that mintty would also cause jam to work ok as well.

--
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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-05-24  9:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 21:24 CYGWIN=tty round 2 Angelo Graziosi
2011-05-23 21:41 ` Fahlgren, Eric
2011-05-23 22:27 ` Christopher Faylor
  -- strict thread matches above, loose matches on Subject: below --
2011-05-23 22:01 Angelo Graziosi
2011-05-22 21:19 Christopher Faylor
2011-05-23  2:53 ` Yaakov (Cygwin/X)
2011-05-23  6:02   ` Christopher Faylor
2011-05-23 17:27     ` Christopher Faylor
2011-05-23 11:49   ` Andy Koppe
2011-05-23 15:40     ` Corinna Vinschen
2011-05-23 23:21   ` Ryan Johnson
2011-05-24  6:22     ` Christopher Faylor
2011-05-24  9:54       ` Ryan Johnson
2011-05-23  9:36 ` Sven Köhler
2011-05-23 11:13   ` David Sastre

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).