Home > Community > Forums > Custom IC SKILL > In OCEAN command line mode, backspace, delete, and others don't work properly.

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 In OCEAN command line mode, backspace, delete, and others don't work properly. 

Last post Wed, Mar 6 2013 3:07 AM by rickyuexu. 5 replies.
Started by rickyuexu 03 Mar 2013 10:50 PM. Topic has 5 replies and 2156 views
Page 1 of 1 (6 items)
Sort Posts:
  • Sun, Mar 3 2013 10:50 PM

    • rickyuexu
    • Not Ranked
    • Joined on Sun, Jan 8 2012
    • Posts 15
    • Points 195
    In OCEAN command line mode, backspace, delete, and others don't work properly. Reply

    Hi,

    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 6.1.4.500, and using NX for Windows to work on a remote server.

    I searched the forum, and find no others experiencing the same problem. 

     Thanks! 

    • Post Points: 20
  • Mon, Mar 4 2013 4:24 AM

    Re: In OCEAN command line mode, backspace, delete, and others don't work properly. Reply

    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?

    Thanks,

    Andrew.

    • Post Points: 20
  • Mon, Mar 4 2013 9:37 PM

    • rickyuexu
    • Not Ranked
    • Joined on Sun, Jan 8 2012
    • Posts 15
    • Points 195
    Re: In OCEAN command line mode, backspace, delete, and others don't work properly. Reply

    Hi Andrew,

    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 

    • Post Points: 20
  • Tue, Mar 5 2013 5:24 AM

    Re: In OCEAN command line mode, backspace, delete, and others don't work properly. Reply

    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.

    Regards,

    Andrew.

     

    • Post Points: 5
  • Wed, Mar 6 2013 2:21 AM

    Re: In OCEAN command line mode, backspace, delete, and others don't work properly. Reply

    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.

    Regards,

    Andrew.

    • Post Points: 20
  • Wed, Mar 6 2013 3:07 AM

    • rickyuexu
    • Not Ranked
    • Joined on Sun, Jan 8 2012
    • Posts 15
    • Points 195
    Re: In OCEAN command line mode, backspace, delete, and others don't work properly. Reply
    Thank you, Andrew!
    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by rickyuexu at 03 Mar 2013 10:50 PM. Topic has 5 replies.