jlo@pixel.phx.mcd.mot.com (Joe Ortiz) (05/27/89)
An xterm version 11.2 is connected over a berkley pseudo-tty to an at least 18 month old version of ksh. Paste data gets written to the pseudo-tty and subsequently to ksh and ultimately, when xterm reads the echo data back, the data read contains multiple versions of what was originally written, with command output mixed in the middle. For example, in a here script (cat <<? ) paste the line: 01abcdefghijklmnopqrstuvwxyz02abcdefghijklmnopqrstuvwxyz and you get: 01abcdefghijklmnopqrstuvwxyz02abcdefghijklmnopqrstuvwxyz > 01abcdefghijklmnopqrstuvwxyz02abcdefghijklmnopqrstuvwxyz This only happens when ksh is in vi or emacs mode. Any ideas?