Re: EXU puts ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 30 Aug 2000, Bernie wrote:
> --
> In linux it possible to have more than one terminal window
>
> open at once. If you use the PUTS() how do you know which terminal
>
> window is going to receive the output. Is there a way to get the
>
> fn number for a specific terminal window ?
>
> Thanks in advance
> Bernie

you could always open a eu file handle to what ever /dev/tty*
you want to use and "puts" everything through that file handle.

<untested example>

atom my_tty

my_tty = open("/dev/tty3", "w" )
puts( my_tty, "Sending to tty3\n" )
close( my_tty )

<end untest>

--
cense
a member of the
ak-software development team
http://ak-software.virtualave.net/

contract work for
Web Velocity IT inc.
http://www.webvelocity.ca/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu