cleartool & CYGWIN=tty

Earnie Boyd earnie_boyd@yahoo.com
Thu Nov 9 11:20:00 GMT 2000


--- Geoff Hart <ghart@siemens-psc.com> wrote:
> Hello,
> 
> Is there a way to fool a Windows app (cleartool) into thinking
> STDIN is a DOS console?  I believe cleartool calls "isatty" to
> determine whether to show a prompt or not ("cleartool> ").
> 
> I was hoping I could pipe in some program which would create a
> pseudo DOS tty for STDOUT, while it simply echoed whatever it
> recieved on STDIN.  (like: "bash$ fake_console | cleartool")
> 
> I know I can achieve this by starting bash, with CYGWIN=notty in
> a regular DOS Command Propmt window, but I like to use TTY support
> *PLUS* I like to use RXVT.  Also, cleartool has a "-e" option which
> hints at what I want, but it doesn't have any apparent effect
> 

I've no idea if this'll work but hey it just might:

CYGWIN=notty bash -c 'cleartool'

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         < http://earniesystems.safeshopper.com >         ---
--- Cygwin: POSIX on Windows < http://gw32.freeyellow.com/ > ---
---   Minimalist GNU for Windows < http://www.mingw.org/ >   ---

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list