Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 1998 15:59:21 +0200
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        freebsd-hackers@FreeBSD.ORG
Cc:        seggers@semyam.dinoco.de
Subject:   libdialog question (for use in sysinstall)
Message-ID:  <199807201359.PAA16587@semyam.dinoco.de>

next in thread | raw e-mail | index | archive | help
Hi!

I'm finished with the dependency support for sysinstall.  It seems to
work and is the first step to a halfway decent size information with-
in the package installation process.  Packages which will be added as
dependencies get a 'D' instead of an 'X' as marker.

The only point where I have a problem is the case where the user (un-)
selects some package.  In that case the dependencies might cause some
changes to the currently displayed list of packages.  For this reason
I have to return DITEM_SUCCESS|DITEM_RECREATE.  This causes flickering
but that is not the most serious problem.

The main problem here is that it will restart at the top of the list
which is confusing.  This is caused by libdialog not storing the
position information before taking the "goto draw;" in the DITEM_RE-
CREATE handling.

Now the questions is how I best can resolve this.  The easiest way
would be to change DITEM_RECREATE to save the position information but
that might break some programs which rely on this.  The alternative
solution is to add a new case which combines the DITEM_RECREATE
actions with storing the position.

Stefan.
-- 
Stefan Eggers                 Lu4 yao2 zhi1 ma3 li4,
Max-Slevogt-Str. 1            ri4 jiu3 jian4 ren2 xin1.
51109 Koeln
Federal Republic of Germany

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807201359.PAA16587>