Mail Archives: djgpp/2002/11/12/17:32:43
"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message
news:Pine DOT SUN DOT 3 DOT 91 DOT 1021112081039 DOT 15374F AT is...
>
> On Mon, 11 Nov 2002, deckerben wrote:
> > Hmmmm... is it necessary to stick to that convention?
>
> We cannot change DOS system calls, can we?
Sorry, I guess more plainly asked, should I change the termcap
implementation to mimic the DOS EOF. My Termcap library is a strait port
from Debian or some place, not the one from Delorie. But the signals were
still aquired from DJGPP in the build. But from the tone of this thread, it
doesn't really seem like a problem... that was really all I meant...
I wasn't trying to change DOS. You are correct that PythonD developement is
following a *totally* different philosophy than the Perl port.
Variety is the spice of life :-)
> The possibility of an interactive program to interpret Ctrl-D as EOF
> depends on how it reads its input. If it does so with standard DOS calls
> (via `read', `getc' or other library functions which call DOS I/O), this
> isn't possible without some very painful tweaking of the program's
> original code (this is a port, remember?). In contrast, if input is read
> via termios or other console-specific interface, the task is much easier,
> since those I/O methods bypass normal DOS calls.
>
> So what Python does is not necessarily applicable to Perl.
ciao
Ben
- Raw text -