HDTenEightyP/NetNews huggingface dataset:
From: asmith@cbnewsd.cb.att.com (arthur.c.smith)
Subject: Install-Help
Organization: AT&T
Distribution: na
Date: Mon, 27 Jul 1992 23:07:48 GMT

I am having trouble uncompressing linux. I appreciate any help.
I have managed to ftp to tsx-11.mit.edu and got boot-image0.96c.Z and
root-image0.96c.Z from the pub/linux/images dir. When I try to uncompress
boot-image0.96c.Z uncompress creates a file of size ulimit(2048K) and dies.
Root-image0.96c.Z reports an error after about 5k is uncompressed. I can
uncompress files that I compress. This is being done on a 3B2 and as far
as I know the uncompress is an AT&T version. Do I need a special version
to uncompress this files? Can anyone tell me where I can get either the
source or the binary for it? I looked in the FAQ but I don't seem to be
making it far enough to be a Q in the FAQ 8-( This is also the first
time I have posted so I hope this works....
                          Thanks,
                            Art  (asmith!nwsca@att.com)
Newsgroups: comp.os.linux
From: unixsys@ssg.com (Rick Emerson)
Subject: X11 and Genius (GM-6) mouse
Organization: System Support Group
Date: Tue, 21 Jul 1992 15:13:18 GMT

The good news is I finally got my mouse and X386 together.  I used /dev/ttys0
for COM1 and shazam!  

The bad news is mouse (the test program) seems to be hosed or at least
didn't report finding anything on ttys0.  I tried recompiling it and that
didn't help although the make worked fine.  I also tried both the
MouseSystems (with a Logitech mouse) and Logitech options.  No luck there,
either.

Although the main focus of this effort was bringing X386 up, I thought I'd
mention this, FWIW.

Rick


| Richard B. Emerson     | Replies may be sent to:                         |
| System Support Group   |         unixsys@ssg.com  -or-  rick@ssg.com     |
| Post Office Box 180    |-------------------------------------------------+
| Lansdale, PA 19446 USA |     "If I knew what I was doing,                |
| Voice: 215.855.1607    |      I wouldn't do it." - Me                    |
From: tj2n+@andrew.cmu.edu (Tao Jiang)
Newsgroups: comp.os.linux
Subject: Anyone compiled XDM?
Date: 25 Jul 92 10:52:07 GMT
Article-I.D.: andrew.0eQO=LW00j4jFQl0Qb
Organization: Doctoral student, Statistics, Carnegie Mellon, Pittsburgh, PA




Linuxers;

Did anyone successfully compile xdm for x11v1.1?  Any hints?

Thamks!




Tao   Jiang                     
E-mail:     tj2n@andrew.cmu.edu 
Snail Mail: 514 Cato St. Apt.#2,Pittsburgh,PA  15213
Newsgroups: comp.os.linux
From: doogie@garfield.catt.ncsu.edu (Jeff House)
Subject: Re: 0.96c + X + Logi :-(
Keywords: logitech, mouse, trackman, linux
Organization: Computer and Technologies Theme Program, NCSU, Raleigh
Date: Mon, 27 Jul 1992 03:50:07 GMT

In article <1992Jul25.054633.13264@midway.uchicago.edu> ace3@midway.uchicago.edu writes:
>My Trackman finally works!
>
>The steps:
>1. Install the X distribution (a wonderfully easy install, haven't
>had a chance to use yet though)
>
>2. cd /dev; ln /dev/ttys0 /dev/mouse
>
>3. goto the /usr/X11/tst/mouse directory
>
>4. ./mouse Microsoft /dev/mouse 
>go figure -- It's microsoft compatible, choosing Logitech gives 
>garbage

Hmm... I was able to get the above to work fine, when choosing logitech,
and I have a trac ball also (logitech serial), and had it installed on
/dev/ttys0.  I didn't get any garbage and all three buttons worked fine.
Just thought I'd throw that in.

-Doogie
Newsgroups: comp.os.linux
From: jgifford@attmail.com
Subject: DOS emulator writers!!:
Reply-To: jgifford@attmail.com
Organization: The Internet
Date: Thu, 23 Jul 1992 05:22:19 GMT

I understand that your work on the emulator was halted by a kernel upgrade.
This is really unfortunate.

I would be willing to try to revive it, if someone would mail it to me.

Please get in touch with me at: jim@raskol.attmail.com
Thanks,
Jim Gifford, PRC
jim@raskol.attmail.com
Newsgroups: comp.os.linux
From: arumble@extro.ucc.su.OZ.AU (Anthony Rumble)
Subject: Re: Termios question: Semantics of VMIN/VTIME on Linux/SunOS ?
Organization: Sydney University Computing Service, Sydney, NSW, Australia
Date: Tue, 21 Jul 1992 14:35:20 GMT

torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) writes:

>The way linux does this is (a) wait for at least one character (VMIN > 0
>and VTIME > 0), (b) read as many characters as possible, with a timeout
>of max 0.10 seconds between any of the first 5 characters.  Thus the
>read can return:

Errm.. Question.. Can you think of a possible USE of this?
It dosen't seem quite logical to do it this way, it would be
much more usefull to return on either 5 chars OR timeout regardless
on the first character.. 

>>I was under the impression that this should actually return on
>>either 5 characters recieved, or sizeof(buffer), or timeout..

>The only thing that I have that explains this all is the SunOS manpage,
>so I cannot actually guarantee the above behaviour by linux is correct. 
>Could somebody with the POSIX standard available actually check it out?

Well.. Reading my "POSIX programmers guide, I get the impression
that the correct behaviour is as I stated above, either 5 chars, or sizeof(buffer) or timeout..


-- 
Anthony Rumble
aka SmilieZ
"Anything is possible.. If there is enuf money in it"
From: jwinstea@jarthur.claremont.edu (Jim Winstead Jr.)
Newsgroups: comp.os.linux
Subject: Re: Spreadsheet for Linux
Date: 31 Jul 92 19:53:59 GMT
Organization: Harvey Mudd College, WIBSTR

In article <odiug.712589064@messua> odiug@messua.informatik.rwth-aachen.de (Guido Muesch) writes:
>There was a Spreadsheet program anounced in an X-windows group. Its called
>xspread and based on sc. You can get it from vernam.cs.uwm.edu. There is 
>only one problem with a switchstatement. I think I will fix that next week
>when I have time. 

The problem isn't just one switch statement - the macro they use for
control characters is completely braind-dead.  My fix was to use a
different macro for ctl(), and fix all the places that called catl()
to put single-quotes around the characters it's trying to pass.

The program won't compile because of this, which surprises me.  The
code is also extremely messy, with stuff commented out all over the
place.
-- 
                                    +    Jim Winstead Jr. (CSci '95)
                                    |            Harvey Mudd College
                                    | jwinstea@jarthur.Claremont.EDU
                                    + This is all my words.  Honest!
Newsgroups: comp.os.linux
From: mhbrekke@iastate.edu (Monty H. Brekke)
Subject: HELP!!!!
Organization: Iowa State University, Ames, IA
Date: Thu, 23 Jul 1992 07:43:33 GMT

I just installed 0.96c (without any of the patches), and from what I've seen
Linux looks like a very nice O.S. Congratulations to Linus and the rest of you
who have made this thing take off like this.

I am having a couple of small problems that I was hoping someone could answer.
The main problem is that I can't figure out how to transfer files from my 
MS-DOG filesystem to Linux. There must be a utility on the 96c distribution 
which will do this, but I can't figure out which one it is. There seems to 
be no other way of downloading files to Linux, since it doesn't ship with a
terminal program either. I'm sure I'm overlooking something, but I need your
help to figure out what it is.

The second problem is that when I shoutdown, a message appears about not
being able to umount /dev/hda2 (which is my root filesystem). Is this a
problem, or normal behavior.

Sorry if these are FAQ's, but I haven't seen a FAQ list posted to this 
newsgroup yet. I would like to get GCC installed so that I can upgrade to
0.96cpl2 and would greatly appreciate any help I can get.

One more thing. I will be developing S3 drivers for the Linux port of X11.
If anyone has any hints or tips on this development, please let me know.
I can get the driver docs from S3, which should help considerably. If
anyone else out there is working on these drivers, I would be willing to help
in any way I can.

Please email your response to the following address:

mhbrekke@iastate.edu

Thanks in advance, and keep up the good work everyone.

-Monty

-- 
Internet : mhbrekke@iastate.edu
From: doug@owl.isis.org (Douglas W Murray)
Newsgroups: comp.os.linux
Subject: Backing up to diskettes
Keywords: TAR
Date: Thu, 30 Jul 92 00:45:24 GMT
Organization: Quoi! me organized?

Hi all... Me again...

Has anyone been able to do a multivolume tar format backup to diskettes?
I tried it tonight but I wasnt at the end of the first diskette that 
TAR got to the /dev directory and hung there.  I presume that the hang
is due to the backup of the /dev files, but this didnt allow me to test
the multi-volume situation.

Could anyone enlighten me on how to go about in doing backups to t
diskettes (preferably with TAR) but I do think that (if memory serves
me right) only cpio is capable of backing up device files.

Any thoughts on this?

Doug!
From: woody@cs.utexas.edu (James Woodgate)
Newsgroups: comp.os.linux
Subject: Re: lp or something like it?
Date: 21 Jul 1992 13:47:08 -0500
Organization: CS Dept, University of Texas at Austin
NNTP-Posting-Host: priddy.cs.utexas.edu
Summary: Bash script

In article <kBN8NB4w165w@ssg.com> unixsys@ssg.com (Rick Emerson) writes:
>                    WARNING   Newbie question   WARNING
>
>Er, what print spoolers are available and/or distributed with mcc-interim?  
>
>Rick "tired of ALT-f4 login cd /home/base cp foo /dev/lp2" Emerson
>
I use a bash script, to print in the background:

#Bash script
cat < $1 > /dev/lp1 &

call this file lp, chmod +x lp, and use...
>lp foo

I had hoped to just have an alias for this, but bash wants
to execute $1, instead of just useing(sp???) it for a data file.

Another Newbie Question!! :D

How can I make this script a Bash Alias???


-- 
-----------------------------------------------------------------------
   -.sig temporarily under construction-

                                      Address: woody@cs.utexas.edu
From: fl0p+@andrew.cmu.edu (Frank T Lofaro)
Newsgroups: comp.os.linux
Subject: Re: Xphoon. Again.
Date: 23 Jul 92 18:47:43 GMT
Article-I.D.: andrew.wePqxDa00Voy4qNUZf
	<JUH.92Jul24000528@lazy.qt.IPA.FhG.de>
Organization: Freshman, Physics, Carnegie Mellon, Pittsburgh, PA

Excerpts from netnews.comp.os.linux: 23-Jul-92 Re: Xphoon. Again.
Juergen Henke@qt.IPA.FhG (965)

>Had no problems with xphoon. Just ifndef out the offending ioctl :-).
>Works fine (right at the moment !).

	I think the Linux/POSIX equivalent would be to do a setsid().
Newsgroups: comp.os.linux
From: doogie@garfield.catt.ncsu.edu (Jeff House)
Subject: cron?  Where is it?
Organization: Computer and Technologies Theme Program, NCSU, Raleigh
Date: Wed, 29 Jul 1992 00:12:04 GMT



Hi, all!

Where can I download the following from?  (I have poked around for
these, but have failed to find them...)

cron:
who:
write:
talk:
Newsgroups: comp.os.linux
From: nolan@helios.unl.edu (Michael Nolan)
Subject: lc and hd binaries uploaded to banjo.concert.com
Reply-To: nolan@helios.unl.edu
Organization: University of Nebraska - Lincoln
Date: 22 Jul 92 05:20:13 GMT

I have uploaded binaries for lc and hd to banjo.concert.com.

lc is Kent Landsfield's ls-like program, which sorts directories and files
into separate groups.  

hd is a hexdump program, like od but it gives hex and ascii side-by-side.

I didn't need to make any changes to the source, other than perhaps a few
minor Makefile parameters.  (It was almost *too* easy!)  Source and docs
are not included but they are readily available.  Compiled with GCC 2.2.2
on Linux 0.96c.
---
Michael Nolan
nolan@helios.unl.edu, nolan@tssi.com
From: lecom@slhp1.epfl.ch (Claude Lecommandeur)
Newsgroups: comp.os.linux
Subject: Re: Help -- SCSI, Future Domain TMC-950
Date: 21 Jul 92 07:34:14 GMT
Article-I.D.: sicsun.3345
Organization: Ecole Polytechnique Federale de Lausanne

In article <1992Jul20.183355.34976@uservx.plk.af.mil>, simonich@uservx.plk.af.mil writes:
|> I saw a message go by reciently about a patch to 
|> support the Future Domain SCSI card with the TMC-950
|> chip.  Does anyone know where I can find the patch?
|> 
|> Also, since I can't compile without a hard drive,
|> how about a boot.z file?
|> 
|> All help is appreciated.

  I'm not sure it's good or not, but i did just a few patch in scsi.c and seagate.c
and it works for me. (i have a SyQuest on my TMC-950).

in scsi.c :
-------------------------------------------------------
static void scan_scsis (void)
	{
        int host_nr , dev, lun, type, maxed;
	static unsigned char scsi_cmd [12];
	static unsigned char scsi_result [256];

        for (host_nr = 0; host_nr < MAX_SCSI_HOSTS; ++host_nr)
                if (scsi_hosts[host_nr].present)
			{
#ifdef FUTURE_DOMAIN_TMC_950
			for (dev = 0; dev < 6; ++dev)
#else
			for (dev = 0; dev < 7; ++dev)
#endif
				if (scsi_hosts[host_nr].this_id != dev)
                                #ifdef MULTI_LUN
				for (lun = 0; lun < 8; ++lun)
					{
				#else
-------------------------------------------------------
in seagate.c :
-------------------------------------------------------
	if (base_address)
		{
#ifdef FUTURE_DOMAIN_TMC_950
		st0x_cr_sr =(void *) (((unsigned char *) base_address) + 0x1c00); 
		st0x_dr = (void *) (((unsigned char *) base_address )+ 0x1e00);
#else
		st0x_cr_sr =(void *) (((unsigned char *) base_address) + 0x1a00); 
		st0x_dr = (void *) (((unsigned char *) base_address )+ 0x1c00);
#endif
		#ifdef DEBUG
			printk("ST0x detected. Base address = %x, cr = %x, dr = %x\n", base_address, st0x_cr_sr, st0x_dr);
		#endif
		return -1;
		}
	else
---------------------
	#if (DEBUG & PRINT_COMMAND)
		printk ("seagate_st0x_command, target = %d, command = ", target);
		for (i = 0; i < COMMAND_SIZE(((unsigned char *)cmnd)[0]); ++i)
			printk("%02x ",  ((unsigned char *) cmnd)[i]);
		printk("\n");
	#endif
	
#ifdef FUTURE_DOMAIN_TMC_950
	if (target > 5)
#else
	if (target > 6)
#endif
		return DID_BAD_TARGET;

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

    This is from Linux0.96bPl2. Of course you have to define FUTURE_DOMAIN_TMC_950
somewhere along with CONFIG_SCSI_SEAGATE.
    I know nothing of drivers and SCSI, so take this with care.

  Hope it helps.
-- 


                    Claude Lecommandeur
                    Service Informatique Central
                    Ecole Polytechnique Federale de Lausanne
                    1015 LAUSANNE (SWITZERLAND)
                    E-Mail : lecom@sic.epfl.ch
                    Tel : (41 21) 693-22-97
From: hazen@budoe.bu.edu (Eric Hazen)
Newsgroups: comp.os.linux
Subject: X11 v1.1 - twm won't start
Date: 26 Jul 92 01:32:54 GMT
Distribution: comp
Organization: Boston University Physics Department


Hi,
I just upgraded to 0.96c-pl2 + GCC 2.2.2 + X11 V1.1.
Much improved installation - kudos to all involved!

One problem... I can start the X server OK, and get an xterm, and the
mouse works.  I can't get twm to start, though.  If I run it from the
xterm, nothing happens (I can kill it with ^C).  If I reset the DISPLAY
var to something silly, it complains, so I know it's trying to run.
I've checked (I think) for silly mistakes like file permissions.
Everything worked fine under 0.96a / GCC 2.11c / X11 V1.0

Any Ideas?  Thanks for any help you can give.

Configuration:  386DX/16 / 8MB / Orchid pro-designer IIs
                0.96c-p2 compiled w/ gcc2.2.2c
		X11 v1.1 binaries from banjo

--

+----------------------------------------------------------------------+
|  Eric Hazen   hazen@buphy.bu.edu              Phone: 617/353-4117    |
|  Boston University Physics Dept                 Fax: 617/353-9393    |
|                                                                      |
|                    "O give me commentators plain,                    |
|              Who with no deep researches vex the brain" - Crabbe     |
+----------------------------------------------------------------------+
From: hlu@phys1.physics.wsu.edu (Hongjiu Lu)
Newsgroups: comp.os.linux
Subject: Re: yacc and lex
Date: 22 Jul 92 21:07:10 GMT
Organization: Washington State University

In article <1992Jul22.135605.12853@advtech.uswest.com>, mcain@copper (Michael Cain) writes:
|> In article <WEILER.92Jul21213719@crabapple.cis.ohio-state.edu> weiler@crabapple.cis.ohio-state.edu (Jerry Weiler) writes:
|> >In article <1992Jul21.164738.1@mcclb0.med.nyu.edu> ramirez@mcclb0.med.nyu.edu writes:
|> >
|> >> I would like to know if anybody has ported yacc and lex
|> >> over to linux. If yes, please let me know where I can find it.
|> >
|> >You should use bison and flex. bison is the GNU replacement for yacc
|> >and flex is the GNU replacement for lex. They're faster, more flexible
|> >and all around better. Bison and flex should be able to handle any
|> >grammer yacc and lex do (any well written one, that is)
|> 
|> Flex does have one significant handicap when compared to lex: in lex,
|> the default i/o functions are actually macros, which can be #undef'ed
|> and replaced with real functions of the same name that can get input
|> from anywhere; flex has real functions that insist on reading from
|> files, and trying to replace these is semi-major surgery...
|> 

Did the FSF just release a new flex? I used flex 2.3.7. I did this
---------
#undef ECHO
#define ECHO    cout.put ((char *) yytext, yyleng)

#undef YY_INPUT(buf,result,max_size)
#define YY_INPUT(buf,result,max_size) \
  {char c; cin.get (c); result = (cin.eof ()) ? YY_NULL : (buf[0] = c, 1);}
---------

As you can see, that was for C++. But the story is the same. I haven't found
what I couln't do with flex. Sometimes, you just have to read those docs.
BTW, I ran it with flex -I for interactive use.


|> I regularly seem to want to parse stuff and don't want to let the
|> analyzer built by flex handle my low-level file i/o...
|> 

I think you can do that with flex 2.3.7. Check those docs.

|> Mike Cain
|> U S WEST Advanced Technologies
|> mcain@advtech.uswest.com

-- 
H.J.
Gcc/libc maintainer for Linux.
Newsgroups: comp.os.linux
From: jem@niksula.hut.fi (Johan Myreen)
Subject: Re: tlA: /bin/arch solved.
Organization: Helsinki University of Technology, Finland
Date: 26 Jul 92 21:50:36

In article <bjl.711923672@freyr> bjl@loki.pttrnl.nl (Ben Lippolt) writes:

>Is there a way to distinguish between a 386 and a 486? I have a 486,
>but 'uname -m' says 'i386'. But when I compile with 'gcc -m486' I'll
>get code which doesn't run on a 386.

Are you sure about that? I was under the impression that -m486 only
optimizes for a 486, but the code should run fine on a 386 (but a
little slower, of course,)

--
Johan Myreen
jem@cs.hut.fi
Newsgroups: comp.os.linux
From: drew@caesar.cs.colorado.edu (Drew Eckhardt)
Subject: Re: Help with 0.96c pl 2 Compile Please
Organization: University of Colorado at Boulder
Date: Mon, 27 Jul 1992 23:06:47 GMT

In article <1992Jul27.222222.29638@sura.net> vargish@sura.net (Nick Vargish) writes:
>It's me again... I'd like to thank everyone who helped with my previous
>slew of questions (you know who you are!). I have a couple more, of course,
>mostly relating to rebuilding kernels.
>
>1. pl2 won't compile "out-of-the-box" (the box being the file on banjo in

Works fine for me.  Try removing the /usr/src/linux (or whatever) 
directory, unarchiving it, and when you build it, capture ALL 
error messages - I use

make 2>&1 | tee errors 

so that I have a record of all errors and still have a copy in the 
window for immediate perusal.

>2. Currently I have a file called "vmlinux.96c+" in my root directory.
>   /etc/config points to this... is this the kernel? How is it related

Yes.

>   to /usr/src/linux/Image. And if I built a new Image yesterday (before

Same format as /usr/src/linux/Image.

>   unpacking pl-2) should I "cp /usr/src/linux/Image /vmlinux.96c+"?
>

No.  If there is some bug you didn't notice in the kernel, you
nolonger have a working system, and must boot from floppy disk.
Instead, keep the old /vmlinux, put the new one under / as a different
file, and make /etc/config point at it instead.

My root directory has files in it 
/vmunix
/vmunix.bak
/vmunix.<last know totally bug free version>

Where /vmunix is the "current" version of the kernel, /vmunix.bak the
exact same file, and the other bootable kernel some other known working
version.


>   Will getting the right kernel image loaded (please help me do this!)
>   fix the $%@! problems with the ps96b package? Remember, I can't build
>   the kernal now without fixing problem (1), but I did successfully do
>   so yesterday. I may not be loading the kernel I made yesterday, though.

Yes. ps -U uses the /usr/src/linux/tools/system file, if the one 
you are booting doesn't match this, then ps looks in the wrong place 
for important things..

Newsgroups: comp.os.linux
From: janl@ifi.uio.no (Jan Nicolai Langfeldt)
Subject: Re: problems with who and w
Organization: Folkeaksjonen for (tungt) eple cider p} Inf. stua
Date: Tue, 21 Jul 1992 22:39:16 GMT
Originator: janl@maud.ifi.uio.no


In article <1992Jul20.170722.1@mcclb0.med.nyu.edu>, ramirez@mcclb0.med.nyu.edu writes:
> 	I am having a problem with who and w.  It is telling me that there are
> two users when there is only one.  It also says under the tty entry that the
> user is connected to ttyp1.  I've reset the machine and that user is still
> there.  Is there anything that I can do to get it off?

This seems to be ripe for adding to the faq.

The problem comes from a earlier improper logout (crash?), that left
the /etc/[uw]tmp files unupdated. I haven't seen (can't remember) a
better solutions so I offer this one: login as root, then type 'cd
/etc;', then 'rm [uw]tmp; touch [uw]tmp', then logout. The [wu]tmp
files are now empty, and when you login again 'w' and 'who' will
report the right number of users.

Nicolai
-- 
Nicolai Langfeldt, "Bugs made while you wait"             
Internet: janl@ifi.uio.no

Newsgroups: comp.os.linux
From: bairstow@copland.psu.edu (Steven Bairstow)
Subject: Re: Logging as root....bad idea?
Organization: Penn State University
Date: Sat, 25 Jul 92 18:05:42 GMT

In article <1992Jul23.231007.19451@colorado.edu> drew@ophelia.cs.colorado.edu (Drew Eckhardt) writes:
>
>> 	[I was wondering how I could erase other's files.]
>
>1.  Check the permissions on the directory.  If it is writeable to you,
>	but not sticky (bit 1000), you will be able to delete things 
>	in it.  /tmp, /usr/tmp, /usr/preserve, and any other world 
>	writeable directories should be sticky too.
>
>2.  What is your UID?  Under bash, the UID shell variable will be set.
>	If you have a second entry in the password file with UID 
>	0, that will be treated as root too.
>	 

The first paragraph says it all. I hadn't thought that you are changing the 
directory not really changing the file. Many have pointed this out; I've 
stopped replying to mail.
From: tdunbar@vttcf.cc.vt.edu (Thomas Dunbar)
Newsgroups: comp.os.linux
Subject: Re: olvwm
Date: 29 Jul 92 14:59:45 GMT
Organization: Virginia Tech, Blacksburg, VA


> olvwm binary just doesnt work
  correct; it only works on my machine because i have an old lib 
(lib92.04.06) from a previous mcc-interim package hanging around in /lib