SUSE Support

Here When You Need Us

korn shell ignores control character

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

Environment

SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Desktop 10
 

Situation

You are using the following code in a korn shell script
Example :
 
echo "Your Choice ? \c"
read CHOICE

And you would expect that the cursor will stay after "?" and wait for input but the script ignores "\c" and jumps to the next line. Also the whole string "Your Choice ? \c" will be displayed.
 

Resolution

The problem will be resolved with the korn shell version
ksh-93s
in SLES10 SP2

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:3283000
  • Creation Date: 11-Jan-2008
  • Modified Date:04-Mar-2021
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

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

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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