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:     Wed, 14 Oct 92 19:15:22 EDT
Subject:  Linux-Activists Digest #344

Linux-Activists Digest #344, Volume #3           Wed, 14 Oct 92 19:15:22 EDT

Contents:
  Re: Video cards for linux (David L Wilson)
  PATCH: ghostview 1.4 (Daniel AMP Carosone)
  Standard Speed/Length RS-232 Cable Limits (rick@ee.uwm.edu)
  Re: ANSWER: (Re: GCC report segmentation fault and dump core.) (william E Davidsen)
  Re: twm hangs machine under 97pl6 and XFree86-1.1 HELP! (Anthony Rumble)
  Re: Dial-up line limit? (Anthony Rumble)
  Re: DOS emulation in Linux (Michael O'Reilly)
  Multiple sessions across a modem line. (Michael O'Reilly)
  Re: Ghostscript (Michael O'Reilly)
  Re: Linux.. (Michael O'Reilly)
  X and TCP/IP: Problems (Peter Chubb)
  Re: Use of zip instead of compress (Rick "The Compression Crusader" Miller)
  At last: the media woke up (Bram)

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

From: dlwilson@fenix.encore.com (David L Wilson)
Subject: Re: Video cards for linux
Date: 9 Oct 92 18:06:42 GMT

Are there any PC hardware hackers who can comment on what it would take to
put *two* VGA displays on a PC?  I believe all (or nearly all) the software
is there to support dual screen X, if only there were a second display to
write to.

Dave Wilson
--
    "Reality is a sandwich that I did not order." - Zippy

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

From: danielce@mullian.ee.mu.OZ.AU (Daniel AMP Carosone)
Subject: PATCH: ghostview 1.4
Date: Wed, 14 Oct 1992 10:01:55 GMT

For those who want it, here are the patches necessary to get the new
ghostview to compile under linux, with shared libs. They're trivial,
but the one in ps.c is interesting - I had to rename a function
because it clashed with a macro defined in ctype.h. This function is
new, ghostview 1.3 didn't need this change.

These are made for my system, and so include a -m486 in the Makefile,
take that out if you don't want it.

These are really just to save you some editing, or for those who like
things to `just work'. I'll mention to the author about the name clash
in ps.c - I have to send him some mail about getting it to run
properly on another platform anyway.

Ghostscript 2.5.2 compiles `out of the box' with no work at all.

--- ps.c~       Thu Oct  1 08:01:34 1992
+++ ps.c        Wed Oct 14 18:41:40 1992
@@ -69,7 +69,7 @@
 static char *readline();
 static char *gettextline();
 static char *gettext();
-static int  isblank();
+static int  isblankline(char *);
 
 /*
  *     psscan -- scan the PostScript file for document structuring comments.
@@ -510,7 +510,7 @@
 
     /* Optional Preview comments for encapsulated PostScript files */ 
 
-    while (isblank(line) &&
+    while (isblankline(line) &&
           readline(line, sizeof line, file, &position, &line_len)) {
     }
 
@@ -530,7 +530,7 @@
 
     /* Page Defaults for Version 3.0 files */
 
-    while (isblank(line) &&
+    while (isblankline(line) &&
           readline(line, sizeof line, file, &position, &line_len)) {
     }
 
@@ -599,7 +599,7 @@
 
     /* Document Prolog */
 
-    while (isblank(line) &&
+    while (isblankline(line) &&
           readline(line, sizeof line, file, &position, &line_len)) {
     }
 
@@ -629,7 +629,7 @@
 
     /* Document Setup,  Page Defaults found here for Version 2 files */
 
-    while (isblank(line) &&
+    while (isblankline(line) &&
           readline(line, sizeof line, file, &position, &line_len)) {
     }
 
@@ -709,7 +709,7 @@
 
     /* Individual Pages */
 
-    while (isblank(line) &&
+    while (isblankline(line) &&
           readline(line, sizeof line, file, &position, &line_len)) {
     }
 
@@ -1337,11 +1337,11 @@
 }
 
 /*
- *     isblank -- determine whether the line contains nothing but whitespace.
+ *     isblankline -- determine whether the line contains nothing but whitespace.
  */
 
 static int
-isblank(line)
+isblankline(line)
     char *line;
 {
     while (*line == ' ' || *line == '\t') line++;
--- SelFile.c~  Thu Apr 16 00:15:45 1992
+++ SelFile.c   Wed Oct 14 18:42:28 1992
@@ -46,7 +46,7 @@
 /* BSD 4.3 errno.h does not declare errno */
 extern int errno;
 extern int sys_nerr;
-extern char *sys_errlist[];
+/* extern char *sys_errlist[]; */
 
 #include <sys/param.h>
 #include <X11/cursorfont.h>
--- misc.c~     Sun Oct 11 06:08:38 1992
+++ misc.c      Wed Oct 14 18:31:29 1992
@@ -61,7 +61,7 @@
 #include <perror.h>
 #else
 extern int sys_nerr;
-extern char *sys_errlist[];
+/* extern char *sys_errlist[]; */
 #endif
 
 #include "Ghostview.h"
--- Makefile~   Tue Sep 22 10:32:27 1992
+++ Makefile    Wed Oct 14 18:29:59 1992
@@ -46,7 +46,7 @@
                AS = as
 
          COMPRESS = compress
-              CPP = /lib/cpp $(STD_CPP_DEFINES)
+              CPP = gcc -E $(STD_CPP_DEFINES)
     PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
           INSTALL = install
                LD = ld
@@ -89,8 +89,8 @@
 
      TOP_INCLUDES = -I$(INCROOT)
 
-      CDEBUGFLAGS = -O
-        CCOPTIONS =
+      CDEBUGFLAGS = -O2
+        CCOPTIONS = -pipe -m486
 
       ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
        ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
@@ -124,7 +124,7 @@
 # X Window System make variables; this need to be coordinated with rules
 
           PATHSEP = /
-        USRLIBDIR = /usr/lib
+        USRLIBDIR = /usr/X386/lib/jump
            BINDIR = /usr/bin
           INCROOT = /usr/include
      BUILDINCROOT = $(TOP)


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

From: rick@ee.uwm.edu
Subject: Standard Speed/Length RS-232 Cable Limits
Date: 14 Oct 1992 18:12:51 GMT

michaelw@mcshh.Hanse.DE (Michael Will) writes:
>I want to place my 386-machine running linux 0.98 in the cellar, since
>it is rather loud (harddrives, fan) and I do not need graphics at the
>moment.
>
>The cable for rs232 should not be longer than 12meters, right?
>
>Alas, I need it longer. I'd say it is about 20meters.   [...]

Here's the 'official' numbers (according to Cisco's router inst. guide):

--- begin --- Quote of Cisco's "IGS Hardware and Installation Reference"

Console Cable Considerations
        When setting up your system, consider electromagnetic interference
        and, when using RS-232 connections, distance limitations

Distance Limitations
        As with all signaling systems, RS-232 can travel a limited
        distance at any given bit rate; generally, the slowere the
        data rate, the greater the distance.  Table 2-1 shows the
        standard relationship between bit rate and distance.

        Table 2-1       RS-232 Speed Versus Distance

        Data Rate       Distance (Feet)         Distance (Meters)
        ---------------------------------------------------------
        2400            200                     60
        4800            100                     30
        9600            50                      15
        19200           25                      7.6
        38400           12                      3.7

=======================================================================
NOTE:   RS-232 is often used in violation of these specifications.
        If you understand the electrical problems that can arise
        and can compensate for them, you might be able to get good
        results at distances far greater than those shown in Table 2-1;
        however, do so at your own risk.

--- end --- Quote of Cisco's "IGS Hardware and Installation Reference"

Remember, these distances are the RS-232 specification *requirements*.
Your devices' serial line drivers may *already* exceed them.  (Also
remember that *both* serial line drivers must in some way exceed this
requirement for communication in both directions.)

Since Michael wanted 9600 at 20 Meters, he just may be able to get it
with no additional hardware, since it's practically guaranteed out to
15 Meters.  Just remember to use well-shielded cable, running in fairly
straight lines, and being as short as possible without physical strain.

As an alternative, I'm sure there are commercially available line-drivers
for this purpose... though it would be a fairly simple do-it-yourself job.
---
It has been justly observed that ignorance is preferable to error.N.Webster
Rick Miller   <rick@ee.uwm.edu> | <rick@discus.mil.wi.us>   Ricxjo Muelisto
Occupation:  Husband, Father, WEPCo. WAN Mgr., Discus Sys0p, and  Linux fan

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

From: davidsen@ariel.crd.GE.COM (william E Davidsen)
Subject: Re: ANSWER: (Re: GCC report segmentation fault and dump core.)
Date: 14 Oct 92 18:11:43 GMT
Reply-To: davidsen@crd.ge.com (bill davidsen)

In article <1992Oct12.154350.17599@bnr.ca>, minyard@crchh453.bnr.ca (Corey Minyard) writes:

| True, but zoo is better.  It has a high-compression rate, individual file
| munging recovery, and it supports directory hierarchies.

  If your zip doesn't support file hierarchies you have a relic. I like
zoo, my name is on a lot of stuff in it, and I'm the author of the
user's guide. But zip is significantly faster and produces marginally
better compression, and is far more popular in spite of the ghastly user
interface. Zip and unzip are separate programs, written by separate
groups, with separate options, and it really shows, I plead guilty to
having been in both of them, too.

  I use zoo personally, too, because versions are really useful (and I
have a munged version which is a lot faster than the production
release). But the world has gone with zip and I'm not going to waste
time fighting it, particularly since Rahul is doing other things and
isn't actively releasing new zoo versions, even incorporating
enhancements people send him.

| And a technical reason why we won't:
| 
|     1. zip and zoo do not support file modes, owners, or groups.

  Archives of individual package sources don't need this, and won't have
it unless you extract as root, anyway. And zoo/zip'd tar files are
seriously smaller than compressed tars. Hell, freeze is better than
compress, and essentially a drop in replacement. People don't use that
much, either.
-- 
bill davidsen, GE Corp. R&D Center; Box 8; Schenectady NY 12345
    Keyboard controller has been disabled, press F1 to continue.

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

From: arumble@extro.ucc.su.OZ.AU (Anthony Rumble)
Subject: Re: twm hangs machine under 97pl6 and XFree86-1.1 HELP!
Date: Wed, 14 Oct 1992 12:16:54 GMT

charlto@ccu.umanitoba.ca (Michael Charlton) writes:

>Hello.  I'm running linux version 0.97 patch level 6 (patched
>from mcc-interim 97pl2) on a 33Mhz 486 with 16M of memory.  I just
>installed XFree86-1.1 and have gotten to the point where it will come
>up with an xterm (mouse works fine as well).  All the executables run
>except for twm and xtetris (x11emacs hangs the system as well).  As soon
>as I try to run twm, xtetris or x11emacs, the system hangs (locks up
>really good -- have to press the reset button).  I have the 4.1 jumptable
>libraries installed as well (although I haven't gotten around to upgrading
>my gcc to that yet).

twm works for me, but I can't get xtetris to work.. although it
doesn't hang my system..

Haveint tried X11emacs..

Anthony
-- 
Anthony Rumble
aka SmilieZ
"Anything is possible.. If there is enuf money in it"

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

From: arumble@extro.ucc.su.OZ.AU (Anthony Rumble)
Subject: Re: Dial-up line limit?
Date: Wed, 14 Oct 1992 12:14:21 GMT

rick@ee.uwm.edu (Rick Miller) writes:

>phanson@well.sf.ca.us writes:
>> [...] Anyway, he would like to have a system that supports in the
>>neighborhood of 50-60 users per machine, most connecting to the host
>>via dialup ports.  The first obvious question is how many simultaneous
>>users is Linux capable of supporting?  Does anyone know of any
>>multi-serial port cards capable of handling that many connections at
>>the same time?  [...]
>>                                  Pete Hanson

>I've been wondering something similar myself...

>The most serial ports I've seen on any i80[2|3|4]86 has been *FOUR*.
>How would one go about connecting more than four dial-up lines?
>...and what's the limiting factor for Linux (other than load)?

There are certainly larger cards than that.. 
Ive seen systems with 16 ports..

If you had something like a Digiboard 8i/8e card, performance
would be pretty good because the serial handling is actually
on the Card, NOT the CPU.. It has it's own processor and memory.

BUT.. you would have to write a driver for it, but looking at the
very good docos that came with the card, would not be hard for
someone who is good at Kernel hacking..
-- 
Anthony Rumble
aka SmilieZ
"Anything is possible.. If there is enuf money in it"

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

From: oreillym@tartarus.uwa.edu.au (Michael O'Reilly)
Subject: Re: DOS emulation in Linux
Date: 14 Oct 1992 23:14:08 +0800

UMCC Fido-Net Liaison (uufido@ccu.umanitoba.ca) wrote:
: Did I hear right?  Is there a n MD-DOS emulation package that'll run under
: Linux?  If so, where can I ftp it?  Right now, I've squeezed DOS and Linux
: on an 85 meg hard drive (65 for DOS and 25 for Linux), but if I can get an
: emulator going I might be able to trash some of the junk in DOS and run
: the important stuff (Lotus and Word Perfect) under emulation.

Try tsx-11.mit.edu:/pub/linux/ALPHA/dosemu/*

Be warned that it is VERY alpha. If you want anything more than text
mode, then you will be out of luck. Of course, if you want to improve
it, I am sure the author won't mind TOO much. :)
 
: At least I'd like to have a look-see at it.
: TIA for any help.
: Chris
Michael

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

From: oreillym@tartarus.uwa.edu.au (Michael O'Reilly)
Subject: Multiple sessions across a modem line.
Date: 14 Oct 1992 23:14:19 +0800


I have written a  program that now works most of the time that lets me
run multiple shells across a modem, uploading/downloading at the same
time. It is doesn't use the SL/IP protocol, so it is MUCH more
efficient (overhead if typically < 4% as compared to raw data).
Response time is hopefully better too. Response time while downloading
leaves a bit to be desired (can get as bad at 2 seconds over 2400
baud) but I will trying to improve it.

It grew out of frustration at the speed of reading stuff at 2400 baud,
getting very annoyed at line noise, and a uni that doesn't allow SL/IP
connections over it's dialups. :)

As I have 2400 baud modem, it does compression (which can be turned
off), and error-correction (which can't ). 

If you have a mind to, you can run X-windows across it as well.


It is available from 
        tartarus.uwa.edu.au:/pub/oreillym/term061.tar.Z

If it works, let me know. (and what machine it worked on).

If it doesn't, let me know, and I will see what I can do to help.

If you think it should be improved, please do so :)


Michael





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

From: oreillym@tartarus.uwa.edu.au (Michael O'Reilly)
Subject: Re: Ghostscript
Date: 14 Oct 1992 23:14:02 +0800

Johannes Grosen (grosen@isc.cs.ndsu.nodak.edu) wrote:
: 
: I'm looking for sources/binary for a recent version of ghostscript.
: Can you point me in the right direction?

The GNU ghostscript compiles straight out of the box. I don't remember
making any changes to get it to compile.

Try prep.ai.mit.edu for ghostscript. There will probly be somewhere
closer..


 
: Thanks!
: Johannes Grosen
Michael


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

From: oreillym@tartarus.uwa.edu.au (Michael O'Reilly)
Subject: Re: Linux..
Date: 14 Oct 1992 23:14:14 +0800

bywater_r@kosmos.wcc.govt.nz wrote:
: Having just set-up the basic floppy of Linux, I am very impressed.  However,
: I do have some questions..
: 
: (a) How much disk space do all the partitions generally need for the basics 
: (very basic in fact)

Well, I started of with an 8 meg partition. That had a compiler and
precious little else. :) Think about 3 megs for utils, about 5 for the
compiler, about 13-14 for x-windows. Add at least 2 for temporary files.
Add about 2-3 megs for any major packages (ghostscript, TeX etc)

: (b) Is it possible to run remote users with Linux (eg across a null modem
: cable)?

Linux is a fully multi-user O/S. You can run multiple users. 

: (c) I see it is using EGAc mode - Is it possible to get it to use VGA mode?

The 'EGAc' message is printed by the kernel simply to indicate that it
worked out your video card was at least EGA and that it has colour.

It will offer to let your use any VGA or SVGA text modes you have
(supports a LOT of cards). X-windows is a slightly different matter.

: That's all the questions so far..I'll no doubt have more as time passes..But
: very good...

Michael


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

From: peterc@suite.sw.oz.au (Peter Chubb)
Subject: X and TCP/IP: Problems
Date: Tue, 13 Oct 92 22:42:50 GMT


I've recently installed Xfree386 1.1, and am running Linux 0.98pl1
with TCP/IP.  I have a Tseng labs et4000, and a WD8003 installed.

Whenever I startx, I start getting messages like:
        malloc called with impossibly large argument (65538)
        dev_rint: Dropping packets due to lack of memory
and soon afterward the machine dies. (i.e., no response to anything at
all).

Does anyone have any idea what the problem is, and how to fix it?


                        Regards,

                                - Peter Chubb

Softway Pty Ltd, P.O. Box 305, Strawberry Hills, NSW 2012, AUSTRALIA
Phone: +61 2 698 2322;       Fax: +61 2 699 9174;     Telex: AA27987
Internet: peterc@softway.oz.au     UUCP: ...!uunet!softway.oz!peterc


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

From: rick@ee.uwm.edu (Rick "The Compression Crusader" Miller)
Subject: Re: Use of zip instead of compress
Date: 14 Oct 1992 18:43:27 GMT

Okay, it has come up again.  The "Gosh!  There sure is a *difference*!!"
compression algorithm debate.  I'll just add my 'too sense' up front...

[un]compress    Pro:  This is (currently) the de-facto UNIX *STANDARD*.
                      Hey, it's not bad... it's just not that great.
                Con:  Only does one file.  Archiving requires 'tar'.

[un]zip         Pro:  Good compression (better than 'compress').
                      Archives multiple files/directories into one file.
                Con:  <GUILT MODE ON> Phil Katz (the "PK" of PKWare) won't
                        be making any money by this use of his invention. 
                ???:  This is somewhat of a DOS standard. (Pro?/Con? :-)

lha             Pro:  Very good compression (better than 'zip').
(*not* 'lharc')       Archives multiple files/directories into one file.
                      Placed in the public domain freely by the author.
                Con:  The original 'man' page is in Japanese.  (Though
                        every distribution I've seen includes enough
                        documentation in decent English to compensate.)

You choose.
---
It has been justly observed that ignorance is preferable to error.N.Webster
Rick Miller   <rick@ee.uwm.edu> | <rick@discus.mil.wi.us>   Ricxjo Muelisto
Occupation:  Husband, Father, WEPCo. WAN Mgr., Discus Sys0p, and  Linux fan

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

From: stolk@fwi.uva.nl (Bram)
Subject: At last: the media woke up
Date: Wed, 14 Oct 1992 18:16:22 GMT

Hi,


The last few months, I was a bit annoyed about the little attention
that Linux got in the world computer press.
I really couldnt figure out why the world media could not see that
Linux was so much better than all that commercial junk.

When BYTE did an article on UNIX, all they could mention was
Windows NT, and inferiour Unices that couldnt even do X11.
It just makes ya wanna scream out: wake up, dimwits.

To my knoledge there had been only one publication on Linux.
That was in 'iX', a german mag. (rather 'cult'ish, with few readers.)

However, in the November issue of another german mag. C'T, there is
an article on Linux. C'T is a very popular magazine of high scientific
quality, and available all over Europe. The article was pretty
possitive on Linux (as to be expected... kinda hard to write an
article that puts Linux down).

I wonder if there has been an American magazine who did an article on
Linux yet. I myself am Dutch, and I am pretty sure the first article
on Linux in a Dutch mag. will only happen in five years or so.
(Dutch computer magazines really suck, and are very backward).

Then again, it makes ya wonder if Linux would be better off, when
exposed to the world at large. The cult-like Linux community probably
has its advantages, but every time I read some retarted journalist's
junk about Windows NT being the OS of the future I can't help thinking:
'Boy, U R wrong'.

        Take care,

                Bram Stolk

+-------------------------------------+------------------------------------+
| "Flying is a nack... the trick is   |  Bram Stolk (stolk@fwi.uva.nl)     |
|  to throw yourself at the ground,   |  Dept. of maths. & computer science|
|  and miss..."  - Douglas Adams      |  University of Amsterdam           |
+-------------------------------------+------------------------------------+
                                  No, I dont use ms-winDOZE, I prefer Linux!

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


** 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 comp.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.97 released on August 1, 1992

End of Linux-Activists Digest
******************************
