[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Re[2]: GEM boost



Quoting Mark Duckworth <mduckworth@atari-source.com>:

I think this is a lot of work for little reason.  I think that once the
desktop starts, output should be redirected to a file, or otherwise
redirected to /dev/null.  there should be no way an app can write all

Shouldn't be much work at all, and redirecting to a pipe and automatically
displaying an output window makes removes the logical difference between TOS
and GEM programs.  If you redirect to /dev/null, then you still need to treat
TOS programs specially by loading TOSWIN.

Additionally, I was considering an even crazier scheme where you could redirect
the serial port of any program you liked to the other end of the pipe.  Then
you can use the features of your favorite terminal program for interacting with text programs. This would be great for getting other terminal emulations, doing zmodem transfers over the network (by running telnet into the terminal app), or
accessing other resources.   MiNT is really flexible in this regard.

over the screen.  I always thought that was so ghetto that every desktop
allowed that.  Must be something hard to redirect or something.  You

Nope, take an open file handle, Fforce() whatever standard handle you want to
it, and then Pexec over the current thread.

don't ever see console crap writing all over X because someone
accidentally forgot to redirect output elsewhere.  MiNT offers the
functionality that I'm looking for but I think there was an issue with
it, like I couldn't login or something ;-)

Login?  Logging in is optional.

-- Evan