Package: util-linux
Version: 2.25-6
Severity: minor
Dear Andreas,
thanks for fixing the cursor re-enabling on ending cfdisk via menu (see
bug 755991). The fix works nicely.
Yet, on Ctrl-C cfdisk does not re-enable the cursor.
I believe the fix would be somewhere in ui_end():
660 static void die_on_signal(int dummy __attribute__((__unused__)))
661 {
662 »·······DBG(FRONTEND, ul_debug("die on signal."));
663 »·······ui_end();
664 »·······exit(EXIT_FAILURE);
665 }
As this is also called after ui_run()
2058 »·······/* Don't use err(), warn() from this point */
2059 »·······ui_init(cf);
2060 »·······ui_run(cf);
2061 »·······ui_end();
I believe the fix is to move curs_set(1); into from ui_run into ui_end.
I will provide a patch upstream in a moment.
Thanks,
Martin
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-rc7-tp520-fixcompwrite+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages util-linux depends on:
ii initscripts 2.88dsf-53.2
ii libblkid1 2.25-6
ii libc6 2.19-7
ii libmount1 2.25-6
ii libncurses5 5.9+20140712-2
ii libpam0g 1.1.8-3
ii libselinux1 2.3-1
ii libslang2 2.2.4-17
ii libsmartcols1 2.25-6
ii libtinfo5 5.9+20140712-2
ii libuuid1 2.20.1-5.8
ii lsb-base 4.1+Debian13
ii tzdata 2014e-1
ii zlib1g 1:1.2.8.dfsg-1
util-linux recommends no packages.
Versions of packages util-linux suggests:
ii dosfstools 3.0.26-3
ii kbd 1.15.5-1
ii util-linux-locales 2.25-6
-- debconf information:
util-linux/noauto-with-nonzero-passnum:
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]