Thread Subject: CTRL-Z in Matlab 2007a on Intel Mac

Subject: CTRL-Z in Matlab 2007a on Intel Mac

From: Sam Waldman

Date: 28 Jun, 2007 12:31:27

Message: 1 of 5

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

Subject: CTRL-Z in Matlab 2007a on Intel Mac

From: Peter Boettcher

Date: 29 Jun, 2007 10:27:27

Message: 2 of 5

"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

Subject: CTRL-Z in Matlab 2007a on Intel Mac

From: Steve.Amphlett@ricardo.com

Date: 29 Jun, 2007 07:43:45

Message: 3 of 5

On Jun 29, 3:27 pm, Peter Boettcher <boettc...@ll.mit.edu> wrote:
> "Sam Waldman" <spamvac2...@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

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.

Subject: CTRL-Z in Matlab 2007a on Intel Mac

From: Sam Waldman

Date: 29 Jun, 2007 12:38:14

Message: 4 of 5

Steve.Amphlett wrote:
>
>
> On Jun 29, 3:27 pm, Peter Boettcher <boettc...@ll.mit.edu>
wrote:
>> "Sam Waldman" <spamvac2...@gmail.com> writes:
>> > Hi Folks,
>> 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
>
> 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

Subject: CTRL-Z in Matlab 2007a on Intel Mac

From: Peter Boettcher

Date: 29 Jun, 2007 13:19:43

Message: 5 of 5

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

> Steve.Amphlett wrote:
>>
>>
>> On Jun 29, 3:27 pm, Peter Boettcher <boettc...@ll.mit.edu>
> wrote:
>>> "Sam Waldman" <spamvac2...@gmail.com> writes:
>>> >
>>> > Hi Folks, 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.
>
> 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

Tags for this Thread

Everyone's Tags:

mac

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
mac Ned Gulley 29 Jun, 2007 13:58:13
rssFeed for this Thread

Contact us at files@mathworks.com