Files
2024-02-19 00:25:02 -05:00

595 lines
22 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, 17 Mar 92 16:30:21 EST
Subject: Linux-Activists Digest #115
Linux-Activists Digest #115, Volume #1 Tue, 17 Mar 92 16:30:21 EST
Contents:
Re: Beginners Guide (Andrew Haylett (GEC-Marconi Research Centre))
re: TeX for Linux (GSTD@VTVM2.CC.VT.EDU)
Re: limits.h - where do I get it? (Greg Lee)
Re: Revision control (Jeffrey Comstock)
Re: limits.h - where do I get it? (c t wilson)
Re: Last minute tidbits... (Johan W}hlin)
Re: DOS emulator for Linux? (Rogier Wolff)
linux basic info? (Ted Uhlemann)
C (cs341227)
Source for setterm (Al Clark)
Re: DOS emulator for Linux? (Drew Eckhardt)
Re: Source for setterm (Drew Eckhardt)
setterm -dump doesn't work (Drew Eckhardt)
linus under OS/2 boot manager ? (David.L.)
Is the keyboard fixed? (Humberto Ortiz-Zuazaga)
Re: Need help creating a boot disk (Kevin Cummings)
Beginners Guide - news (I Reid)
----------------------------------------------------------------------------
From: Andrew Haylett (GEC-Marconi Research Centre) <ajh@gec-mrc.co.uk>
Subject: Re: Beginners Guide
Reply-To: ajh@gec-mrc.co.uk
Date: Tue, 17 Mar 1992 10:02:18 GMT
[In the message entitled "Beginners Guide" on Mar 16, Raj Manandhar writes:]
| In article <19140@castle.ed.ac.uk> eonu24@castle.ed.ac.uk (I Reid) writes:
|
| Ok, Ok, Ok... enough! I've had lots of replies saying how much people want a
| beginners guide and my mailbox is filling up with people saying what a good
| idea it is. Please send me stuff you want in the guide and please no more "good
| idea" mailers.
|
| Unfortunately, it looks like young Iain is going to have to jump
| through various annoying bureaucratic hoops if he is to get
| suggestions from the US (or perhaps any non-UK site)...
| ... Perhaps there is someone in the UK
| that does have authorization who can volunteer to forward mail?...
well, I can receive mail from anywhere without problems, so feel free to send
suggestions to me and I'll forward them to Iain.
----
Andrew Haylett | Inet: ajh@gec-mrc.co.uk | Fax: +44 245 75244
GEC-Marconi Research | Tel: +44 245 73331 x.3283 | Telex: 995016 GECRES G
------------------------------
From: GSTD@VTVM2.CC.VT.EDU
Subject: re: TeX for Linux
Reply-To: GSTD@VTVM2.CC.VT.EDU
Date: Tue, 17 Mar 1992 12:07:45 GMT
i've ported dvips and have posted it on my local bbs (703-231-7498) and
will ftp it to tsx-11.mit.edu today, hopefully. it includes an emtex
font library.
hopefully, ajh will do the same with his port of TeX itself..i'm very
short on disk space.
yes, a good screen previewer (like emtex's dviscr with it's zooms and
search ability) would be nice. first of all, tho, there needs to be lp
support in the kernel.
------------------------------
From: lee@uhunix.uhcc.Hawaii.Edu (Greg Lee)
Subject: Re: limits.h - where do I get it?
Date: Tue, 17 Mar 1992 12:09:15 GMT
In article <7188@uqcspe.cs.uq.oz.au> kjross@cs.uq.oz.au writes:
}...
} So, firstly, where do I find limits.h? And secondly am
}I doing things completely arse-about or is my approach basically
}correct ?
Below is a limits.h. I don't know where it's from -- my include
directory is a mess. I have 3 versions of stdio.h, and I don't
know which I should be using. I've gone through approximately
the procedure you described: applied Lankester ps patches to
0.95 kernel source, recompiled with "newgcc" (1.40), except
I didn't throw away any .h files. Mine works. Ps is great.
Greg, lee@uhunix.uhcc.hawaii.edu
=======file: limits.h======
#ifndef _LIMITS_H
#define _LIMITS_H
#define MAXPATHLEN PATH_MAX
#define RAND_MAX 0x7ffffffd /* don't ask - see rand.c */
#define CHAR_BIT 8
#define MB_LEN_MAX 1
#define SCHAR_MIN (-128)
#define SCHAR_MAX 127
#define UCHAR_MAX 255U
#ifdef __CHAR_UNSIGNED__
#define CHAR_MIN 0
#define CHAR_MAX UCHAR_MAX
#else
#define CHAR_MIN SCHAR_MIN
#define CHAR_MAX SCHAR_MAX
#endif
#define SHRT_MIN (-32768)
#define SHRT_MAX 32767
#define USHRT_MAX 65535U
#define INT_MIN (-2147483648)
#define INT_MAX 2147483647
#define UINT_MAX 4294967295U
#define LONG_MIN (-2147483648)
#define LONG_MAX 2147483647
#define ULONG_MAX 4294967295U
/*
* Why are these different from the section below? -- TYT
*/
#define _POSIX_ARG_MAX 40960 /* exec() may have 40K worth of args */
#define _POSIX_CHILD_MAX 6 /* a process may have 6 children */
#define _POSIX_LINK_MAX 8 /* a file may have 8 links */
#define _POSIX_MAX_CANON 255 /* size of the canonical input queue */
#define _POSIX_MAX_INPUT 255 /* you can type 255 chars ahead */
#define _POSIX_NAME_MAX 14 /* a file name may have 14 chars */
#define _POSIX_NGROUPS_MAX 32 /* supplementary group IDs are optional */
#define _POSIX_OPEN_MAX 16 /* a process may have 16 files open */
#define _POSIX_PATH_MAX 255 /* a pathname may contain 255 chars */
#define _POSIX_PIPE_BUF 512 /* pipes writes of 512 bytes must be atomic */
#define NGROUPS_MAX 32 /* supplemental group IDs are available */
#define ARG_MAX 40960 /* # bytes of args + environ for exec() */
#define CHILD_MAX 999 /* no limit :-) */
#define OPEN_MAX 20 /* # open files a process may have */
#define LINK_MAX 127 /* # links a file may have */
#define MAX_CANON 255 /* size of the canonical input queue */
#define MAX_INPUT 255 /* size of the type-ahead buffer */
#define NAME_MAX 14 /* # chars in a file name */
#define PATH_MAX 1024 /* # chars in a path name */
#define PIPE_BUF 4095 /* # bytes in atomic write to a pipe */
#endif
--
Greg Lee <lee@uhunix.uhcc.hawaii.edu>
------------------------------
From: jrc@brainiac.mn.org (Jeffrey Comstock)
Subject: Re: Revision control
Date: Tue, 17 Mar 92 00:33:52 GMT
In article <1992Mar16.105730.11124@sun.pcl.ac.uk> malcolmr@sun.pcl.ac.uk (Malcolm Ray) writes:
>
>Personally, I'd like to see the kernel completely RCS-ised by version 1.0.
>What do other people think?
Sounds like a good idea to me. Easy for me to say, considering I don't have
to do it :-).
Hey - I saw RCS by Mortice Kern Systems for PC's going for > 300 dollars.
I'll sell it for 299 :-).
--
Jeffrey R. Comstock
INET jrc@brainiac.mn.org
CW -. .-. ----- -..
------------------------------
From: cwilson@seq.uncwil.edu (c t wilson)
Subject: Re: limits.h - where do I get it?
Date: 17 Mar 92 14:28:58 GMT
There's an easy fix to the problem. The first thing to do is to untar
the the old include tarfile. Now untar the newgcc. The updated include
files will overwrite the outdated ones. I have had no trouble since doing
this.
Tom Wilson
cwilson@seq.uncwil.edu
------------------------------
From: d88-jwn@dront.nada.kth.se (Johan W}hlin)
Subject: Re: Last minute tidbits...
Date: 17 Mar 92 15:39:44 GMT
In article <1992Mar17.065309.26991@muddcs.claremont.edu> jwinstea@jarthur.claremont.edu (Jim Winstead Jr.) writes:
>I've been working on making the root diskette (yes, still :), and I
>have a few questions/comments to throw out at people:
>
>- I'd like to change the naming of tty6[4567] to be ttys[1234].
YES, please do.
------------------------------
From: wolff@liberator.et.tudelft.nl (Rogier Wolff)
Subject: Re: DOS emulator for Linux?
Date: 17 Mar 92 15:40:25 GMT
hpa@casbah.acns.nwu.edu (H. Peter Anvin N9ITP) writes:
>In article <097hpd=@lynx.unm.edu> of alt.os.linux,
> techs@triton.unm.edu (Erik Fichtner) writes:
>> This probably isn't a great question since Linux is a hackers OS and Messy-dog
>> isn't, but are we ever likely to see a DOS emulator of some form running under
>> Linux? The machine i'm playing with linux on in the wee hours of the night
>> also runs a BBS system under MS-DOS by day. None of my other machines run
>> MS-DOS, emulated or otherwise. I think Linux is an *excellent* hack..
>> great work, Linus... keep up the good work... now if it only had a DOS
>> emulator, I wouldn't be forced to play with it in the middle of the night.
>HOW TO MAKE A SIMPLE DOS EMULATOR
>=================================
>Needed
>------
>1. A 386 or 486 computer
>2. A real OS
>3. MS-DOS
>4. A hard disk
>5. Time
>Put the 386/486 in virtual 8086 mode. Trap all interrupts and I/O port
>accesses. Catch the general protection fault to simulate the action of the
>hardware. Initialize the memory segment allocated to this virtual system
>to be the same as of DOS at boot time. Force a boot from a DOS partition
>on the hard disk. Let run. Puke.
Another approach may be to catch the int 21 and int 10 calls, and first
emulate those. This will give you the ability to run "well-behaved"
programs. Also screen access speeds will be better than under DOS!
Also this would give you access to the linux filesystem.
> /hpa
>--
>INTERNET: hpa@nwu.edu TALK: hpa@casbah.acns.nwu.edu
>BITNET: HPA@NUACC HAM RADIO: N9ITP, SM4TKN
>FIDONET: 1:115/989.4 NeXTMAIL: hpa@lenny.acns.nwu.edu
>Ibland verkar det som jag tillh|r fel minoritetsgrupp...
--
If the opposite of "pro" is "con", what is the opposite of "progress"?
(stolen from kadokev@iitvax ==? technews@iitmax.iit.edu)
EMail: wolff@duteca.et.tudelft.nl ** Tel +31-15-783644 or +31-15-142371
------------------------------
From: iczer@sdf.lonestar.org (Ted Uhlemann)
Subject: linux basic info?
Date: Mon, 16 Mar 1992 21:38:23 GMT
I hadn't even heard of linux up until a few days ago, and I'm wondering
if someone could send me some basic stats on the system, like what hardware
it runs on and what software has been ported to it so far, etc. I suppose
there's not a FAQ file for this group yet?..
--
_ _ _ _ _ _______________________________________________________________
//_ /_/=/> Ted Uhlemann ..!uunet!convex!egsner!sdf!iczer +1 214 352 2259
------------------------------
From: cs341227@marmaduke.acslab.umbc.edu (cs341227)
Subject: C
Date: Tue, 17 Mar 1992 18:03:18 GMT
I have seen references to gcc or linux for those interested in a
decent freeware c compiler. Does one have to have linux to run gcc, or has
gcc been ported to IBM/DOS?
------------------------------
From: aclark@netcom.com (Al Clark)
Subject: Source for setterm
Date: 17 Mar 92 17:56:57 GMT
Can someone please let me know where the source of setterm is? I can't
locate it on tsx-11. If it's part of a package, I haven't figured it out.
Incidentally, I'd like to find source for wc, expr, and crypt.
Also, the stdio.h I have is inconsistent with the newlibc source; the
latter uses iop->_ptr, and my stdio.h has structure elements __rptr and
__wptr. Where is the stdio.h for newlibc?
Would appreciate any inputs.
I am running .95 on a 386 clone, with no problems. I do use kermit
with block check 3 since otherwise some errors occur when I'm compiling in
one window while downloading in another. The lp patch works nicely;
I want to get the setterm source so that I can end up with a PrtSc capability;
it's really handy when I'm logged into a host over the phone line.
--
Al - aclark@netcom.com - My opinions are my own.
*** Practice random kindness and senseless acts of beauty! ***
------------------------------
From: drew@cs.colorado.edu (Drew Eckhardt)
Subject: Re: DOS emulator for Linux?
Date: 17 Mar 92 18:33:51 GMT
In article <1992Mar17.154025.8100@donau.et.tudelft.nl> wolff@liberator.et.tudelft.nl (Rogier Wolff) writes:
>hpa@casbah.acns.nwu.edu (H. Peter Anvin N9ITP) writes:
>
>>In article <097hpd=@lynx.unm.edu> of alt.os.linux,
>> techs@triton.unm.edu (Erik Fichtner) writes:
>>> This probably isn't a great question since Linux is a hackers OS and Messy-dog
>>> isn't, but are we ever likely to see a DOS emulator of some form running under
>>> Linux? The machine i'm playing with linux on in the wee hours of the night
>>> also runs a BBS system under MS-DOS by day. None of my other machines run
>>> MS-DOS, emulated or otherwise. I think Linux is an *excellent* hack..
>>> great work, Linus... keep up the good work... now if it only had a DOS
>>> emulator, I wouldn't be forced to play with it in the middle of the night.
>
>>HOW TO MAKE A SIMPLE DOS EMULATOR
>>=================================
>
>>Needed
>>------
>>1. A 386 or 486 computer
>>2. A real OS
>>3. MS-DOS
>>4. A hard disk
>>5. Time
>
>>Put the 386/486 in virtual 8086 mode. Trap all interrupts and I/O port
>>accesses. Catch the general protection fault to simulate the action of the
>>hardware. Initialize the memory segment allocated to this virtual system
>>to be the same as of DOS at boot time. Force a boot from a DOS partition
>>on the hard disk. Let run. Puke.
>
>Another approach may be to catch the int 21 and int 10 calls, and first
>emulate those. This will give you the ability to run "well-behaved"
>programs. Also screen access speeds will be better than under DOS!
>Also this would give you access to the linux filesystem.
>
That's not as easy. Int 21h is a fairly complicate routine. You want
to run real DOS for compatability, and emulate the underlying BIOS /
hardware.
>> /hpa
>>--
>>INTERNET: hpa@nwu.edu TALK: hpa@casbah.acns.nwu.edu
>>BITNET: HPA@NUACC HAM RADIO: N9ITP, SM4TKN
>>FIDONET: 1:115/989.4 NeXTMAIL: hpa@lenny.acns.nwu.edu
>>Ibland verkar det som jag tillh|r fel minoritetsgrupp...
>--
>If the opposite of "pro" is "con", what is the opposite of "progress"?
> (stolen from kadokev@iitvax ==? technews@iitmax.iit.edu)
>EMail: wolff@duteca.et.tudelft.nl ** Tel +31-15-783644 or +31-15-142371
------------------------------
From: drew@cs.colorado.edu (Drew Eckhardt)
Subject: Re: Source for setterm
Date: Tue, 17 Mar 1992 18:45:02 GMT
In article <9-9hwncaclark@netcom.com> aclark@netcom.com (Al Clark) writes:
>Can someone please let me know where the source of setterm is? I can't
>locate it on tsx-11. If it's part of a package, I haven't figured it out.
>
>Incidentally, I'd like to find source for wc, expr, and crypt.
wc can be found in the gnu textutils.
expr can be found in the gnu shellutils.
see prep.ai.mit.edu for the latest versions.
crypt can be found in the UFC sources, bundled with poe-igl.
setterm - check nic.funet.fi. It might be in the virtual console patches
for .12. It was posted to the mailing list - you could check the
archives.
------------------------------
From: drew@cs.colorado.edu (Drew Eckhardt)
Subject: setterm -dump doesn't work
Date: Tue, 17 Mar 1992 18:47:24 GMT
.12 kernel, .95 kernel. Do I have a bad version of setterm(),
or is there a kernel problem?
------------------------------
From: audit036@spacm1.spac.spc.com (David.L.)
Subject: linus under OS/2 boot manager ?
Date: 17 Mar 92 09:10:57 PST
Is it possible to install/run linus under OS/2 boot manager ?
If so .. how ? will a primary partition be needed ? will one be sufficient ?
will linus then boot ? how big is a minimal installation (i.e. partition) ?
--
----> david@chaos.spc.com OR audit036@spacm1.spac.spc.com
David L.
------------------------------
Subject: Is the keyboard fixed?
From: zuazaga@ucunix.san.uc.edu (Humberto Ortiz-Zuazaga)
Date: Tue, 17 Mar 92 19:36:41 GMT
I also have problems with the function and home, end, insert, ... keys
(not cursor keys though) not working in 0.95. Have these been fixed in
0.95a or is this a feature? If it's a feature, can someone post a list
of the new codes sent by the keys?
Confused,
--
Humberto Ortiz-Zuazaga INTERNET: zuazaga@ucunix.san.uc.edu
Dept. of Physiology & Biophysics BITNET: picone@ucbeh
University of Cincinnati CIS: 72301,2303
------------------------------
From: cummings@hammer.Prime.COM (Kevin Cummings)
Subject: Re: Need help creating a boot disk
Date: Tue, 17 Mar 1992 20:14:33 GMT
In article <1992Mar15.064233.15653@athena.mit.edu>, alsaggaf@ERL.MIT.EDU (Muhammad Saggaf) writes:
> In article <1992Mar15.042200.16669@ccu.umanitoba.ca>
> rahard@ee.umanitoba.ca (Budi Rahardjo) writes:
> >I've decided to try linux am having a problem creating a boot disk.
> >- downloaded rawrite.exe and bootimage (0.12 and 0.95)
> >- use rawrite to create boot disk, it say disk has 9 sectors
> > (I am using 360K disk on my XT to do this)
[unnecessary detail deleted]
> I did the same. In my case, when I booted up with the bootimage
> diskette in my 360K drive a, I got the mesaage: "Loading ..... ". The
> dots went on for a while and then nothing happened, I didn't even get
> the above CX ... etc. message. I have a 386sx-25 (AMD) with 2MB of
> RAM. Any help is greatly appreciated.
PLEASE, PLEASE, PLEASE read the documentation files folks!
From the INSTALL-0.12 file:
>READ THIS THROUGH, THEN READ INSTALL-0.11, AND IF YOU ARE SURE YOU KNOW
>WHAT YOU ARE DOING, CONTINUE. OTHERWISE, PANIC. OR WRITE ME FOR
>EXPLANATIONS. OR DO ANYTHING BUT INSTALL LINUX - IT'S VERY SIMPLE, BUT
>IF YOU DON'T KNOW WHAT YOU ARE DOING YOU'LL PROBABLY BE SORRY. I'D
>RATHER ANSWER A FEW UNNECESSARY MAILS THAN GET MAIL SAYING "YOU KILLED
>MY HARDDISK, BASTARD. I'M GOING TO FIND YOU, AND YOU'LL BE SORRY WHEN I
>DO".
And from the INSTALL-0.11 file:
>Linux-0.11 can easily be booted by getting the 2 files bootimage-0.11.Z
>and rootimage-0.11.Z from the linux archive, uncompressing them and
>writing them out to disks of the same size (ie 2 1.44M floppies or 2
>1.2M floppies). ^^^^^^^^^
Now, the rootimage-0.12.Z file is 1.2MB uncompressed. Pray tell how
do you get all of that onto one 360K floppy?!
Let's use some common sense. VERY few 386 systems these days come
with a floppy disk drive not capable of at least 1.2MB (otherwise
it is NOT an AT compatible).
From the INFO-SHEET file:
>3. HARDWARE REQUIRED
> - A 386 or 486 machine with an AT-bus. (EISA will probably work, also,
> but you will need an AT-bus hard disk controller.)
> Both DX and SX processors will work.
> - A hard disk implementing the standard AT hard disk interface--
> for example, an IDE drive. SCSI drives are not supported yet.
> - A high-density disk drive--either 5.25" (1.2MB) or 3.5" (1.44MB).
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> - At least 2 megabytes of RAM. (LINUX will boot in 2 Mb. To use
> gcc 4 MB is a good idea.)
> - Any video card of the following: Hercules,CGA,EGA,VGA
By the way, shouldn't the RAM requirement be a RAM + swap space requirement?
=================================================================
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: eonu24@castle.ed.ac.uk (I Reid)
Subject: Beginners Guide - news
Date: 17 Mar 92 19:17:30 GMT
ajh@gec-mrc.co.uk (GEC-Marconi Research Centre) writes:
>| Unfortunately, it looks like young Iain is going to have to jump
>| through various annoying bureaucratic hoops if he is to get
>| suggestions from the US (or perhaps any non-UK site)...
>| ... Perhaps there is someone in the UK
>| that does have authorization who can volunteer to forward mail?...
>well, I can receive mail from anywhere without problems, so feel free to send
>suggestions to me and I'll forward them to Iain.
Hang on a minute..... I must have missed something here! I have absolutely no
problems that I know of getting mail from anywhere so postings should come to
me (although I appreciate the offer).
I have put together the first part of the guide and will be posting it later
this evening. It covers the use of rawrite and fdisk in I hope full detail with
examples and other info and should be enough to let anyone test whether linux
will work for them. I need feedback on this please. Of great importance (and
still to be added) are possible sources of grief during start-up and possible
solutions so mail me with your experiences.
The guide looks as though it will be quite big when everything is covered so I
had a think about it and I propose splitting it into sections so that you have
for example a guide to installation (including shoelace etc), a guide to
getting and installing other software and a guide to basic system maintenance
(backups and things). Each one would contain the info on that topic plus common
problems and solutions. Any thoughts on this?
I will try and start on some partitioning and mkfs stuff
tonight when I repartition my HD (moving swap partition to swap file) but this
is bound to be big so don't hold your breath. I am planning to use edpart 'cos
that's what I've got so I hope this section will cover the following:
- basic ideas of partitions
- creating partitions using edpart (tell me about other progs please)
- Installing to HD
- Booting from floppy -> HD (word at 508 etc)
- Booting entirely from HD using Shoelace (yuck!) or some alternative (if
anyone has any)
- And of course, common problems.
I might also cover national keyboards here 'cos I suppose that's part of
installation too but I'm not sure.
Till later then,
Iain
------------------------------
** 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
******************************