ditto problems with QNX4

Hi,

I have some problems when using ditto over the FLEET LAN. It shows me the
first console allright but when I try
to switch the virtual console on the remote node (e. g.: Ctrl-E-2) I have
problems. Sometimes it works, sometimes it doesn’t.

Thanks.

“DMitri” <ivdal@yahoo.com> wrote in message news:a2h8b5$o1n$1@inn.qnx.com

Hi,

I have some problems when using ditto over the FLEET LAN. It shows me the
first console allright but when I try
to switch the virtual console on the remote node (e. g.: Ctrl-E-2) I have
problems. Sometimes it works, sometimes it doesn’t.

Can you specify what “sometimes it doesn’t” exaclty do,
does it crash, does it timeout, does it freeze, does it display garbage,
does it display another console, does it display a blank screen.


Thanks.

Can you specify what “sometimes it doesn’t” exaclty do,
does it crash, does it timeout, does it freeze, does it display garbage,
does it display another console, does it display a blank screen.

It just doesn’t display anything . And if I strike a key it doesn’t respond
with a login prompt as it is supposed to be.

Exact command syntax is: ditto -qkn2 for node 2.

“DMitri” <ivdal@yahoo.com> wrote in message news:a2jktm$gds$1@inn.qnx.com

Can you specify what “sometimes it doesn’t” exaclty do,
does it crash, does it timeout, does it freeze, does it display garbage,
does it display another console, does it display a blank screen.

It just doesn’t display anything . And if I strike a key it doesn’t
respond
with a login prompt as it is supposed to be.

Exact command syntax is: ditto -qkn2 for node 2.

ah, much better :wink: For ditto to work a program has to be running
on the console. Hence if login isn’t running you can’t start it
from ditto.

By default, tinit will NOT start login on console [2-9] but on only
on console 1.

To prove the theory, go on console 2-9 then press enter to bring
up the login. Then try ditto again, does it work?

To fix this have tinit start a login on each console by replacing
tinit -t /dev/con1 -T /dev/con[2-9]
with
tinit -t /dev/con*


ah, much better > :wink: > For ditto to work a program has to be running
on the console. Hence if login isn’t running you can’t start it
from ditto.

Still doesn’t work :frowning:

Here’s the whole story.

I’m sitting on node 5 and I want to see what’s happening
on node 2. Node 2 doesn’t any keyboard or monitor. I do:

ditto -kqn2

After that I can see the first console of node 2.
Now I run the script that starts my software modules
on different consoles of node 2. Inside the ditto:

a16run

The script is a bunch of lines like:

on -n2 -r //2/ -t /dev/con2 //2/home/dsp_io/dsp_io

This WILL run a program on console 2 node 2, and ditto should
feel happy about that. dsp_io printf()-s some debugging
info, and it must go to the console 2 node 2.
After I press Ctrl-E-2, ditto should show it to me, right?
But it doesn’t. :frowning:

The weird thing is that sometimes it works just fine.

Thanks

I don’t remember the specific symptoms, but I vaguely remember having some
trouble once using ditto on a machine that had no monitor/keyboard. I
believe I ended up using a utility called ‘Dev.ditto’.

DMitri <ivdal@yahoo.com> wrote in message news:a337jv$pmu$1@inn.qnx.com

ah, much better > :wink: > For ditto to work a program has to be running
on the console. Hence if login isn’t running you can’t start it
from ditto.

Still doesn’t work > :frowning:

Here’s the whole story.

I’m sitting on node 5 and I want to see what’s happening
on node 2. Node 2 doesn’t any keyboard or monitor. I do:

ditto -kqn2

After that I can see the first console of node 2.
Now I run the script that starts my software modules
on different consoles of node 2. Inside the ditto:

a16run

The script is a bunch of lines like:

on -n2 -r file://2/ -t /dev/con2 file://2/home/dsp_io/dsp_io

This WILL run a program on console 2 node 2, and ditto should
feel happy about that. dsp_io printf()-s some debugging
info, and it must go to the console 2 node 2.
After I press Ctrl-E-2, ditto should show it to me, right?
But it doesn’t. > :frowning:

The weird thing is that sometimes it works just fine.

Thanks
\

“Stephen Thomas” <slthomas@corpDOTolin.com> wrote in message
news:a34sk1$4kd$1@inn.qnx.com

I don’t remember the specific symptoms, but I vaguely remember having some
trouble once using ditto on a machine that had no monitor/keyboard. I
believe I ended up using a utility called ‘Dev.ditto’.

Yes. Ditto gets it data from a buffer somewhere. Dev.con and Dev.ansi both

have a buffer for each console that can be displayed on the video card. If
there is no video card, then you have to have Dev.ditto. It does not talk
to hardware but it does support /dev/con* and maintains the buffers for
those devices.

So, if there is no video card, you should use Dev.ditto.


Bill Caroselli – 1(626) 824-7983
Q-TPS Consulting
QTPS@EarthLink.net