How to Cadence stdin, stdout

Discussion in 'Cadence' started by Vitalie, Dec 3, 2008.

  1. Vitalie

    Vitalie Guest

    Hi

    I want to access stdin from Cadence, but I don't find how to?
    Where can I find more details about it (Cadence stdin).

    I tested such way:

    ciw promt > lineread(piport)
    ciw promt> hello Cadence

    result is:
    hello Cadence

    Till now everything is ok, but if I do:

    ciw promt> lineread(stdin)

    then the Cadence is freezing (in the tty from where I started Cadence
    show:
    [1]+Suspended (tty input) icfb

    How to give something to the Cadence stdin to unfreeze it.

    Thank You
     
    Vitalie, Dec 3, 2008
    #1
  2. Vitalie

    Vitalie Guest

    Solved such way:

    ciw promt>lineread(stdin)

    cadence freeze

    go to the terminal (console) from were was the icfb started
    if icfb is in backgroud do:
    jobs -l
    see the number of job for icfb supose [1]
    fg 1

    now you see
    tty promt #
    icfb
    <type here some text and press enter>
    the cadence now is ok, you can check the message in the ciw

    Cool, yes?
    Enjoy
     
    Vitalie, Dec 3, 2008
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.