Subject: Linux-Activists Digest #234
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Thu, 16 Sep 93 09:13:10 EDT

Linux-Activists Digest #234, Volume #6           Thu, 16 Sep 93 09:13:10 EDT

Contents:
  Re: linux/mgetty again... (Gert Doering)
  Help starting a printer daemon and .... (Raymond Ngai)
  Re: X cannot find glyph font (Thomas J Bilan)
  Support for 1280 x 1024 resolution (Martin Helin)
  Re: Linux and MS Windows 3.1 (yuck) swap space. (Maurice S Barnum)
  Help: EXT2-fs (Heon J. Jo)
  strange unix socket behaviour (term gurus read too pls) (Simon J Ferrett)
  Re: Port respawning too fast (Alan Cox)
  Re: .openwin-init doesn't work (Martin Boehnke)
  Just test (Oleg V. Buyanov)
  Re: WABI for Linux (Joerg Scheurich)
  Re: Mathmatica like package for linux? (DAVID L. JOHNSON)
  Re: Can you port Linux to my Refrigerator? (Ross Ridge)
  Re: Database for LINUX? (Steef S.G. de Bruijn)
  Re: Help!  Seyon does not release modem ([email-masked])
  how many Linux installs? (Cameron L. Spitzer)

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

Crossposted-To: comp.os.linux.misc,comp.dcom.fax,de.comp.os.linux
From: [email-masked] (Gert Doering)
Subject: Re: linux/mgetty again...
Date: Wed, 15 Sep 1993 12:43:00 GMT

[email-masked] (Tom Kovar) writes:

>  I am using the ACEEX 1496 faxmodem under Linux .99.8 and mgetty/sendfax
>0.13. After enforcing the hardware flow control (mapping the ioctl calls to
>tc{get,set}attr), sending faxes is working perfectly. The only problem is

Fine.

>faxrec. The received faxes are legible (somehow), but many lines are corrupted;
>even g3topbm reports a problem of premature EOF, so I had to hack it in order
>to get something at least. I fear the problem might still be the flow control,
>but dunno...

Uuuuh. Sounds like you're losing a *lot* data.

>  Another surprising fact is that sending a fax at 14400 bps sendfax consumes
>only about 10% CPU (80386, 33 MHz), whereas receiving at 9600 mgetty consumes
>something in the region 70-95 % CPU !!

Well, are you sure that mgetty 0.13 is running? In older versions, this
was common (well... that's what you get if you use unbuffered one-byte
read()s for ease of implementing), but in 0.13 the fax reception stuff
has been changed to use buffered read()s.

With the old unbuffered reads, it was very likely that data is lost, but
with 0.13, I have tried receiving a five-page fax while the system load
was at 5 (!) - and no lost any data at all (on a 386/40).

Does your port use a 16550? Which port speed do you use for fax
reception?

>I seem to have noticed that even during
>the fax receive, OPOST and OCRNL are active; is it quite OK?

That will not do any harm, since only the direction *to* the modem is
postprocessed by the serial driver.

One problem *may* be that you use a fairly old linux version, I think in
the serial driver had been a lot changes since then, improving reliability
at high speeds.

gert
-- 
... ich kann diese signature nicht mehr sehen!

Gert Doering - Munich, Germany                             [email-masked]
fax: +49-89-3243328                         [email-masked]

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

From: [email-masked] (Raymond Ngai)
Subject: Help starting a printer daemon and ....
Date: 16 Sep 93 05:16:14 GMT

I have finally set up SLS 1.03 on my machine with Ultrastor 34F after
recompiling the kernel w/o soundcard support.  Now I have some other
questions.

1. I can't seems to start a printer daemon.  If in lpc I try:

lpc> start lp
lp:
        printing enabled
lpc: connect: No such file or directory
        couldn't start daemon
lpc> 

   What did I need to set up?  I've created a dir /usr/spool/lp1,
which was listed on the printcap file.

2. Running X with my Cirrus logic card and it freezes the system after
   logging in and out with xdm couple (mostly like the second) time.

3. Always get error message while starting up during rc.net.
   Something about invalid syntax, etc.
   I have a standalone machine, but I want to be able to telnet back
   to my own machine.  Telneting to localhost work.  But telnet to
   'machine name' conplain about network unreachable.

Any help will be much appreicated.  Please respond with email to:
[email-masked]

Thanks,

