help-octave
[Top][All Lists]
Advanced

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

Re: changing terminal size


From: Francesco Potortì
Subject: Re: changing terminal size
Date: Tue, 23 Jun 2015 20:02:23 +0200

>
>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.

Hm.  Disabling line editing is conceptually different from assuming that
you cannot ask for terminal size, as far as I know.  Am I wrong?

-- 
Francesco Potortì (ricercatore)        Voice:  +39.050.621.3058
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Skype:  wnlabisti
(entrance 20, 1st floor, room C71)     Web:    http://fly.isti.cnr.it




reply via email to

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