On Tue, 2003-05-20 at 05:23, Brian Candler wrote:
> On Tue, May 20, 2003 at 08:02:34PM +0900, Mark Firestone wrote:
> > Martin Demello and I have written an old style multiline (with threads) BBS 
> > in Ruby.  It runs on linux.  There are lots of old dos games for BBSes that 
> > run under, well, dos.
> > 
> > So, I got this crazy idea one day... I can run them under dosemu, and pipe 
> > the input and output though the BBS program, to the user.
> > 
> > I wrote (with some help from the list) a little piece of code that does 
> > this with unnamed pipes, which works fine for "regular" apps that use stin 
> > and stout, but not for doseum
> > 
> > When I am using dosemu, I only get the input... stuff I send to it doesn't 
> > get there... It turns out it has a -U switch, that is supposed to make it 
> > use named pipes.  You specify the pipes on the command line.

You might look at the pty extension as well.