X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rod Pemberton" Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP termios Date: Wed, 11 Feb 2009 14:45:34 -0500 Organization: TornevallNET - http://news.tornevall.net Lines: 27 Message-ID: References: <7705c9030902091323q48d59667x468b0c3bb0e4025f AT mail DOT gmail DOT com> <7705c9030902100003x55552d4awb02e6d3597a28814 AT mail DOT gmail DOT com> <7705c9030902100127u37036fb4v39b4750dad3013da AT mail DOT gmail DOT com> <7705c9030902100918g41674550nce5009a68727f895 AT mail DOT gmail DOT com> <7705c9030902101808g141ba04du58d0c579ca602f0e AT mail DOT gmail DOT com> <7705c9030902102256o66a85666v83f6b508a05b7901 AT mail DOT gmail DOT com> <7705c9030902111107t874aef3q6a2b7f6525ac5cd4 AT mail DOT gmail DOT com> NNTP-Posting-Host: e3267b9742f76e1725c8976e487fa15c X-Trace: 61cf440e470ec3710e3610b0cca616b3 X-Complaints-To: abuse AT tornevall DOT net X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933 X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! X-Newsreader: Microsoft Outlook Express 6.00.2800.1933 X-Validate-Post: http://news.tornevall.net/validate.php?trace=61cf440e470ec3710e3610b0cca616b3 X-SpeedUI: 1505 X-Complaints-Italiano: Parlo la lingua non è italiano X-Posting-User: c1d3d0c1b6b92a0da8bd6a8e58acbe20 X-Priority: 3 X-MSMail-Priority: Normal To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Blair Campbell" wrote in message news:7705c9030902111107t874aef3q6a2b7f6525ac5cd4 AT mail DOT gmail DOT com... > > Like I asked before, is there a way to disable DJGPP's emulation of > > ansi escape sequences? I would like to see if it works with a regular > > ansi.sys driver. > > Ok so I disabled termios emulation of escape sequences by setting > __libc_write_termios_hook to NULL after calling init_dialog. I'm not familiar with termios. However, I'm still going to ask if clearing the termios ICANON flag does what you need: "If ICANON is not set, all characters are processed as regular characters and returned to the caller;" http://www.delorie.com/djgpp/doc/libc/libc_816.html > Now with > an ansi driver loaded, it runs fine in pure DOS, with the exception > that it looks like not all of the escape sequences that it uses are > supported by nansi.sys. Does this indicate a problem in termios? Is this different from v2.03? Rod Pemberton