help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'less' not working


From: David
Subject: Re: 'less' not working
Date: Wed, 9 Apr 2014 10:35:01 -0400

I think I've found the problem. When Octave was installed, it set the startup directory to my home directory instead of ..\Octave-3.8.1\bin. I changed it and the error has gone away, but I'm still getting a warning message every time 'less' runs:

WARNING: terminal is not fully functional
-  (press RETURN)

Anybody running Octave under Windows 7 having this problem?

Thanks.



On Wed, Apr 9, 2014 at 9:54 AM, Mike Miller <address@hidden> wrote:
On Wed, Apr 9, 2014 at 09:23:24 -0400, David wrote:
> I don't know if this is a bug or just a configuration issue, but whenever I
> enter a command that produces more than one page of output, the 'less'
> command produces this error:
>
> less: Unknown option -X
> Usage: less [-ceisS] [-A|-u] [-n #] [-t tag] [-p pos_cmd] [-P prompt]
> [-U[[c][p][
> l|b|8|o|a]]] [file ...]
>
> This happens with both the CLI and GUI versions.

What operating system? What version/flavor of less does your system provide?

You can set the LESS environment variable to specify your own
preferred less options (I do). If that variable is not set, Octave
will pass its own set of options to less. Run

  type ([octave_config_info.startupfiledir filesep "octaverc"])

to see the startup script that sets the default less options.

--
mike


reply via email to

[Prev in Thread] Current Thread [Next in Thread]