Environment
Novell SUSE Linux Enterprise
Server 10
Novell SUSE Linux Enterprise Desktop 10
Novell Open Enterprise Server 2 (OES2)
Novell SUSE Linux Enterprise Desktop 10
Novell Open Enterprise Server 2 (OES2)
Situation
You are using the following code
in a korn shell script
Example :
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.
Example :
echo "Your Choice ? \c"
read CHOICE
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-93sin SLES10 SP2