[Debconf-devel] Teletype bug?

Colin Watson cjwatson at debian.org
Thu Nov 22 23:34:15 UTC 2007


On Thu, Nov 22, 2007 at 06:11:47PM -0500, Joey Hess wrote:
> Colin Watson wrote:
> > ... and I think it's because the Teletype frontend leaves need_tty set
> > to true but doesn't bail out if there's no controlling tty. Is that
> > correct?
> 
> That sounds right.
> 
> > Is this patch (copied and pasted from Readline) the right fix?
> 
> No, the teletype frontend only needs to read from stdin and write to
> stdout. You don't need a controlling tty to do that (consider
> ssh host command w/o -t).

OK, glad I asked then. So I should just make it do need_tty(0)?

Thanks,

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the Debconf-devel mailing list