Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA26116; Sun, 3 Dec 95 18:16:30 EST
Received: from SENATOR-BEDFELLOW.MIT.EDU by MIT.EDU with SMTP
	id AA05204; Sun, 3 Dec 95 18:15:27 EST
Received: (from root@localhost) by senator-bedfellow.MIT.EDU (8.6.12/2.3JIK) id SAA29420 for Linux-Development-System-Dist@senator-bedfellow.mit.edu; Sun, 3 Dec 1995 18:13:35 -0500
Message-Id: <199512032313.SAA29420@senator-bedfellow.MIT.EDU>
From: Digestifier <Linux-Development-System-Request@senator-bedfellow.MIT.EDU>
To: Linux-Development-System@senator-bedfellow.MIT.EDU
Reply-To: Linux-Development-System@senator-bedfellow.MIT.EDU
Date:     Sun, 3 Dec 95 18:13:33 EST
Subject:  Linux-Development-System Digest #83

Linux-Development-System Digest #83, Volume #2    Sun, 3 Dec 95 18:13:33 EST

Contents:
  Standard Date/Time Notation (Markus Kuhn)
  Re: HELP: Compiling the Kernel: <<<<<< Segmentation fault >>>>>>> (Alastair G. Browne)
  Re: Looking for a Linux-compiled copy of Perl 5 ready-to-use (Lanny Baron)
  Re: Looking for a Linux-compiled copy of Perl 5 ready-to-use (BOISVIEUX Jean-Francois)
  anyone use a panasonic CR572? (Daniel D. Roscigno)
  Re: Downgrading libc (Theodore Buswell)
  Re: Downgrading libc (Theodore Buswell)
  Re: Bug(?) with the linux console (Theofilu Andreas)
  Re: [HELP] "Virtual memory exceeded" compiling the kernel (Christoph Lameter)
  libc 5.2.16 breaks xdm. (Dopey)
  Re: Maintainer of /etc/magic? (Daniel Quinlan)
  Re: why no slackware bugfixes? (Daniel Quinlan)
  Re: dump,restore,rdump (Harald Koenig)
  Re: why no slackware bugfixes? (zachary brown)
  Re: Bug(?) with the linux console (Michael F Gordon)

----------------------------------------------------------------------------

From: mskuhn@unrza3.dialin.rrze.uni-erlangen.de (Markus Kuhn)
Subject: Standard Date/Time Notation
Date: 3 Dec 1995 13:54:18 +0100
Reply-To: mskuhn@cip.informatik.uni-erlangen.de


International Standard Date and Time Notation
=============================================

For those of you wondering, what the professional and best way of
writing a numeric abbreviated calendar date in network publications,
ASCII file formats, etc. is:

The international standard date notation is: YYYY-MM-DD

For example, February 4, 1995 is written as 1995-02-04. This notation
is standardized in International Standard ISO 8601. For a detailed
description of this standard, please look at

  <http://www.ft.uni-erlangen.de/~mskuhn/iso-time.html>
  <http://www.dsi.unimi.it/Users/Students/pensa/standard/ISO8601.html>
  <ftp://ftp.informatik.uni-erlangen.de/pub/doc/ISO/ISO8601.ps.Z>

Especially software engineers who design user interfaces, file
formats, and communication protocols should be familiar with ISO 8601,
which specifies also standard formats for time of the day and time
zones.

Other commonly used notations are e.g. 2/4/95, 4/2/95, 4.2.1995,
04-FEB-1995, 4-February-1995, and many more. Especially the first two
examples are dangerous, because as both are used quite often and can
not be distinguished, it is unclear whether 2/4/95 means 1995-04-02 or
1995-02-04.

For this reason, I suggest to prefer the YYYY-MM-DD date notation in
Linux documentation. GNU rcs-5.7 now also supports the ISO date format
(see option -zLT in man ci).

