POV-Ray : Newsgroups : povray.unix : s-povray and tty Server Time
28 Jul 2024 16:20:07 EDT (-0400)
  s-povray and tty (Message 1 to 6 of 6)  
From: Peter Popov
Subject: s-povray and tty
Date: 16 Jan 2000 11:20:24
Message: <scmBOB4=4OZWobajVtubU604IQGy@4ax.com>
is there a way I can make s-povray display to a non-tty console such
as /dev/pts/*? When I run it via ssh it says :

[svgalib: allocated virtual console #8]

Then ps x reports:

...
 3098 tty8     R      0:01 s-povray [various options]
...

and then:

bozo:/usr/local/lib/povray31# w
  3:40pm  up 20:21,  1 user,  load average: 0.56, 0.26, 0.20
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
root     pts/0    winbozo          12:49pm  0.00s  2.22s  0.02s  w

Now, I want to see how s-povray is doing, but it insists on outputting
to a tty. How can I change that? I tried to ttysnoop tty8 but I
couldn't do it. Any hints on that? If there is a way to watch the
console s-povray is running on, can you (Mark?) please include it in
the manpage? If there is not, will it be hard to add a command-line
option to choose a console (or at least a type of console tty, tts,
pts etc.)?


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

From: Mark Gordon
Subject: Re: s-povray and tty
Date: 16 Jan 2000 15:56:09
Message: <388230B6.846D0E72@mailbag.com>
Peter Popov wrote:
> 
> is there a way I can make s-povray display to a non-tty console such
> as /dev/pts/*?

(snip)

> Now, I want to see how s-povray is doing, but it insists on outputting
> to a tty. How can I change that? I tried to ttysnoop tty8 but I
> couldn't do it. Any hints on that? If there is a way to watch the
> console s-povray is running on, can you (Mark?) please include it in
> the manpage? If there is not, will it be hard to add a command-line
> option to choose a console (or at least a type of console tty, tts,
> pts etc.)?

My understanding of svgalib is that it only displays on a tty.  I could
(if I read up on it a bit more) add support for output on an arbitrary
terminal, but I don't know that I could do any better than 80x25, 16
colors).

Have you had no luck getting x-povray to display remotely?  That would
strike me as a better solution, since X is designed to function over
networks. I've gotten x-povray to display over rsh, but I haven't had
the need to try ssh (trusted network; I can reach all four machines and
the hub from where I'm sitting).  I can check it out on my end.

-Mark Gordon


Post a reply to this message

From: Peter Popov
Subject: Re: s-povray and tty
Date: 16 Jan 2000 17:52:18
Message: <QUqCOPKyf3MJQ+IoPMq9mjLddquw@4ax.com>
On Sun, 16 Jan 2000 14:57:26 -0600, Mark Gordon <mtg### [at] mailbagcom>
wrote:

>Peter Popov wrote:
>> 
>> is there a way I can make s-povray display to a non-tty console such
>> as /dev/pts/*?
>
>My understanding of svgalib is that it only displays on a tty.  I could
>(if I read up on it a bit more) add support for output on an arbitrary
>terminal, but I don't know that I could do any better than 80x25, 16
>colors).

Yes but why use svgalib at all if console output is what's needed?
Anyway, I think I'll just compile the generic sources.

>Have you had no luck getting x-povray to display remotely?  That would
>strike me as a better solution, since X is designed to function over
>networks. 

I don't want to install X, not until I've found a free win32 X server
supporting OpenGL/Direct3D (if there's such a beast anyway)

>I've gotten x-povray to display over rsh, but I haven't had
>the need to try ssh (trusted network; I can reach all four machines and
>the hub from where I'm sitting).  I can check it out on my end.

does x-povray have a text-only output option? If so, I think ssh will
handle it just fine (it manages X11 packets quite well). Still, will
you please try it? TIA

>-Mark Gordon


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

From: Steve
Subject: Re: s-povray and tty
Date: 16 Jan 2000 23:50:05
Message: <slrn8857k0.18m.sjlen@zero-pps.localdomain>
>Now, I want to see how s-povray is doing, but it insists on outputting
>to a tty. How can I change that? I tried to ttysnoop tty8 but I
>couldn't do it. Any hints on that? If there is a way to watch the
>console s-povray is running on, can you (Mark?) please include it in
>the manpage? If there is not, will it be hard to add a command-line
>option to choose a console (or at least a type of console tty, tts,
>pts etc.)?
>

ALT-F8 should do it, if you're in Gnome then CTRL-ALT-F8



-- 
Cheers
Steve              email mailto:sjl### [at] ndirectcouk

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps


Post a reply to this message

From: Mark Gordon
Subject: Re: s-povray and tty
Date: 17 Jan 2000 01:16:36
Message: <3882B41D.C99E5C60@mailbag.com>
Peter Popov wrote:

> >Have you had no luck getting x-povray to display remotely?  That would
> >strike me as a better solution, since X is designed to function over
> >networks.
> 
> I don't want to install X, not until I've found a free win32 X server
> supporting OpenGL/Direct3D (if there's such a beast anyway)

Now it's making sense...
 
> >I've gotten x-povray to display over rsh, but I haven't had
> >the need to try ssh (trusted network; I can reach all four machines and
> >the hub from where I'm sitting).  I can check it out on my end.
> 
> does x-povray have a text-only output option? If so, I think ssh will
> handle it just fine (it manages X11 packets quite well). Still, will
> you please try it? TIA

The console version has an "ASCII art" output option.  If you don't need
that, then the -d switch ought to work to turn off display.

-Mark Gordon


Post a reply to this message

From: Peter Popov
Subject: Re: s-povray and tty
Date: 17 Jan 2000 16:12:00
Message: <zISDOPrD9MYg3gMXA1KI3GHehJKu@4ax.com>
On Mon, 17 Jan 2000 00:18:05 -0600, Mark Gordon <mtg### [at] mailbagcom>
wrote:

>The console version has an "ASCII art" output option.  If you don't need
>that, then the -d switch ought to work to turn off display.
>
>-Mark Gordon

I have hardcoded the output file name to output.png (cp'ed with a post
render directive) and there's a symbolic link to it in
/home/peter/public_html so I can check it out via http if I want (ftpd
is not running all the time, just when needed). Putting -d in
povray.ini was the first thing I did (before even running povray) so
even if there was an ascii art preview I didn't notice it.


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.