4

Closed

Incorrect handling of 'less' in Console2 application

description

Using 'less' (along with 'help') in popular console replacement for windows[1] makes it hang or crash completely. Is there something to be done? Everything else seem to be working just OK.
Refer to the Console2 issue: https://sourceforge.net/tracker/?func=detail&atid=437332&aid=3335794&group_id=43764
[1] https://sourceforge.net/projects/console/
Closed Jul 3, 2012 at 4:28 AM by r_keith_hill
Both exes (ConEmu and Less-394) are external to this project. There's not much we can do here.

comments

Zotov wrote Oct 1, 2011 at 6:46 PM

I checked if this application is handling other similar commands differently. So I ran Cygwin in cmd. It's implementation of 'man' (which is very similar to 'help' command) does not crash Console. But, from what I noticed, it does not remove scroll-bar from shell.

r_keith_hill wrote Oct 4, 2011 at 8:14 PM

As a workaround, copy the Pscx.UserPrefernces.ps1 file to your home dir and edit it. Set the PageHelpUsingLess to $false. Then when you import PSCX like so:

Import-Module Pscx -arg ~\Pscx.UserPreferences.ps1

bar971 wrote Jan 25, 2012 at 5:54 PM

I've this error only in windows7 platform. I've no error using less with console2 in windows xp.

andrewfray wrote Jun 28, 2012 at 2:22 PM

There is an identical problem when using less with ConEmu (http://code.google.com/p/conemu-maximus5/).

andrewfray wrote Jun 28, 2012 at 2:22 PM

In ConEmu, less works fine until you hit q, and then it freezes and you have to quit the terminal program.

r_keith_hill wrote Jul 3, 2012 at 4:27 AM

@andrewfray, Can you let the project coordinator of ConEmu know of this problem with Less394.exe? Both EXEs (ConEmu and Less394) are outside the control of this project so there really isn't much we can do about it. That is, unless someone has a pointer to a newer, better version of Less that is compatible with ConEmu?