Re: [PATCH proposal] FISH: don't let ssh write its ouput to thecontrolling tty



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



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