Terminal Emulation?
Robin Lee Powell
rlpowell at digitalkingdom.org
Fri Jan 31 02:13:53 CET 2003
On Fri, Jan 17, 2003 at 12:08:06AM +0100, Denys Duchier wrote:
> rlpowell at digitalkingdom.org (Robin Lee Powell) writes:
>
> > It very much doesn't work. In particular, anything that uses any
> > terminal features at all fails, presumably because bash thinks that
> > it is talking to STDIN and STDOUT and can't see a terminal.
>
> This is not really a Mozart related question.
>
> bash thinks it is talking to a regular stream because it IS. You have
> exactly the same issue with pipes when doing shell programming. If
> you need a PTY, it needs to be explicitly allocated.
OK. Can you give me any pointers on doing that in Mozart? 8)
> I don't think that bash can do that. On the other hand ssh has the -t
> option for just this occasion (pretty convenient for tunelling a
> regular terminal connection through several host indirections, btw).
Ah. That *almost* works. It certainly works much better. Thanks.
> On the other hand, using Oz just for establishing a terminal
> connection isn't exactly what the technology was intended for :-) We
> were kind of aiming at something a little beyond that, ahem...
Well, this would be part of a much larger program. What I want is a way
for users telnetted to a TCP/IP port that's run by a Mozart program to
be able to interact with an arbitrary terminal-based program on the
machine the Mozart program is running on.
If there's a better way to do that, please let me know!!
-Robin
--
http://www.digitalkingdom.org/~rlpowell/ *** I'm a *male* Robin.
.i le pamoi velru'e zo'u crepu le plibu taxfu
.i le remoi velru'e zo'u mo .i le cimoi velru'e zo'u ba'e prali .uisai
http://www.lojban.org/ *** to sa'a cu'u lei pibyta'u cridrnoma toi
-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.
Please send bug reports to bugs at mozart-oz.org.
More information about the mozart-users
mailing list