Advantages of the ISO standard date notation are:

  - easily parsable by software (no 'JAN', 'FEB', ... table necessary)
  - easily sortable with a trivial string compare (because it's bigendian)
  - language independent
  - can not be confused with other popular date notations
  - consistent with 24-h time notation hh:mm:ss which comes also
    with the most significant component first and is consequently
    also easily sortable (e.g. write 1999-12-31 23:59:59).
  - short and has constant length (makes keyboard data entry easier)
  - identical to the Chinese date notation, so the largest cultural
    group (>25%) on this planet is already familiar with it
  - 4-digit year representation avoids overflow problems after
    1999-12-31

In shell scripts, use

  date "+%Y-%m-%d %H:%M:%S"

in order to print the date and time in ISO format. In C, use the
string "%Y-%m-%d %H:%M:%S" as the format specifier for strftime().

Markus

-- 
Markus Kuhn, Computer Science student -- University of Erlangen,
Internet Mail: <mskuhn@cip.informatik.uni-erlangen.de> - Germany
WWW Home: <http://wwwcip.informatik.uni-erlangen.de/user/mskuhn>

------------------------------

Crossposted-To: alt.os.linux,comp.os.linux.misc,comp.os.linux.hardware,comp.os.linux.setup
From: abrowne@cee.hw.ac.uk (Alastair G. Browne)
Subject: Re: HELP: Compiling the Kernel: <<<<<< Segmentation fault >>>>>>>
Date: Sun, 3 Dec 1995 14:48:07 GMT

The Unix Mighty (bikesh@scus1.ctstateu.edu) wrote:
: Hi,
:       I just got kernel 1.3.45
: Everytime I try to compile..
: BTW I have tried almost every 1.3.?? kernels
: I get the same error.. on each and every one..
: The get this errors
: **********************************************************************
: ld -m elf_i386  -r -o kernel.o ksyms.o sched.o dma.o fork.o
: exec_domain.o panic.o printk.o sys.o module.o exit.o signal.o itimer.o
: info.o time.o softirq.o resource.o
: make[1]: *** [kernel.o] Segmentation fault (core dumped)
: make[1]: *** Deleting file `kernel.o'
: make[1]: Leaving directory `/usr/src/linux/kernel'
: make: *** [linuxsubdirs] Error 2
: **********************************************************************

This looks to me as though you are trying to link normal a.out objects
with ELF objects.

I take it everything compiles OK but only fails during linking. Try
cleaning the kernel source completely prior to compilation. 

'make clean' will not do this---you have to use 

% make mrproper

Do this PRIOR to 'make config' or you will lose all of your
configuration. After doing 'make mrproper' carry out the normal
routine for compiling your kernel and see what happens.

Did you know there are two versions of gcc? one for ELF binaries and
one for the normal a.out? I'm not sure about this, but it may have an
effect on kernel compilation. Maybe someone can confirm or deny this?

--
                

                _________________________________________


                         There are things known, 
                      And there are things unknown
                      And in between are the Doors.


------------------------------

From: lbaron@io.org (Lanny Baron)
Crossposted-To: comp.lang.perl.misc,comp.os.linux.development.apps,comp.os.linux.setup,comp.os.linux.misc
Subject: Re: Looking for a Linux-compiled copy of Perl 5 ready-to-use
Date: Sun, 03 Dec 1995 15:45:05 GMT

oylerb@tdkt.skypoint.net (Bill A. Oyler) wrote:

>Hello,

>I am looking for an FTP site that contains a compiled version of Perl 5
>for the Linux operating system.  I simply need a compiled copy of Perl 5
>for use with CGI/HTML programming.

>If you know where I can find a compiled version of Perl 5 for Linux,
>please e-mail me!  Thanks!

>=====================================================
>Bill A. Oyler               People usually get what's
>Minnetonka, MN, USA         coming to them ... unless
>oylerb@tdkt.skypoint.net            it's been mailed.
>===================================================== http://www.minnetonka.k12.mn.us/mhs/oylerb/index.html



------------------------------

From: BOISVIEUX Jean-Francois <jfb>
Crossposted-To: comp.lang.perl.misc,comp.os.linux.development.apps,comp.os.linux.setup,comp.os.linux.misc
Subject: Re: Looking for a Linux-compiled copy of Perl 5 ready-to-use
Date: 3 Dec 1995 18:25:20 GMT

get a perl5m source (beware of the m); this is available in FSF
repositories(gnu)
Then just untar and 
1. ./Configure -des  
2. make
3. make test (just in case)
4. make install

Jean-Francois
-- 
 Universite Paris VI             |       Jean-Francois Boisvieux         |
 C.H.U Pitie-Salpetriere         |                                       |
 Departement de Biomathematiques | Tel: 33 1 45861998 Fax: 33 1 45865685 |
 91, boulevard de l'Hopital      |     email: jfb@biomath.jussieu.fr     | 
 75634 Paris cedex 13 France     |                                       |


------------------------------

From: ddr@beach.cis.ufl.edu (Daniel D. Roscigno)
Crossposted-To: comp.lang.perl.misc,comp.os.linux.development.apps,comp.os.linux.setup,comp.os.linux.misc
Subject: anyone use a panasonic CR572?
Date: 3 Dec 1995 18:33:01 GMT

I have come across a deal on a CR572 ATAPI drive.  Before I buy
it I want to know if it will work OK with Linux.  I used a
Panasonic 562 in the past (connects to sound card) and would
like to get a new ATAPI drive.

If anyone knows where the ATAPI HOWTO is please let me know.

Dan


------------------------------

From: tbuswell@bio.bu.edu (Theodore Buswell)
Subject: Re: Downgrading libc
Date: 3 Dec 1995 18:53:29 GMT

>>>>> "Thomas" == Thomas Quinot <thomas@cuivre.fdn.fr> writes:

    Thomas> The message means that your program was linked against
    Thomas> 4.7.2 stubs, and that ld.so resolved this reference to
    Thomas> /usr/i486-linuxaout/lib/libc.so.4.5.26.  This behaviour is
    Thomas> correct.

I agree, but even after re-compiling my program it still says that
it is dependent on "Jump 4.7pl2" instead of "Jump 4.5pl26".

I've appended some output to the end of this to perhaps further
illustrate the problem..

Thanks,
-Ted

ithilien:~$ ldconfig -v |grep libc.so
ldconfig: can't unlink /etc/ld.so.cache~ (Permission denied)
        libc.so.4 => libc.so.4.5.26
        libc.so.1 => libc.so.1
        libc.so.5 => libc.so.5.0.9
ithilien:~$ cat >test.c
main(){printf("HelloWorld\n");}
ithilien:~$ gcc -b i486-linuxaout test.c
ithilien:~$ ldd a.out
        libc.so.4 (DLL Jump 4.7pl2) => /usr/i486-linuxaout/lib/libc.so.4.5.26
ithilien:~$ ./a.out
/a.out: using incompatible library '/usr/i486-linuxaout/lib/libc.so.4.5.26'
        Desire minor version >= 7 and found 5
HelloWorld
ithilien:~$

------------------------------

From: tbuswell@bio.bu.edu (Theodore Buswell)
Subject: Re: Downgrading libc
Date: 3 Dec 1995 19:16:52 GMT

 >>     Thomas> The message means that your program was linked against
 >>     Thomas> 4.7.2 stubs, and that ld.so resolved this reference to
 >>     Thomas> /usr/i486-linuxaout/lib/libc.so.4.5.26.  This behaviour is
 >>     Thomas> correct.
 >> 
 >> I agree, but even after re-compiling my program it still says that
 >> it is dependent on "Jump 4.7pl2" instead of "Jump 4.5pl26".
 >
 >When downgrading libc, you have to change the stub (*.sa) files as well
 >as the shared objects (*.so)... In your case it seems to me that you're
 >still linking against the old stub libraries.

Yes, this was the mistake... I had an old 4.7.2 stub hanging around in a
directory such that it was found before my 4.5.26 stub in 
/usr/i486-linuxaout/lib.

Thanks again,
-Ted


------------------------------

From: theofilu@ping.at (Theofilu Andreas)
Subject: Re: Bug(?) with the linux console
Date: 2 Dec 1995 07:59:04 GMT

In article <49flvb$ivv@taco.cc.ncsu.edu>,
        rao@hell.catt.ncsu.edu (Rao) writes:
>I don't know if this is a bug, but if text is scrolling very quickly, it
>will occasionally "jump" to the right and then back into place.
>
It happens to me too. I'm using a SPEA-V7 VEGA PLUS card (ali2301 chipset)
and Linux 1.2.11. I noticed this also with older versions of Linux. This
behavior is not specific to Linux. I had an old XENIX on an i286 with a
Hercules graphic card (monochrome) and it did the same. Maybe this depends
realy on the hardware, not the software.
-- 
Theofilu Andreas
Email: theofilu@ping.at

               -------------------------------------------------
                           Enjoy the science of Linux!
                       Genie_e die Wissenschaft von Linux!
               -------------------------------------------------


------------------------------

From: clameter@miriam.fuller.edu (Christoph Lameter)
Subject: Re: [HELP] "Virtual memory exceeded" compiling the kernel
Date: 29 Nov 1995 16:20:09 -0800

Fabrizio Capobianco (capo@ipvvis.unipv.it) wrote:
: Hi!
: I've a Toshiba 400cs (notebook) with 8M RAM, 25 MEG swap.
: I'm trying to compile the kernel I've an error (after a while):
: "Virtual memory exceeded".
: I cannot compile the kernel because I've only 8M RAM ?

Did you switch on the swap space either by

swapon <partition>

or by way of /etc/fstab after each boot?
-- 
=============================================================================
 Christoph Lameter            FTS Box 466, Pasadena, CA 91182
 Internet Administrator       Who is like Jesus... who is like God...?

------------------------------

From: awang@plains.nodak.edu (Dopey)
Subject: libc 5.2.16 breaks xdm.
Date: 3 Dec 1995 13:42:41 -0600

i compiled my own copy of libc 5.2.16, and the accompanying libs.
here's the problem. xdm is broken now. any non-root user attempting to log
in gets this error

AUDIT: Sun Dec  3 12:55:31 1995: 245 X: client 2 rejected from local host

it creates an empty ~/.Xauthority file.

i think the precompiled libs work okay.. i messed with those only briefly
and had that problem, but after deleting ~/.Xauthority
and then logging in again it worked.
i don't use shadowed passwords.

Did i do something wrong in compiling libc? 
or is there an easy fix to this?

thanks
andy

-- 
============================== Dopey (Andy Wang) ==============================
- Pro-hemp, and proud of it!    - Team - awang@plains.nodak.edu               -
- What the hell is a chicken?   - OS/2 - 909 16th St N #2, Fargo, ND 58102    -
=================== http://space.acm.ndsu.nodak.edu/~awang/ ===================

------------------------------

From: quinlan@spectrum.eg.bucknell.edu (Daniel Quinlan)
Subject: Re: Maintainer of /etc/magic?
Date: 28 Nov 1995 19:23:45 -0500
Reply-To: quinlan@bucknell.edu

Michael Elizabeth Chastain <mec@treflan.shout.net> writes:

> I'm looking for the keeper of the '/etc/magic' file.
> I want a magic number for my data file format.  Right now, I'm just
> making them up: 0x0100FACE, 0x0200FACE, and so on.  It would be nice
> to get them into /etc/magic and to make sure they don't collide with
> any other numbers.

Christos Zoulas (christos@deshaw.com) is the maintainer of the file(1)
implementation that Linux uses.

My best advice in choosing a magic number for any new file format is:

 - don't pick anything that collides with other numbers (on both
   little-endian and big-endian machines).  Check all types - strings,
   octal, hexadecimal, decimal, etc.
 - try to use the same magic for both little-endian and big-endian
   machines, use a separate flag for byte-order if necessary
 - use the same magic for different versions of your file format, use
   a separate field for the version number.  (This keeps the namespace
   as free as possible.)
 - use at least a 4 byte long magic number (a long), not any shorter.
 - test your file to see if it gives any false matches with the
   current (minus your magic) /etc/magic.
 - test your magic (in /etc/magic format) to see if it matches any
   files (minus files in your format) on several different operating
   systems.
 - try to use a mix of printable and non-printable characters in the
   magic in order to avoid matching text files.
 - try to avoid multiple null characters in the magic.

