* Andrew Apted ([EMAIL PROTECTED]) [000131 00:07]:
> Cesar Crusius writes:
>
> > Well people, here's the situation:
> >
> > * I have a gnuplot driver that works in X but fails when in console mode.
> >
> > * I hacked dvgt, so that now *I CAN SEE DVI FILES WITH GGI*. It works in X,
> > but then again, IT DOESN'T WORK IN THE CONSOLE!!! And that, of course,
> > is what I wanted the dvi viewer for.
>
> UNIX has some ancient thing called "job control". Programs started as
> _background_ processes (e.g. from a main program) are denied access to
> the TTY (i.e. the VT), they can't write to it or get input. I suppose
> the idea was, programs could be spawned and they shouldn't mess up the
> main program's screen. It's a bit bizarre, involving "process groups",
> "session leaders", "controlling TTYs", and the parent/child/sibling
> relationships between processes (I don't remember the exact details).
>
> ... skip ...
Thanks a lot for the lesson.
Strangely, it sort of works in octave, but fails to restore the text mode
correctly.
But here's the best part... I made dvgt work with GGI! We have a GGI DVI
viewer!!! I'll work a little bit more on it and post it to everybody.
Cheers,
--
Cesar Augusto Rorato Crusius o__ o__ o__ o__ o__
Stanford University ,>/'_ ,>/'_ ,>/'_ ,>/'_ ,>/'_
e-mail:[EMAIL PROTECTED] (_)\(_) (_)\(_) (_)\(_) (_)\(_) (_)\(_)
www.stanford.edu/~crusius
HE WHO SACRIFICES FUNCTIONALITY FOR EASE OF USE
LOSES BOTH AND DESERVES NEITHER