SUSE Support

Here When You Need Us

ksh - no echo if prompt >80 (SHELL)

This document (3853671) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 9
 

Situation

If using ksh as a login shell, if the prompt gets longer than 80 characters,
which can happen in case of PWD included, there is no echo anymore. You have
to enter the commands "blind".

If your commandline is for example something like:

killroy@L21:/home/killroy/einerstertest/einzweitertest/eindrittertest/einviertertest

and you are using ksh or pdksh then any command you issue will be executed, but no echo shown.
 

Resolution

This is the main feature of ksh and pdksh and not a Bug. If you would like to have an interactive shell, then use bash, zsh or tcsh for example.

In SLES10 and later you can use

set -o multiline

to disable this feature in ksh.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3853671
  • Creation Date: 21-Jun-2007
  • Modified Date:19-Mar-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.