[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Real TIOCSETP
Nicholas S Castellano writes:
> >From: Juergen Lock <nox@jelal.north.de>
> >Nicholas S Castellano writes:
> >> tty.c, file.h, xbios.c: ++entropy@terminator.rs.itd.umich.edu
> >> Add a real TIOCSETP (differs from TIOCSETN in that it waits for
> >> the output buffer to be empty if the device supports TIOCOUTQ.)
> >> Remove a kludge in rsconf() which is not needed if a real TIOCSETP
> >> exists.
> >
> > problem: with this patch old programs can hang in TIOCSETN because
> >then they really get TIOCSETP... and you usually only set an alarm for
> >TIOCSETP not TIOCSETN.
>
> Well if you think it's important,
well there are some people who always want binary distributions :) and
then i prefer to have binaries work on old and later kernels...
> maybe the definitions in file.h
> should be swapped, such that any old program will get TIOCSETN and you
> can recompile stuff to get the new TIOCSETP...
ok, looks like that works. (for me.)
>
> I recompile stuff all the time, so I don't usually notice stuff like
> this :-)
oh yes everyone should have a working compiler, that would make so many
things easier...
cheers
Juergen
--
J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
...ohne Gewehr
PGP public key fingerprint = 8A 18 58 54 03 7B FC 12 1F 8B 63 C7 19 27 CF DA
- References:
- Real TIOCSETP
- From: "Nicholas S Castellano" <entropy@terminator.rs.itd.umich.edu>