[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: install/38571: sysinst runs "postinstall fix"
The following reply was made to PR install/38571; it has been noted by GNATS.
From: Julian Fagir <gnrp%komkon2.de@localhost>
Subject: Re: install/38571: sysinst runs "postinstall fix"
Date: Wed, 29 Feb 2012 20:25:31 +0100
> >> the attached patch fixes that issue for me. On the one hand, it
> >> introduces a new function that exits curses, executes a command
> >> and afterwards returns. This function is used to execute
> >> etcupdate(8) in case the user wants it.
> > Why is that needed, IIRC there is already stuff to run a program
> > and display its output in the curses window.
> Yes, we have that, but does it work for interactive programs?
> AFAIK we use it only for programs that spew output without reading
> anything from the keyboard.
yep, and I derived the code for this function from the existing one.
I don't remember exactly anymore, but there were cases where the top three
lines occupying the view of the command were breaking things.
I think it was when looking at files or diffs, then you never could see the
top three lines when scrolling a page, but wouldn't bet on it.
Main Index |
Thread Index |