From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Geoff Hart" To: Subject: Re: xterms and vi Date: Tue, 10 Aug 1999 15:08:00 -0000 Message-id: <001101bee37c$c6b17100$283f86a1@empros.com> X-SW-Source: 1999-08/msg00174.html >>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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Geoff Hart" To: Subject: Re: xterms and vi Date: Tue, 31 Aug 1999 23:49:00 -0000 Message-ID: <001101bee37c$c6b17100$283f86a1@empros.com> X-SW-Source: 1999-08n/msg00174.html Message-ID: <19990831234900.JW6QwRojAfAJCnRhMA-kkX6PL3F5vh3Lm_jir5PTy9g@z> >>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