Converting .mp3 to .cdr

2001-01-04 Thread Douglas Bates
I would like to convert some mp3 files to the .cdr format for writing
an audio CD.  The CD-Writing-HOWTO recommends using mpg123 as in
 mpg123 --cdr -s track1.mp3  track1.cdr
but the version of mpg123 in mpg123_0.59q-2_i386.deb does not accept
the option --cdr, as far as I can tell.

I would appreciate suggestions for programs, preferably in Debian
packages, that can do this.  If the recommendation is to use mpg123
followed by sox I would appreciate getting the exact set of options to
use with sox on an i386 system.

Please cc: me on replies.




Re: Converting .mp3 to .cdr

2001-01-04 Thread Douglas Bates
Brad Keryan [EMAIL PROTECTED] writes:

 On 4 Jan 2001, Douglas Bates wrote:
 
  I would like to convert some mp3 files to the .cdr format for writing
  an audio CD.  The CD-Writing-HOWTO recommends using mpg123 as in
   mpg123 --cdr -s track1.mp3  track1.cdr
  but the version of mpg123 in mpg123_0.59q-2_i386.deb does not accept
  the option --cdr, as far as I can tell.
 
 However, it accepts the option -w filename.wav which writes the track
 to a WAV file.
 
  I would appreciate suggestions for programs, preferably in Debian
  packages, that can do this.  If the recommendation is to use mpg123
  followed by sox I would appreciate getting the exact set of options to
  use with sox on an i386 system.
 
 cdrecord and cdrdao both support reading audio tracks from WAV files, so
 the -w option is your best bet.

Thank you.  The -w option isn't given in the man page but it does show
up in mpg123 --help.  Interestingly enough, mpg123 --longhelp
indicates that it *does* accept --cdr.

Do you happen to know if it is necessary to swap bytes on the .wav
file when writing it to the CD?  The CD-Writing-HOWTO says to use

  for I in *.mp3
  do
  mpg123 --cdr -s $I | cdrecord -audio -pad -swab -nofix -
  done
  cdrecord -fix

and I found that I did have to use -pad.



Re: ps2pdf and LaTeX's seminar style

2000-10-03 Thread Douglas Bates
Stephenson, Paul [EMAIL PROTECTED] writes:

 Douglas Bates [EMAIL PROTECTED] wrote:
 
  I have created a presentation in LaTeX using the seminar style.  I use
  landscape orientation for the slides.  The room where I want to give
  the presentation has a computer running Windows with Acrobat Reader
  available.  I would like to convert the slides to PDF and use the
  full-screen feature of Acrobat to display them.
  
  My difficulty is that ps2pdf does not follow the papersize hints.  The
  resultant PDF file is rotated 90 degrees when I try to view it.
 
 Just a thought: have you tried generating PDF directly from the LaTeX
 source with pdflatex?  I have no idea whether this will solve your
 problem, but it might be worth a try.

Thanks for the suggestion.  It is not easy to do that because the
seminar style uses several PostScript specials.  These would all have
to be rewritten to used pdflatex.  Also, I am incorporating PostScript
figures into the slides.  I would have to convert all of them to PDF
for pdflatex.

Another person showed me that I can do what I wish by changing the
PostScript Prolog.  Dvips produces 

%%BeginSetup
%%Feature: *Resolution 1200dpi
TeXDict begin
 @landscape
%%EndSetup

If I modify this to 

%%BeginSetup
%%Feature: *Resolution 1200dpi
TeXDict begin
   /PageSize [792 612] /Orientation 0  setpagedevice
%%EndSetup

I can convert the PostScript file to PDF with ps2pdf and get the
desired orientation.



ps2pdf and LaTeX's seminar style

2000-10-02 Thread Douglas Bates
I am using Debian Linux 2.2 (potato).  I also have access to systems running
2.3 (woody) if that would help.

I have created a presentation in LaTeX using the seminar style.  I use
landscape orientation for the slides.  The room where I want to give
the presentation has a computer running Windows with Acrobat Reader
available.  I would like to convert the slides to PDF and use the
full-screen feature of Acrobat to display them.

My difficulty is that ps2pdf does not follow the papersize hints.  The
resultant PDF file is rotated 90 degrees when I try to view it.

Has anyone been successful at producing PDF from landscape slides done
with the seminar style?

Please cc: me on any replies.  I am too far behind on messages to this
list to ever hope to catch up.



Serving Zope pages from a secure port

2000-08-24 Thread Douglas Bates
I am using Zope on a Debian 2.2 i386 system to serve dynamic web pages
for an organization.  It works marvelously - another big win for free
software.

However, some of my users are behind firewalls and cannot connect to
the http server for Zope which, by default, runs on port 9673.  Their
firewalls appear to be configured to refuse connections to any port
numbered greater than 1024.

I tried modifying /etc/init.d/zope with
ZOPEOPTS=-w 694
so it would be running on a port numbered less than 1024 but zope then
fails on startup.  I suspect that it has already switched the
effective user to www-data by the time it tries to bind the port.

I am also running apache on port 80 on this machine.  From the
documentation in /usr/share/doc/zope it appears that I could
circumvent the port number problem by accessing zope from a webserver
through pcgi or fastcgi.  It appears that pcgi is simpler but involves
more overhead because it forks a short-lived process for every
connection.

Is that a reasonable summary of the available options?  Can anyone
suggest other ways around the problem?  Is there a Debian package for
fastcgi?  (I couldn't find one and I didn't see anything in the apache
configuration that looked promising.)

Please cc: me on any replies.  I'm too far behind on too many e-mail
lists and would likely miss a reply to the list only.
-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/



Re: python startup files

2000-01-05 Thread Douglas Bates
Jens B. Jorgensen [EMAIL PROTECTED] writes:

 I dunno about .pythonrc.py. The docs I read said to put startup code in
 ~/.python-startup.py and this is what I use successfully. In order to modify 
 python's
 search path from python code you just need to manipulate the sys.path list, 
 eg.:
 
 import sys
 
 sys.path.append('path-to-append')

Hmm.  That is what I was trying to do.  It doesn't seem to work for me
under the name ~/.python-startup.py either.

 $ cat ~/.python-startup.py
 import rlcompleter, readline, sys

 readline.parse_and_bind('tab: complete')
 sys.path.append(/home/bates/src/python)
 $ python
 Python 1.5.1 (#1, Dec 17 1998, 20:58:15)  [GCC 2.7.2.3] on linux2
 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
  dir()# notice that sys has not been imported
 ['__builtins__', '__doc__', '__name__']
  sys.path
 Traceback (innermost last):
   File stdin, line 1, in ?
 NameError: sys
  ^D

 In order to augment the python search path from an environment
 variable just set PYTHONPATH (colon-separated list just as the PATH
 variable). This is in the man page.  Did you read the fine manual?

Well I have been reading a lot of python documentation but I am
willing to believe I have missed important parts :-).  

On closer inspection of the manual page I see that the directories in
PYTHONPATH are prepended to the standard path list for python.  My
(poorly phrased) question about adding to the search list was more a
question of whether PYTHONPATH is appended to the standard search
list, is prepended to the standard search list, or replaces the
standard search list.  You are right - I could have gotten the answer
from the manual page.

It also appears that you need to set the environment variable
PYTHONSTARTUP to the name of the file that will be used for
initialization, whether that is ~/.pythonrc.py or
~/.python-startup.py.  My standard shell startup doesn't set this
environment variable but I will change my ~/.bash-profile to do so.

 $ export PYTHONSTARTUP=/home/bates/.python-startup.py
 $ python
 Python 1.5.1 (#1, Dec 17 1998, 20:58:15)  [GCC 2.7.2.3] on linux2
 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
  dir()
 ['__builtins__', '__doc__', '__name__', 'readline', 'rlcompleter', 'sys']
  ^D

I think I have the answers now for my questions.  Thanks for the
help.

 Douglas Bates wrote:
 
  According to some python documentation I have read I should put
  commands that I want executed in every interactive python session into
  the file `~/.pythonrc.py'.  I have done that but these commands do not
  seem to be executed when I start python on a Debian GNU/Linux 2.1
  system with
  ||/ NameVersionDescription
  +++-===-==-
  ii  python-base 1.5.1-7An interactive object-oriented scripting 
  lan
 
  Is there another convention for python startup with this package?
 
  Also, what is the recommended form for adding to the python search
  path?  I believe there is an environment variable to set.
 
  Please cc: me on replies.  I am unable to keep up with the amount of
  traffic on this list.
 --
 Jens B. Jorgensen
 [EMAIL PROTECTED]

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


python startup files

2000-01-04 Thread Douglas Bates
According to some python documentation I have read I should put
commands that I want executed in every interactive python session into
the file `~/.pythonrc.py'.  I have done that but these commands do not
seem to be executed when I start python on a Debian GNU/Linux 2.1
system with
||/ NameVersionDescription
+++-===-==-
ii  python-base 1.5.1-7An interactive object-oriented scripting lan

Is there another convention for python startup with this package?

Also, what is the recommended form for adding to the python search
path?  I believe there is an environment variable to set.

Please cc: me on replies.  I am unable to keep up with the amount of
traffic on this list.


Re: X server on a Compaq Presario 1235

1999-05-03 Thread Douglas Bates
Randy Edwards [EMAIL PROTECTED] writes:

  We have been trying to configure an X server from Debian 2.1 on a
  Compaq Presario 1235 laptop.  SuperProbe reports
 
I've got a Presario 1236 laptop running Potato very nicely with the 2.2.5
 kernel (well, all except the sound, I've only got it half-configured (sound
 config tips welcome!:-)).
 
The 1236 uses the NeoMagic chipset for its SVGA and I believe the 1235 does
 also.  For the X server I'm using the xserver-neomagic package and have it
 configured to run at 800x600 with 65K colors.

Thanks for the reply.  Where would we find an xserver-neomagic
package?  I don't see it in either the stable or the unstable
distributions?


X server on a Compaq Presario 1235

1999-05-01 Thread Douglas Bates
We have been trying to configure an X server from Debian 2.1 on a
Compaq Presario 1235 laptop.  SuperProbe reports

First video: Super-VGA
Chipset: Yamaha 6388 VPDC (Port Probed)
RAMDAC:  Generic 8-bit pseudo-color DAC
 (with 6-bit wide lookup tables (or in 6-bit mode))

but the xserver-svga does not seem to recognize the chipset.  Part of
the output from X -probeonly is

 (--) SVGA: PCI: Unknown vendor (0x10c8) Unknown chipset (0x0004) rev 1, Memory 
@ 0xfd00, 0xfea0
 (--) SVGA: chipset:  generic
 (--) SVGA: videoram: 64k
 (--) SVGA: clocks:  25.18
 (**) SVGA: Using 8 bpp, Depth 8, Color weight: 666
 (--) SVGA: Using builtin driver modes
 (--) SVGA: Builtin Mode: 320x200
 (--) SVGA: Virtual resolution set to 320x204
 (--) SVGA: SpeedUp code selection modified because virtualX != 1024

Any suggestions of how to get it configured?  Should we be using
another xserver?

Please cc us on any replies as we do not usually follow this list.


Creating a vfat file system

1999-03-14 Thread Douglas Bates
[Please reply to me personally as well as to the list.  I don't
usually have the time to keep up with this list.]

Is there a way within Debian GNU/Linux i386 to make a VFAT file system
on a hard disk partition?  

Background to the question: My laptop came with Windows 98.  I
repartitioned keeping the Windows 98 in /dev/hda1.  I installed Debian
GNU/Linux on /dev/hda3 with a swap partition on /dev/hda5 and /users
on /dev/hda6.  /dev/hda2 was reserved for Windows NT in case I wanted
to use that at work.  Eventually I decided to remove NT.  I would now
like to use /dev/hda2 as a second VFAT partition.

I used cfdisk to reset the partition type to Win95 FAT32 (0B), which
is the same type as /dev/hda1.  When I started up Windows 98 it found
that the D drive was not formatted and I agreed to have it format
that drive.  Then Win98 wanted to run Scandisk with the thorough
option.  I allowed that.  It got about halfway through the partition
according to its calculations then went into a tight loop.  Apparently
Scandisk was detecting every block as being corrupt and marking them
as corrupt.  I think it was Scandisk that had the problem not the disk
itself.

Next time I booted Linux there were all sorts of errors on /dev/hda6
of all places.  Fortunately /dev/hda3 looks ok.

Is there a mkfs.vfat or something like it within Debian that I can use
to create the VFAT file system safely?  My experience with Microsoft
utilities is not encouraging.  I would prefer to manipulate my file
systems under Linux where I have some chance of understanding what is
going on.


Interface to Olympus D-400Zoom

1999-01-13 Thread Douglas Bates
I would like to access images stored on an Olympus D400Z digital
camera.  It uses 4/8/16 Mb SmartMedia Cards (in its format) and has a
serial cable interface.  It also has a Flashpath floppy disk adapter
for the SmartMedia Cards.  This allows you to stick the SmartMedia
card in the adapter which is then inserted into your floppy drive.  I
can read from the drive using dd if=/dev/fd0 but I obviously don't
get the full 8 Mb off the card.

The software shipped with the camera supports both kinds of
computers*, Windows _and_ Macs.  I would like to be able to support
it on a Debian GNU/Linux system.  Any suggestions of where to start
looking?  The SANE (Scanner Access Now Easy) site did not include any
of the Olympus cameras in its list of supported hardware nor does it
say anything about the Flashpath.

* My friend Bill says that the idea of supporting both kinds of
  computers always reminds him of the movie The Blues Brothers
  where Dan Ackroyd asks a bar owner what kind of music these folks
  like to hear.  The owner replies, Round here folks listen to _both_
  kinds of music; country _and_ western.


Installing Sybase server from RH ftp site

1998-10-02 Thread Douglas Bates
Yesterday on http://www.redhat.com/ they were offering a free download
of RPM package of the Sybase Adaptive Server Enterprise and of its
docs.  You are asked to register but can access the ftp site directly
(ftp://ftp.redhat.com/pub/sybase/) if you prefer not to do that.

Has anyone tried to install these on a Debian system either with rpm
or with alien calling rpm?  Since it will be a big install and I need
to clean up the root partition to do it, I would appreciate hearing if
others have been successful with these.

Please respond to me as well as to the list.  I usually don't have time
to read the entire mail list and would prefer not to miss a response.

Here is what rpm on a Debian 2.0 system reports about the packages:
 bash-2.01$ ls -l sybase-*
 -rw-r--r--   1 batesbates32697133 Oct  1 09:52 
sybase-ase-11.0.3.3-1.i386.rpm
 -rw-r--r--   1 batesbates 8494779 Oct  1 10:40 
sybase-doc-11.0.3.3-1.i386.rpm
 bash-2.01$ rpm -q -p sybase-ase-11.0.3.3-1.i386.rpm -R -i
 /bin/sh  
 ld-linux.so.2 = 
 libc.so.6  
 libdl.so.2 = 
 libm.so.6  
 /bin/sh S 
 Name: sybase-ase  Distribution: (none)
 Version : 11.0.3.3  Vendor: Sybase, Inc
 Release : 1 Build Date: Mon Sep 14 06:35:55 
1998
 Install date: (not installed)   Build Host: sonofsam.sybase.com
 Group   : Applications/DatabasesSource RPM: 
sybase-11.0.3.3-1.src.rpm
 Size: 112172700
 Packager: Wim ten Have [EMAIL PROTECTED]
 Summary : Sybase Adaptive Server Enterprise 11.0.3.3 System installation
 Description :
 Sybase(R) Adaptive Server(R) Enterprise is the industry-leading structured
 query Language database server. It supports ANSI-92 SQL with Sybase
 stored procedures.

 Sybase Connectivity Open Client/Server(tm) is the industry-leading
 network oriented application development environment with tools to
 maintain and administrate the Adaptive Server Enterprise platform.

 Supporting files which apply to the Sybase Adaptive Server Enterprise
 shared between the SQL Server and Open Client/ Server development
 environment

 System information on the Software License Agreement governing use of
 Sybase Adaptive Server Enterprise for Linux 2.0 can be found in the file
 Information on the Sybase Adaptive Server Enterprise license may be found in
 the file /usr/doc/sybase-1-1/LICENSE.update.

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


Choice of database

1998-09-16 Thread Douglas Bates
I would like to consolidate some of the data in our office into a
database.  Our office staff uses Windows NT with the usual MS Office
tools.  I see they have MS Access available on a menu but I have no
experience with it.  From the Linux side I would prefer to use an
SQL-aware relational database that supports access through perl DBI or
JDBC.

Can I expect to run a relational database that will support access
from our researchers' Linux systems and from the NT systems used by
the office staff?  I think I would prefer to run the server
(postgresql?) on the Linux system.

Is MS Access the interface that I should expect the office staff to
use?  That is, is it a client that can allow access to an ODBC server?

Please reply with a copy to me.  I don't regularly read debian-user
(too much traffic).
-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


ldconfig warnings

1998-06-19 Thread Douglas Bates
When installing packages that include libraries I often get warnings
from ldconfig about no such file.  These look like dangling symlinks
to some shared object files that have been removed. Is it safe to kill
those symlinks?

 519# dpkg -i apt_0.0.16-1_i386.deb 
 (Reading database ... 50512 files and directories currently installed.)
 Preparing to replace apt 0.0.15 (using apt_0.0.16-1_i386.deb) ...
 Unpacking replacement apt ...
 Setting up apt (0.0.16-1) ...
 ldconfig: warning: can't open /usr/lib/tkstep (No such file or directory), 
skipping
 ldconfig: warning: can't open /usr/lib/i486-linuxaout/libdb.so.1 (No such file 
or directory), skipping
 ldconfig: warning: can't open /usr/X11R5/lib/libXt.so.3 (No such file or 
directory), skipping
 ldconfig: warning: can't open /usr/X11R5/lib/libXaw.so.3 (No such file or 
directory), skipping
 ldconfig: warning: can't open /usr/X11R5/lib/libX11.so.3 (No such file or 
directory), skipping
 ldconfig: warning: can't open /usr/X11R6/lib/i486-linuxaout/libXt.so.6 (No 
such file or directory), skipping
 ldconfig: warning: can't open /usr/X11R6/lib/i486-linuxaout/libXaw.so.6 (No 
such file or directory), skipping
 ldconfig: warning: can't open /usr/X11R6/lib/i486-linuxaout/libXIE.so.6 (No 
such file or directory), skipping
 ldconfig: warning: can't open /usr/X11R6/lib/i486-linuxaout/libX11.so.6 (No 
such file or directory), skipping
 ldconfig: warning: can't open /usr/lib/postgresql/lib (No such file or 
directory), skipping
 ldconfig: warning: can't open /usr/lib/libp2c.so.1 (No such file or 
directory), skipping


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: apache_1.1.3-6 preinstall script giving errors

1998-06-17 Thread Douglas Bates
LeRoy D. Cressy [EMAIL PROTECTED] writes:

 Douglas Bates wrote:
  
  I was having trouble installing apache_1.1.3-6 on a bo machine that
  had an earlier apache (1.0.x) installed.  I kept getting an error in
  the pre-installation script.  I thought it was because of the previous
  version so I removed the previous version.  Now I still can't get
  1.1.3-6 to install and I don't have the earlier one.  Here is all I get.
  
   arcola# dpkg -i apache_1.1.3-6.deb
   (Reading database ... 22196 files and directories currently installed.)
   Unpacking apache (from apache_1.1.3-6.deb) ...
   dpkg: error processing apache_1.1.3-6.deb (--install):
subprocess pre-installation script returned error exit status 1
   Errors were encountered while processing:
apache_1.1.3-6.deb
  
  I would appreciate any advice.  I was trying to help my friend with
  his system and now I have left him without a functioning apache on a
  system that is supposed to be serving web pages to the world.
 
 There are a couple of things that you might do.  The easiest
 course is:
 
 dpkg --info apache_1.1.3-6.deb  This will tell you what dependencies the
 package requires along with version
 required
 of some packages.
 
 Then check what versions of the required dependant packages that you
 have with:
 
 dpkg -s packagename

Thanks for the suggestion.  I did check the packages and everything
that is explicitly required seems to be in place.

 If you have the required packages along with the proper version numbers,
 then
 you might want to look at the install script in /var/lib/dpkg/info/ 
 This will
 tell you where possibly the error is hanging.  If there is a problem
 with the
 install script, fill out a bug report along with your fix.

The problem is that because the pre-install script doesn't finish
successfully, the scripts aren't copied into /var/lib/dpkg/info.  I
have to extract them with ar and tar.

I did so and ran the preinst script by hand as
 /bin/sh -v preinst install
It stopped after

wwwdata=`2/dev/null grep '^www-data:' /etc/passwd`
2/dev/null grep '^www-data:' /etc/passwd
arcola# echo $?
1

Currently there is no www-data login in /etc/passwd.

Johnie - do you have any ideas?
-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


alias expansion using smail under Debian

1998-06-09 Thread Douglas Bates
I am using smail as the Mail Transport Agent on my Debian GNU/Linux
systems.  I would like to define an alias that expands to the contents
of a file owned by a user.  On some sendmail-based systems I would
include an alias in /etc/aliases like

foo: :include:/home/bar/foo.list

to do this.  This does not seem to work under the standard Debian
configuration of smail.  I looked over the documents but did not see
anything that could tell me how to configure this.  Suggestions?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


netscape4 and long keys

1998-05-22 Thread Douglas Bates
Is it possible to get a copy of netscape4.05 with hard encryption (128
bit keys) for Linux 2.0?  I would like to install this if possible.  I
am in the U.S. and qualify to obtain such a version if it is
available.

I seem to a recall discussion of methods of modifying the 48 bit
version to create a 128 bit version.  Can anyone give me details on this?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Overriding fvwm95 buttons in the post.hook?

1998-05-22 Thread Douglas Bates
I have read the documentation on fvwm95 and on FvwmButtons but I am
still at a loss to decide how I would override definitions of buttons
in 
   /etc/X11/fvwm95/system.fvwm95rc

What I would like to do is to use rclock rather than xclock for one of
the buttons.  (rclock can be configured to alert you to incoming mail
so a single window can do double duty of displaying the clock and an
xbiff-like indicator of incoming mail.)

If I add the lines

*DebianFvwm95Buttons(Title rclock, Icon clock.xpm, \
 Swallow(UseOld) rclock 'Exec /usr/bin/X11/rclock -bg \#c0c0c0 \
 -geometry -1500-1500 ')

to my ~/.fvwm95/post.hook file I get the rclock in addition to all the
other buttons.  What I would like to do is to remove the other buttons
and then add the ones I want.  Is this possible using the post.hook
file?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: [sara@ora.com: NPR show on open source]

1998-04-20 Thread Douglas Bates
Martin Schulze [EMAIL PROTECTED] writes:

  From: Sara Winge [EMAIL PROTECTED]
  Date: Fri, 17 Apr 1998 09:16:43 -0700
  Subject: NPR show on open source
 
  Eric Raymond and Richard Stallman are guests on
  NPR's Science Friday today--looks like the segment's
  from 12:30-1:00 pm PDT. More info at:
  http://www.sciencefriday.com/pages/1998/Apr/hour2b_041798.html
 
  --
  Sara Winge[EMAIL PROTECTED]
  Public Relations
  O'Reilly  Associates, 101 Morris St., Sebastopol, CA 95472
  707/829-0515 x285, Fax 707/829-0104, http://www.oreilly.com/

RealAudio is available at
 http://www.npr.org/ramfiles/980417.totn.ram


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: [sara@ora.com: NPR show on open source]

1998-04-20 Thread Douglas Bates
Douglas Bates [EMAIL PROTECTED] writes:

 Martin Schulze [EMAIL PROTECTED] writes:
 
   From: Sara Winge [EMAIL PROTECTED]
   Date: Fri, 17 Apr 1998 09:16:43 -0700
   Subject: NPR show on open source
  
   Eric Raymond and Richard Stallman are guests on
   NPR's Science Friday today--looks like the segment's
   from 12:30-1:00 pm PDT. More info at:
   http://www.sciencefriday.com/pages/1998/Apr/hour2b_041798.html

 RealAudio is available at
http://www.npr.org/ramfiles/980417.totn.ram

Make that
http://www.npr.org/ramfiles/980417.totn.02.ram
if you just want the last hour.  The Free Software segment is the
second part of that hour.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: tetex question

