comp.lang.ada
 help / color / mirror / Atom feed
From: "Samuel T. Harris" <sam_harris@hso.link.com>
Subject: Re: simple xterm?
Date: 1999/10/19
Date: 1999-10-19T00:00:00+00:00	[thread overview]
Message-ID: <380CCF15.6D706A25@hso.link.com> (raw)
In-Reply-To: 380C9964.FD91C224@boeing.com

Robert Jordan wrote:
> 
> What would be the easiest method for getting a separate VT100 text
> window to be created for text_io output?  I'd rather avoid using c calls
> (Sun solaris), but if that's the only way to do it, then that's the only
> way.
> 
> Thanks,
> 
> Robert

Assuming a UNIX machine, then simpy determine your tty device
and open "/dev/ttyxxxx" as your filename. In this way, I have
redirected the output of several "subsystems" within a program
to multiple pre-existing xterm devices. You can simply prompt
the user for the device names when the program starts.

In the past, I've kept a list of the desired tty devices
in a separate file which is read by the program. This file
has to be updated each time a new set of xterm's are opened.
With a combination of startup shell scripts and
a wrapper script which opens all the needed xterm's this file
can be automatically setup.

-- 
Samuel T. Harris, Principal Engineer
Raytheon, Scientific and Technical Systems
"If you can make it, We can fake it!"




  reply	other threads:[~1999-10-19  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-19  0:00 simple xterm? Robert Jordan
1999-10-19  0:00 ` Samuel T. Harris [this message]
1999-10-21  0:00 ` Alfred Hilscher
1999-10-21  0:00   ` Samuel T. Harris
1999-10-21  0:00     ` Vladimir Olensky
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox