s-news
[Top] [All Lists]

[S] Summary -- breaking out of browser().

To: s-news@wubios.wustl.edu
Subject: [S] Summary -- breaking out of browser().
From: Rolf Turner <rolf@math.unb.ca>
Date: Thu, 21 Oct 1999 15:37:52 -0300 (ADT)
Sender: owner-s-news@wubios.wustl.edu

Thanks to Nick Barrowman, Bill Dunlap, and Stephen Smith who answered
my question about browser().

Nick and Bill told me to check my terminal settings using

        stty -a

to see what ``quit'' is set to.  I did so and found that it was
``<undef>'' (!!!).  When I set it to be <ctrl>-\ via

        stty quit 

breaking out of browser() worked as of old.

Stephen Smith told me of a device he uses to solve the problem in
the Windoze version:

>  Being unable to break out of browser() in the mswindows version was and is a
>  standard thorn.  For the present I just use something like:
>  
>  browser.ind<-1
>  browser()
>  if(browser.ind!=1) stop()
>  
>  in my function.  Verbose but it works.  If I wish to break out I just assign
>  some other value to browser.ind while in browser, enter a zero to continue
>  function evaluation and then the stop() commands will be activated.

Since the stty procedure worked for me, I did not need to invoke the
more verbose work-around.

                                        cheers,

                                                Rolf Turner
                                                rolf@math.unb.ca
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • [S] Summary -- breaking out of browser()., Rolf Turner <=