1998-03-16 Thread Douglas Bates
G. Kapetanios [EMAIL PROTECTED] writes:

 My question is more tex oriented but involves knowledge of tetex. Tha is
 why I am asking the list. The book documentclass creates page headers with
 the title of the chapter. However, if the title is long the whole thing is
 meesed up. Is there a way to change that and either hjave no page headers
 or use title abbreveations ? Do I need to play around with the style files
 or some other sort of files ? Where would those files be in the tetex
 distribution of debian ? Any ideas would be appreciated.

Put a shortened form of the chapter title in an optional argument
to the \chapter command.  In my case it looks like
\chapter[Structure of Grouped Data]{Describing the Structure of Grouped Data}
-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to [EMAIL PROTECTED]


modconf needs whiptail under hamm

1998-02-16 Thread Douglas Bates
I should have followed the discussion on the modconf package under the 
unstable or hamm distribution more closely but I didn't.  In trying to 
install the modconf_0.2.16 package I get a message that it requires
whiptail but whiptail is not available.  This has been the case for
over a week and I have vague recollections of messages indicating that 
whiptail would not be a separate package or something like that.

Could someone please tell me how I resolve this?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: a MANPATH problem

1998-02-05 Thread Douglas Bates
Heikki Vatiainen [EMAIL PROTECTED] writes:

 I have two possible solutions for the X problem. Lately I have been using 
 only the ssh version:
 ...
 2. Using ssh not su
 ===
 % ssh -l root localhost
 type root password
 # xterm 

That latter version can be shortened to
 % ssh -f -l root localhost xterm
 type root password in response to prompt

This does the authentication, spawns the xterm with tunneling of the X 
traffic to the server, then throws the job into the background.  In
the current window you come back to your prompt as yourself.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


NY Times article on Netscape and free software in general

1998-02-02 Thread Douglas Bates
Perhaps I missed any discussion of this article because I was off the
list for a few days while travelling but today's (Mon, Feb 2) New York
Times Digital Commerce column by Denise Caruso discusses Netscape's
decision to make the source code for version 5.0 of their browser
freely available.  I'm looking at the printed version and I haven't
searched out a URL for the electronic version.  Perhaps someone can
give the URL for this article.

Anyway the article has interesting things to say about Netscape's
decision and how it relates to other freely available software like
Linux.  One quote that caught my eye was
 Linux source code is freely available over the Internet.  As a
  result, it is gaining in popularity; it is already a strong competitor 
  in the Unix market and is emerging as a viable competitor to
  Microsoft's Windows NT, which now commands more than 35 percent of the 
  sub-$25,000 network server market, according to Kimball Brown, a
  senior analyst for the market research firm Dataquest
 Denise Caruso
 Digital Commerce
 New York Times 02/02/98

If anyone would have told me when I started using Linux that it would
be classed as a strong competitor in the Unix market and a viable
competitor to Microsoft's Windows NT in the business section of the
N.Y. Times by early 1998, I would have said they were a little out of
touch with reality.  I'm happy that I would have been wrong.

She mentions RedHat by name and quotes Marc Ewing, a co-founder of the 
company.  She does not mention Debian by name.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


dbm files for aliases in smail [was Re: qmail vs smail]

1998-01-27 Thread Douglas Bates
Douglas Bates [EMAIL PROTECTED] writes:

 Adam Klein [EMAIL PROTECTED] writes:
 
  On Mon, Jan 26, 1998 at 04:13:19PM -0600, Douglas Bates wrote:
   I have been using smail as the mail transport agent on a hamm system.
   Recently I tried to install the 12000 line aliases file that we keep
   on all our instructional machines.  I found that this caused smail to
   grind to a halt.  Apparently smail doesn't create dbm files when
   newaliases is run.
 
  Well, smail can use a DBM file as an alias file.  Take a look at
  /etc/smail/directors and the smaildrct(5) manpage.

Changing /etc/smail/directors and /usr/sbin/mkaliases so the protocol
for aliases is 'dbm' instead of 'lsearch' seems to work _except_ that the
EXPN command on an smtp connection still takes forever.

I can see that I have an aliases.dir and an aliases.pag file created
by the call to mkaliases.  Looking at the smail logfiles I can see
that the mail delivery is occurring as quickly as I would expect if
the alias lookups were being done with the dbm files.  However, when I
make a direct smtp connection to the server and ask for an expansion
of a name, it started a /usr/sbin/smail process that ran for over 5 minutes on a
Pentium Pro 200 before I killed it.  It also ate up all the available
memory.  It was at 150 Mb of memory when I killed it.  This is
obviously not using the dbm files.

Any suggestions?  I backed out the changes for now.
-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: superformat having problems allocating memory?

1998-01-26 Thread Douglas Bates
Hamish Moffatt [EMAIL PROTECTED] writes:

 On Sun, Jan 25, 1998 at 01:03:00PM -0600, Douglas Bates wrote:
  I'm not sure if this is a problem with the superformat program from
  the fdutils package or with malloc under libc6 or with my kernel but
  I get errors from superformat saying it cannot allocate memory when
  there is a lot of memory available.
   bash-2.01$ superformat -d /dev/fd0
   Formatting cylinder  0, head 0 format: Cannot allocate memory
 
 Was this your first floppy format or had you done a lot?

I had done a lot.  I was making about 50 copies of a floppy disk for a 
class.

 After doing a lot of disks I got this message, or something similar,
 about being unable to allocate DMA buffers. The people on the appropriate
 linux- list tell me it's a design problem in the floppy driver,
 and that ISA DMA is problematic with  16mb RAM (which is what it uses).

 I had to reboot to reset it, did you?

I rebooted and could write on the same floppy disk without a problem.
About 10 disks later I encountered the same problem again.  It looks
like the driver is at fault.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


qmail vs smail

1998-01-26 Thread Douglas Bates
I have been using smail as the mail transport agent on a hamm system.
Recently I tried to install the 12000 line aliases file that we keep
on all our instructional machines.  I found that this caused smail to
grind to a halt.  Apparently smail doesn't create dbm files when
newaliases is run.

Would qmail be a better alternative as a MTA?  If it can resolve
aliases faster it would certainly help.  I would prefer not to install 
sendmail unless absolutely necessary.  My memories of trying to
configure sendmail are not pleasant memories.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


superformat having problems allocating memory?

1998-01-25 Thread Douglas Bates
I'm not sure if this is a problem with the superformat program from
the fdutils package or with malloc under libc6 or with my kernel but
I get errors from superformat saying it cannot allocate memory when
there is a lot of memory available.
 bash-2.01$ superformat -d /dev/fd0
 Formatting cylinder  0, head 0 format: Cannot allocate memory
 bash-2.01$ cat /proc/meminfo 
 total:used:free:  shared: buffers:  cached:
 Mem:  130924544 126173184  4751360 24453120 55037952 37212160
 Swap: 10692198420480 106901504
 MemTotal:127856 kB
 MemFree:   4640 kB
 MemShared:23880 kB
 Buffers:  53748 kB
 Cached:   36340 kB
 SwapTotal:   104416 kB
 SwapFree:104396 kB

Am I misinterpreting that error message?

I have the 5.2pl4-2 fdutils package installed, a 2.0.33 kernel, and
libc6 version 2.0.6-3 on a hamm system.

Other programs don't seem to have problems with memory allocation.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: superformat having problems allocating memory?

1998-01-25 Thread Douglas Bates
Bob Nielsen [EMAIL PROTECTED] writes:

 On 25 Jan 1998, Douglas Bates wrote:
 
  I'm not sure if this is a problem with the superformat program from
  the fdutils package or with malloc under libc6 or with my kernel but
  I get errors from superformat saying it cannot allocate memory when
  there is a lot of memory available.
   bash-2.01$ superformat -d /dev/fd0
   Formatting cylinder  0, head 0 format: Cannot allocate memory
   bash-2.01$ cat /proc/meminfo 
   total:used:free:  shared: buffers:  cached:
   Mem:  130924544 126173184  4751360 24453120 55037952 37212160
   Swap: 10692198420480 106901504
   MemTotal:127856 kB
   MemFree:   4640 kB
   MemShared:23880 kB
   Buffers:  53748 kB
   Cached:   36340 kB
   SwapTotal:   104416 kB
   SwapFree:104396 kB
  
  Am I misinterpreting that error message?
  
  I have the 5.2pl4-2 fdutils package installed, a 2.0.33 kernel, and
  libc6 version 2.0.6-3 on a hamm system.
  
  Other programs don't seem to have problems with memory allocation.
  
 
 FWIW, I don't get this error (same packages installed).

Thanks for checking.  

It seems to have been a transitory problem with the floppy device
/dev/fd0.  Other programs began to encounter problems with it so I
rebooted.  This problem has not recurred.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: superformat having problems allocating memory?

1998-01-25 Thread Douglas Bates
Douglas Bates [EMAIL PROTECTED] writes:

  On 25 Jan 1998, Douglas Bates wrote:
  
   I'm not sure if this is a problem with the superformat program from
   the fdutils package or with malloc under libc6 or with my kernel but
   I get errors from superformat saying it cannot allocate memory when
   there is a lot of memory available.
bash-2.01$ superformat -d /dev/fd0
Formatting cylinder  0, head 0 format: Cannot allocate memory
bash-2.01$ cat /proc/meminfo 
  total:used:free:  shared: buffers:  cached:
Mem:  130924544 126173184  4751360 24453120 55037952 37212160
Swap: 10692198420480 106901504
MemTotal:127856 kB
MemFree:   4640 kB
MemShared:23880 kB
Buffers:  53748 kB
Cached:   36340 kB
SwapTotal:   104416 kB
SwapFree:104396 kB
   
   Am I misinterpreting that error message?
   
   I have the 5.2pl4-2 fdutils package installed, a 2.0.33 kernel, and
   libc6 version 2.0.6-3 on a hamm system.
   
   Other programs don't seem to have problems with memory allocation.

 It seems to have been a transitory problem with the floppy device
 /dev/fd0.  Other programs began to encounter problems with it so I
 rebooted.  This problem has not recurred.

