ksh-20120801-7.el6 adding \0\n where the old one just writes \n for carriage return in vi edit mode

Solution Verified - Updated -

Issue

In vi mode when accessing via HP ilo4 virtual serial port, carriage return and linefeed on input do not work properly. The cursor stays on the same line, and sometimes the first few characters of the prompt are missing. Things seem okay in emacs mode and when coming in via ssh or directly via a physical serial port.

Captured strace shows that the new ksh is writing \0\n where the old one just writes \n.

Environment

  • Red Hat Enterprise Linux (RHEL) 6.5 Beta
  • ksh-20120801-7.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.