Date: Fri, 28 Mar 1997 17:33:34 -0500 (EST) From: "Kenneth R. Westerback" <krw@tcn.net> To: freebsd-bugs@freebsd.org Subject: misc/3105 solution: not a sysinstall bug after all! Message-ID: <Pine.BSF.3.95q.970328172329.1245A-100000@Pkrw.tcn.net>
next in thread | raw e-mail | index | archive | help
The problem described in misc/3105 is actually a bug in /usr/src/gnu/lib/libdialog/msgbox.c. The function dialog_mesgbox() incorrectly places the cursor on the opening '[' of the ok button it creates instead of on the first non-blank character of the field. Not only that but it subsequently places the cursor on the 'K' of the OK rather than the 'O' after processing a keystroke. The easiest way to see both problems is to run /stand/sysinstall and press F1 - cursor misplaced on '['. Then press, say, PGDN - cursor misplaced on 'K'. The patch for /usr/src/gnu/lib/libdialog/msgbox.c: 183c183 < wmove(dialog, height-2, width/2-6); --- > wmove(dialog, height-2, width/2-3); 233c233 < wmove(dialog, height-2, width/2-2); --- > wmove(dialog, height-2, width/2-3); Since this was the first bug report I submitted and subsequently this is the first fix I discovered I'm unsure of the procedure. Should I submit a new, more specific bug report against libdialog/msgbox.c or is this sufficient? ---- Ken
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970328172329.1245A-100000>