OpenComputers II

OpenComputers II

27.1k Downloads

Cannot search using less

superkooks opened this issue ยท 4 comments

commented

Running less then attempting to search for text in the output using / does not work. The search term can be entered but the enter key doesn't work, meaning the input can never actually be searched. It also means that you cannot exit less without rebooting.

commented

Was probably an issue with the terminal emulator, works currently.

commented

The less implementation that busybox comes with by default does not support search.
You can still use ctrl+c to quit less, no reboot necessary.

Since the rootfs image is almost completely full I'd like to wait to see what other software might potentially be more desirable to add than full featured less. This would pull in libncurses, filling up a big chunk of the currently remaining space.

As a workaround for now, open the file you'd like to search in with vi and search there.

commented

Ah, didn't try ctrl+c (for some reason). Should I close this issue?

commented

Feel free to leave it open for now. The Linux image is technically still in flux, so this can serve as a reminder to potentially add full less.

In particular with the idea in mind that some other programs may need libncurses, too; IIRC nano uses that, which would be a more approachable editor for many.