Re: mc and TOSTOP terminal attribute



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aliaksey Kandratsenka wrote:

> mc sets TOSTOP flag on slave terminal (subshell.c:220). And I cannot
> understand why. The comment for that says obvious thing. I've tracked
> this code down to initial SCM check-in. So commit message too cannot
> explain reason for this.

my discovery of repo ends on eb6b3842abd84db5e9a7695d59fb6db5c5321f4f
commit.

> This flag causes issues with at least gdb debugging of multithreaded
> programs and check unit tests that do any output.
> 
> Maybe we just kill this piece of code ? Is anybody aware of it's
> purpose ? It seems that everything works after I do 'stty -tostop'.

I think, the terminal "tostop" flag is set for prevent background
processes from garbling up the interface.

WBR, Slavaz.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFKuz02b3oGR6aVLpoRAm6+AJ4oyqi6ZsqBOVFo01/R48nh5BZP+wCdHS6m
jG/xaNZRrLKzD0gQp2fTO+8=
=4NoV
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]