public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: xterms and vi
@ 1999-08-10 16:47 Earnie Boyd
  1999-08-10 17:49 ` Glenn Spell
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Earnie Boyd @ 1999-08-10 16:47 UTC (permalink / raw)
  To: Geoff Hart, cygwin

--- Geoff Hart <ghart@siemens-psc.com> wrote:
> >>I've got the X11R6.4 client libs downloaded and installed, and am trying
> to
> >>run vi within an xterm.  The problem is that programs like vi (and ftp)
> >>don't do their I/O in the xterm, they do it in the DOS window associated
> >>with the xterm.
> >>
> >>I've set CYGWIN32 (and CYGWIN) to be 'binmode tty', and have an entry in
> my
> >>termcap file for xterm (although the symptom appears no matter what type
> of
> >>terminal I've set TERM to be).
> 
> >It sounds like you've forgotten to use cygwin versions of ftp and vi.  It's
> >unlikely that windows-only versions of those programs will work with the
> >CYGWIN=tty scheme.
> 
> Why is that unlikely?  I mean, can we make an "xterm" which acts both as a
> tty for Cygwin tools, *and* as a DOS console window for DOS applications?
> 

Windows doesn't understand the UNIX terminal structures.

Try a recent snapshot of the cygwin1.dll.  SET CYGWIN=notty and see what
happens.  I think you'll be surprised.  The terminal emulation has been
rewritten.

Note: Make the appropriate backups before installing.  Strangeness has been
noted with interactive bash or sh starting another interactive bash or sh
process which Chris is pulling his hair out trying to fix.
===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
_____________________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


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

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: xterms and vi
@ 1999-08-10 15:08 Geoff Hart
  1999-08-31 23:49 ` Geoff Hart
  0 siblings, 1 reply; 22+ messages in thread
From: Geoff Hart @ 1999-08-10 15:08 UTC (permalink / raw)
  To: cygwin

>>I've got the X11R6.4 client libs downloaded and installed, and am trying
to
>>run vi within an xterm.  The problem is that programs like vi (and ftp)
>>don't do their I/O in the xterm, they do it in the DOS window associated
>>with the xterm.
>>
>>I've set CYGWIN32 (and CYGWIN) to be 'binmode tty', and have an entry in
my
>>termcap file for xterm (although the symptom appears no matter what type
of
>>terminal I've set TERM to be).

>It sounds like you've forgotten to use cygwin versions of ftp and vi.  It's
>unlikely that windows-only versions of those programs will work with the
>CYGWIN=tty scheme.

Why is that unlikely?  I mean, can we make an "xterm" which acts both as a
tty for Cygwin tools, *and* as a DOS console window for DOS applications?

I am researching this because we use CYGWIN for our development environment
but we use pure Windows for the run-time environment, and we use
Activestate's
Perl.  But, running "perl -d ..." sends all the debugging output/control to
the originating DOS window, which doesn't work too well.

I've played with the code for rxvt (using the DOS xlib.c emulation for
Windows)
but I know very little about Window's Consoles.

Can you provide me with some information in this area?  I think an rxvt
which
could fully replace the "DOS command prompt" for both normal DOS and Cygwin
work would be a nice addition to your product - and I'd be glad to help
develop it :).

Geoff



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

^ permalink raw reply	[flat|nested] 22+ messages in thread
* xterms and vi
@ 1999-07-15  6:38 Ryan L McFall
  1999-07-15  7:17 ` Suhaib M. Siddiqi
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Ryan L McFall @ 1999-07-15  6:38 UTC (permalink / raw)
  To: cygwin

Hi:

I know this question has been discussed before, but I've tried the
solutions that I saw posted in the archives to no avail.

I've got the X11R6.4 client libs downloaded and installed, and am trying to
run vi within an xterm.  The problem is that programs like vi (and ftp)
don't do their I/O in the xterm, they do it in the DOS window associated
with the xterm.

I've set CYGWIN32 (and CYGWIN) to be 'binmode tty', and have an entry in my
termcap file for xterm (although the symptom appears no matter what type of
terminal I've set TERM to be).

I've got Cygwin-B20 installed, and am using StarNet's X-Win32 as my
X-server.

Is there anything else that I've forgotten? 


Thanks,
Ryan McFall
mcfallry@cse.msu.edu

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

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

end of thread, other threads:[~1999-08-31 23:49 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-10 16:47 xterms and vi Earnie Boyd
1999-08-10 17:49 ` Glenn Spell
1999-08-10 21:36   ` Chris Faylor
1999-08-31 23:49     ` Chris Faylor
1999-08-31 23:49   ` Glenn Spell
1999-08-10 17:52 ` Suhaib M. Siddiqi
1999-08-10 21:44   ` Chris Faylor
1999-08-31 23:49     ` Chris Faylor
1999-08-31 23:49   ` Suhaib M. Siddiqi
1999-08-11 10:48 ` Geoff Hart
1999-08-31 23:49   ` Geoff Hart
1999-08-31 23:49 ` Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
1999-08-10 15:08 Geoff Hart
1999-08-31 23:49 ` Geoff Hart
1999-07-15  6:38 Ryan L McFall
1999-07-15  7:17 ` Suhaib M. Siddiqi
1999-07-31 18:34   ` Suhaib M. Siddiqi
1999-07-15 11:52 ` Chris Faylor
1999-07-16  8:10   ` Ryan L McFall
1999-07-31 18:34     ` Ryan L McFall
1999-07-31 18:34   ` Chris Faylor
1999-07-31 18:34 ` Ryan L McFall

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