From Kurt.Hornik@ci.tuwien.ac.at  Thu Jun 26 09:51:05 1997
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Thu, 26 Jun 1997 10:51:05 +0200
Subject: R-alpha: lbeta, ctrl-C and crashes
In-Reply-To: <x23eq5rbz9.fsf@bush.kubism.ku.dk>
References: <9706250920.AA11845@alpha.luc.ac.be>
 <Pine.SUN.3.95.970625083652.2283A-100000@zen>
 <199706260536.HAA00517@aragorn.ci.tuwien.ac.at>
 <x23eq5rbz9.fsf@bush.kubism.ku.dk>
Message-ID: <199706260851.KAA01127@aragorn.ci.tuwien.ac.at>

>>>>> Peter Dalgaard BSA writes:

> Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> writes:
>> Are we talking about `while (1) { print("whatever") } RET ... CTRL-C'
>> and then again and again?  As said, works perfectly under Debian 1.3
>> with a 2.0.27 kernel.

> 2nd time around, that command loops unstoppably here. 

> Redhat 4.1/2.0.28
 
> $ ldd R/bin/R.binary 
>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6.0
>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6.0
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6.1
>         libf2c.so.0 => /usr/lib/libf2c.so.0.20
>         libdl.so.1 => /lib/libdl.so.1.7.14
>         libreadline.so.2 => /usr/lib/libreadline.so.2.0
>         libtermcap.so.2 => /lib/libtermcap.so.2.0.8
>         libm.so.5 => /lib/libm.so.5.0.8
>         libc.so.5 => /lib/libc.so.5.4.23

> This is strange. What libs are used by Debian? And on Thomas' system?

Hmm.  I get

hornik@aragorn:~/Work/misc$ ldd /usr/local/lib/R/bin/R.binary 
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6		(6.0)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6	(6.0)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6	(6.1)
        libdl.so.1 => /lib/libdl.so.1			(1.8.10)
        libreadline.so.2 => /lib/libreadline.so.2	(2.1)
        libm.so.5 => /lib/libm.so.5			(5.0.8)
        libc.so.5 => /lib/libc.so.5			(5.4.23)
        libncurses.so.3.0 => /lib/libncurses.so.3.0	(3.0)

(I added the full version numbers manually.)

The obvious difference is that Debian uses ncurses instead of termcap.

I checked  again a few minutes ago, because Fritz was not sure about the
whole thing either ...

Very interesting ...

-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: lbeta, ctrl-C and crashes
Kurt Hornik