file is available at: file://ftp.deshaw.com/pub/file

Dan
-- 
Daniel Quinlan          Member of the League for Programming Freedom
quinlan@bucknell.edu

------------------------------

From: quinlan@denebola.eg.bucknell.edu (Daniel Quinlan)
Subject: Re: why no slackware bugfixes?
Date: 28 Nov 1995 21:20:52 -0500
Reply-To: quinlan@bucknell.edu

Zachary Brown <zbrown@lynx.dac.neu.edu> writes:

>> BTW Patrick cleared up the getopt question (it is /bin/getoptprog
>> now)

Andries Brouwer <aeb@cwi.nl> writes:

> No, please don't say that - it is /bin/getopt, it has always been
> that, and I hope it will always be that - no reason to start one
> more confusion. If by some accident you have a distribution that
> mistakenly puts getopt in /bin/getoptprog, then just "mv
> /bin/getoptprog /bin/getopt" to fix this bug.

Please don't make the assumption that `getopt' is located in /bin.  It
may be in /bin or /usr/bin, but it is *not* required in /bin
(according the the Linux Filesystem Structure, which most Linux
distributions attempt to follow).

If you want to write a portable Linux script, you won't run it as
/bin/getopt, but as `getopt' using a PATH that includes /bin and
/usr/bin.

Dan
-- 
Daniel Quinlan          Member of the League for Programming Freedom
quinlan@bucknell.edu

------------------------------

From: koenig@tat.physik.uni-tuebingen.de (Harald Koenig)
Subject: Re: dump,restore,rdump
Date: 30 Nov 95 16:08:03 MET

In <DIrIMr.3qJ@erie.ge.com> teffta@erie.ge.com (Andrew R. Tefft) writes:

> In article <49e8mt$1vn@mudraker.mtholyoke.edu>,
>       jbotz@mtholyoke.edu (Jurgen Botz) writes:
> >Why not?  GNU tar works great for backups.

any tar version changes the access date of any backuped file
since it uses regular file system code to read files. 
in some environments thats not not allowed at all or at least not wishable.


Harald
-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

------------------------------

From: zbrown@lynx.dac.neu.edu (zachary brown)
Subject: Re: why no slackware bugfixes?
Date: 3 Dec 1995 17:27:22 -0500

In article <yf2ybt09n5n.fsf@denebola.eg.bucknell.edu>,
Daniel Quinlan <quinlan@bucknell.edu> wrote:
:Zachary Brown <zbrown@lynx.dac.neu.edu> writes:
:
:>> BTW Patrick cleared up the getopt question (it is /bin/getoptprog
:>> now)
:
:Andries Brouwer <aeb@cwi.nl> writes:
:
:> No, please don't say that - it is /bin/getopt, it has always been
:> that, and I hope it will always be that - no reason to start one
:> more confusion. If by some accident you have a distribution that
:> mistakenly puts getopt in /bin/getoptprog, then just "mv
:> /bin/getoptprog /bin/getopt" to fix this bug.
:
:Please don't make the assumption that `getopt' is located in /bin.  It
:may be in /bin or /usr/bin, but it is *not* required in /bin
:(according the the Linux Filesystem Structure, which most Linux
:distributions attempt to follow).

