--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: pdmenu: Doesn't redisplay where it left off in long menus
- From: "Kingsley G. Morse Jr." <change@nas.com>
- Date: Mon, 15 Mar 2004 11:01:55 -0800
- Message-id: <E1B2xLY-0005QO-00@debian1.loaner.com>
Package: pdmenu
Version: 1.2.83
Severity: normal
Tags: sid
Hi,
Thanks for maintaining pdmenu.
It's handy.
I noticed that after executing a command, pdmenu won't redisplay
1.) the same part of the menu or
2.) the just selected menu item in inverse video
when the item selected is toward the bottom of a menu that's too long to
all fit within the console or xterm. pdmenu is reset to the top of the
menu and nothing is redisplayed in inverse video.
For example, if you
1.) run the following script in a 24 line xterm,
2.) press <enter> to run the "top1" item and
3.) press "q" to quit from top
you'll see that the menu is properly redisplayed with "top1" in inverse
video.
However, if you
1.) scroll down to the "top28" item, which is beyond the normal
range of a 24 line xterm,
2.) press <enter> to run top and
3.) press "q" to quit top
you'll now see that
1.) the menu is redisplayed from its top and
2.) no item is displayed in inverse video.
The same thing happens when it's run in a console.
It's seems to me that it'd be better if
1.) the same portion of the menu were redisplayed and
2.) the just selected item were redisplayed in reverse video.
Thanks,
Kingsley
#!/usr/bin/pdmenu
menu:main::Main Menu
exec:top1::top
exec:top2::top
exec:top3::top
exec:top4::top
exec:top5::top
exec:top6::top
exec:top7::top
exec:top8::top
exec:top9::top
exec:top10::top
exec:top11::top
exec:top12::top
exec:top13::top
exec:top14::top
exec:top15::top
exec:top16::top
exec:top17::top
exec:top18::top
exec:top19::top
exec:top20::top
exec:top21::top
exec:top22::top
exec:top23::top
exec:top24::top
exec:top25::top
exec:top26::top
exec:top27::top
exec:top28::top
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.19-aa1
Locale: LANG=C, LC_CTYPE=C
Versions of packages pdmenu depends on:
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
ii libgpmg1 1.19.6-12 General Purpose Mouse Library [lib
ii slang1 1.4.9-2 The S-Lang programming library - r
-- no debconf information
--- End Message ---