[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GUI terminal widget
Re: GUI terminal widget
Wed, 5 Jun 2019 09:19:53 -0500 (CDT)
John W. Eaton wrote
> On 6/4/19 12:06 PM, Rik wrote:
>> On 06/04/2019 02:35 AM, CROZIER Richard wrote:
>>> Incidentally, do you really need a pager in the gui? You have scrollbars
>>> on the windows. All you really need is a keyboard shortcut to scroll up
>>> don't you? Like SHIFT+PageUp
>> We would need it if we wanted to maintain compatibility with Matlab. But
>> you're right that pagers are much less necessary when the data that
>> off the screen is not gone forever.
> What does Matlab do for the pager inside the GUI? Does it run a
> separate process or provide a simple built-in pager in a GUI window?
> I recall asking previously whether Matlab's terminal window provides a
> full terminal emulation when running on Windows or Linux systems, just
> to know what Matlab users might expect to be able to do and I think the
> answer was that it did not provide full emulation. Maybe someone could
> verify that with a current version? What happens if you try to execute
> something like
> system ('vi')
> system ('emacs -nw')
> at the Matlab prompt?
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".
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html
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,
- Re: GUI terminal widget, John W. Eaton, 2019/06/05
- Re: GUI terminal widget, Ian McCallion, 2019/06/05
- Re: GUI terminal widget, PhilipNienhuis, 2019/06/05