Files
2024-02-19 00:23:35 -05:00

600 lines
21 KiB
Plaintext

From: Digestifier <Linux-Activists-Request@news-digests.mit.edu>
To: Linux-Activists@news-digests.mit.edu
Reply-To: Linux-Activists@news-digests.mit.edu
Date: Tue, 24 Mar 92 15:30:20 EST
Subject: Linux-Activists Digest #144
Linux-Activists Digest #144, Volume #1 Tue, 24 Mar 92 15:30:20 EST
Contents:
need info on: passwd binary, clear screen, etc (Michael K. Johnson)
gcc 1.40 (newgcc) or gcc 2.0 (Dan Miner)
pfdisk (Dan Miner)
Re: Free BSD release: future of Minix/Linux? (Jussi Markus V{h{passi)
Re: /dev names (David Engel)
Re: 386 BSD and linux (Steinar Bang)
Re: Linux 0.95 (Ben Lippolt)
Re: .95a HD prob. (Ben Lippolt)
Deleting a swap device/file....How do I do it??????? (Michael K. Johnson)
two questions. (prob faq) (Kelly Fergason)
Adding RAM (Britt Park)
stuff (DAVE EINSTEIN)
Problems with Linux 0.95a (Daniel A. Martin)
Re: Wanted. UUCP compatible mailer for Linux. (Philip Copeland)
Re: INSTALLATION (FILETRANSFER) (Kevin Cummings)
TWO Questions: Security & Program Execution (cm445a17)
Error in INstallation (ch'od)
----------------------------------------------------------------------------
From: johnsonm@stolaf.edu (Michael K. Johnson)
Subject: need info on: passwd binary, clear screen, etc
Reply-To: johnsonm@stolaf.edu (Michael K. Johnson)
Date: Tue, 24 Mar 1992 16:20:35 GMT
> 2.) While inside linux, why can't I clear the screen? The
> standard command /clear/ does not work.
You need to create a small shell script for clear. Do this:
cat > /usr/bin/clear
#! /bin/sh -
echo ^[[H^[[J
^D
chmod 0755 /usr/bin/clear
Actually, use setterm -clear, as this will work on your terminals too,
if you have them. In the same spirit as this answer, you can make a
shell script like this:
cat > /usr/bin/clear
#! /bin/sh -
setterm -clear
^D
chmod 0755 /usr/bin/clear
michaelkjohnson
johnsonm@stolaf.edu
------------------------------
From: dminer@mcs213b.cs.umr.edu (Dan Miner)
Subject: gcc 1.40 (newgcc) or gcc 2.0
Date: 24 Mar 92 15:45:31 GMT
Well, gang. I've just now installed Linux for the third time now.
I've got just about of there is for it on my hard drive.
I've been trying to get a compiler, any compiler, to work. Guess
what? I can't. I followed the directions as well as I could.
What happens? Glad you asked.
When I run gcc I get something saying that it can't exec a binary.
What binary? Where? How can I fix it? Does my path need
to be expanded? (It is the default path within bash)
Is there there some magical directory for all the binaries of gcc?
Any alt-spam symbolic links to files needed? Some assembly required? :)
Basically, HELP!
Another question, I've been looking and the man.c source (@tsx-11) and
I'm wondering where this 'nroff' is located? I did a find for it and came
up with nothing? Where can I get it?
Thanks,
Dan
email to
dminer@cs.umr.edu
--
=========================================================================
Dan Miner email:
dminer@cs.umr.edu (prefered)
Computer Science S101908@UMRVMA.BITNET
------------------------------
From: dminer@mcs213b.cs.umr.edu (Dan Miner)
Subject: pfdisk
Date: 24 Mar 92 15:52:35 GMT
I had fun with pfdisk. Could someone tell me what OS ID code to
use? I tryed 129 (Minix ver 4.? and later) which seemed to work.
Also, is the list of the partition meant to "garbage-up" when
you modify a partition record? Whatever it did works but
pfdisk is useless now because I can't get a good listing from it.
Is this a known bug? I would recompiler it, bnt my compiler seems
to have taken a permenant (sp) vacation.
This gripe was brought to you by:
Dan :)
Thanks.
--
=========================================================================
Dan Miner email:
dminer@cs.umr.edu (prefered)
Computer Science S101908@UMRVMA.BITNET
------------------------------
Crossposted-To: comp.os.minix
From: s32974l@kaira.hut.fi (Jussi Markus V{h{passi)
Subject: Re: Free BSD release: future of Minix/Linux?
Date: Tue, 24 Mar 1992 06:19:55 GMT
In article <1992Mar20.222519.31516@wpi.WPI.EDU> entropy@wintermute.WPI.EDU (Lawrence C. Foard) writes:
>
>If you could afford a PS/2 you can certainly afford the money for a real 386
>or 486. There are many 486's under $2000 now and they will blow the PS/2
>away. You might even be able to sell your PS/2 to some gullible person for
>enough to buy a real machine :-)
Nope, I'd rather stick to my PS/2 than invest _more_ on a 486.
@ Jussi V{h{passi @ s32974l@kaira.hut.fi @
@ Telenokia/YTV/SJ/TPD @ jussiv@vipunen.hut.fi @
@ Koti: (90) 5093832 @ vahapassi@sjclus.tele.nokia.fi @
@ Ty|: (90) 5117477 @ vahapassi@kiloapo.tele.nokia.fi @
------------------------------
From: david@ods.com (David Engel)
Subject: Re: /dev names
Date: 24 Mar 92 16:31:06 GMT
johnsonm@stolaf.edu (Michael K. Johnson) writes:
: What about people who want to run BBS's on theis linux boxes? They
: may well want more than that number of serial ports. There are smart
: many serial port cards...
True, but a smart serial card would require a new, major device number
and driver so we might want to use different naming scheme for them.
--
David Engel Optical Data Systems, Inc.
david@ods.com 1101 E. Arapaho Road
(214) 234-6400 Richardson, TX 75081
------------------------------
From: steinarb@idt.unit.no (Steinar Bang)
Subject: Re: 386 BSD and linux
Date: 24 Mar 92 15:08:53 GMT
>>>>> On 23 Mar 92 13:59:54 GMT, abc@banjo.concert.net (Alan B Clegg) said:
> I actually got 386BSD up and running. It is a *MESS*. People have
> compared it to linux a year ago.
Uh,... did Linux *exist* a year ago...? :-)
- Steinar
------------------------------
From: bjl@pttrnl.nl (Ben Lippolt)
Subject: Re: Linux 0.95
Date: 16 Mar 92 12:37:31 GMT
Reply-To: B.J.Lippolt@research.ptt.nl
zlsiial@uts.mcc.ac.uk (A. V. Le Blanc) writes:
>In article <LONGSHOT.92Mar12214011@att2.mankato.msus.edu> longshot@att2.mankato.msus.edu (Erik Green) writes:
>>Also, a Linux fdisk is badly needed
>>on the same disk, since lots O' people are having problems with the
>>collection of other programs that are currently being used to do the
>>partitioning.
>I have been working on a Linux fdisk. At the moment there are
>two real problems: (1) it ought to be able to get the number of
>sectors, heads, and cylinders from the kernel, but this requires
>a kernel patch; and (2) it ought to be able to set up Linux extended
>partitions, but I haven't done anything about this yet.
The pfdisk package (uploaded to tsx-11 and nic.funet) already does what
you want.
Ad 1) There is a command to set the number of sectors, heads and cylinders.
It is also possible to compile these numbers in the code (although
this won't work for a distribution version for the root-disk).
Ben Lippolt.
------------------------------
From: bjl@pttrnl.nl (Ben Lippolt)
Subject: Re: .95a HD prob.
Date: 20 Mar 92 22:21:21 GMT
Reply-To: B.J.Lippolt@research.ptt.nl
adam@owlnet.rice.edu (Adam Justin Thornton) writes:
>I'm having some ps woes, though--the kernel patches went OK (swap.c I had to
>do by hand, but no biggee), and the kernel recompiled fine, but when I try
>to compile ps, I get all the .o files fine. Then I
>gcc -o ps ps.o psdata.o update_db
>and it gags and dies with
>ps.o: Undefined symbol __cytpe referenced from text segment
>ps.o: Undefined symbol __ctype referenced from text segment
>cmdline.o: Undefined symbol __ctype referenced from text segment
I had the same problem. I just added "/usr/src/linux/lib/ctype.o"
to the list of object-files when I linked ps. (so I did something like:
gcc -o ps ps.o psdata.o update_db.o /usr/src/linux/lib/ctype.o.
This solved my problem with ps.
I have another problem with "free" though. I get the following output:
total used free shared
memory: 2560 896 1664 324
/dev/hdn2: No such file or directory
swap:
My swap-partition is on /dev/hdb2. When I make /dev/hdn2 a link to /dev/hdb2
the output is what you would expect. What's happening?
Ben Lippolt.
------------------------------
From: johnsonm@stolaf.edu (Michael K. Johnson)
Subject: Deleting a swap device/file....How do I do it???????
Reply-To: johnsonm@stolaf.edu (Michael K. Johnson)
Date: Tue, 24 Mar 1992 17:07:10 GMT
>I created a swapfile on my Linux system but now I want to delte it!
>How can I do that? Is there a rmswap command? Thanks,
Hmmm, does a 'rm swap-file-name' works ?
You obviousually have to cut the call to swapon from your rc.
If you have a swap partition, well just make an fdisk on it.
mkfs, of course -- fdisk won't help much :-)
michaelkjohnson
johnsonm@stolaf.edu
------------------------------
From: klf1305@storm.tamu.edu (Kelly Fergason)
Subject: two questions. (prob faq)
Date: 24 Mar 92 17:21:45 GMT
These should have been around, but I haven't seen them,
as I don't follow this as well as I should.
1. How do you make the hard disk bootable, ie. need no boot floppy?
2. How do you transfer stuff to the hard disk from a dos
disk? How would I get the new binaries, etc to my hard disk?
I have heard kermit and dd mentioned, but I would like an
example.
Thank you,
Kelly Fergason
klf1305@storm.tamu.edu
------------------------------
From: britt@leland.Stanford.EDU (Britt Park)
Subject: Adding RAM
Date: 24 Mar 92 17:06:14 GMT
Hi,
I have Linux 0.95a running fine on my 386 clone with 4Mb (80Mb IDE,
AMI bios, OPTI chip set). Yesterday I bought 4Mb of RAM to bring my machine
up to 8Mb. The power on memory test OK's the new RAM; MSDOS runs fine; Minix
runs fine, recognizing all the memory. However, Linux gives a kernel panic:
free block list corrupted, or some such. I think it unlikely that the RAM is
at fault since I've switched the new RAM for the original 4Mb and everything
works fine. Is this a known problem? Do I have to reconfigure the kernel?
Any help would be appreciated.
Britt
britt@cb-iris.stanford.edu
------------------------------
From: EINSTEIN@plh.af.mil (DAVE EINSTEIN)
Subject: stuff
Reply-To: EINSTEIN@plh.af.mil (DAVE EINSTEIN)
Date: Tue, 24 Mar 1992 18:31:17 GMT
#include <excuses.h>
First a few comments-
Alan B Clegg - subj: ABC release.
I would like to suggest that in the packages containing binaries
you include a list of files with their checksums. Many of us (me for
example have to move the files though quite a few networks and to quote
Linux "bad things happen".
Jim Winstead - subj: install script.
Great job, but could you pander to my laziness and have it ask me
if I want my BASH bashed.
To those installing gcc-1.40 this should be of help.
These are instructions for installing gcc-1.40 on Linux-0.95a.
Lunux-0.95a contains everything you need to install and run gcc 1.40
however an editor would certainly be helpful for testing.
You will need to get include-0.12.tar and newgcc.tar to your linux system.
It is probably easiest to uncompess them and Rawrite them to floopies under
DOS. You should also read newgcc.FAQ.
Now cd to / and untar the include files (include-0.12.tar)
For example if you have rawritten your uncompressed include-0.12
files to a 5 1/4 inch disk put your floppy in drive a: and type
tar -tvf /dev/at0 | more
(This shows you what files are in the tar, as well as detecting some errors.
If Murphy's laws do not apply to you, you can skip it.)
tar -xvf /dev/at0
(This should write a bunch of *.h files into /usr/include . If you are
paranoid go to /usr/include and look at some of them.)
Now cd to /usr and untar newgcc.tar.
If you are working with rawritten floppies put in the floppy with
newgcc.tar and
tar -tvf /dev/at0 | more (for people with healthy paranoia)
tar -xvf /dev/at0
This will overwrite some of the include files from include-0.12,
don't panic, thats why you untarred the include files first.)
Now gcc looks for ccp and cc1 in /usr/local/lib while they are actually in
/usr/lib so you will need to create symbolic links with
ln -s /usr/lib/cc1 /usr/local/lib
ln -s /usr/lib/cpp /usr/local/lib
Now to test it create the file hello.c
#include <stdio.h>
main()
{
printf("Hello Linux\n")
}
and compile it by
gcc -o hello hello.c
and run it
./hello
------------------------------
From: dam1@RandB.CC.MsState.Edu (Daniel A. Martin)
Subject: Problems with Linux 0.95a
Date: 24 Mar 92 17:28:41 GMT
I spend several hours last night trying to get 0.95a to work on my PC to
no avail. 0.12 has worked fine since I installed it back in January...
When I boot I get several HD timeout messages on both my hard drives...but
it gets through this and says "Partition tables OK" and boots...everything
seems to work ok for a while and I start untarring stuff (backup, gcc2.0, etc)
...only the first couple of untars work...I use the following command:
tar zxvf /dev/at0
the floppy drive will be accessed for a while but it never starts untarring...
I can ^C out of it but after this happens once I am unable to untar anything
large...I have started from scratch by:
mkfs /dev/hdb4 20757 -c
mount /dev/hdb4 /mnt
mktree /mnt
mkdev /mnt
install /mnt
but the same thing happens eventually...
My system is a 16MHz 386sx with AMI BIOS, 4 meg RAM, 2 MFM drives...my root
partition is on the fourth partition of the second drive...the first is a DOS
partition and the 2nd and 3rd are not used (edpart set it up this way)...any
help would be appreciated on this matter...
--
=====================
|Danny Martin |
|dam1@Ra.MsState.Edu|
=====================
------------------------------
From: p_copela@csd.brispoly.ac.uk (Philip Copeland)
Subject: Re: Wanted. UUCP compatible mailer for Linux.
Date: 23 Mar 92 23:53:44 GMT
Reply-To: p_copela@csd.bristol-poly.ac.uk
In article <4851.29cdb4d0@sunvax.sun.ac.za>, abs@sunvax.sun.ac.za writes:
|> Iam looking for a mailer for linux. It must able to do UUCP and also allow
|> users on the linux machine to send mail to each other. Has anyone got this
|> working ? Please mail me.
|> BTW anonymous UUCP feature will be nice as well.
well I have elm (severly hacked) working but I was holding off until i had a
working sendmail program to go with it, although I've been talked into using
smail3.2 as themailer program. My term ends this week and I hope to fire it
up at TSX-11 before Friday (but don't hold me to this!)
If I can't get the ntohl etc functions implemented I'll leave them out and
put a 'skinny' crippled version to keep the masses quiet out before i leave.
(hope the authors of elm don't get upset at this !)
(Sigh what a life.. all I seem to be doing is assignments and breaking root
axcess 8) )
===============================================================================
Philip Copeland - alias 'Bryce' (course: BScITIS)
JANET : p_copela@uk.ac.bristol-poly.csd
"... I can resist anything but temptation..."
===============================================================================
------------------------------
From: cummings@hammer.Prime.COM (Kevin Cummings)
Subject: Re: INSTALLATION (FILETRANSFER)
Date: 24 Mar 92 18:29:16 GMT
In article <1992Mar23.212455.19686@athena.mit.edu>, "23-MAR-1992 22:24:24.81" <nmp08@rz.uni-kiel.dbp.de> writes:
> Hi there!
>
> I found Linux some days ago when searching for 386BSD. Rather good stuff but
> installation is quite difficult. My problem: 0.95a ist successfully installed
> on hd but i'm not able to transfer any files i've downloaded on my DOS-
> partition. After writing a file with rawrite i can't mount the disk on Linux.
> The mount command says: mount: error 16.
> Here is what i did:
> writing an image of an file (ie. kermit.z) with rawrite under dos5:
> rawrite
> source: kermit.z
> destination: a
> booting Linux:
> mount /dev/PS0 /mnt
> -> mount: error 16
>
> Any suggestions what i did wrong?
>
> PS: I'd like to be added on the mailing list.
>
> My address: nmp08@rz.uni-kiel.de (Andreas Wacknitz)
>
> PPS: Please don't blame me for my bad english :-)
Step one, uncompress kermit.tar.Z into kermit.tar. If you are
doing this on a PC, get an MS-DOS compress/uncompress. Otherwise,
do this on your system onto which you FTP'ed the compressed files,
before transferring them to your PC.
Step two, use rawrite.exe to write out kermit.tar to the floppy disk.
Step three, under LINUX, attach to the directory you want to untar
the file into.
Step four, "tar xf /dev/PS0". This will extract all entries from
the "tar" file on the floppy disk into the current directory
(or as modified by the pathnames in the "tar" file).
rawrite does NOT write out a mountable file system. It writes
out the file (in sequential sectors) directly on the floppy disk.
tar then treats the floppy as if it were a single disk file, with
the data stored sequentially.
=================================================================
Kevin J. Cummings Prime Computer Inc.
20 Briarwood Road 500 Old Connecticut Path
Framingham, Mass. Framingham, Mass.
InterNet: cummings@primerd.Prime.COM
UUCP: uunet!primerd.Prime.COM!cummings
Std. Disclaimer: "Mr. McKittrick, after careful consideration,
I've come to the conclusion that your new
defense system SUCKS..." -- War Games
=================================================================
------------------------------
From: cm445a17@socrates.umd.edu (cm445a17)
Subject: TWO Questions: Security & Program Execution
Date: Tue, 24 Mar 1992 18:51:56 GMT
I have been playing with Linux for a while now and I've noticed
two odd things that maybe somebody can help me with:
1.- Why can I execute a program (has the execute permissions set) that is
in my present working directory but not the path variable??? I have to
copy it to a directory in the path to run it!
2.- I have noticed that you can do a 'cd directory' even if you don't
have the access permissioms for that directory (non root login)! You can't
do a 'ls' once you are in, but I think that you shouldn't be allowed to
'cd' into the directory in the first place if you don't have the access
permissions. Any comments?
jaj
------------------------------
From: ftw33616@uxa.cso.uiuc.edu (ch'od)
Subject: Error in INstallation
Date: 24 Mar 92 19:27:01 GMT
I have a problem in installation:
When I rawrite boot-0.95a, root-0.95a, & root-12 (names abbrevate of cours)
& boot off the boot disk, I get this>
Loading......................(hit space to select SVGA mode, return to
continue)
and if I hit space, It lets me select a # from 0-? (9, I think) to select a
video mode (i.e. columns & rows, it allows, for me , up to 132 x 80)
& then it reboots.
If I hit anything else, it reboots.
If,when it reboots, I use the disk again, it asks me the same question, & then
reboots eventually. it never asks me to insert the other disk.
I'm using a 486, with 4 megs of memory, running it off of 1.44 megg flopys
- Frank Wang
ftw33616@uxa.cs.uiuc.edu
------------------------------
** 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-Activists-Request@NEWS-DIGESTS.MIT.EDU
You can send mail to the entire list (and alt.os.linux) via:
Internet: Linux-Activists@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
tupac-amaru.informatik.rwth-aachen.de pub/msdos/replace
The current version of Linux is 0.12, released on Jan 14, 1992
End of Linux-Activists Digest
******************************