Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.2.0.9.2.20030403123121.0365b080@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Thu, 03 Apr 2003 12:39:56 -0800 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: vim quits and cygwin window contents not restored In-Reply-To: <3E8C99D0.7090606@ece.gatech.edu> References: <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030403061532 DOT 037c7210 AT pop3 DOT cris DOT com> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030402075839 DOT 02bc0cf0 AT pop3 DOT cris DOT com> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030324161421 DOT 02364528 AT pop3 DOT cris DOT com> <024301c2f25a$363fe250$ab474e51 AT ellixia> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030324161421 DOT 02364528 AT pop3 DOT cris DOT com> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030324201123 DOT 029927a8 AT pop3 DOT cris DOT com> <3E7FE6AB DOT 5070305 AT ece DOT gatech DOT edu> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030402075839 DOT 02bc0cf0 AT pop3 DOT cris DOT com> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030403061532 DOT 037c7210 AT pop3 DOT cris DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Chuck, I was meaning to write this up earlier, but work keeps getting in the way. When I used your new termcap entry, "less" (when it's displaying output piped to it via its standard input but not when it is given a file name argument) tells me "WARNING: terminal is not fully functional". Here's an excerpt, with context, from my "/etc/termcap": -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- # See ansi.sysk and nansi.sys above. nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\ :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\ :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:tc=ansi.sysk: cygwin|ansi emulation for Cygwin:\ :am:hs:in:ms:xo:\ :Co#8:it#8:pa#64:\ :&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\ :DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\ :F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\ :F9=\E[33~:FA=\E[34~:IC=\E[%d@:K2=\E[G:LE=\E[%dD:\ :RI=\E[%dC:S2=\E[11m:S3=\E[10m:UP=\E[%dA:ae=\E[10m:\ :al=\E[L:as=\E11m:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\ :ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\ :cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=^G:\ :ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:k3=\E[[C:\ :k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\ :k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\ :kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\ :md=\E[1m:me=\E[0;10m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:\ :op=\E[39;49m:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\ :so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\ :ts=\E];:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:\ :ue=\E[24m:up=\E[A:us=\E[4m: lcygwin:\ :xn@:op=\E[39;49m:Km=\E[M:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:tc=linux: #### ANSI console types # # This entry is good for the 1.1.47 version of the Linux console driver. # -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- The "lcygwin" is just to prevent a conflict without having to remove the old entry. Now if I switch back (rename "cygwin" in the above to "wcygwin" and "lcygwin" to "cygwin"), less works as usual for both standard input and file name arguments. Randall Schulz At 12:30 2003-04-03, you wrote: >Randall R Schulz wrote: > >>Can I trouble you to explain why your termcap replaces something so different in the existing /etc/termcap file: >>cygwin:\ >> :xn@:op=\E[39;49m:Km=\E[M:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:tc=linux: >>I understand that this entry incrementally modifies the "linux" entry. Your new one does not? You just decided to sever the connection? There's too much difference to handle this way? It was a bad idea for some reason? > >No, it's just that the existing termcap is very very different in >structure from the existing terminfo entry for cygwin. ... > >--Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/