Entire Input command not visible in Unix prompt

Hi,

While typing the Unix command, entire command is not visible.When the input command is long, it is not visible. I want the entire command to be displayed when i type it. Please help to resolve this issue.

Thanks
Sampath

Which OS, which shell?

Linux and Korn shell

Try

set -o multiline

No, it dont work. Just to add, i have given an example.
I type echo "hello" in the prompt. It looked like

oz444c3n12 /v/source/ln/appl/ocproj/xyzsystem/data/xyzsystemimsdev/RECO 8$ ello" <

Here, see only ello" is visible. There might be some variable to reset to increase the column lenght. Please help.

What happens if you reduce the size of your prompt (PS1)?

Can you post the output of set -o .
About the variable: the only variable ksh uses here is COLUMNS, which is set automatically each time you resize the terminal window.

Output of the command:

$ set -o multiline
 
-ksh: set: multiline: bad option(s)
Usage: set [-sabefhkmnptuvxCG] [-A name] [-o[option]] [arg ...]

Anyhow, thanks for the hint on COLUMNS
export COLUMNS=1000 worked.