Subject: Re: etcupdate
To: Arto Huusko <armihu@utu.fi>
From: Randall Dow <rand@randix.net>
List: current-users
Date: 02/04/2004 05:57:25
Hi,
I haven't tried it, but probably something like:
MORE='-15'
export MORE
etcupdate
might help. Set the more screen size to less than 24.
> Something that has always been bugging me is the situation
> where etcupdate runs diff between the old /etc file and the
> new one, and the differences between the files doesn't take
> more than one screen, but the diff + etcupdate prompt do
> take more than one screen.
>
> etcupdate prompt (Please select one of the following...)
> takes 11 lines. Let's say diff between the files is 20
> lines. When given for more(1), more does nothing and just
> displays the diffs. Then etcupdate prints the prompt,
> and scrolls pieces of the diff off display.
>
> Is there some trick, and could this be etcupdate default,
> to make more(1) stop always when it shows the diff.
--
Randall Dow http://www.randix.net +1-916-759-9163