termcap, TERM, vi and cygwin

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sun Aug 22 13:25:19 PDT 2004


On 22.08.2004, at 19:21, esmith wrote:

When using vi via cygwin ssh to DragonFly, the cygwin terminal doesn't 
stay in sync with the server. The curser jumbles text on roll-over, 
etc... I tried different settings for the TERM variable on both. Is 
this is some kind of termcap problem? How should this be fixed? Does 
cygwin need to update their termcap or does DF need to accomodate 
cygwin in its termcap?
DF's termcap needs to be changed. But racing all possible terminal 
(emulators) to grab their changes is a definite no-go. There is such a 
nifty feature like setting TERMCAP environment so that the termcap 
entry corresponding to TERM is overridden. Sad thing tho that ssh 
doesn't pass along TERMCAP, but only TERM.

This bit me several times when ssh'ing inside of a screen session... 
One day i'll hack ssh (not that complicated) if there is a chance to 
get that included somewhere (at least DragonFly)

cheers
  simon
--
/"\
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Attachment:
PGP.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00006.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20040822/6cd9c336/attachment-0020.obj>


More information about the Kernel mailing list