Comment 1 for bug 1092481

Revision history for this message
Grant Bowman (grantbow) wrote :

I just posted this answer in http://askubuntu.com/questions/230300/incorrect-work-gnome-terminal/

It took awhile to understand your question.

This quote of Bill Hedberg from [comp.terminals][1] helped me.

> The WY60 is an "ASCII terminal", which means that it responds to
> "ASCII" control sequences of the form "Esc~;" The VT100 is an "ANSI
> terminal", which means it responds to ANSI control sequences of the
> form "Esc[0m"

From your results the [60;D# is the code used to clear the current line that is not being understood. Though ~ is [ascii 126][2] and [ is ascii 91 I don't see exactly how it applies yet. It may matter somehow in octal or hex.

I think the problem is related to WY60 vs. VT100 [emulation][3] software involved on both sides. In each case check what is set in your $TERM variable and associated entries in /etc/{termcap|terminfo}. Once you find the cause of the problem a solution like [wy60][4] might apply.

https://en.wikipedia.org/wiki/VT100

https://en.wikipedia.org/wiki/Dell_Wyse

  [1]: https://groups.google.com/forum/#!topic/comp.terminals/qwhgIz8GhYY
  [2]: https://en.wikipedia.org/wiki/Ascii
  [3]: https://en.wikipedia.org/wiki/Terminal_emulator
  [4]: https://code.google.com/p/wy60/