To continue this comedy of corrections...

It is called the Linux Filesystem Standard (FSSTND), and it can be
gotten via FTP from tsx-11.mit.edu in
/pub/linux/docs/linux-standards/fsstnd

and well worth it.

Zack

:If you want to write a portable Linux script, you won't run it as
:/bin/getopt, but as `getopt' using a PATH that includes /bin and
:/usr/bin.
:
:Dan
:-- 
:Daniel Quinlan          Member of the League for Programming Freedom
:quinlan@bucknell.edu



------------------------------

From: mfg@ee.ed.ac.uk (Michael F Gordon)
Subject: Re: Bug(?) with the linux console
Date: 30 Nov 1995 11:26:10 GMT

In <49flvb$ivv@taco.cc.ncsu.edu> rao@hell.catt.ncsu.edu (Rao) writes:
>I don't know if this is a bug, but if text is scrolling very quickly, it
>will occasionally "jump" to the right and then back into place.

I've seen this occasionally as well, but I just assumed it was a hardware
glitch with my cheap and nasty video card (Trident TVGA8900CL).  Which
video card are you using?


Michael Gordon
--
Politicians are like nappies, both should be changed regularly
and for the same reason - graffito on a wall in Yeovil.

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: Linux-Development-System-Request@NEWS-DIGESTS.MIT.EDU

You can send mail to the entire list (and comp.os.linux.development.system) via:

    Internet: Linux-Development-System@NEWS-DIGESTS.MIT.EDU

Linux may be obtained via one of these FTP sites:
    nic.funet.fi				pub/OS/Linux
    tsx-11.mit.edu				pub/linux
    sunsite.unc.edu				pub/Linux

End of Linux-Development-System Digest
******************************
