in reply to Re: Spoof /dev/ttyS0
in thread Spoof /dev/ttyS0

This also sounds attractive, but now that I have the amazingly simple FIFO up, I'll pass on trying to figure this out. Your suggestion, however, is much appreciated and copied to my file of solutions, in case I need it.

Replies are listed 'Best First'.
Re^3: Spoof /dev/ttyS0
by MadCat (Initiate) on Sep 26, 2008 at 18:51 UTC
    Yeah, if a FIFO works then stick with that, it's a lot simpler to deal with. The pty/tty thing will work when an application expects to be able to do some specific ioctl calls on the device (such as DosEMU). I dug up some more info on what I did and it was basically to use DosEMU to run a DOS based BBS software and make it telnettable (by fooling the BBS software into thinking it was talking to a modem when in reality it was talking to a telnet<->"modem" gateway thing). Anyway, rambling on here... :D
      Hey MadCat, keep rambling. It may seem useless to someone else, but its useful for me. I've been using DosBox to run my BBS server, but I want to run dosemu instead but haven't been able to figure out how to do it, so please ramble on! Or message me, either way. Thanks a ton, Noisome (noisomep (\@/) gmail.com)