Ray
--
( Raymond Ngai                                  <[email-masked]>         )
( Senior Applications Engineer                  300 Oracle Parkway, #670A  )
( Vertical Applications Division                Redwood Shores, CA 94065   )
( Oracle Corporation                            (415)506-3385 FAX:506-7262 )

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

From: [email-masked] (Thomas J Bilan)
Subject: Re: X cannot find glyph font
Date: 16 Sep 1993 05:04:16 GMT

In article <[email-masked]> [email-masked] (Thomas J Bilan) writes:
>I am getting errors in X when I try to run a program that looks for the
>olglyph-10 or olglyph-19 font.  My olglyph-14 & olglyph-12 fonts
>work fine.  Does anyone have any suggestions?
>
>I used xfontsel and it had a combination to create:
>-sun-open look glyph-*-*-*-*-19-190-75-75-p-154-sunolglyph-1
>but of course, I have no idea what xfontsel REALLY does so this
>probably isn't telling me a thing.
>
>Thanks,
>Tom
>-- 
I re-ftp'd the newer X4 disk of the slackware distribution and used the
pkgtool to install it and now everything seems ok.

Sorry to was the bandwidth but maybe someone out there has this problem
too.

Tom

-- 
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
$ Department of Death by Engineering   ^   Surgeon General's Warning:        $
$ Michigan State University            ^   Graduate School may cause brain   $
$ [email-masked]                    ^   damage and sporadic loss of hair  $

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

From: [email-masked] (Martin Helin)
Crossposted-To: comp.os.linux.help
Subject: Support for 1280 x 1024 resolution
Date: 16 Sep 93 09:07:32
Reply-To: [email-masked]

Does Linux support any display controllers in the 1280 x 1024
resolution mode? I'm especially interested to know if the QVision 1280
controller from Compaq is among the supported ones (with this
resolution).

Thanks in advance,

        Martin

PS. Please, do copy the answer to my mailbox ([email-masked]) as
I do not regularly read this group.
--
Martin Helin    Helsinki University of Technology, Finland
Internet : [email-masked] UUCP : uunet.uu.net!kaira.hut.fi!s30986u
X.400 : G=Martin S=Helin O=hut ADMD=fumail C=fi

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

From: [email-masked] (Maurice S Barnum)
Subject: Re: Linux and MS Windows 3.1 (yuck) swap space.
Date: 16 Sep 1993 06:33:03 GMT

In <[email-masked]> [email-masked] (Kristian Ejvind) writes:

>6) Save and compress the swap partion to a file:

>dd if=/dev/hda4 | gzip -9 > /.winswap

you don't actually need to save the WHOLE partition.  there are a 
number of DOS utilities that can tell you where the start of the 
data is on a partition.  save all of the sectors up to that one, 
and that one also. (for example: I had a setup where the fat took 
the first 23 sectors, so I saved 24, using
        dd if=/dev/hda4 of=/etc/dos.swp bs=512 count=24
    and
        dd if=/dev/hda4 of=/etc/linux.swp bs=512 count=24

    of course, the first dd was done after setting up the windoze
    swap file, the second, after running "mkswap" on the 
    partition.

>/bin/mkswap /dev/hda4 5967

becuase I also saved the first set of sectors when the partition 
was set up for linux, I restore with

        dd of=/dev/hda4 if=/etc/linux.swp bs=512 count=24
    instead.  faster than mkswap

>8) These commands will destroy the dos partion and the windows swap
>file and must be restored before windows can be used. I do this when I
>reboot linux automatically with this script which I have named
>/etc/reboot and with a link to it from /etc/halt:

>----/etc/reboot-----snip-----8<--------
[...]
>----end /etc/reboot-----snip-----8<----

>and I have moved the original /etc/reboot and /etc/halt to 
>/etc/.hidden/reboot and /etc/.hidden/halt

