help-octave
[Top][All Lists]
Advanced

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

Re: changing terminal size


From: Mike Miller
Subject: Re: changing terminal size
Date: Tue, 23 Jun 2015 13:26:42 -0400

On Tue, Jun 23, 2015 at 14:48:25 +0200, Francesco Potortì wrote:
>>Is there a way to change Octave's notion of terminal size?  I would like
>>it to use more than 80 columns.
>
> Okay, sorry, some more detail: it works alright on a terminal, it is
> fixed to 80 columns inside Emacs, but only in the inferior Octave mode:
> it works alright if I call Octave from inside a shell buffer.
>
> The apparent reason is that inferior Octave mode uses --no-line-editing,
> which seems to fix the terminal size to 24x80.  Any workarounds?

You're right, --no-line-editing is the reason. When Octave runs in a
terminal it can ask the terminal what its size is. When it's not in a
terminal it just assumes the "default" of 80x24. There are currently
no workarounds that I can see.

How would you like to be able to express your preferred size to Octave
via Emacs? Would passing the COLUMNS and LINES environment variables
work? I'm not suggesting that it does work, I'm asking what would make
sense to you as a user to tell Octave what its size should be.

-- 
mike



reply via email to

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