How to Cadence stdin, stdout

V

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
 
On 3 Dec, 07:39, Vitalie <gvita...@gmail.com> wrote:
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
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
 

Welcome to EDABoard.com

Sponsor

Back
Top