Mersenne Digest Saturday, January 1 2000 Volume 01 : Number 674
----------------------------------------------------------------------
Date: Sun, 26 Dec 1999 15:53:10 -0500
From: Pierre Abbat <[EMAIL PROTECTED]>
Subject: Re: Mersenne: How to set up mprime on a dual boot machine?
- --Boundary-=_yGgxxpkLoRellNMPapqfWkHOPkMC
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
On Sun, 26 Dec 1999, Kevin Sexton wrote:
>I have prime95 running on win95, and have set up mandrake,
>and I want mprime to continue the work, right now, linux is
>only run a minority of the time, and I haven't set up a
>compatible modem, but this will change. I am new to linux,
>and so I don't know the details of how to set it up in the
>scripts, ect.
Put mprime in the same directory as prime95 (mine is /win/mersenne). I start
mprime from rc.local, though it would be better to start it from a script in
init.d as then if I switch runlevels I wouldn't end up with two mprimes running
at once.
/win/mersenne/mprime -d |/usr/local/bin/runtail 25 /win/mersenne/primelog &
runtail is a Tcl script which is attached. You may want to run mprime on a
virtual console or from screen.
phma
- --Boundary-=_yGgxxpkLoRellNMPapqfWkHOPkMC
Content-Type: text/plain;
name="runtail"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="runtail"
#!/usr/bin/tclsh
# Reads standard input and writes the last n lines to a file.
# Usage: runtail n file
proc outem {} {
global n ;
global file;
global line ;
set f [open $file w];
for {set i 0} {$i < $n} {incr i} {puts $f $line($i)};
close $f;
}
proc scroll {str} {
global n;
global line;
for {set i 1} {$i < $n} {incr i} {set line([expr $i - 1]) $line($i)};
set line([expr $n - 1]) $str;
}
foreach {n file} $argv {}
for {set i 0} {$i < $n} {incr i} {set line($i) ""}
while {1} {
scroll [gets stdin];
outem;
}
- --Boundary-=_yGgxxpkLoRellNMPapqfWkHOPkMC--
_________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ -- http://www.tasam.com/~lrwiman/FAQ-mers
------------------------------
Date: Mon, 27 Dec 1999 01:06:59 -0800
From: Colin Percival <[EMAIL PROTECTED]>
Subject: Mersenne: Periodic HD activity
This question came up about a year ago, and I can neither remember what
the answer was, nor find it in the archives.
Someone stated that running prime95 under windows they experienced
periodic hard drive activity, without any reason for it. Other people
noted that they had experienced the same problem even while not running
prime95.
I did not experience this until a few days ago when I upgraded from 64MB
to 128MB of RAM; since then, irregardless of what programs I have running,
my hard drive will, within a couple days, start 'clicking' (ie, short
bursts of activity) exactly once per second. It keeps on doing so until I
restart windows. (BTW, I am running win2k RC2, but it seems that this
occurs over all versions of win32).
I know this isn't related to Mersenne primes, but I'm hoping that someone
will remember the discussion and be able to help me.
Thanks,
Colin Percival
_________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ -- http://www.tasam.com/~lrwiman/FAQ-mers
------------------------------
Date: Sat, 1 Jan 2000 11:54:24 -0800
From: Russel Brooks <[EMAIL PROTECTED]>
Subject: Mersenne: Primenet error 12031 ??
What is a 'Primenet error 12031'? I get it when attempting to contact
the PrimeNet Server after dialing into my ISP. The error msg says to
see the FAQ but it doesn't list this error message.
The error doesn't happen all the time but I have seen it more than once.
cheers... Russ
_________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ -- http://www.tasam.com/~lrwiman/FAQ-mers
------------------------------
End of Mersenne Digest V1 #674
******************************