From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Subject: mintty vs runas (was: Re: CYGWIN=tty round 2)
Date: Tue, 24 May 2011 11:32:00 -0000 [thread overview]
Message-ID: <BANLkTikvSxppffaTEEMxA_5ssLLJYk2Xbw@mail.gmail.com> (raw)
On 23 May 2011 22:24, Angelo Graziosi wrote:
> 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.
That's yet another case of a non-Cygwin program expecting to talk to a
Windows console rather than the pipes underlying Cygwin's pseudo
terminal device implementation. Even runas's help output doesn't work
in mintty, which suggests that it's using console-specific functions
for all its I/O.
> Is there some trick to do the job also in mintty?
Not within it, but you could invoke mintty itself as administrator
with right-click->Run As or by changing its shortcut to invoke it
through runas.
Andy
--
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
next reply other threads:[~2011-05-24 11:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-24 11:32 Andy Koppe [this message]
2011-05-24 16:26 Angelo Graziosi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTikvSxppffaTEEMxA_5ssLLJYk2Xbw@mail.gmail.com \
--to=andy.koppe@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).