[PATCH proposal] FISH: don't let ssh write its ouput to thecontrolling tty
Pavel Roskin
proski at gnu.org
Wed Nov 27 17:46:32 UTC 2002
Hello!
> > Why are the pty_open_{slave,master} funcs moved from subshell.c to
> > utilunix.c
>
> I use them in fish.c and though that if they are to be shared between
> fish.c and subshell.c it makes more sense move them into a common place.
That's right.
> Btw which is the corresponding header file for utilunix.c ?
Both util.c and utilunix.c use util.h. This is done so that the Windows
port can use common util.c but provide it's own implementation of
utilunix.c.
The Windows port doesn't use VFS and doesn't need pseudoterminals, so
utilunix.c is the right place for those functions.
--
Regards,
Pavel Roskin
More information about the mc-devel
mailing list