HDTenEightyP/NetNews huggingface dataset:
From: julien@incal.inria.fr (Julien Maisonneuve)
Newsgroups: comp.os.linux
Subject: X11 woes again
Date: 26 Aug 92 16:45:12 GMT

I hate to post this, but has anyone had a similar problem with xterm ?

X11 works in 800x600 on my machine (I still have to find proper timings for
1024x768, anyone has that for clocks 25 28 64 36 ?).

I have a nice picture, almost everything works (xclock, xeyes, twm, x11perf,...)
but NOT xterm. It displays nothing, but I can hear considerable disk activity
while it loads, then nothing as it disappears silently. It's a real pain.

Yes I'm running as root (anyway xterm is suid root), yes my paths are right, no
there is no error message of any kind, yes the executables looks right...
-- 
  _________                    Julien.Maisonneuve@inria.fr  julien@sor.inria.fr
      /                 _ _ _                     ...!uunet!inria!corto!julien
     /     /)          ' ) ) )                    INRIA :  33 (1) 39 63 52 08
  __/_    // o _  __    / / / _   o _   _   __   __   _      _     _
 / / (_(_(/_(_(<_/) )  / ' (_(_(_(_/_)_(_)_/) )_/) )_(<_(_(_( \_)-(<_
(_/
From: thinman@netcom.com (Technically Sweet)
Newsgroups: comp.os.linux
Subject: Re: Gnu/MIT Scheme port?
Keywords: scheme gnu
Date: 1 Sep 92 17:50:19 GMT
Organization: International Foundation for Internal Freedom

mdw1@crux1.cit.cornell.edu (Matt Welsh) writes:

>I'm wondering if GNU/MIT scheme has been ported to Linux yet, and where 
>I can get the binaries or source. If it HASN'T been ported, I'm kinda
>desperate so I'll do it :) but I need to know where the i386/486 
>Scheme binaries are first. Any pointers would be greatly appreciated.

C-Scheme 7.2 has been ported to DOS, and has 386-mode
interactive compilation.  Porting this back to Unix
might be easy and might not.  It's not a 16-bit port,
it runs in native 32-bit mode and is compiled with
DJGPP, the 386-mode DOS port of GCC.

There are many other Scheme implementations, and
a few run fine under 386 Unix in interpretive mode.
FTP to nexus.yorku.ca:pub/scheme/scm and pull the
latest SCM and SLIB distributions.  SCM works
fine under most OS's.  

Lance Norskog
-- 

Lance Norskog

Data is not information is not knowledge is not wisdom.
From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
Newsgroups: comp.os.linux
Subject: Re: Suid/sgid
Date: 26 Aug 92 07:50:14 GMT
Organization: University of Helsinki

In article <1992Aug25.230907.10073@utstat.uucp> rafal@utstat.uucp (Rafal Kustra (summer student)) writes:
>Perhaps this should be posted to other group
>but I only have time to read this one + some local
>ones ;).
>OK, here is the beef.
>Either I don't understand the concept of suid/sgid
>(**very** possible) or there is something wrong.
>Say root creates a script like follows:
>	cat $*
>and sets it suid.
>Now normal user could cat any r--.....
>file with it, right?

You aren't misunderstanding the concepts, but suid only works on actual
binary executables, not shell (or any other kind of) scripts.  The
reasons are security, security and security.  It /may/ be possible to
make a suid shell script secure, but it's so easy to make them a
(non-obvious) security hazard that it's definitely a bad idea to allow
them.  So linux ignores the suid/sgid bits when executing scripts. 

		Linus
From: newbie@dylan.camb.inmet.com (Chris Newbold)
Newsgroups: comp.os.linux
Subject: LILO and extended partitions
Date: 27 Aug 92 14:33:55 GMT
Organization: Intermetrics, Inc.

I grabbed the new alpha version 4 of LILO off tsx the other day. I've been
trying to install it to boot Linux out of an extended _parition_ (i.e.
not an extended _filesystem_).

I have two SCSI drives /dev/sda and /dev/sdb. The first drive is all
Messy-LOSS, Windows, OS/2 and Windows NT. On the second drive, I have
two partitions: a primary 20mb DOS parition, and an 80mb extended parition
with three logical drives for Linux. They map as: 22mb /dev/sdb5 - root,
8mb /dev/sdb6 - swap, and 50mb /dev/sdb7 - usr.

When I ran "lilo -i boot.b /usr/src/0.97-pl1/Image" I got the message
"Could not install boot sector in extended parition 0x815". Why is this
happening? I thought LILO could boot extended paritions... I'm I just
being boneheaded and doing something wrong?


--

On another note, I just read a post (sorry, can't remember the author) about
problems with make and 0.97-pl2. I ran into this as well. mount seems to
work, but make breaks every so often. Sometimes running make without any
makefile to be found causes it to dump core. Odd.


-Chris


-- 
---- Chris Newbold ---- > "If you fool around with a thing for very long you <
   Intermetrics, Inc.	>  		  will screw it up."		     <
  Opinions and statements expressed are MINE and do NOT represent my employer
			newbie@inmet.camb.inmet.com
Newsgroups: comp.os.linux
From: c-amb@math.utah.edu (Mark B. Alston)
Subject: Re: xv for 2.2.2d ?
Date: Fri, 4 Sep 1992 00:07:25 GMT
Organization: Department of Mathematics, University of Utah

In article <67600@hydra.gatech.EDU> gt6698a@prism.gatech.EDU (Andrew Hobson) writes:

   Greets!

   Is there an xv that has been compiled without the setjmp or longjmp
   defined for X386 1.1 ?  The only copy I have been able to find so far
   tells me that setjmp and longjmp are undefined.

   Thanks for any help.


   Andrew Hobson

	I am currently running xv on Xv1.1.  The trick to compiling
X-apps for linux gcc2.2.2d is to not use 2.2.2d.  You must compile
X-apps with gcc2.2.2.  You can get the gcc2.2.2 files from disk-7 of
the SLS distribution.  Then compile xv with the -V 2.2.2 option and
everything should work smothly.  The important files from gcc2.2.2 are
the shared libs and setjmp.h.  put setjmp.h in
/usr/lib/gcc-lib/i386-linux/2.2.2/include/ 
	I believe that this is all that I had to do to compile xv.
Good luck!


--
--------------------------------------------------------
  Mark Alston        
  c-amb@math.utah.edu
       
"Never knew a decent man who liked mathematics."
			- Bonnie Abbzug-Sarvis
			  Hayduke Lives!
---------------------------------------------------------
Newsgroups: comp.os.linux
Subject: Re: Ethernet drivers
From: gnat@kauri.vuw.ac.nz (Nathan Torkington)
Date: Tue, 1 Sep 1992 07:14:08 GMT
Organization: Contract to CSC, Victoria Uni, Wellington, New Zealand

In article <#xdngk+@quantum.on.ca> aboyd@quantum.on.ca (Andrew Boyd) writes:

> Actually, the 503 is very similar to the wd (now smc) 8003 series of
> cards - both use the 8390 NIC.  If you folks already have a driver for 
> the 8003, you won't find it too big a job to support the 503 - just 
> different locate and init code.  The runtime code is identical.

Can I take this to mean that because the (almost undocumented) crynwr
source for the ne1000 MS-DOS packet driver does an include of
8390.inc, that implies that the ne1000 is also similar to the 8003?
If I can, then does this mean that "making" an ne1000 driver would be
similarly "simple"?

Nat (I tell ya, trying to work out the differences between the ne1000
and 8003e MS-DOS packet drivers, and the similarities between the
8003e MS-DOS packet driver and the 80[01]3 Linux device driver, and
then trying to change the Linux device driver to work with an ne1000
is *not* easy!)
Newsgroups: comp.os.linux
From: tytso@ATHENA.MIT.EDU (Theodore Ts'o)
Subject: Re: Patch to 0.97PL2 to reduce unnecessary compiles during a build
Reply-To: tytso@ATHENA.MIT.EDU (Theodore Ts'o)
Organization: The Internet
Date: Tue, 1 Sep 1992 17:20:53 GMT

   From: bob@cheetah.inmos.co.uk (Bob Green)
   Date: Tue, 1 Sep 1992 07:31:18 GMT

   wouldn't it be simpler to make use of the various targets defined in the
   Makefile ? I use

   make Image

   to do what you want, ie. just recompile the bits that have actually changed,
   and

   make

   to increment the version and rebuild everything. Works OK for me.

Yes, but I want the version number to increment each time I relink the
kernel, so I can distinguish between different versions of the kernel.
With my patches, the version number can get bumped each time, _and_ you
avoid unnecessarily recompiling files that don't need to be recompiled.
Those patches also include information about who built the kernel and on
which machine, which is useful if you're trying to figure out the
geneology of a particular kernel.

							- Ted


Newsgroups: comp.os.linux
From: derek@watson.ibm.com (Derek Lieber)
Subject: gcc compiler bug involving <linux/ctype.h>?
Date: Wed, 26 Aug 1992 02:08:45 GMT
Reply-To: derek@watson.ibm.com (Derek Lieber)
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center

The program below prints:
     1
     1
but should print:
     0
     1

-------------------bug.c-------------------------
#include <linux/ctype.h>
main()
   {
   printf("%d\n",  toupper('x') == toupper('y'));
   printf("%d\n",  toupper('x') == toupper('X'));
   }
-------------------------------------------------

The problem seems to be due to the toupper macro defined in <linux/ctype.h>.
The macro looks fine to me, but changing it from...

#define toupper(c)          (_ctmp=c,islower(_ctmp)?_ctmp-('a'-'A'):_ctmp)

to...

inline  toupper(c) { return (_ctmp=c,islower(_ctmp)?_ctmp-('a'-'A'):_ctmp); }

...makes the problem go away.

Is this a compiler bug? (I'm using gcc 2.2.2).

-- 
Derek Lieber
derek@watson.ibm.com
From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
Newsgroups: comp.os.linux
Subject: Swap files versus swap partitions
Date: 3 Sep 92 13:03:35 GMT
Organization: University of Helsinki

What reasons are there to prefer swap partitions instead of swap files? 
I have the impression that a partition may be a bit faster, but how much
is this?  5% or 50%?  As far as I have been able to figure out, there is
no other advantage, and the flexibility of swap files (_much_ easier to
change the size if you have to) means that perhaps it would be better to
use swap files by default, especially at the beginning and until one has
some experience of how much swap space one actually needs.  After that,
if the speed difference is big enough, one can change the partitioning
and create a swap partition that is big enough and not overly big (does
anybody really need 12 MB swap space on a 4 MB machine, or is it that
big just to be certain?).

--
Lars.Wirzenius@helsinki.fi
Newsgroups: comp.os.linux
From: Kevin W. Hammond <hammond@kwhpc.caseng.com>
Subject: File locations
Reply-To: hammond@kwhpc.caseng.com
Organization: The Internet
Date: Sun, 30 Aug 1992 16:40:45 GMT

Please forgive the abundance of file location questions lately...I've been
looking on tsx-11, but some stuff is not real obvious!!

Where is dd?

Actually, what might be best is this: is there a file that lists all of the
"standard" commands and/or packages for linux and their locations on the net?

-kwh-
-- 
Kevin W. Hammond
hammond@kwhpc.caseng.com

  CASE Engineering * 575 W. Madison #1601 * Chicago, IL 60661 * (312)902-2161
Newsgroups: comp.os.linux
From: satishc@microsoft.com (Satish Chittamuru)
Subject: Re: 16550A
Date: 25 Aug 92 02:11:42 GMT
Organization: Microsoft Corporation

In article <66623@hydra.gatech.EDU> gt0449a@prism.gatech.EDU (Rob Coleman) writes:
 > Does anyone else have problems with Linux not correctly "shutting down"
 > the 16550?  Ever since the kernel has supported a 16550, I have had to
 > hard reset the computer after running linux, or it seems that the
 > computer "forgets" that the port that contains the 16550, exists.  When I
 > soft reboot from linux (after doing a shutdown), the CMOS screen shows
 > one less serial port (in my case, None), and programs such as OS/2
 > refuse to install the COM drivers because they don't see the serial
 > port.  (I have no term program running under Linux at the time)

I have always had this problem. I usually just hard reboot if I need
to use the modem again. Would be nice if this could be fixed.

 > Rob Coleman ][ gt0449a@prism.gatech.edu        ][  "I think I'm going bald!"
 > Comp. Sci.  ][ Georgia Institute of Technology ][        -Rush/COS


-- 
Satish K. Chittamuru				satishc@microsoft.com
=====
Disclaimer: The opinions expressed herein, either stated or implied, are
solely my own and do not reflect Microsoft's views in any manner.
Newsgroups: comp.os.linux
From: bir7@leland.Stanford.EDU (Ross Biro)
Subject: Beta TCP/IP
Summary: kernel tcp/ip now in beta testing 
Keywords: beta buggy tcp/ip
Organization: DSG, Stanford University, CA 94305, USA
Date: Tue, 25 Aug 1992 23:38:06 GMT


At long last kernel tcp/ip is now ready for beta testing.

It is available at nic.funet.fi in Linux/kernel/NET and will soon
be available at tsx-11.mit.edu.

If you have not installed networking on a Unix box before, please find
someone who has before flooding the net with questions.

Currently only the Western Digital Ethercard Plus and compatibles
are supported (wd80[01]3 boards).  If you have a different ethernet
board you will either have to write your own driver or wait until
someone else does (There is someone who claims to be working on
drivers for many different ethernet boards.)  If you want slip
you will have to wait (There is a slip mailing list for people
interested in working on it.)

REMEBER ONLY THE WESTERN DIGITAL BOARDS ARE SUPPORTED.

Read the README file BEFORE attemptint to install anything.

You will need gcc 2.2.2d to compile programs which use inet sockets.

You will need the gcc 2.2.2 libs to run the programs which come with
the tcp/ip code.  

Currently all the clients and servers that come with the code are
buggy, and should be replaced as soon as possible.  Source code
is available from anywhere that has the berkeley net2 (or BIND) code.

ONLY TCP and UDP are supported.  Although there are provisions for two
other protocolos THEY ARE UNSUPPORTED AND WILL PROBABLY CRASH YOUR
MACHINE IF YOU USE THEM.

You may need 4 meg to run the tcp/ip code (At least with the SCSI code
compiled in.  There may be conflicts with the scsi code.)

The diffs are against .97 pl2 so you will need to have applied both
patches 1 and 2 to .97 inorder to apply the tcp/ip diffs.

The code is beta and has bugs, but most of the problems you will see
are in the clients and servers.  VERIFY THAT YOUR PROBLEM IS IN THE
KERNEL CODE BEFORE MAKING A BUG REPORT.  The best way to do this
is to write a small program which can repeat the bug.

Someone else will have to gather together and package new versions
of all the clients and servers once people have debugged them.

Now for some highlites

The code makes all other implementations of tcp/ip for pc's look
anemic.  FTP transfer rates of 200-300 Kbytes/second have been
reported by the alpha testers. (One person has reported peaks
of 500 Kbytes/second sending with ftp.) You mileage will vary.

For most user programs the socket interface is BSD compatible.

No NET2 code is in the kernel.   I did not even look at the NET2 code
while I was implementing this so the AT&T lawsuit against BSDI should
not have any affect on this code.

Named and the resolver are supported.

A machine can have multiple IP addresses and respond differently to each
one.



Newsgroups: comp.os.linux
From: d88-jwn@nada.kth.se (Johan W}hlin)
Subject: A working local News setup - someone please
Originator: d88-jwn@dront.nada.kth.se
Keywords: news, News
Reply-To: d88-jwn@nada.kth.se (Johan W}hlin)
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Wed, 26 Aug 1992 10:21:26 GMT

Would anyone care to help me setting up a local news system. What to put in
init files and such. I have tried installing c-news. It all compiled nicely
and when run does not put anything in the errorlog - alas it does not put
anything in the news system either .. 8{
tnx,
/Johan
Newsgroups: comp.os.linux
From: Kevin W. Hammond <hammond@kwhpc.caseng.com>
Subject: bash error
Reply-To: hammond@kwhpc.caseng.com
Organization: The Internet
Date: Sun, 30 Aug 1992 06:44:25 GMT

The command:

	/bin/sh ( (/bin/rmail user@node ; /bin/rm -f tmpfile) & ) < tmpfile

seems to delete tmpfile before using tmpfile as input.  This problem appeared
when I was rebuilding Elm under 0.97 and it tried to deliver mail.  All of the
mail would arrive with no message and minimal headers (those built by rmail).

Executing the same command (less /bin/sh) under the tcsh works as expected.

Is this a bug in bash?

-kwh-
---
Kevin W. Hammond
hammond@kwhpc.caseng.com

  CASE Engineering * 575 W. Madison #1601 * Chicago, IL 60661 * (312)902-2161
Newsgroups: comp.os.linux
From: ujlh@pool.info.sunyit.edu (James Henrickson)
Subject: Re: Kernel math emulation
Organization: State University of New York -- Institute of Technology
Date: Mon, 31 Aug 1992 16:20:22 GMT

In article <1992Aug29.060406.29069@athena.mit.edu> hammond@kwhpc.caseng.com (Kevin W. Hammond) writes:
>What exactly does the kernel's math emulation buy me?  Is it necessary if
>you *do not* have a coprocessor, or can it be left out entirely?
>
>-kwh-

Another coprocessor question:

I have a 386DX-33 and a 386SX-25.  Each have 8 MB of RAM.  When I can get 
TCP/IP to run X clients on other machines, I would like the SX to be the 
X server and run the clients on the DX.  I'm not familiar with the inner 
workings of X.  Would I be better off putting a coprocessor in the server 
machine or the client machine?

Please post replies here, if you are comfortable with doing so.  I'm hoping
that a discussion on this will enlighten other Linux X users as well.


-- 
Jim H.
*
* James L. Henrickson
* ujlh@sunyit.edu        "Some day I might have a real .signature!"
From: mirons@ccs.northeastern.edu (Michael A. Irons)
Newsgroups: comp.os.linux
Subject: Re: 0.97 patch 2 problems
Date: 26 Aug 92 01:09:03 GMT
Organization: Northeastern University, CCS Dept.


	Hi all;

   While were talking about mount, I've been having a problem with it from pl1.
I can't get it to mount my SCSI partition read only. It accepts the switch, but
still will let you write to it, and it tries to update accessed inodes, etc.

						Mike Irons


-- 
 --
                                  Mike Irons;
                       mirons@Dworkin.CCS.Nortehastern.EDU	(School)
                 mirons%minix1.uucp@MecEng.COE.Northeastern.EDU	(Home)
Newsgroups: comp.os.linux
From: jliddle@rs6000.cmp.ilstu.edu (Jean Liddle)
Subject: ghostscript/ghostview errors
Summary: "Dynamic memory exhausted." error messages, anyone know cause? 
Date: Thu, 27 Aug 1992 03:53:46 GMT
Organization: Illinois State University

Hi,

Both ghostview 1.3 and ghostscript 2.5 (from gatekeeper.3com.com) compiled
flawlessly under linux 0.97.1 and gcc 2.2.2.  (linux 0.97.1 was installed
over the SLS 0.96 installation).  When trying to display some files, such
as "cheq.ps", "chess.ps", and one of the linux logos, I get the message
"Dynamic memory exhausted." in my xconsol.  Does anyone know how to 
prevent this from happening?  Is there  a workaround or compilation 
option I may have overlooked?

The results from free are:

             total       used       free     shared
memory:       6872       6872          0       1748
swap:        20472       3684      16788

Does X treat RAM differently from swap memory?  With 16 MB of swap space
still free I can't imagine why this error would occur.

Many thanks in advance for any help!

Jean.
-- 
Jean Liddle                                 | == Bill Clinton for President ==
Computer Science, Illinois State University | 
e-mail:  jliddle@ilstu.edu                  | - Carol Mosley Braun for Senat -
From: liljeber@klaava.Helsinki.FI (Mika Pekka Liljeberg)
Newsgroups: comp.os.linux
Subject: Re: tcsh 6.02.00 patches for linux
Date: 25 Aug 92 18:00:12 GMT
Organization: Department of Computer Science, University of Helsinki, Finland

In article <1992Aug24.220806.13719@ERA.COM> ejb@ERA.COM (Jay Berkenbilt) wrote:
> 
> Hello.  Since I was starting to have withdrawal symptoms from
> completion on steroids and since I wanted a version of tcsh to
> run with the extended file system, I went ahead and ported tcsh
> 6.02 to linux.  The job was pretty easy thanks to all the work
> done toward the 6.01 port!  Anyway, since I don't have ftp
> access (I get linux via uucp from uunet), I'll just include my
> patches here in this posting.  These patches should apply to a
> vanilla 6.02.00 tcsh (no additional patches).  Since I don't
> have easy ftp access, I haven't been keeping up with the
> incremental releases...  The resulting sources should compile
> with gcc 2.2.2d.  I also changed _TCSH_TCSHELL from
> /usr/bin/tcsh to /bin/tcsh since it's kind of nice to have the
> shell on the root partition if you mount /usr...
> 
>                                 Jay Berkenbilt (ejb@ERA.COM)
>                                 Engineering Research Associates

[ patches deleted ]

Ugh. Please don't use these patches. 6.01 was poorly ported (my fault)
and this patch only adds more kludges on kludges (sorry). Rather, get the
(long since) ported version of tcsh 6.02 from any site that mirrored
good old banjo.concert.net. All you need to do for GCC 2.2.2d is to
comment out the emulated sigsetmask() from tc.sig.h and tc.sig.c.
I haven't made a new release, because the the change is so trivial.
Oh, there is also a little patch that fixes the signal list.
Btw, there are also new binaries floating around. Could someone
give a pointer to where these can be found?

I'd like to see proper support for locales, wait3() and/or wait4(),
before making a new release. This requires changes both in the kernel
and the libraries.

	Mika
--
Mika Liljeberg			Email:	liljeber@kruuna.Helsinki.FI
Helsinki University			Mika.Liljeberg@Helsinki.FI
Dept. of Computer Science
From: zlsiial@uts.mcc.ac.uk (A. V. Le Blanc)
Newsgroups: comp.os.linux
Subject: mirrors of nic.funet.fi (Re: DISASTER AT MIT!!!!!)
Date: 3 Sep 92 07:15:50 GMT
Reply-To: LeBlanc@mcc.ac.uk (A. V. Le Blanc)
Organization: Computing Centre, University of Manchester

In article <1835mpINNj7s@usenet.INS.CWRU.Edu> mal11@po.CWRU.Edu (Matthew A. Lewis) writes:
>If you have time, take a look a nic.funet.fi and the Linux directories.
>Everything is up to date there and there aren't any old FAQS or images
>laying around. Too bad it's so far away. We need a closer mirror.

In the README file for the nic.funet.fi archive, you may read that it is
mirrored at

     Germany:     tupac-amaru.informatik.rwth-aachen.de     /pub/Linux
     UK:          ftp.mcc.ac.uk                             /pub/linux/fi.mirror
     Australia:   kirk.bu.oz.au                             /pub/OS/Linux

at 1 day intervals.  It is nevertheless worth keeping an eye on tsx-11 if
you want many up-to-date bits before anyone else gets them!

     -- Owen
     LeBlanc@mcc.ac.uk
From: hammond@kwhpc.caseng.com (Kevin W. Hammond)
Newsgroups: comp.os.linux
Subject: Kernel math emulation
Date: 29 Aug 92 06:04:06 GMT
Reply-To: hammond@kwhpc.caseng.com (Kevin W. Hammond)
Organization: The Internet

What exactly does the kernel's math emulation buy me?  Is it necessary if
you *do not* have a coprocessor, or can it be left out entirely?

-kwh-

(Gotta admit, now that 0.97 is compiling, the world is a better place)
-- 
Kevin W. Hammond
hammond@kwhpc.caseng.com

  CASE Engineering * 575 W. Madison #1601 * Chicago, IL 60661 * (312)902-2161