How to get the prompt to wrap my input?

Michael Goffioul michael.goffioul at gmail.com
Fri May 1 03:18:41 CDT 2009


You can try to add

set horizontal-scroll-mode on

to the file <octave_root>\share\octave\3.0.1\m\startup\inputrc
and restart octave. But I'm not sure that option is honored when
running GNU readline in a windows command prompt.

Michael.


On Fri, May 1, 2009 at 7:50 AM, Egholm <nabble at egmail.dk> wrote:
>
> Hi Tatsuro,
>
>> Tatsuro MATSUOKA-2 wrote:
>>> Egholm  wrote:
>>> I'm using Octave (3.0.1) under WinXP, and would like the input prompt to
>>> wrap my long lines when entering (just as Cygwin does it) instead of
>>> "scrolling" the single line and prefixing with a "<". Is that possible,
>>> somehow?
>
>> Please use '\' or '...' like
>
>> A=...
>> [1 2 0 6 0 4; ...
>> 3 -3 2 8 0 0; ...
>> -4 0 5 6 0 -6; ...
>> 0 2 0 -1 2 -2; ...
>> 1 5 1 0 0 0; ...
>> 0 -2 -1 0 2 0]
>
> That was a way, sure!
> But it lacks the possibility to go back and change anything in a previous
> line...
>
> I'd really rather that the prompt just wrapped :-/
>
> Thanks for the suggestion anyway,
>  Egholm
> --
> View this message in context: http://www.nabble.com/How-to-get-the-prompt-to-wrap-my-input--tp23316815p23329087.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> Help-octave at octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>



More information about the Help-octave mailing list