I wrote too soon.  The problem did recur.  
 bash-2.01$ superformat -v 1 -d /dev/fd0  fdmount  cp -a /var/tmp/fd0/* 
/fd0  fdumount  sync
 .format: Cannot allocate memory
The errors reported to /var/adm/messages look like
 floppy0: data CRC error: track 52, head 1, sector 16, size 2
 floppy0: data CRC error: track 52, head 1, sector 16, size 2
 end_request: I/O error, dev 02:00, sector 1905

Any suggestions what might be going on?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


ssh and kerberos

1998-01-13 Thread Douglas Bates
The manual entries for ssh and sshd contain information about settings
for Kerberos authentication but I have been unable to decide how to
set up kerberos authentication with ssh.  I do have a local kerberos
realm and authentication server.  Do I also need to have kerberos
clients compiled and installed on my Debian system before I can use
kerberos authentication for ssh?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


[off-topic] CVS advice?

1998-01-11 Thread Douglas Bates
Is there a way of setting checkout or checkin triggers with CVS?  I
want to do something like having a postinst script in a Debian
package.  Specifically, after checking out files in a given directory
I want to check for the existence of another directory, remove any
symbolic links from the current directory and re-establish symbolic
links to all the files in the other directory that have a certain
pattern in the file name.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Graphics Board URGENT

1998-01-10 Thread Douglas Bates
Britton [EMAIL PROTECTED] writes:

 The S3 Virge has been supported for a while under Xfree86 and is probably
 pretty stable by now.  Most any board should work in generic svga mode,
 ^^^
Not true.  The new Diamond Stealth II S220 based on the Verite' 2100
chip does not work even with xserver-svga.  It seems unlikely that
drivers will become available for it in the near future so watch out
for it.

I got caught in the situation of ordering a machine with the Diamond
Stealth thinking I would get the S3 card only to get this new Verite'
card.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: multiple fs types for user floppy access?

1998-01-09 Thread Douglas Bates
[EMAIL PROTECTED] writes:

 I currently have my floppy set up so that users can mount ms floppies with 
 the 
 line
 
 /dev/fd0/floppy msdos   user,rw 0   0
 
 in /etc/fstab
 
 I tried changing msdos to auto, but no dice.  Is there a change so that 
 it 
 can automount both msdos and ext2 disks?

Try the fdmount program from fdutils package.  It autodetects the file 
systems and mounts up the disk for you.  The fdumount program undoes this.

 rick, who also wonders why linux and 10 year old mac's can read/write msdos 
 disks faster than windows

Floppy drives are inherently slow.  At least Linux doesn't suspend all 
other programs on the system while writing to the floppy device.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Diamond Stealth II S220

1998-01-08 Thread Douglas Bates
I ordered a computer with a Diamond Stealth PCI video card.  When it
arrived I found that the card was the Diamond Stealth II S220 which,
of course, has absolutely nothing in common with previous Diamond
Stealth cards.  (I hate it when hardware manufacturers use the same
name for fundamentally different devices.)

This card is based on the Verite' 2100 chip.  None of the drivers in
XFree86-3.3.1 support it.  Not even xserver-svga can do anything with
it and SuperProbe can't recognize it.

Are there any suggestions of where to look for alpha-version drivers?
I don't seen anything on the web pages at www.xfree86.org or for the
extended S.u.S.E. drivers.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


a count-down timer?

1998-01-06 Thread Douglas Bates
This may be a leading candidate in the dumbest question ever asked on
debian-user contest but does anyone know of a program in some package
that provides a count-down timer?  That is, I want to set a time of 5
minutes and start the timer then have it pop up a window or ring the
bell or do something to alert me when the five minutes is up.  There
are many programs such as rclock that can alert me at a specific time
on a specific day but I want to be able to say five minutes from now
without a lot of hassle.

Emacs-based solutions are welcome as are more elegant versions of
 sleep 5m; echo ^G


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


More that 64 Mb memory

1997-12-29 Thread Douglas Bates
I have searched the FAQ's but I still can't find the answer to this
one.  I have a new machine with 128 Mb. of memory.  When I boot a
standard kernel using the standard lilo configuration from Debian the
kernel reports only 64 Mb of memory.  Could someone tell me what I
change to have the kernel recognize the full available memory?

Also, this is a dual-processor system.  If I look at /proc/cpuinfo it
seems to be reporting only one processor.  Could someone please remind 
me how to check if both processors are being used?
-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


smc-ultra module from drivers disk

1997-12-24 Thread Douglas Bates
I am bringing up a new machine with an SMC Ultra ethernet card.  After 
reading the rescue and drivers disks I ask for the Net modules and
install the SMC-Ultra module.  I receive some curious error messages
after

 loading device 'eth0'...
 smc-ultra.c:v2.00 6/6/96 Donald Becker ([EMAIL PROTECTED])
 eth0: SMC Ultra at 0x300, 00 00 C0 75 B3 98, assigned IRQ 10 memory 
0xcc000-0xc

That all looks as expected.  Then I get

 Executing module post-install script 'cdromsymlink' ...
 script: -ultra
 -ultra: not found

 Executing shell_smc-ultra failed

This is when running the installation disks with the v30 kernel
(i.e. 2.0.30). I guess I don't understand why it is trying to do some
cdrom sym-linking after installing an Ethernet card.

It appears that I can go ahead and configure the network anyway.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Diamond Stealth II S220 card

1997-12-24 Thread Douglas Bates
I just received a couple of machines that were to be shipped with
Diamond Stealth video cards.  Well they do have such cards but they
are a new revision that does not seem to be available in the cards
database and is not even recognized by SuperProbe.  The documentation
says this card is a Diamond Stealth II S220.  I guessed that it would
use the S3 driver as most of the other Diamond cards do.  However,
neither the svga nor the S3 driver can manage to probe this card and
get clock speeds and SuperProbe is also stuck.  I even upgraded to
the hamm distribution so I would using the 3.3.1 drivers.

The www.xfree86.org web site does not seem to have any information on
this card.  Does anyone have suggestions of where I can look for
information on this?
-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


/afs timeouts from /etc/cron.daily

1997-12-09 Thread Douglas Bates
I recently installed the AFS file system on a Debian Linux machine
running the unstable distribution.  Every time the scripts in
/etc/cron.daily are run now I get a series of error messages about
connections timing out for /afs domains.  The messages look like
 find: /afs/bcc.ac.uk: Connection timed out
The subject of the message from cron is
 Subject: Cron [EMAIL PROTECTED] run-parts /etc/cron.daily

It seems that find is only called at / by updatedb in the script
/etc/cron.daily/find and that script has a configuration file that
puts /afs in the PRUNEPATHS and afs in the PRUNEFS variables.  Those
exclusions seem to work if I run the script by hand because I don't
get any timeouts on afs domains.

Are there are other scripts in /etc/cron.daily that may be running a
find from / without excluding /afs?  The contents of /etc/cron.daily
for me are
 $ ls /etc/cron.daily
 acct  find   news   standard
 apacheman-db smail  sysklogd
 apache.dpkg-oldnetbase   smail.dpkg-dist
 calendar  netbase.dpkg-dist  squid


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


OS tests: Linux proves to be one of the most stable

1997-10-13 Thread Douglas Bates
I enclose the abstract from a talk that Bart Miller will be giving
today in our Computer Sciences Department.  It is interesting to note
that in this series of tests Linux proved to be one of the most stable
versions of Unix, more stable than commercial versions.  He lists the
GNU utilities as a separate entry.  I think that means that he is
testing the GNU utilities compiled on systems other than GNU/Linux.

His web page
http://www.cs.wisc.edu/~bart/
may contain more information on the study.
-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/
--- Start of forwarded message ---
Date: Mon, 13 Oct 1997 06:00:09 -0500 (CDT)
From: CS Dept. Talks [EMAIL PROTECTED]
Subject: Today's Events


2:30 pm, 2310 CS
Operating Systems and Networking Seminar:   Barton  P.  Miller,  University  of
   Wisconsin, Madison, Making Programs Explode: Using Simple Random Testing on
   Real Programs

In 1990, we published the results of a  study  of  the  reliability  of
   standard  UNIX  utility  programs.  This  study  showed that by using simple
   (almost simplistic) random testing techniques, we could crash or hang 25-33%
   of  the  these  utility  programs.  Recently,  we repeated and significantly
   extended this study using the same basic techniques: subjecting programs  to
   random  input  streams. A distressingly large number of UNIX utilities still
   crash with our tests.

We tested a wide variety of utility programs on  nine  UNIX  platforms.
   The  programs  were  sent  random input streams.  We used a conservative and
   crude measure of reliability: a  program  is  considered  unreliable  if  it
   crashes  with a core dump or hangs (infinite loop). We used the random test-
   ing to also test X-Window applications and  servers,  network  servers,  and
   system library interfaces.

The major results of this study are: (1) In the last  five  years,  all
   previously-tested versions of UNIX made noticeable improvements in the reli-
   ability of their utilities.  But ... the failure rate of  these  systems  is
   still  distressingly  high (from 18-23% in the recent study). (3) Even worse
   is that many of the same bugs that we reported in 1990 are still present  in
   the  recent  code releases. (4) The failure rate of utilities on the commer-
   cial versions of UNIX that we tested (from Sun, IBM,  SGI,  DEC,  and  NEXT)
   ranged  from 15 to 43%. (5) The failure rate of the utilities on the freely-
   distributed Linux version of UNIX was second-lowest, at 9%. (6) The  failure
   rate  of  the  public GNU utilities was the lowest in our study, at only 7%.
   (7) We could not crash network services on any of the versions of UNIX  that
   we  tested. (8) Almost 60% of the X-Window applications that we tested crash
   or hang on purely random input data streams (random binary data).  More sig-
   nificant  is that more than 25% of the applications crash or hang given ran-
   dom, but legal X-event streams. (9) We could not crash X server on the  ver-
   sions  of  UNIX  that  we  tested  (i.e., sending random data streams to the
   server).

--- End of forwarded message ---


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Gcc prints NAN for floats that are not NANs

1997-10-09 Thread Douglas Bates
Dr. Daniel Mashao [EMAIL PROTECTED] writes:

 I could never reproduce the problem on a smaller code. If I put just one
 extra printf() statement the problem disappears and appears elsewhere in
 the code. Here is the code
 
 #define SCALE   8192/* scale for fixed point representation */
 #define from_fixed(x)   ((double) (x) / SCALE)
 
 double x,y;
 
x = (from_fixed(tpi) - utt_scale);
x = x / num_obser;
x = x + from_fixed((phead-scale));
y = ((from_fixed(tpi) - utt_scale)/1.0/ num_obser) + 
  from_fixed(1.0*phead-scale);
 
 y produces a NaN and x does not
 int num_obser = 695;
 int phead-scale = 0;
 int utt_scale = 0;
 int tpi = -924593180;
 
 This is one of the cases that produces a NAN for y. Once y is NAN no
 matter what values tpi, and num_obser are it becomes a NaN after
 performing the calculation. 
 
 I understand what you mean when you say the fact that it worked on FreeBsd
 and Solaris doesn't mean its correct. But I am suprised that if I use the
 linear method as in 'x', it does not occur. 
 
 Lastly, I could not duplicate it on a smaller code. I wonder how are the
 NaN bits set on the Intel CPU. By the way is well documented that the
 Alpha chip has this problem for gcc. 

Another thing to try is explicitly setting the floating point control
word to the IEEE standard.  Some older versions of the C libraries set
the floating point control word to a non-standard value.  That can
affect the production and detection of NaN's.  Checking a recently
installed Debian 1.3 system for the file /usr/include/i386/fpu_control.h 
(included from /usr/include/fpu_control.h), it shows

 /* Linux default:
  - extended precision
  - rounding to nearest
  - exceptions on overflow, zero divide and NaN */
 #if 0
 #define _FPU_DEFAULT  0x1372 
 #else
 /* It seems SVR4/x86 uses the same thing. */
 #define _FPU_DEFAULT  0x137f 
 #endif

 /* IEEE:  same as above, but exceptions */
 #define _FPU_IEEE 0x137f

The present default behaviour is the IEEE behaviour but it used to be
different.  If you find that your libraries give a non-standard
default, either update the libraries and recompile or include that
header file in your code and call
 __setfpucw (_FPU_IEEE);
before doing any floating point calulations.  

Under the development version of Debian 2.0 the include file
/usr/include/fpu_control.h is complete by itself.  There is no
/usr/include/i386/fpu_control.h
-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: formatted floppy type??

1997-09-25 Thread Douglas Bates
Lawrence Lucier [EMAIL PROTECTED] writes:

   reason I'm asking is because my boot floppy and install disks don't see=
 m to respond to either
   ext2 or dos when I try to mount them.
   Or maybe because I'm a newbie at linux I am issuing the wrong command??=
 ?  :-)

  It's entirely possible -- you should be doing someting like

  mount -t msdos /dev/fd0 /mnt 


 Howdy Will...thanks for the reply. :-)  Seems it's just the four 1.44 b=
 ase install disks
 that don't respond to either:
 
 mount -t msdos /dev/fd0 /mnt 
 
 or
 
 mount -t ext2 /dev/fd0 /mnt 

The rescue or boot disk should have an msdos file system on it.  There
is a very handy utility called fdmount in the fdutils package.  You
can insert a floppy disk then use fdmount to mount it as a file
system.  fdmount will look for any type of file system that it can
recognize on that disk.  Here is the result of my putting a rescue
floppy in fd0 and fdmount'ing it.

