[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GUI terminal widget
John W. Eaton
Re: GUI terminal widget
Wed, 5 Jun 2019 10:45:40 -0400
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
On 6/5/19 10:19 AM, Pantxo wrote:
On a linux machine, with Matlab 2016a:
system ('emacs -nw')
emacs: Terminal type "dumb" is not powerful enough to run Emacs.
It lacks the ability to position the cursor.
If that is not the actual type of terminal you have,
use the Bourne shell command `TERM=... export TERM' (C-shell:
`setenv TERM ...') to specify the correct type. It may be necessary
to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.
system ('export TERM=xterm; emacs -nw')
[0m[39;49m[27m[7m[1m*scratch* [0m[39;49m[27m[7m All L1
The terminal then becomes unusable (e.g. can't "C-x C-c") then I have kill
As for the pager, I don't know how to determine if it is a separate process
since my ML session is run on a separate node from the one I launch it from
(i.e. "ps -u $USER" in the launching terminal won't even list Matlab). All I
can tell is that the pager is pretty basic: "space" scrolls one page
forward, any other key scrolls one line forward, "q" quits the pager. Looks
like its no more than "more", much less capable than "less".
We might be able to come up with some tests but I don't think it really
matters. The point is that Matlab users who begin using Octave won't
expect to be able to run something like Emacs in the command window.
Having the capabilities of less would be nice, but I don't see it as
necessary. We could also just provide good ways to search in the
command window without having output paged and that would probably
satisfy most users. We've already disabled the pager by default anyway
because having it enabled seems to confuse new users. So I don't think
most GUI users will miss it much even if we provide nothing but scrollbars.
Re: GUI terminal widget, Mike Miller, 2019/06/04
Re: GUI terminal widget, John W. Eaton, 2019/06/04
- Re: GUI terminal widget, Rik, 2019/06/03
- Re: GUI terminal widget, CROZIER Richard, 2019/06/04
- Re: GUI terminal widget, Rik, 2019/06/04
- Re: GUI terminal widget, John W. Eaton, 2019/06/04
- Re: GUI terminal widget, Nicholas Jankowski, 2019/06/04
- Re: GUI terminal widget, Pantxo, 2019/06/05
- Re: GUI terminal widget,
John W. Eaton <=
- Re: GUI terminal widget, Ian McCallion, 2019/06/05
- Re: GUI terminal widget, PhilipNienhuis, 2019/06/05