From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,79fe743e9d0cd38f X-Google-Attributes: gid103376,public From: "Samuel T. Harris" Subject: Re: simple xterm? Date: 1999/10/19 Message-ID: <380CCF15.6D706A25@hso.link.com>#1/1 X-Deja-AN: 538139328 Content-Transfer-Encoding: 7bit References: <380C9964.FD91C224@boeing.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Raytheon Scientific & Technical Services Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-10-19T00:00:00+00:00 List-Id: 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!"