$ fdmount fd0
fdmount (/dev/fd0): mounted msdos 1440K-disk (readonly) on /fd0
$ ls -l /fd0
total 1374
-rwxr-xr-x   1 batesbates1102 Aug  1 16:08 debian.txt
-rwxr-xr-x   1 batesbates 565 Aug  1 16:08 f1.txt
-rwxr-xr-x   1 batesbates 717 Aug  1 16:08 f10.txt
-rwxr-xr-x   1 batesbates 418 Aug  1 16:08 f2.txt
-rwxr-xr-x   1 batesbates 779 Aug  1 16:08 f3.txt
-rwxr-xr-x   1 batesbates 993 Aug  1 16:08 f4.txt
-rwxr-xr-x   1 batesbates 926 Aug  1 16:08 f5.txt
-rwxr-xr-x   1 batesbates 155 Aug  1 16:08 f6.txt
-rwxr-xr-x   1 batesbates 155 Aug  1 16:08 f7.txt
-rwxr-xr-x   1 batesbates 155 Aug  1 16:08 f8.txt
-rwxr-xr-x   1 batesbates1176 Aug  1 16:08 f9.txt
-rwxr-xr-x   1 batesbates1404 Aug  1 16:08 install.sh
-r-xr-xr-x   1 batesbates4528 Nov  4  1996 ldlinux.sys
-rwxr-xr-x   1 batesbates  634182 Aug  1 16:08 linux
-rwxr-xr-x   1 batesbates 115 Aug  1 16:08 rdev.sh
-rwxr-xr-x   1 batesbates 886 Aug  1 16:08 readme.txt
-rwxr-xr-x   1 batesbates  690183 Aug  1 16:08 root.bin
-rwxr-xr-x   1 batesbates   43627 Aug  1 16:08 sys_map.gz
-rwxr-xr-x   1 batesbates 970 Aug  1 16:08 syslinux.cfg
-rwxr-xr-x   1 batesbates   11938 Aug  1 16:08 syslinux.exe
-rwxr-xr-x   1 batesbates   7 Aug  1 16:08 type.txt
$ fdumount  # remember to do this before ejecting the disk
fdumount (/dev/fd0): disk unmounted
$ 

 VFS gives an error message stating Can't find valid MSDOS/ext2 filesyste=
 m on dev 02:00.
 
 BTW, would you happen to know what the 02:00 describes?

I think they are called the major and minor device numbers.  If you
look at a long listing the directory /dev you will see numbers
associated with each block device such as
  /dev:
  total 52
  drwxr-xr-x   5 root root19456 Sep 24 23:35 .
  drwxr-xr-x  24 root root 1024 Aug 23 01:02 ..
  -rwxr-xr-x   1 root root27616 Sep 20 15:21 MAKEDEV
  ... lots and lots deleted
  brw-rw   1 root floppy 2,   0 Aug  5 08:13 fd0
  brw-rw   1 root floppy 2,  84 Aug  5 08:13 fd0u1040

IIRC the 2 and 0 on the line for fd0 are magic numbers for the kernel
to allow it to access the appropriate device driver.
-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: formatted floppy type??

1997-09-25 Thread Douglas Bates
Douglas Bates [EMAIL PROTECTED] writes:

 Lawrence Lucier [EMAIL PROTECTED] writes:

  Howdy Will...thanks for the reply. :-)  Seems it's just the four 1.44 b=
  ase install disks
  that don't respond to either:

I should have read what you actually wrote and not what I thought you
wrote :-)

You're right - the base disks don't have a file system on them.  They
are a simply a copy of a cpio or a tar file (I forgot which) that is
read directly from the raw device.  They are not intended to be used
by anything other than the installation procedure.

I hope my previous message describing fdmount would be of some use to
some users even though it was misdirected at your question.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: floppy

1997-09-14 Thread Douglas Bates
I would add just one thing to Torsten's very complete and informative
response about mounting a floppy.  The fdutils package contains a
program called fdmount that can automate many of these steps.  In
particular, this program checks the type of filesystem on the floppy
and inserts the appropriate -t option in the mount command.
 $ type fdmount
 fdmount is /usr/bin/fdmount
 $ dpkg -S /usr/bin/fdmount
 fdutils: /usr/bin/fdmount
-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


boa under hamm is catching SIGBUS

1997-09-07 Thread Douglas Bates
I am running the boa Web server on a Debian (hamm) system.
 Package: boa
 Status: install ok installed
 Section: web
 Maintainer: Jon Nelson [EMAIL PROTECTED]
 Version: 0.92-5

The server is dying, usually within a day of being restarted.  The
last parts of the access and error logs are reproduced below.  I would
welcome suggestions of what might be going wrong.

 $ tail -3 /var/adm/boa/access_log 
 198.213.2.20 - - [06/Sep/1997:03:49:13] GET /pub/R/doc/FAQ/R-FAQ.html 
HTTP/1.0 200 2888
 198.213.2.20 - - [06/Sep/1997:03:50:02] GET /pub/R/src/base HTTP/1.0 302 0
 198.213.2.20 - - [06/Sep/1997:03:50:32] GET /pub/R/doc HTTP/1.0 302 0
 [EMAIL PROTECTED]:/spare3/bates
 $ tail -2 /var/adm/boa/error_log 
 [05/Sep/1997:14:06:18] request from 206.10.88.120 GET /pub/Sbook/VR2compl.pdf 
HTTP/1.0: write: Broken pipe
 [06/Sep/1997:03:50:32] caught SIGBUS, dumping core
 $ 

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Printing html Debian documentation?

1997-08-29 Thread Douglas Bates
I would welcome suggestions for printing fairly large collections of
html files.  My immediate application is to try to make some
reasonably attractive printed copies of the contents of
/usr/doc/dpkg/packaging.html/ so I can read the collection
conveniently some evening.  (No, I don't regard borrowing my wife's
laptop, transferring all the .html files over, and sitting in bed
reading by the glow of the screen as convenient.)

I can always open each page in Netscape or some other browser then
click on print, etc. but I find the printed copies from Netscape are
not very attractive (fonts too large, line length too long, etc.) and
besides, that is a lot of pointing-and-clicking.

Is there any program, say html2ps, that I could configure once to my
liking then simply go into the directory and type
 html2ps *.html | lpr

Alternatively, am I completely missing the boat and trying to retrofit
a printed copy from the html version of the documentation when there
is another, more easily printed, version.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


xemacs-19.15 on a hamm system

1997-08-15 Thread Douglas Bates
I am running the unstable (hamm) distribution of Debian.  According to
dselect my libraries etc. are up-to-date with those available in the
distributions hamm, hamm/contrib, and hamm/non-free on ftp.debian.org.

At some point in the last few weeks, xemacs-19.15 started segfaulting
and dumping core during the start-up for me.  If I twiddle my ~/.emacs
file and delete things like (display-time) I can get it to start but
it soon dies.  The behaviour seems to be related to loading files.

I just re-installed the package xemacs19_19.15-3.1.deb to see if that
would help but it didn't.  Interestingly I am able to run this program
on my home Debian system which is also running the hamm distribution.

I enclose part of the dump and an indication of which libraries are
used.  I would appreciate suggestions of what to change.

 $ ldd /usr/bin/xemacs-19.15 
 libXaw.so.6 = /usr/X11R6/lib/Xaw3d/libXaw.so.6 (0x4000b000)
 libXpm.so.4 = /usr/X11R6/lib/libXpm.so.4 (0x4005d000)
 libcompface.so.1 = /usr/lib/libcompface.so.1 (0x4006a000)
 libpng.so.1 = /usr/lib/libpng.so.1 (0x40075000)
 libXmu.so.6 = /usr/X11R6/lib/libXmu.so.6 (0x4008b000)
 libXt.so.6 = /usr/X11R6/lib/libXt.so.6 (0x4009d000)
 libSM.so.6 = /usr/X11R6/lib/libSM.so.6 (0x400df000)
 libICE.so.6 = /usr/X11R6/lib/libICE.so.6 (0x400e8000)
 libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x400fd000)
 libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x40108000)
 libncurses.so.3.0 = /lib/libncurses.so.3.0 (0x401a6000)
 libdb.so.1 = /usr/lib/libdb.so.1 (0x401e2000)
 libm.so.5 = /lib/libm.so.5 (0x401f1000)
 libc.so.5 = /lib/libc.so.5 (0x401fa000)
 $ xemacs  

 Fatal error (11).
 Your files have been auto-saved.
 Use `M-x recover-session' to recover them.
  ... # standard request message deleted
 Lisp backtrace follows:

   # bind (current-load-list standard-input load-file-name)
   # (unwind-protect ...)
   # (unwind-protect ...)
   # (unwind-protect ...)
   # (unwind-protect ...)
   # (unwind-protect ...)
   # bind (nosuffix nomessage noerror file init-file-user)
   # (unwind-protect ...)
   # bind (debug-on-error debug-on-error-from-init-file 
debug-on-error-should-be-set debug-on-error-initial command-line-args-left)
   # (unwind-protect ...)
   # (unwind-protect ...)

 $ gdb /usr/bin/xemacs core
  ... # more standard messages deleted
 #0  0x8075d93 in Fbacktrace ()
 (gdb) where
 #0  0x8075d93 in Fbacktrace ()
 #1  0x806e1b9 in fatal_error_signal ()
 #2  0xbfffeba0 in ?? ()


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


ncurses3.4 deb file

1997-07-22 Thread Douglas Bates
I have installed the unstable version in hamm and now have several
packages that do not configure properly because ncurses3.4 is not
available.  The most important such package for me is gdb.

Hamish Moffatt wrote to me earlier that ncurses3.4 was available in
the Incoming section on master.debian.org but I can't get an ftp
connection to it.  I have tried for 3 days to get an anonymous ftp
connection but always get rejected because of the limit on anonymous
ftp logins.

Can anyone suggest an alternative location?  I would really like to be
able to use gdb.  Putting  if (debug  0) printf(...);  statements
in code is not nearly as much fun as it used to be.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ncurses3.4 deb file

1997-07-22 Thread Douglas Bates
Ulf Jaenicke-Roessler kindly pointed out to me that ncurses3.4 is now
in ftp://ftp.debian.org/debian/hamm/hamm/binary-i386/base so I have
solved that problem.  Many of you know what the next question will be.

Where do I find libreadlineg2?  I don't see it in the ls-lR.gz file
from ftp.debian.org.

Douglas Bates [EMAIL PROTECTED] writes:

 I have installed the unstable version in hamm and now have several
 packages that do not configure properly because ncurses3.4 is not
 available.  The most important such package for me is gdb.

 Can anyone suggest an alternative location?  I would really like to be
 able to use gdb.  Putting  if (debug  0) printf(...);  statements
 in code is not nearly as much fun as it used to be.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: installing/upgrading to hamm

1997-07-18 Thread Douglas Bates
Paul Miller [EMAIL PROTECTED] writes:

 How can I install hamm from scratch (I just installed 1.3.1
 yesterday)?  I downloaded ncurses3.4-*.deb, is there anything else I
 need which isn't where is should be (unstable dirs)?

I apologize for bringing up what I expect is an old thread but I have
been away for a month and off the list.  I too have upgraded to hamm
and many, many things are broken.  I have the problems with
dependencies on ncurses3.4 which does not seem to be available.  I am
happy to download it by hand and install it but I don't know where to
find it.  I don't see it listed in the ls-lR.gz file from the top of
the Debian distribution.

I also have the problem with libc5 and libc5-altdev having
inconsistent dependencies (libc5-altdev requires version 5.4.23-4 of
libc5 but the version in the same tree is later). I think I know how
to fix that one.

I have a problem with the fvwm family of packages related to the
menu-methods.  Then end of an Install within dselect produces errors
like

 Do you wish to delete the installed package (.deb) files? [y]: 
/usr/lib/menu/sced: x11: command not found
 Cannot open file /etc/X11/fvwm95//system.fvwm2rc95
 /etc/menu-methods//fvwm95: Aborting

The xemacs in the 19.15-3.1 package starts up, tries to load its
initialization files, then dies and dumps core.  Perhaps this is
related to the updating of the menus.

The most frustrating error for me though is the problem with the
the function ecvt in libc6.  I reported an error with that over a
month ago.  It is not a subtle error in that *every* result from that
function is wrong.  It is not that it occasionally produces a somewhat
incorrect answer - it never produces the correct answer.  For example
 bash-2.00$ cat ecvt_test.c
 #include stdio.h
 #include stdlib.h

 void main(int argc, char **argv)
 {
   int decpt, sign; char * result;
   result = ecvt((double) 1234.567, (size_t) 7, decpt, sign);
   printf(result is %s, decpt is %d, sign is %d\n, result, decpt, sign);
   result = ecvt((double) -987.654321, (size_t) 7, decpt, sign);
   printf(result is %s, decpt is %d, sign is %d\n, result, decpt, sign);
   result = ecvt((double) 0, (size_t) 7, decpt, sign);
   printf(result is %s, decpt is %d, sign is %d\n, result, decpt, sign);
 }
 bash-2.00$ gcc ecvt_test.c -o ecvt_test
 bash-2.00$ ./ecvt_test
 result is 11234.567, decpt is 4, sign is 0
 result is 9987.6543, decpt is 3, sign is 1
 result is 00.00, decpt is 1, sign is 0
 bash-2.00$ /usr/bin/i486-linuxlibc1-gcc ecvt_test.c -o ecvt_test
 bash-2.00$ ./ecvt_test
 result is 1234567, decpt is 4, sign is 0
 result is 9876543, decpt is 3, sign is 1
 result is 000, decpt is 0, sign is 0

I am trying to work on a large system written in C and I can't do
anything with it under libc6.  The fact that the decpt value is wrong
for an argument of zero causes the program to crash and one encounters
the number zero fairly frequently.

There are enough things that don't work with the altdev packages that
I can't use them to compile this system.  It appears my only option is
to back out all the libc6 stuff and try to go back to libc5 and I
expect that will be a major hassle.

If this problem with libc6 is from the GNU libc2 sources, I don't see
how it would have gotten out of a testing phase.  Any regression test
is going to show that you are getting different results. 

I apologize for venting.  I know Debian is a volunteer organization
and I appreciate the work of the volunteers.  I am just frustrated
right now that so many things are broken and it is not obvious to me
how to fix them.  Suggestions welcome.

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Year 2000 and samba...

1997-07-18 Thread Douglas Bates
[EMAIL PROTECTED] (Thomas Baetzler) writes:

 James C. Carr wrote:
 : As far as I've been told, though I haven't actually tried it,
 :the Linux kernel functions up to the year 2037.  How that works, I'm
 :not entirely sure...
 
 The Unix timestamp is represented as time_t, which is usually a signed
 long value. A date is represented a the number of seconds elapsed since 
 January 1st 1970, 0:00:00. The easy way to figure out the wrap date is
 by running the following code: 

I think there were a couple of typos in the code you included.  I
believe it should read
-snip-
#include stdio.h
#include limits.h
#include time.h

void main( int argc, char **argv )
{
time_t wrap_tm = LONG_MAX;

printf(Wrap will occur at %s, asctime( gmtime(wrap_tm) ) );
}
-snip-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: modem speed

1997-06-11 Thread Douglas Bates
If you use xisp to connect to your ISP, the modem connect speed is
displayed in a field of the xisp window.  There is a Debian package
for xisp in contrib/net.

[EMAIL PROTECTED] (Timothy Phan) writes:

   Anyone knows how to determine the modem speed after the PPP has
   connected to the ISP?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


xlib6 and xemacs19

1997-06-10 Thread Douglas Bates
I just installed several parts of the new XFree86 3.3 packages
including xlib6.  xemacs will no longer start up.  The versions of
packages are
ii  xemacs1919.15-3XEmacs 19.15 editor and kitchen sink
ii  xemacs19-suppor 19.15-3Support files for XEmacs 19.15.
ii  xemacs19-suppor 19.15-3el library files for XEmacs 19.15.
ii  xlib6   3.3-1  Shared libraries required by X clients

Is anyone else encountering this problem or is it something peculiar
to my system?  The gory details are shown below.  I wanted to find out
if this was reproducible on other systems before reporting it to
xemacs.org

 $ xemacs

 Fatal error (11).
 Your files have been auto-saved.
 Use `M-x recover-session' to recover them.

 Please report this bug to the address [EMAIL PROTECTED]'.
 *MAKE SURE* to include as much configuration information as
 possible; at the very least what OS and hardware you are running
 on, and hopefully also what compiler and compiler options the
 binary was compiled with, what options XEmacs was compiled with,
 whether you are using a prebuilt binary from ftp.xemacs.org or
 compiled XEmacs yourself for your system, etc.

 If at all possible, *please* try to obtain a C stack backtrace;
 it will help us immensely in determining what went wrong.
 To do this, locate the core file that was produced as a result
 of this crash (it's usually called `core' and is located in the
 directory in which you started XEmacs, or maybe in your home
 directory), and type

   gdb /usr/bin/xemacs core

 then type `where' when the debugger prompt comes up.
 (If you don't have GDB on your system, you might have DBX,
 or XDB, or SDB.  A similar procedure should work for all of
 these.  Ask your system administrator if you need more help.)

 Lisp backtrace follows:

 Segmentation fault (core dumped)
 $ gdb /usr/bin/xemacs core
 GDB is free software and you are welcome to distribute copies of it
  under certain conditions; type show copying to see the conditions.
 There is absolutely no warranty for GDB; type show warranty for details.
 GDB 4.16 (i586-debian-linux), Copyright 1996 Free Software Foundation, Inc...
 (no debugging symbols found)...
 Core was generated by `xemacs'.
 Program terminated with signal 11, Segmentation fault.
 Reading symbols from /usr/X11R6/lib/Xaw3d/libXaw.so.6...
 (no debugging symbols found)...done.
 Reading symbols from /usr/X11R6/lib/libXpm.so.4...
 (no debugging symbols found)...done.
 Reading symbols from /usr/lib/libcompface.so.1...
 (no debugging symbols found)...done.
 Reading symbols from /usr/lib/libjpeg.so.6a...(no debugging symbols found)...
 done.
 Reading symbols from /usr/lib/libpng.so.1...(no debugging symbols found)...
 done.
 Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
 Reading symbols from /usr/X11R6/lib/libXmu.so.6...
 (no debugging symbols found)...done.
 Reading symbols from /usr/X11R6/lib/libXt.so.6...
 (no debugging symbols found)...done.
 Reading symbols from /usr/X11R6/lib/libSM.so.6...
 (no debugging symbols found)...done.
 Reading symbols from /usr/X11R6/lib/libICE.so.6...
 (no debugging symbols found)...done.
 Reading symbols from /usr/X11R6/lib/libXext.so.6...
 (no debugging symbols found)...done.
 Reading symbols from /usr/X11R6/lib/libX11.so.6...
 (no debugging symbols found)...done.
 Reading symbols from /lib/libncurses.so.3.0...(no debugging symbols found)...
 done.
 Reading symbols from /usr/lib/libgdbm.so.1...(no debugging symbols found)...
 done.
 Reading symbols from /usr/lib/libdb.so.1...(no debugging symbols found)...done.
 Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
 Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done.
 Reading symbols from /lib/ld-linux.so.1...(no debugging symbols found)...done.
 #0  0x40296bb5 in __kill ()
 (gdb) where
 #0  0x40296bb5 in __kill ()
 #1  0x806e70d in fatal_error_signal ()
 #2  0xbfffe56c in ?? ()
 #3  0xa29 in ?? ()
 Cannot access memory at address 0x616d2d6b.
 (gdb) quit


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