I did something similar, then realized that, if using the sysvinit 
package, I was being silly.  If I had to do it again (different 
setup now, don't do stuff like above currently), I'd just modify
/etc/brc to look something like:

---
#!/bin/sh

PATH=/bin:/etc
export PATH

dd if=/etc/dos.swp of=/dev/hda4 count=24 bs=512

echo Unmount filesystems...
umount -a
---

NOTE: the "count=24" was for a PARTICULAR situation.  try using 
norton disk editor, or a share/freeware program called "fat", or 
something similar to figuire out what the number for your system 
should be.
-- 
Maurice S. Barnum                       Keeper of a heart
[email-masked]; [email-masked],eis.calstate.edu
PGP fingerprint:  26 46 7A 02 F0 5C C1 67  76 3D 53 39 79 D3 C9 26 

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

From: [email-masked] (Heon J. Jo)
Subject: Help: EXT2-fs
Date: 16 Sep 1993 06:39:47 GMT

hi...
first of all, thanks to everyone who helped me with the swap-disk prob.

here goes another FAQ question(?)
I couldn't find this in the FAQ.

I keep getting this message during boot time.

EXT2-fs warning: mounting unchecked file system, running e2fsck is recommended
[EXT II FS 0.3c, 93/08/05, bs=1024, fs=1024, gc=17, bpg=8192, ipg=1592}

I ran e2fsck several times but...
I am still getting this message...
what's the problem?
is this normal? and do I have to run 'e2fsck' every time I boot Linux?
any comments are welcomed.
Thanks..

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

Crossposted-To: comp.os.linux.help
From: [email-masked] (Simon J Ferrett)
Subject: strange unix socket behaviour (term gurus read too pls)
Date: Thu, 16 Sep 1993 05:42:34 GMT

Hello - I just set up the alpha 13 kernel to see if it would
fix up my unix socket weirdness, and it does - but only for a while?

just after a reboot I can 'netstat -x' and see the status of all the
af_unix connections, however, eventually (after running some term clients
usually) doing a 'netstat -x' produces a segmentation fault and a register
dump.  The seg fault happens in unix_get_info (from memory).

The reason Im concerned is that Im trying to modify the ftpd-diku
sources to work over a term connection.  It works fine, except that 
exenually (sooner or later) the 'connect' system call in terms
'open_unix' function catches a SIGCHLD, gets interrupted and the
program segfaults.  Under pl13 it takes lonmger for this to happen,
but it still does.

ok heres a little scenario for you:
before: netstat -x works fine
from remote I ftp into my tredired box
do a few dirs, then after about 5 or 6 -"425 remote server has closed connection"

debugging output from ftpd:
socket(PF_UNIX, STREAM, 0) = 13
connect(13, AF_UNIX(//.term/socket), 16) = -1 (Interrupted system call)
 - [SIGCHLD]
write(12, "connect 4 Interrupted system cal".., 34) = 34
close(13) = 0
 - [SIGSEGV]
 + [SIGSEGV]

result from netstat -x now
ahh.. well it erm still works at the moment ... hmm

ANYHOW - does anyone have any ideas what the SIGCHLD is doing and why it
causes that bit of code to seg fault?
also - if I put a loop around the connect, so that if it fails, it tries again,
it just loops indefinately, trying.

any help that anyone has to offer is muchly appreciated...

-- 
[email-masked] - Simon Ferrett
Due to technical difficuties, we are unable to bring you your
regularly scheduled .signature - normal transmission will resume
as soon as possible...

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

From: [email-masked] (Alan Cox)
Subject: Re: Port respawning too fast
Date: Thu, 16 Sep 1993 08:10:20 GMT

In article <[email-masked]> [email-masked] (Simon J Ferrett) writes:
>[email-masked] writes:
>>I can log on, work, then log off, however on my consople I get the message:
>>Respawning too fast.  Port disabled for 5 minutes
>>And then 5 minutes later it says the same thine.
>>Anyone know how I can fix this?  I am using .99pl12.
>yes I had this exact problem, which is caused when the serial port 
>is hung up by getty, it drops the DTR (which, since its a null modem), 
>drops carrier) and gived getty a HUP causing it to quit.
>I got around this my slightly modifying serial.c so that it didnt ever
>hang up a serial port.  (no hardware of mine needs it)
Don't do this! All you need to do is to include CLOCAL in your gettydefs.
This turns off the carrier detect and hangups in software. Much easier -
and it works for other Unices too.

Alan

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

From: [email-masked] (Martin Boehnke)
Subject: Re: .openwin-init doesn't work
Date: 16 Sep 93 11:12:39

Just an idea:
        Try using 'openwin' to start OpenWindows, not 'startx'.
        This script tries to execute ~/.openwin-init.
--
=================,==============================,==============================
Martin Boehnke   !  Institut fuer Datentechnik  !  Phone: +49-6151-164979
                 !  Merckstrasse 25  ,----------'  Fax:   +49-6151-164976
                 !  D-64283 Darmstadt! E-Mail:
                 !  (Germany)        !     [email-masked]
================='==================='=========================================

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

From: [email-masked] (Oleg V. Buyanov)
Subject: Just test
Date: 16 Sep 1993 07:10:27 GMT

--
Oleg V Buyanov [email-masked] 
Research Scientist - Institute for High Energy Physics, Protvino, Moscow region, Russia Russia (C.I.S) 
Multiprocessing, Transputers * Networking 

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

From: [email-masked] (Joerg Scheurich)
Crossposted-To: alt.uu.comp.os.linux.questions,de.comp.os.linux
Subject: Re: WABI for Linux
Date: 16 Sep 1993 09:41:08 GMT

In article <[email-masked]> [email-masked] (Juergen Bernhardt) writes:
>
>Hi!
>
>Does anyone know, if WABI is porting under Linux?
>
>If so, what's the status?

Dat Ding heisst WINE, und sie koennen schon Solitaer damit spielen 
(sonst nichts)
Dafuer gibts auch ne news-group (irgendwas mit linux und WABI) ....

so long
MUFTI

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

From: [email-masked] (DAVID L. JOHNSON)
Subject: Re: Mathmatica like package for linux?
Date: 16 Sep 93 05:18:38 GMT

In article <[email-masked]>, [email-masked] (David Simmons) writes:
>Does anybody know of a "simple", small program that can handle
>simplifying algebraic expressions and calculating derivatives
>and integrals, like MET or DERIVE?
>
>I really don't have much of a need for an extensive, programmable
>math system; i just need something to help me with calculus and
>engineering classes.
>
I have to recommend maxima over the others mentioned in this thread.  It'll do
more than you asked, but does what you ask better than anything else in 
linux, w/o the hassle (IMO) of calc/emacs.

Here is a simple sample session

(some stuff deleted -- like when I make a mistake)

(C3) expand((x-1)*(x+2)*(x^2+1));

                              4    3    2
(D3)                         X  + X  - X  + X - 2
(C4) factor(x^4 + x^3 - x^2 + x - 2);

                                             2
(D4)                       (X - 1) (X + 2) (X  + 1)
(C5) integrate((sec(x))^5,x);

                                                      3
      3 LOG(SIN(X) + 1)   3 LOG(SIN(X) - 1)      3 SIN (X) - 5 SIN(X)
(D5)  ----------------- - ----------------- - --------------------------
             16                  16                4            2
                                              8 SIN (X) - 16 SIN (X) + 8
(C6) diff(tan(x),x);

                                       2
(D6)                                SEC (X)
(C7) describe(limit);

  0: LIMIT(exp,
  1: TLIMIT(exp,var,val,dir)
Enter a number, or a Maxima list of numbers,  all or none:0;

LIMIT(exp, var, val, dir) finds the limit of exp as the real variable
var approaches the value val from the direction dir.  Dir may have the
value PLUS for a limit from above, MINUS for a limit from below, or
may be omitted (implying a two-sided limit is to be computed).  For
the method see Wang, P., "Evaluation of Definite Integrals by Symbolic
Manipulation" - Ph.D. Thesis - MAC TR-92 October 1971.  LIMIT uses the
following special symbols: INF (positive infinity) and MINF (negative
infinity).  On output it may also use UND (undefined), IND (indefinite
but bounded) and INFINITY (complex infinity).
LHOSPITALLIM[4] is the maximum number of times L'Hospital's rule
is used in LIMIT.  This prevents infinite looping in cases like
LIMIT(COT(X)/CSC(X),X,0).
TLIMSWITCH[FALSE] when true will cause the limit package to use
Taylor series when possible.
LIMSUBST[FALSE] prevents LIMIT from attempting substitutions on
unknown forms.  This is to avoid bugs like LIMIT(F(N)/F(N+1),N,INF);
giving 1.  Setting LIMSUBST to TRUE will allow such substitutions.
--More--
Since LIMIT is often called upon to simplify constant expressions,
for example, INF-1, LIMIT may be used in such cases with only one
argument, e.g. LIMIT(INF-1);
Do EXAMPLE(LIMIT); for examples.

(D7)                                 DONE
(C8) limit(sin(x)/x,x,0);

(D8)                                   1

This even shows how you can get on-line help, using describe();.

This is not as small a program as you might be looking for, but it sure 
does what you need, and you can figure out how to use it reasonably 
easily.

For graphics, use gnuplot.

-- 

David L. Johnson                             ID:  [email-masked]
Department of Mathematics
Lehigh University, Bethlehem, PA 18015       Telephone: 215-758-3759 (office)
                                                        215-282-3708 (home)
#include <std/disclaimer.h>

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

From: [email-masked] (Ross Ridge)
Subject: Re: Can you port Linux to my Refrigerator?
Date: Thu, 16 Sep 1993 07:46:32 GMT

Brandon S. Allbery ([email-masked]) wrote:
> Everything I've heard about OS/9 indicates that it was specifically designed
> to be Unix-like.

[email-masked] (Richard William Jones) writes:
>You've obviously never tried to port a GNU utility to it, then :->

[email-masked] (Brandon S. Allbery) writes:
>Definitions of "Unix-like" differ --- try porting a GNU utility to AT&T System
>III sometime, if masochism is your cup of tea.  :-)

Uhh... I've ported GNU utilities to System III (HP-UX 2.1 actually), 
and it wasn't that difficult.

Getting back on topic here, I was actually hoping for a Refridgerator
emulator for Linux.  It would be greate to not have to get up from the
computer in order get a snack and having somewhere stick old software
projects so the stay nice and fresh would be nice.  Just think of the
possibilities if you could use it over a network!

                                                Ross Ridge

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

Crossposted-To: comp.os.linux.help,comp.os.unix
From: [email-masked] (Steef S.G. de Bruijn)
Subject: Re: Database for LINUX?
Date: Thu, 16 Sep 1993 11:38:42 GMT

In article <[email-masked]>, [email-masked] (Yarek Kowalik) writes:
|> 
|> I was wondering if there exists a Database for Linux. If not, can anyone 
|> suggest a Unix like OS that would have a database program? I am interested in
|> databases that use Informix SQL language. 
|>  
|>  Thanks,
|> 
|>  Yarek
|> 
|> -- 
|> Jaroslaw Kowalik (a.k.a. Yarek Kowalik)
|> -----------------------------------------------------------------------------
|> [email-masked]      | "Does the body rule the mind,
|> [email-masked]         |  or does the mind rule the body?"

Get POSTGRES, a relational active database management system. it WORKS!
(nic.funet.fi) and others?

Steef

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

From: [email-masked]
Subject: Re: Help!  Seyon does not release modem
Date: Tue, 14 Sep 1993 19:17:00 CET

[email-masked] () writes:

>Hi everyone,  I've run Sewyon successfulyy but when I exit it and at a
>later time try to run it again it says that it can't find the modem
>(/dev/cua2).  I've checked the /usr/spool/uucp directory but nothing there.
>Could anyone help me?  Please reply by e-mail since this site currently
>carries only comp.os.linux and no other linux news groups.
>
>Thanks,
>Tom
>
>
>-- 
>-------------------------------------------------------------------------------
>\ Nothing travels faster than the speed of light with the possible exception  /
>\ of bad news, which obeys its own special laws.                              /
>-------------------------------------------------------------------------------
>\\\\\\\\                        Thomas  Otake                         /////////
>\\\\    [email-masked]    \\_//    [email-masked]     ////
>-------------------------------------------------------------------------------
=====
 Created using rnf 0.76b 
=====

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

Crossposted-To: comp.os.linux.misc
From: [email-masked] (Cameron L. Spitzer)
Subject: how many Linux installs?
Date: Thu, 16 Sep 1993 08:33:13 GMT

I work for a hardware and systems company.  We have an
Interoperability Lab where they install our products on
the OSes our customers run, test our drivers, run
benchmarks, etc.

I want the Lab to install Linux and check it out.  But
I can't make a business case for doing it without knowing
how big the Linux market is.  (All of Unix is only about
5% of our market.)  How many people run Linux,
on how many machines?  If you think you know or have a way to
measure, I'd like to hear from you.  Thanks.

(BTW, I got my dial-up logins working by switching from
bash to pdksh.  Don't know why bash doesn't like my modem,
but I like ksh better anyway, and my users don't care.
Thanks to everyone who offered advice!)

Cameron in San Jose, the forever newbie
[email-masked]

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

** 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: [email-masked]

You can send mail to the entire list (and comp.os.linux) via:

    Internet: [email-masked]

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.99pl9 released on April 23, 1993

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