For Programmers: Free Programming Magazines  


Home > Archive > Matlab > June 2007 > CTRL-Z in Matlab 2007a on Intel Mac









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CTRL-Z in Matlab 2007a on Intel Mac
Sam Waldman

2007-06-28, 7:17 pm

Hi Folks,

I run Matlab on a variety of platforms both locally and remotely. I
use the command line interface almost exclusively (as do most of my
colleagues) because I often work on large compute clusters located in
big rooms far away from my desk. I have recently upgraded to a Core
Two Duo Mac and Matlab 2007a. I find that "CTRL-Z" doesn't suspend
the MATLAB session and go to the command line as I believe it should.
Is there a work around for this or is this a new feature of the
Macification of Matlab?

Thanks in advance for your help,

sam
Peter Boettcher

2007-06-29, 7:14 pm

"Sam Waldman" <spamvac2007@gmail.com> writes:

> Hi Folks,
>
> I run Matlab on a variety of platforms both locally and remotely. I
> use the command line interface almost exclusively (as do most of my
> colleagues) because I often work on large compute clusters located in
> big rooms far away from my desk. I have recently upgraded to a Core
> Two Duo Mac and Matlab 2007a. I find that "CTRL-Z" doesn't suspend
> the MATLAB session and go to the command line as I believe it should.
> Is there a work around for this or is this a new feature of the
> Macification of Matlab?


Play with "stty -a" in your terminal (before launching MATLAB) and see if
^Z is still bound to "susp". If MAC supports such a thing. Anyway I
suspect a terminal/shell issue rather than a MATLAB issue.

-Peter
Steve.Amphlett@ricardo.com

2007-06-29, 7:14 pm

On Jun 29, 3:27 pm, Peter Boettcher <boettc...@ll.mit.edu> wrote:
> "Sam Waldman" <spamvac2...@gmail.com> writes:
>
>
> Play with "stty -a" in your terminal (before launching MATLAB) and see if
> ^Z is still bound to "susp". If MAC supports such a thing. Anyway I
> suspect a terminal/shell issue rather than a MATLAB issue.
>
> -Peter


But...

In recent years ML has moved away from being a console app, providing
its own window and CLI. If you choose to run "-nojvm" (as all sane
people would), the behaviour of CTRL-Z is your choice.

Sam Waldman

2007-06-29, 7:14 pm

Steve.Amphlett wrote:
>
>
> On Jun 29, 3:27 pm, Peter Boettcher <boettc...@ll.mit.edu>

wrote:
> Core
> suspend
it[color=darkred]
> should.
of[color=darkred]
> the
> and see if
> Anyway I
>
> But...
>
> In recent years ML has moved away from being a console app,
> providing
> its own window and CLI. If you choose to run "-nojvm" (as all sane
> people would), the behaviour of CTRL-Z is your choice.
>
>


Thanks Peter and Steve,

My terminal "susp" is still bound to "^Z" as it should be. My
previous install of Matlab on a G4 Mac had ^Z work fine (sorry, I
don't remember which version). Other applications work fine with ^Z
and the "feature" persists with different terminals and emulation,
ie. xterm, vt100, or Terminal.

Cheers,
sam
Peter Boettcher

2007-06-29, 7:14 pm

"Sam Waldman" <spamvac2007@removeme.gmail.com> writes:

> Steve.Amphlett wrote:
> wrote:
>
> My terminal "susp" is still bound to "^Z" as it should be. My
> previous install of Matlab on a G4 Mac had ^Z work fine (sorry, I
> don't remember which version). Other applications work fine with ^Z
> and the "feature" persists with different terminals and emulation,
> ie. xterm, vt100, or Terminal.


In that case I bet the "screen" program will let you work around this
for now.

-Peter
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com