When I'm in OCEAN command line mode, when I hit backspace, it shows "^H" on the command line.
"^[[3~" is for delete.
"^[[D" is for left arrow.
And so on.
Is there a solution to this?
I'm using IC 126.96.36.1990, and using NX for Windows to work on a remote server.
I searched the forum, and find no others experiencing the same problem.
The "ocean" command doesn't support "readline" type editing (there's an enhancement request for that). However, it should support backspace. Can you type "stty -a" in the terminal window before starting "ocean" and post what it shows?
speed 38400 baud; rows 49; columns 113; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q;
stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^0; min = 1; time = 0;
-parenb - parodd cs8 -hupcl -cstopb cread -clocal -crtscts -cdtrdsr
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
Nothing jumps out at me - the erase was what I was interested in, and that looks OK. Please contact customer support so that we can work through this with you.
I had a chat with a colleague in R&D - he said:
From a local xterm, I get the same thing for the arrow keys. Backspace and Delete work properly, but Ctrl+H outputs “^H”.From an xterm in NX, I get the strange characters for Delete but Backspace works properly. So I think this just has to do with how the keyboard is configured.
As I said, the arrow keys is not surprising, since ocean doesn't use readline, but maybe there's some keyboard configuration issue - not sure how you're accessing the tools.
Anyway, as I said, customer support is the best bet.