When most is used to read man pages, and when searching for a term, you have to press 'n' twice

Bug #452915 reported by Rory McCann
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
most (Debian)
Fix Released
Unknown
most (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: most

When using most as a man page viewer (eg "PAGER=most man man"), if you search for a word that is highlighted (in the case of the man man page 'DESCRIPTION'), you have to press n twice to progress to the next match. 'n' is used in most when searching to progress to the next search.

To reproduce
1. install most
2. in a terminal: "PAGER=most man man"
3. You will see the man page for man
4. type in "/DESCRIPTION". (without the quotes), this will tell most to search for the string 'DESCRIPTION'
5. The cursor will move to the D in DESCRIOTION (this is what we want)
6. Press the n key, this will tell most to move to the next matched string

what happens:

The cursor doesn't move

what should happen:

the cursor should move to the next occurance of 'DESCRIPTION' (which is a few lines down)

pressing n again will move to the next 'DESCRIPTION'.

All the occurances of 'DESCRIPTION' that are highlighted in red take 2 presses of n to move to the next. if it's not highlighted in red, then you only have to press n once.

ProblemType: Bug
Architecture: i386
Dependencies:
 libgcc1 1:4.3.3-5ubuntu4
 libslang2 2.1.3-3ubuntu3
 gcc-4.3-base 4.3.3-5ubuntu4
 findutils 4.4.0-2ubuntu4
 libc6 2.9-4ubuntu6.1
DistroRelease: Ubuntu 9.04
Package: most 5.0.0a-1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_IE.UTF-8
 SHELL=/bin/bash
SourcePackage: most
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
Oskar Wallgren (oskar-wallgren13) wrote :

From the Debian bug tracker (linked above).
"This has been fixed by the recent introduction of the regexp-based search."

Changed in most (Ubuntu):
status: New → Fix Released
Changed in most (Debian):
status: Unknown → Fix Released
Revision history for this message
Peteris Krumins (peteris-krumins) wrote :

Hello,

I just installed most on Ubuntu 18.04 and this bug is still there. You have to press "n" twice to navigate around.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

$ most --version
MOST version 5.0.0 (S-Lang version 2.3.1a)

Does anyone know a workaround? Thanks!

Revision history for this message
Oskar Wallgren (oskar-wallgren13) wrote :

The fix would be in the latest release, most 5.1.0 .
http://www.jedsoft.org/most/download.html

It doesn't seem to be in Debian yet and I see no mention on the debian page for most that the package is old. You may have to bump Debian about this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.