• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. In OCEAN command line mode, backspace, delete, and others...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 149
  • Views 3303
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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

rickyuexu
rickyuexu over 12 years ago

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! 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • rickyuexu
    rickyuexu over 12 years ago

    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 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    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.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • rickyuexu
    rickyuexu over 12 years ago
    Thank you, Andrew!
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information