<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
On Wed, 2005-11-30 at 12:54 -0800, Bryan J. Smith wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Robin Mordasiewicz <<A HREF="mailto:robin@bullseye.tv">robin@bullseye.tv</A>> wrote:</FONT>
<FONT COLOR="#000000">> I connect with Putty, and then I execute "screen -D -R"</FONT>
<FONT COLOR="#000000">> from my screen session I ssh to my boxes.</FONT>

<FONT COLOR="#000000">You only see it when in ViM, but not on the command line?</FONT>
<FONT COLOR="#000000">Or you see it in both?</FONT>

<FONT COLOR="#000000">If you're only seeing it in ViM, I'm curious why ViM is not</FONT>
<FONT COLOR="#000000">handling the termcaps the same as the command line.</FONT>

<FONT COLOR="#000000">Unless you're running GViM (GUI).</FONT>
<FONT COLOR="#000000">Then your termcap isn't provided by the same terminal as your</FONT>
<FONT COLOR="#000000">command line, but your your X-Server. </FONT>

<FONT COLOR="#000000">-- Bryan</FONT>

<FONT COLOR="#000000">P.S.  The "quick fix" to deal with backspace mapping issues</FONT>
<FONT COLOR="#000000">on just about any modern UN*X platform is to type:  </FONT>
<FONT COLOR="#000000">  $ stty erase (then hit the backspace key)</FONT>


</PRE>
</BLOCKQUOTE>
Another quick fix and more permanent would be:<BR>
<BR>
PATH=$PATH:/usr/X11R6/bin<BR>
# Display information about what was just done.<BR>
#<BR>
echo Terminal type = $TERM on line `tty`<BR>
if [ ${DISPLAY:=""} != "" ]<BR>
then<BR>
  echo "X11 DISPLAY set to $DISPLAY"<BR>
fi<BR>
#<BR>
# Now set up the terminal modes<BR>
#<BR>
#stty  erase \^h kill \^x intr \^c<BR>
if stty susp \^z >>/dev/null 2>&1<BR>
then<BR>
   echo Job control enabled<BR>
else<BR>
   echo Job control not available<BR>
fi<BR>
<BR>
<BR>
</BODY>
</HTML>