libc5 version 5.4.23-6

1997-06-06 Thread Douglas Bates
I'm not sure what the sequence was but I somehow have managed to get
a version 5.4.23-6 of libc5 installed.  Running dselect using the ftp
method from ftp.debian.org and with the distributions as
 frozen unstable hamm/contrib hamm/non-free
shows  version 5.4.23-4 of libc5 as the available version.  I also have
libc5-altdev installed but at version 5.4.23-4.  It depends on
libc5-5.4.23-4 so I get a dependency problem whenever I try to select
with dselect.

Would this inconsistency in versions be a problem?  Should I manually
download and install libc5-5.4.23-4.deb?

As you may surmise from my using libc5-altdev, I also have libc6 and
libc6-dev installed.  I am running into a few problems.  For example,
I am unable to compile a new kernel with either /usr/bin/gcc or 
/usr/i486-linuxlibc1/bin/gcc (details available upon request).

sh-2.00# dpkg -l | egrep libc# show installed versions of libc-related pkgs
ii  altgcc  2.7.2.2-2  Alternate gcc package for the libc5 environm
ii  glibcdoc1.92-1 GNU C library Info documentation (edition 0.
ii  libc4   4.6.27-15  The Linux C library version 4 (run-time libr
ii  libc5   5.4.23-6   The Linux C library version 5 (run-time libr
ii  libc5-altdev5.4.23-4   The Linux C library version 5 (alternative d
ii  libc6   2.0.3-4The GNU C library version 2 (run-time files)
ii  libc6-dev   2.0.3-4The GNU C library version 2 (development fil

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


libc6 version 2.0.3-4 and ecvt

1997-05-30 Thread Douglas Bates
I have reported this as a bug in the libc6 package but I think it is
important enough to warn people on this list also.  It appears that
the ecvt function in libc6 version 2.0.3-4 is producing incorrect
results.  A test program shown below produces different results when
compiled against libc6 and against libc5.  According to the manual
page for ecvt the results from the libc5 version are the correct
results.

 bash-2.00$ cat ecvt_test.c
 #include stdio.h
 #include stdlib.h

 void main(int argc, char **argv)
 {
   int decpt, sign; char * result;
   result = ecvt((double) 1234.567, (size_t) 7, decpt, sign);
   printf(result is %s, decpt is %d, sign is %d\n, result, decpt, sign);
   result = ecvt((double) -987.654321, (size_t) 7, decpt, sign);
   printf(result is %s, decpt is %d, sign is %d\n, result, decpt, sign);
   result = ecvt((double) 0, (size_t) 7, decpt, sign);
   printf(result is %s, decpt is %d, sign is %d\n, result, decpt, sign);
 }
 bash-2.00$ /usr/bin/gcc ecvt_test.c -o ecvt_test_libc6
 bash-2.00$ ldd ecvt_test_libc6
 libc.so.6 = /lib/libc.so.6 (0x4000f000)
 /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)
 bash-2.00$ /usr/i486-linuxlibc1/bin/gcc ecvt_test.c -o ecvt_test_libc5
 bash-2.00$ ldd ecvt_test_libc5
 libc.so.5 = /lib/libc.so.5 (0x4000b000)
 bash-2.00$ ecvt_test_libc5
 result is 1234567, decpt is 4, sign is 0
 result is 9876543, decpt is 3, sign is 1
 result is 000, decpt is 0, sign is 0
 bash-2.00$ ecvt_test_libc6
 result is 11234.567, decpt is 4, sign is 0
 result is 9987.6543, decpt is 3, sign is 1
 result is 00.00, decpt is 1, sign is 0

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Yet another PPP question

1997-05-25 Thread Douglas Bates
I have been using Debian 1.3 with a 2.1.35 kernel at home.  I usually
connect to my ISP using xisp but I also have pppd configured.

Recently I upgraded to libc6.  I'm not sure that I got all the needed
pieces in place.  One side-effect of the upgrade is that both pppd and
xisp now fail immediately after establishing the connection.  After
running pppd the tail end of /var/adm/messages looks like
 May 25 10:39:10 localhost chat[200]: slip-server -- got it 
 May 25 10:39:10 localhost chat[200]: send (ppp^M) 
 May 25 10:39:10 localhost pppd[198]: Serial connection established.
 May 25 10:39:11 localhost pppd[198]: Using interface ppp0
 May 25 10:39:11 localhost pppd[198]: Connect: ppp0 -- /dev/cua1
 May 25 10:39:13 localhost pppd[198]: Hangup (SIGHUP)
 May 25 10:39:13 localhost pppd[198]: Modem hangup
 May 25 10:39:13 localhost pppd[198]: Connection terminated.
 May 25 10:39:13 localhost pppd[198]: Exit.

Any ideas where to start looking for the program that may be failing?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


netscape-beta: where should java40.jar be?

1997-05-23 Thread Douglas Bates
I have the netscape-beta package installed using 
communicator-v40b3-export.x86-unknown-linux2.0.tar.gz
I thought I removed the netscape package before installing this but I
may not have purged the netscape package.

If I try to run a java applet I get the message that java40.jar is not
on the CLASSPATH.  The file java40.jar is in
/usr/lib/netscape/java/classes with a symbolic link in
/usr/lib/netscape.  Right now /usr/local/lib/netscape exists but is
completely empty.  Netscape seems to be convinced that this should be
the first part of my CLASSPATH.

So, have I managed to get this botched up beyond all recognition?
Is the best course to purge the netscape package and re-install the
netscape-beta?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


ftp dselect for unstable/non-free

1997-05-09 Thread Douglas Bates
Recently Tim Sailer mentioned that the mysql package is in hamm.  When
I ran dselect from ftp.debian.org using the ftp method I did not see
any trace of it.  I then looked a bit more closely and discovered that
it was in hamm/non-free.  

If I want to see the development versions of the non-free packages
listed in dselect instead of the stable versions what do I specify for
the debian directory and for the list of distributions? I tried a
couple of combinations such as the one below but with no joy.  Either
a Packages file is not available or the name under which a package is
being selected is off by one directory.

I enclose a sample run.

BTW, since this is an important piece of software for the Debian
release I will take the liberty of suggesting a spelling correction in
this output.  It should be space separated, not space seperated.
Some (human) editors would even insist upon space-separated list but
that may be getting too pedantic.

 Enter debian directory [/debian/hamm]: /debian

 Note: order here is important.  Package files are scanned in order so
 later distributions will override earlier ones.

 So put stable before unstable.

 Enter space seperated list of distributions to get
 [non-free contrib hamm]: hamm

 Enter directory to download binary package files to
 (relative to /var/lib/dpkg/methods/ftp/)
 [debian]:

 Using FTP to check directories...(stop with ^C)

 Connecting to ftp.debian.org...
 Login as anonymous...
 Setting transfer mode to binary...
 Cd to /debian...
 Checking hamm/binary-i386...
 Warning: Couldn't find a Packages file in hamm/binary-i386
 This may not be a problem if the directory is a symbolic link
 Closing ftp connection...
 press return to continue 


-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: /sbin/dump unable to resolve 'ext2_llseek'

1997-05-02 Thread Douglas Bates
Norris Preyer [EMAIL PROTECTED] writes:

 Douglas Bates writes:
   Here is a dummy run of /sbin/dump to show the symptoms.
...
 /sbin/dump: can't resolve symbol 'ext2_llseek'
 /sbin/dump: can't resolve symbol 'ext2_llseek'
 /sbin/dump: can't resolve symbol 'ext2_llseek'
   DUMP: Interrupt received.
   DUMP: Do you want to abort dump?: (yes or no) yes
   DUMP: The ENTIRE dump is aborted.   
   
   Any suggestions on what has gotten out of sync?  Even better, any
   suggestions on how to repair the problem?
   
 
 Downgrading e2fsprogs to 1.06-3 (in stable) fixed dump for me.

It looks like the problem is a name mismatch.  The symbol that
/sbin/dump wants to find is ext2_llseek but the symbol in
/lib/libext2fs.so.2.3 is ext2fs_llseek.

I tried to recompile /sbin/dump from the source package but was
unsuccessful.  It appears that one of the main include files,
/usr/include/ctype.h, is broken.  I'll have to fix that first.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


/sbin/dump unable to resolve 'ext2_llseek'

1997-05-01 Thread Douglas Bates
On Tuesday I installed several updated packages from bo.  I noticed
this morning that file system dumps have been failing since then.
Here is a dummy run of /sbin/dump to show the symptoms.
  franz# /sbin/dump 0f /dev/null /spare1
DUMP: Date of this level 0 dump: Thu May  1 17:13:35 1997
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/hda1 (/spare1) to /dev/null
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 41266 tape blocks on 1.06 tape(s).
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
  /sbin/dump: can't resolve symbol 'ext2_llseek'
  /sbin/dump: can't resolve symbol 'ext2_llseek'
  /sbin/dump: can't resolve symbol 'ext2_llseek'
DUMP: Interrupt received.
DUMP: Do you want to abort dump?: (yes or no) yes
DUMP: The ENTIRE dump is aborted.   

Any suggestions on what has gotten out of sync?  Even better, any
suggestions on how to repair the problem?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


kerberos packages?

1997-04-24 Thread Douglas Bates
A couple of weeks ago I believe that there was some mention of
Kerberos-4 and Kerberos-5 packages to appear on the non-US sites real
soon now.  Does anyone have an updated ETA for these?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: kernel 2.1.3x?

1997-04-23 Thread Douglas Bates
Brian N. Borg [EMAIL PROTECTED] writes:

 I have a working 2.1.31 kernel that I compiled.  Some of the modules, 
 such as vfat and serial, load ok but scsi_mod has missing symbols 
 that prevent my aic7xxx from loading.
 
 --Brian.
 
 
 Hamish Moffatt wrote:
  
  Anyone having much luck with 2.1.3x?
  I'm running 2.1.29 and it's fine, except that the nfs module doesn't insert.
  But no luck with 2.1.33 or 2.1.35; both have lots of missing symbols
  on all the hardware drivers, probably relating to PNP support.
  
  I just ftpd the whole 2.1.35 source and the new modutils 2.1.34
  and will see how it goes, I have been patching up.
  
  Anyone else having this? Nobody in the linux.dev.kernel group
  (or the mailing list) seem to have mentioned it.
  
  Hamish

I just compiled a fresh 2.1.35 kernel for my home machine (IDE-based).
When I try to boot this kernel, either from the IDE disk or from a
floppy disk, I get the messages about uncompressing the kernel, then
now booting the kernel, then nothing.  Well, actually not nothing.
There is a whole lot of disk activity on the IDE disk at this point,
even when booting off the floppy.  When I eventually halt this and
reboot an old kernel, it has to fsck my disk partitions because they
look dirty.

So I don't even get as far as finding out that there are missing symbols.

We were able to compile and boot a 2.1.35 kernel for my office machine
but that has / on a SCSI disk.  We do have an old IDE drive in there
as well and this morning the driver for that got jammed to the point
that we had to reboot.

It appears that the 2.1.3x series of kernels are indeed development
versions.  I think I will stay with the 2.0.3x series for a while.

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Multiple ISP setup

1997-04-11 Thread Douglas Bates
 Chow == Chow Chi-Ming [EMAIL PROTECTED] writes:

  Chow Dear all, Just wonder what is a good ppp dial-up setup for
  Chow multiple ISPs.  I want to be able to choose which ISP to dial
  Chow up easily (read: without having to edit /etc files manually
  Chow each time I have to switch).

  Chow Is there a tool for this?

You may want to look at the xisp package in the contrib section if you
are running X.  Xisp allows you to store and use configurations for
several different ISP's.  Its window also provides you with
information on the connection speed, dynamic IP number, and elapsed
time.

I have noticed that I need to run it as root for it to complete its
work.  If I run it under a non-root login, even one in the ppp
group, it does all the dialing and establishing the connection,
starting ppp, etc. then hangs.  I suspect there are permission
problems with ifconfig or something like that.  I haven't had time to
look at it so I just spring up a root window and run it from there.


crc error in kernel after fresh install

1997-04-09 Thread Douglas Bates
I just finished a fresh install using disks from the bo directory on
ftp.i-connect.com dated April 8.  I believe I saw something on the
screen about the base disks being created on April 4.  As I recall the
rescue disk identifies itself as being a Feb 12 vintage.

I got through the installation fine and made a boot floppy.  I also
made the first hard drive bootable.  Neither method will now boot.
Directly after 
 Uncompressing Linux...
I get
 crc error

 --System halted.

I can believe the boot floppy not working could be caused by a bad
floppy disk but getting the same behaviour from both the boot floppy
and from the hard drive makes me suspicious.  It seems likely that the
compressed kernel being written to both places is corrupt.  Is it
worthwhile doing the installation over?  The rescue disk boots fine.


Re: xemacs and emacs

1997-04-08 Thread Douglas Bates
 Jean == Jean Pierre LeJacq [EMAIL PROTECTED] writes:

  Jean I have both working fine on my system which is based on the
  Jean unstable branch.  Didn't have to do anything special.

  Jean On Mon, 7 Apr 1997, Steve Hsieh wrote:

   Can someone explain why the xemacs and emacs packages can't
   coexist on the same Debian system?  (What would it take to make
   them coexist?)

I have the emacs package (i.e. GNU emacs) installed. If I try to
select the xemacs package with dselect, I am told that there is a
dependency conflict and I must remove emacs, w3, vm and several other
packages to install xemacs.  At least at the level of Debian packages
they still appear to conflict.


Re: Future Domain controller

1997-04-08 Thread Douglas Bates
 I == Douglas Bates [EMAIL PROTECTED] wrote:

  I I have an old PC that I want to Debianize.  It has a Future
  I Domain ISA SCSI controller.  The exact model is the TMC-1680.
  I The disks are some crufty old DEC RZ23's that I salvaged from some
  I DECstations.

  I The DOS device drivers distributed with the controller will
  I recognize and access these drives.  The kernel on the Debian
  I rescue disk that I tried (modification date of 1997-03-25 for the
  I disk image) finds the Future Domain controller but times out
  I waiting for a response from the drives.  Eventually it declares
  I that no devices were found.

Turns out it was an interrupt conflict and not the controller's
interactions with the disks.  I had inserted an ethernet card to do
the conversion to Linux and I didn't pay close enough attention to the
IRQ settings.  The ethernet card was set to the same IRQ as the SCSI
controller.


modules and modutils

1997-04-06 Thread Douglas Bates
I am also caught in the Catch 22 of trying to upgrade to modutils.
As I recall the sequence was that I installed a new system with the
dummy version of modules (2.1.x) in unstable but there was no
companion modutils package at the time and I could not manipulate
modules.  I then backed out to the version 2.0.0-15 of modules in the
stable directory.  Now I can't remove the old modules and hence I
can't upgrade to modutils.

I can no longer find the dummy version of modules to try to do the
installation the proper way.

Even trying to force the installation of modutils doesn't seem to work

# dpkg --force-conflicts --install modutils_2.1.23-2.deb
dpkg: considering removing modules in favour of modutils ...
dpkg: yes, will remove modules in favour of modutils.
(Reading database ... 17076 files and directories currently
installed.)
Unpacking modutils (from modutils_2.1.23-2.deb) ...
Kernel was compiled with module support!
Modules package cannot be removed!
dpkg: error processing modutils_2.1.23-2.deb (--install):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 modutils_2.1.23-2.deb   


Future Domain controller

1997-04-04 Thread Douglas Bates
I have an old PC that I want to Debianize.  It has a Future Domain
ISA SCSI controller.  The exact model is the TMC-1680.  The disks as
some crufty old DEC RZ23's that I salvaged from some DECstations.

The DOS device drivers distributed with the controller will recognize
and access these drives.  The kernel on the Debian rescue disk that I
tried (modification date of 1997-03-25 for the disk image) finds the
Future Domain controller but times out waiting for a response from the
drives.  Eventually it declares that no devices were found.

Any suggestions?  A brief glance at the source code for the device
driver for this controller (isn't it wonderful to be able to say
that?) indicates that there is a DO_DETECT flag to control some extra
code.  My next attempt will be to create a custom kernel with this
flag enabled and build custom boot floppies unless there are better
suggestions from the list.

The old RZ23 drives had problems with other controllers in the past so
it may be the specific type of drive.

Suggestions welcome.


wish4.2 - the disappearing file

1997-03-25 Thread Douglas Bates
I recently installed the tk42 and tcl76 packages then went to
recompile my kernel.  On using
 make xconfig
I discovered that tk didn't seem to be working.  Trying to check
further on this has produced some mystifying behaviour.
 $ ls -l /usr/bin/wish4.2
 -rwxr-xr-x   1 root root 5780 Mar  3 21:41 /usr/bin/wish4.2
 $ file /usr/bin/wish4.2
 /usr/bin/wish4.2: ELF 32-bit LSB executable, Intel 386, version 1, stripped
 $ /usr/bin/wish4.2 /usr/doc/tk42/examples/hello
 bash: /usr/bin/wish4.2: No such file or directory

I even checked with strace and the first call to execev with the
argument of /usr/bin/wish4.2 fails.  That message of No such file or
directory can appear in mystifying ways for shell scripts but I have
never seen a case like this before.  One is reduced to shouting at the
screen, It's there, I tell you.  It's really there!.

The reason I was recompiling the kernel is to adjust the IRQ's used by
my sound card.  I fell back on a plain
 make config
but even that failed.  When I indicated that I had an Ensoniq sound
card it prompted later for the base address (SSCAPE_BASE) with the
default of 330.  No matter what I respond at that point it just
returns a message that there is no help available for that variable.
Does make config have difficulty with the hex type of variable?

Suggestions welcomed.

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madison


Re: cfdisk: Cannot seek on disk drive

1997-03-23 Thread Douglas Bates
 Michael == Michael Iles [EMAIL PROTECTED] writes:

  Michael I have only one physical drive, a 3.8 gig Quantum Fireball
  Michael that Linux = correctly detects. (At least I think it does;
  Michael I can see its name go by = in all the hardware information
  Michael that Linux prints while starting.) If I = switch to a
  Michael different console, though, I can't see anything on the
  Michael drive = (there's nothing in the /target directory). It did
  Michael read the partition = information _once_ though, so I assume
  Michael it can see the drive.

  Michael What's going on here? Can anyone help me on this?

I had exactly the same problem installing onto that type of drive.  I
had to escape to a shell and use fdisk to partition the drive rather
than cfdisk.  It seems that cfdisk has out-of-date routines for
seeking to parts of an IDE drive that are beyond the 2.0 Gb range.
fdisk does not share this problem.  It is less friendly than cfdisk
but at least it works.

Hope this helps.

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madison


Debugging cvspserver

1997-03-23 Thread Douglas Bates
I am using cvs with the file repository on the machine in my office.
I would like to be able to manipulate these files from the machine at
home.  Both are running Debian Linux and both have the cvs package
installed.

The machine at home will communicate via a PPP connection and will
have a dynamically assigned IP number and name.  I would much prefer
to use the pserver authentication for cvs tranfers instead of rsh
because I don't want to put all the possible dynamic addresses into a
.rhosts file.  I set up the cvspserver line in my /etc/inetd.conf file
as follows.
 cvspserver stream  tcp nowait  root/usr/bin/cvscvs pserver

When I try the login procedure, all I get is
 $ cvs -d :pserver:[EMAIL PROTECTED]:/home/CVS login
 (Logging in to [EMAIL PROTECTED])
 CVS password: 
 cvs [login aborted]: unrecognized auth response from franz.stat.wisc.edu: E 
Fatal error, aborting.

Does anyone know what the responses from the server should be if I
telnet directly to that port?  (I can always read the sources but
asking readers of this list is a lot easier :-)

Alternatively, has anyone set up kerberos on a Debian Linux system and
used the kserver method for cvs authentication?  Other machines in my
department use kerberos authentication so it may be best for me to
install kerberos on both machines.


IDE Zip drive

1997-03-22 Thread Douglas Bates
Thanks to the suggestions from this list I do indeed have the IDE Zip
drive working.  The command
  mount -t msdos /dev/hdb4 /mnt
is successful.  Apparently I didn't try all the possible combinations
previously.  The web pages at http://www.torque.net/zip.html are very
helpful.


IDE Zip drive

1997-03-21 Thread Douglas Bates
I recently bought a computer on which I had an internal Iomega Zip
drive installed.  I expected a SCSI or, perhaps, a parallel Zip
drive.  I was surprised when it came with an IDE Zip drive installed.

The drivers for Windows 95 are all installed and the drive works fine
with that.  When Linux boots up it can't seek on the drive if there is
no disk installed (not surprising) and eventually bypasses hdb.  If
there is a disk installed and I try to mount the DOS filesystem on the
disk with
 # mount -f msdos /dev/hdb1 /mnt
I get complaints about not being able to read the superblock.

The Linux fdisk program can see the partitioning on the disk and it
looks like a single DOS partition at hdb1 but fdisk also thinks that
this partition starts and ends at weird places.

Does anyone know how to handle this device?  Should I build a kernel
with support for IDE-based tapes or something like that?

Any suggestions appreciated.

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madison


Emacs-based mail programs with IMAP

1997-03-21 Thread Douglas Bates
I am now happily running Debian Linux systems both at the office and
at home.  When reading mail at the office I use VM within GNU emacs.

To read from home I could run an emacs on the office system displaying
on the X-server at home and start up VM but that is a lot of overhead
just to read a couple of messages.  (Of course, when you subscribe to
debian-users you never have just a couple of messages but ...)

I would prefer to run a mail user agent under emacs on the machine at
home and have it communicate with the machine at the office.  As I
recall I can use POP with VM but I would much prefer to use IMAP so I
can store messages back in folders on the office machine.  I also
prefer an emacs-based MUA because my fingers know emacs sequences so
well by now.

Are there any such emacs-based MUA's that support IMAP?  Does gnus do
so?


gdb and dynamically loaded code

1996-12-03 Thread Douglas Bates
I have version 4.16-2 of the gdb package installed.  When I start gdb
I get the warnings
 warning: Unable to find dynamic linker breakpoint function.
 warning: GDB will be unable to debug shared library initializers
 warning: and track explicitly loaded dynamic code.

It would be very helpful to me to be able to set breakpoints within
dynamically loaded code.  Is there something I can change in the
set-up for gdb to allow me to track explicitly loaded dynamic code?

Thanks in advance.  Please reply by e-mail as I only receive the digests
of this list now.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


ldso package and perl

1996-08-23 Thread Douglas Bates
When using dselect to install several upgraded packages today I
suddenly started receiving error messages from perl.  Here is part of
the transcript.
 ...
 Preparing to replace ldso (using .../base/ldso_1.8.2-1.deb) ...
 Unpacking replacement ldso ...
 Preparing to replace modules (using .../base/modules_2.0.0-8.deb) ...
 perl: can't load library 'libdl.so.1'
 perl: can't load library 'libdl.so.1'
 ...

Running /sbin/ldconfig -p indicates that the required library is there.

 bash$ /sbin/ldconfig -p
 50 libs found in cache `/etc/ld.so.cache' (version 1.7.0)
  1 - ELF libvgagl.so.1 = /usr/lib/libvgagl.so.1.2.8
 ...
 28 - ELF libdl.so.1 = /lib/libdl.so.1.7.14
 ...

The installation eventually finished and now I can run perl again.
Three packages (linux-util, gcc, and another that I forget) did not
install correctly.  On the second time an installation was attempted
it was successful for these three.

Is it possible that I need to clean up from other packages for which
the post.inst scripts did not run when perl was temporarily
unavailable?



lesstif and mp

1996-08-22 Thread Douglas Bates
The recent discussion of the Motif and lesstif libraries reminded me
of my desire to compile the `mp' and `mptool' programs.  The source
code is available as
 ftp://ftp.x.org/contrib/utilities/mpdist-3.3.2.tar.Z
`mp' provides pretty PostScript printing of mail messages, digests,
etc.   I prefer it to genscript or other PostScript formatters when
printing copies of e-mail.

I myself don't use mptool which is a graphical user interface for mp.
(These programs were developed by a person at Sun, hence the `tool'
suffix.)  mptool requires Motif libraries.  Has anyone tried to
compile it with the lesstif library?  If so, have you been successful?

I was considering creating a Debian package of mp and the other
command-line programs in the package.  Since I don't have any Motif
libraries I would not be able to create even a static linked version
of mptool unless it could be compiled against the lesstif libraries.

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/



UncorrectableError from two disk sectors

1996-08-13 Thread Douglas Bates
`dmesg' shows a lot of messages about two sectors on my disk.  For
example
 hda: read_intr: error=0x01 { AddrMarkNotFound }, LBAsect=1097170, sector=48787
 hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
 hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=1097170, 
sector=48787
 end_request: I/O error, dev 03:05, sector 48787
 hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
 hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=1097170, 
sector=48787
 end_request: I/O error, dev 03:05, sector 48787
 hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
 hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=1044268, 
sector=81
 end_request: I/O error, dev 03:03, sector 81

Should this be a concern?  What action would be recommended?



Recommendations on mother boards?

1996-08-08 Thread Douglas Bates
I will soon be purchasing a custom system to run Debian GNU/Linux.  Since
I must get bids from different vendors, I might as well give detailed
specifications if that will enhance the performance with Linux.

Does anyone have comments on specific Pentium Pro motherboards?

For example, Bruce Perens mentioned on this list some time ago that
the combination of the IDE controller in the Triton chipset with an
EIDE drive is as fast as fast, wide SCSI.  I found that the system I
was using had the Triton chipset and enabled the Triton-specific
optimizations in the kernel.  The results were very pleasing.

Are there similar things to look for when purchasing a motherboard today?

Please e-mail me and I will summarize to the list.

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/



XFree86 3.1.2[DE]

1996-08-02 Thread Douglas Bates
I am using a Mach 64 card (ATI Winboost, as far as I can tell) that
seems to hang when I run the XF86_Mach64 server.  From various
postings to this list I gather that there is hope I will be able to
run it successfully with the XFree86 3.1.2E Mach64 server.

My understanding is that the currently available Debian X11R6 packages
are from XFree86 3.1.2 and to upgrade I will need first to install the
3.1.2D distribution from ftp.xfree86.org then to install the upgrade
files for 3.1.2E.  Can anyone confirm this?  I would prefer an
unnecessary upgrade.

-- 
Douglas Bates[EMAIL PROTECTED]
Statistics Department608/262-2598
University of Wisconsin - Madisonhttp://www.stat.wisc.edu/~bates/



Re: XFree86 3.1.2[DE]

1996-08-02 Thread Douglas Bates
This is just to correct a typo on my earlier message.  I wrote:

 Doug Can anyone confirm this?  I would prefer an unnecessary
 Doug upgrade.

That last sentence doesn't make sense unless I have suddenly acquired
masochistic tendencies.  I meant to write I would prefer to avoid an
unnecessary upgrade. 



POP forwarding

1996-06-12 Thread Douglas Bates
I have friends visiting for a couple of weeks and I would like to help
them access their e-mail while here.  They are accustomed to using
applications such as Eudora or Netscape under Windows to access a POP
server.  I can provide them with the opportunity to connect the
Windows machine to a PPP account here but, because of firewalls, they
will not be able to POP the mail directly from their home server.
However, my Debian Linux machine can reach outside the firewall and
access their home server for them.

It seems easiest then to create accounts on this Linux machine for them
and schedule cron jobs that establish a POP connection to their home
server, pick up their mail and deposit it in /var/spool/mail.  They
can then pop their mail from this machine.

Does anyone have suggestions on 
 a) does this seem like a reasonable approach?
 b) if so, what would be good tools for creating such a POP forwarder?
I have some experience with sockets under perl if that seemed to be a
good way or I could treat this as an opportunity to get more exposure
to Java.  Both of these methods would take me a bit of time.  Is there
some tool in the Debian distribution that could do a quick-and-dirty
job on this?


Australian mirrors

1996-05-07 Thread Douglas Bates
Most information on Debian mirrors lists three sites in Australia.
For example,

   If you're looking for another Australian-specific Debian GNU/Linux
   mirror site then here is a list of all the official ones:
 ftp.tower.net.au   /pub/linux/debian (Tower Networking P/L - Perth)
 ftp.it.com.au  /mirrors/linux/debian (Informed Technology - Perth)
 ftp.usyd.edu.au/linux/debian (Sydney University - Sydney)

The tower.net.au site is pretty much up-to-date but connections to it
can become rather slow.  Same goes for the it.com.au site.  I expect
the problem is saturation of the circuits to Perth.

For me the usyd.edu.au site usually provides much faster response but
it was last updated on Mar 9 - about 2 months ago.

Are there any other official Debian mirrors in Australia?  Is there
anyone who can check if U. of Sydney's archive maintainer expects to
update their mirror?


Re: xdm config after install

1996-05-06 Thread Douglas Bates
 Maarten == Maarten Boekhold [EMAIL PROTECTED] writes:

  Maarten On Sun, 5 May 1996, Martin Schulze wrote:
   I would suggest doing a dpkg --configure xbase.

  Maarten Tried that, complained it couldn't do that, something was
  Maarten wrong and it was already installed
  
I have a similar situation.  I was already running an ELF-based
version of Debian but I was a couple of months behind in package
versions.  Yesterday I updated my copies of packages, installed the
new dpkg by hand then ran a massive dselect installation.  Part of the
dpkg installation picked up inconsistencies in various levels of
/etc/rc.n and fixed them.  Apparently there were daemons that were
being started at lower levels of the init sequence then stopped at
higher levels.

When xbase was being installed I thought I responded that I wanted xdm
to be started at boot time.  Now I can see that after a reboot an xdm
process is running but no X-server is started on the default display.
If I try to configure xbase again I get

 # dpkg --configure xbase
 dpkg: error processing xbase (--configure):
  package xbase is not ready for configuration
  cannot configure (current status `installed')
 Errors were encountered while processing:
  xbase

I can run an X server as root by using startx.  I cannot run it as a
regular user; presumably because of permission problems.

I would welcome suggestions on what to reconfigure so the X server
starts up at boot time.

-- 
Douglas Bates Dept. of Statistics, U. of Wisconsin-Madison
(visiting at: Dept. of Statistics, U. of Adelaide)
   [EMAIL PROTECTED]or   [EMAIL PROTECTED]