help-octave
[Top][All Lists]
Advanced

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

number of column of octave terminal


From: John W. Eaton
Subject: number of column of octave terminal
Date: Fri, 13 Feb 1998 13:31:37 -0600

On 13-Feb-1998, Francesco Potorti` <address@hidden> wrote:

| How can one make octave change its idea of terminal width?  I use
| octave as an emacs subprocess on a character terminal.  The number of
| columns I use is 100 but, when displaying matrices, octave behaves as
| if only 80 columns were available.  Is there a way to tell octave to
| use all the 100 columns?

If Octave is compiled to use readline, it should pay attention to
whatever size readline thinks the terminal is.  That's maintained in
the screenwidth variable in readline, and it is set in
_rl_get_screen_size in terminal.c.  Exactly how it is set depends on
the system and terminal you are using.  On mine, it is set to the same
value I set using `stty columns NNN'.  On others, it may be set from
information stored in either the termcap or terminfo file, or the
COLUMNS environment variable, or, if all else fails, it defaults to
80.

jwe



reply via email to

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