Subject: Linux-Misc Digest #926
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Thu, 13 Oct 94 02:13:12 EDT

Linux-Misc Digest #926, Volume #2                Thu, 13 Oct 94 02:13:12 EDT

Contents:
  Re: Help with NFS! (Amrik Thethi)
  Motif for Xfree386 (Mike Berger)
  Re: ez (was Re: Word (Text) processors for Linux?) (Jerry Leslie)
  specifying routes (Kenneth Cope)
  Re: Advantage of having sound card (Doug  Dejulio)
  Re: Applets; was: Word (Text) processors for Linux? (Thomas Aaron Insel)
  Re: Advantage of having sound card (Dan Newcombe)
  Laserjet 4 success (Kevin Martinez)
  Re: X News-reader for LinuX (Timothy J. Kordas)
  ATA or SCSI !! (Kevin Martinez)
  Imake configuration for X/Motif ([email-masked])
  Re: DOSEMU/Linux 1.1.51 (Georg Vollmers)
  Re: Word (Text) processors for Linux? (Lars Marowsky-Bree)
  Re: Copying from CDROM to floppy - why does HD go active? (Jeff Kesselman)
  SW Technologies (E. Robert Tisdale)
  I want SETUID scripts! (Alex Ramos)

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

From: [email-masked] (Amrik Thethi)
Subject: Re: Help with NFS!
Date: Wed, 5 Oct 1994 12:03:42 GMT

In article <[email-masked]> [email-masked] (Eric Stajda) writes:
>Hello,
>    We are trying to mount a file system from our HP9000 to our Linux box....
>In the FSTAB we have the following command:
>
>hp.el.com:\users\smith \tempmount nfs timeo=14,intr
>
>In the rc.inet2 we have:
>mount -a -t nfs
>
>We receive the following error on bootup:
>
>mount clntudp_create: RPC: program not registered
>
>Could anyone help with hints on how to solve this problem? 

It seems that the HP9000 is not running the rpc.mountd and therfore
cannot service NFS mount requests. Is the filesystem remote mounted
on any other machine?

Also the slashes should be / not \, but I don't know what problems
that will cause.

-- 
Amrik Thethi.                   Tel. +223 421 008 Fax. +223 421 024
Setanta Software Ltd.           Internet: [email-masked]
Cambridge, UK.

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

From: [email-masked] (Mike Berger)
Subject: Motif for Xfree386
Date: Tue, 11 Oct 1994 16:50:34 -0600

What are the options for Motif under Linux?  I haven't found anything for
free, though it would make it easier to compile Xmosaic and a few other
things.  I haven't found anything about commercial versions either.  I'm
interested in getting Motif one way or the other.

Mike Berger
[email-masked]

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

From: [email-masked] (Jerry Leslie)
Crossposted-To: comp.unix.questions
Subject: Re: ez (was Re: Word (Text) processors for Linux?)
Date: 11 Oct 1994 05:57:42 GMT

[email-masked] wrote:
: In article <[email-masked]>,
: [email-masked] (Richard L. Goerwitz) writes: 
:  : Personally, I don't that dial-up character-based I/O is the future of
:  : computing.  To bend over backwards to suit this constituency would be
:  : to cripple any forward-looking WP, and to slow development.

: I do not think that making a character based WP will slow development at
: all.  The display code for X is far more complex than it is for ordinary
: terminals and will distract from the internals of the WP itself.  The X
: stuff can come later.  I think that there are far more of us still using
: simple terminals than are using X terminals.  

: --
:      _____________
: #___/John E. Davis\_________________________________________________________
: #
: # internet: [email-masked]
: #   bitnet: davis@ohstpy
: #   office: 617-735-6746
: #

Please remember that there are some parts of the world where 
telecommunications is so backwards as to make X apps unusable via modems.

Or is unix to only be for those who have it on their desktops, or via
a modern telephone system (POTS) ?  :-)

--Gerald (Jerry) R. Leslie
  Staff Engineer
  Dynamic Matrix Control Corporation    (my opinions are my own)
  P.O. Box 721648                       9896 Bissonnet
  Houston, Texas 77272                  Houston, Texas, 77036
  713/272-5065                          713/272-5200 (fax)
  [email-masked]
  [email-masked]

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

From: [email-masked] (Kenneth Cope)
Subject: specifying routes
Date: 12 Oct 1994 16:28:34 -0600

I am running a Linux 1.1.52 system on an Everex 486DX2-50 with a 
Western Digital WD8003 ethernet card with Net-3.  Lately I have been having
routing problems with tcp/ip traffic a few gateways downstream. 
Is there anyway to route ip traffic by hand around these gateways?
My ethernet card is configured as follows:

# ifconfig eth0
eth0      IP ADDR 129.238.8.33  BCAST 129.238.8.255  NETMASK 255.255.252.0
          MTU 1500  METRIC 0  POINT-TO-POINT ADDR 0.0.0.0
          FLAGS: 0x0043 ( UP BROADCAST RUNNING )

My routing tables and eth0 interface are set up with the following 
commands at boot time:

ifconfig eth0 129.238.8.33 netmask 255.255.252.0 broadcast 129.238.8.255
route add -net network
route add default gw router metric 0  

# netstat -r
Kernel routing table
Destination net/address   Gateway address           Flags RefCnt    Use Iface
default                   router                    UGN        0    213 eth0
network                   *                         UN         0    230 eth0

I have ignored the loopback interface for conciseness. Can anyone help?

Thanks

Kenneth Cope
[email-masked]

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

From: [email-masked] (Doug  Dejulio)
Subject: Re: Advantage of having sound card
Date: 12 Oct 1994 03:49:20 GMT

In article <[email-masked]>,
Glenn Jayaputera <[email-masked]> wrote:
>WOndering if I have a lot of advantages if I buy a sound card for my 
>linux box.

When I demo my Linux box to folks, they're often impressed when they're
running Mosaic, click on a link, and hear audio.

Similarly, if you run a sufficiently studly MIME mailer (Messages,
metamail), you can exchange MIME mail that contains audio.

-- 
Doug DeJulio
[email-masked]
http://www.pitt.edu/~ddj/

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

From: [email-masked] (Thomas Aaron Insel)
Crossposted-To: comp.unix.questions
Subject: Re: Applets; was: Word (Text) processors for Linux?
Date: 12 Oct 1994 20:11:20 GMT
Reply-To: [email-masked]

[email-masked] (Mat Ballard) writes:

Xedit might qualify as a notepad-level text editor.  Other programs
that probably qualify are xspread and xpaint.

Xfig is definitely a good drawing program, and might even look pretty
if used with the 3d Athena widgets.  It can deal with the standard
formats for Unix -- it exports postscript/eps as well as a number of
TeX drawing formats.

There's no shortage of Unix database programs.  What I suspect you
want is more like a cardfile program, like Filemaker.

>       e. a common clipboard for simple cutting and pasting;
X has a clipboard, at least for text.  

>       f. the ability to use truetype and/or adobe fonts;
Using TrueType requires paying Apple big money, doesn't it.  On the
other hand, PostScript fonts are supported by lots of stuff.

-- 
Thomas Insel ([email-masked])
  "They [La Prensa] accused us of suppressing freedom of expression.  This 
   was a lie and we could not let them publish it." -- Nelba Blandon

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

From: [email-masked] (Dan Newcombe)
Subject: Re: Advantage of having sound card
Date: Wed, 12 Oct 1994 16:11:48 UNDEFINED

Glenn Jayaputera <[email-masked]> wrote:
>WOndering if I have a lot of advantages if I buy a sound card for my 
>linux box.

1) Games are so much better.
2) combined with my CD drive, it makes for a decent sound system in my 
computer room.
3) Gives me MIDI access to my synth.

(Soundblaster Pro)

--
Dan Newcombe                    [email-masked]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"And the man in the mirror has sad eyes."       -Marillion

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

From: Kevin Martinez <[email-masked]>
Subject: Laserjet 4 success
Date: Tue, 11 Oct 1994 00:52:52 GMT

This is a mini-howto related to making a Laserjet 4m+ connected to the 
local ethernet functional with Linux. It was a "novell printer" according 
to our MIS department but then I found the manual..........  ;^)
( this enables printing with the lpr command )
( most of this is adapted from the jetdirect manual )

To enable LaserJet 4m+ network printer to print from Linux machine,
perform the following actions as root:

Add:

text|lj1_text:Laserjet 4m+ (text mode) on local subnet: \
        :lp=: \
        :rm=laserjet1: \
        :rp=text: \
        :lf=/var/spool/lpd/text/errs: \
        :sd=/var/spool/lpd/text/lj1_text:

raw|lj1_raw:Laserjet 4m+ (PostScript) on local subnet: \
        :lp=: \
        :rm=laserjet1: \
        :rp=raw: \
        :lf=/var/spool/lpd/raw/errs: \
        :sd=/var/spool/lpd/raw/lj1_raw:

to /etc/printcap

Add something like:
146.174.64.60 laserjet1.qntm.com laserjet 
to /etc/hosts

Note that you have to have chosen a valid IP address for your printer and 
have configured the IP address/netmask/default gateway previously via the 
front panel. 

mkdir /var/spool/lpd/text
mkdir /var/spool/lpd/raw
chown daemon.daemon  /var/spool/lpd/text
chown daemon.daemon  /var/spool/lpd/raw
chmod g+w  /var/spool/lpd/text
chmod g+w  /var/spool/lpd/raw
mkdir /var/spool/lpd/text/lj1_text
mkdir /var/spool/lpd/raw/lj_raw 
chown daemon.daemon  /var/spool/lpd/raw/lj_raw 
chown daemon.daemon /var/spool/lpd/text/lj1_text
chmod g+w  /var/spool/lpd/raw/lj_raw/
chmod g+w  /var/spool/lpd/text/lj1_text 

To test the printer, try lpr -Ptext /etc/printcap for text mode.
To test PostScript, try lpr -Praw your-postscript-file.

To check print queue status, try lpq -Ptext or lpq -Praw as appropriate.

have phun!
-- 
========================================================================
 Kevin Martinez           Fear the Government  that fears your Scanner!
 [email-masked]            I owe all my success to Roly Poly Fish Heads!
========================================================================

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

From: [email-masked] (Timothy J. Kordas)
Subject: Re: X News-reader for LinuX
Date: 11 Oct 1994 21:59:54 GMT

Jason Haar ([email-masked]) wrote:
: Don Rubin ([email-masked]) wrote:
: : I use XRn and it leaves alot to be desired. Has anyone built
: : xvNews for Linux? I would be interested in hearing about any
: : other X newsreaders too. 

: I can't believe no one has mentioned tknews yet! I think it's the best 
: one available at the moment (always a moving target that! ;-) and it 
: supports...

:       THREADS!!!!

: Of course it requires Tcl/TK to run...
: archive.cis.ohio-state.edu:/pub/tknews

talk about SLOW...it looks really nice, but from what I read it does
a little bit too much of the NNTP stuff in Tcl.

if you have a nice quick machine use it.

it also had a nasty habit of thrashing my .newsrc (this was a couple of
versions back)...it subscribed me to alt.fan.barry-manilow once...

-Tim
--
Timothy J. Kordas                              |  [email-masked]
Electrical Engineering and Applied Physics     |
Case Western Reserve University                |  PGP public key available
Cleveland, Ohio 44106                          |  via finger

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

From: Kevin Martinez <[email-masked]>
Subject: ATA or SCSI !!
Date: Tue, 11 Oct 1994 01:03:22 GMT

Using Mark Lords excellent hdparms program, I captured the following 
results from my machine. It has two disk drives, one ATA and the other 
SCSI. The funny thing about these drives is that except for the firmware 
and interface, they are identical.

One is a Quantum LPS540 ATA and the other is a Quantum LPS540 SCSI.

The computer is a brand x 486-66 clone running Linux 1.1.50 with no 
special patches. It has 16 MB of RAM and during the test was running 
Xwindows but doing nothing special (about 40 processes). The ATA 
interface is built into the motherboard and is considered ISA type. The 
SCSI interface is a Adaptec 1542CF set for 5.0 MB/sec, negotiate 
Synchcronous. (Who knows if it was really running sync or not!)

The results show the ATA setup slightly faster than the SCSI but at the 
expense of 2 to 3 times the CPU bandwidth. Anybody want guess the results 
if someone else logged in during the tests? ;^)

=======================================================================
(/dev/hda is the ATA drive)

bash# hdparm -agmsit /dev/hda ; hdparm -t /dev/hda ; hdparm -t /dev/hda

/dev/hda:
 readahead = 8
 multcount = 8
 geometry  = 1024/16/63, offset = 0
 sectors   = 1032192

 Model=QUANTUM LPS540A, FwRev=A57.0200QUANTUM LPS5, SerialNo=18532033
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>5Mbs RotSpdTol>.5% }
 Physical CHS=1120/16/59, TrkSize=30208, SectSize=512, ECCbytes=4
 BuffType=DualPortCache, BuffSize=96KB, MaxMultSect=8
 Features: DblWordIO=no, LBA=yes, DMA=yes, tPIO=2(fast), tDMA=2(fast)
 (valid): Logical CHS=1048/16/63, TotSect=1056383, MaxLBAsect=1056383
 MultSect=8, DMA-1w=0704, DMA-mw=0101

 Timing buffer-cache reads:   32 MB in  5.85 seconds = 5.47 MB/sec
 Timing buffered disk reads:  16 MB in 11.52 seconds = 1.39 MB/sec (87% CPU)
 Estimating raw device speed: 16 MB in  8.59 seconds = 1.86 MB/sec

/dev/hda:
 Timing buffer-cache reads:   32 MB in  5.80 seconds = 5.52 MB/sec
 Timing buffered disk reads:  16 MB in 12.55 seconds = 1.27 MB/sec (79% CPU)
 Estimating raw device speed: 16 MB in  9.65 seconds = 1.66 MB/sec

/dev/hda:
 Timing buffer-cache reads:   32 MB in  5.85 seconds = 5.47 MB/sec
 Timing buffered disk reads:  16 MB in 11.69 seconds = 1.37 MB/sec (86% CPU)
 Estimating raw device speed: 16 MB in  8.77 seconds = 1.83 MB/sec

(/dev/sda is the SCSI drive)

bash# hdparm -gst /dev/sda ; hdparm -t /dev/sda ; hdparm -t /dev/sda

/dev/sda:
 geometry  = 516/64/32, offset = 0
 sectors   = 1057615
 Timing buffer-cache reads:   32 MB in  5.80 seconds = 5.52 MB/sec
 Timing buffered disk reads:  16 MB in 12.54 seconds = 1.28 MB/sec (30% CPU)
 Estimating raw device speed: 16 MB in  9.64 seconds = 1.66 MB/sec

/dev/sda:
 Timing buffer-cache reads:   32 MB in  5.81 seconds = 5.51 MB/sec
 Timing buffered disk reads:  16 MB in 12.99 seconds = 1.23 MB/sec (30% CPU)
 Estimating raw device speed: 16 MB in 10.09 seconds = 1.59 MB/sec

/dev/sda:
 Timing buffer-cache reads:   32 MB in  5.81 seconds = 5.51 MB/sec
 Timing buffered disk reads:  16 MB in 13.01 seconds = 1.23 MB/sec (30% CPU)
 Estimating raw device speed: 16 MB in 10.11 seconds = 1.58 MB/sec

-- 
========================================================================
 Kevin Martinez           Fear the Government  that fears your Scanner!
 [email-masked]            I owe all my success to Roly Poly Fish Heads!
========================================================================

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

From: [email-masked]
Crossposted-To: comp.os.linux.development
Subject: Imake configuration for X/Motif
Date: 12 Oct 94 11:38:44 EST

I have purchased SWiM for Linux.  I have downloaded some examples of
Motif programs that have an Imakefile for building them.  The configuration
files (Imake.tmpl etc.) for imake only point to X/standard development
and not Motif, although there are Motif.tmpl (Motif.rules ...) files in the 
config directory.  Where do I find, or how do I fix, the imake configuration 
files so that they are aware of Motif being installed?  Thanks in advance!!

Please E-Mail if possible.
-Fred Heitkamp

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

From: [email-masked] (Georg Vollmers)
Subject: Re: DOSEMU/Linux 1.1.51
Date: Sat, 8 Oct 1994 23:21:34 GMT

Hi Oz,

Oz Dror ([email-masked]) wrote:
: Linux 1.1.51
: DOSEMU Pre0.53pl25

: Hi,
:    Dosemu has significantly improved compare with p17. I would like
: to congratulate DOS EMU team.

: But there is at least one problem. Only root can run it. I check permission
: of dos it seems OK.

:    9 -rwsr-sr-x   1 root     root         9079 Oct  3 19:57 /usr/bin/dos

: when a user type dos no error is printed, but also dos is not entered.

In the file Quickstart you can find a little note.
If other than root should have acces to dosemu youe have to edit the
file /etc/dosemu.users and the name of the account. On my achine:
00:18:38 : root(root)@egalize[tty1]:/# cat /etc/dosemu.users
root
georg

Works fine.
Maybe this should find a way in the FAQ or man page, but its a prerelease!

Happy Linuxing!

Greetings from Germany

Georg
-- 
Georg Vollmers, 30159 Hannover, Kokenstr.10, Germoney
E-Mehl: [email-masked], IP number for SLIP!
>>> 192.109.225.110 mtu 296 compressed or uncompressed<<<
PC users:use Linux! Lovers:use lubbers! Rich:send money! Poor: can't read this

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

Date: 08 Oct 1994 19:59:00 +0100
From: [email-masked] (Lars Marowsky-Bree)
Crossposted-To: comp.unix.questions
Subject: Re: Word (Text) processors for Linux?

Quoting [email-masked] (Nick Kralevich) ,
topic 'Word (Text) processors for Linux?', group /comp/unix/questions, stardate 04.10.94:

>I've heard of TeX, but I'm not really sure what it is, and I'm
>hesitating to install the 14 disks it takes for the binary
>distribution.
>What do you use?

You should not use TeX.  LaTeX is  much easier, well, it is big, but
I found it simple.  

After  my  first  steps  I took a timer and reformatted a 2 two page
ascii text (with some  chemical  formulas)  to  a text with a title,
tableofcontents,  footnotes, etc.  10 min.  (Ok, so it wasn't a long
text, but remember I  had  to  conver  the german special characters
etc)

To make a long story short, I tried the  same  the  next  day  using
WinWord  at  a  friends  computer.   Took me about an hour to get it
somewhat close to the LaTeX output, then I gave up.

So LaTeX can't be _that_ complicated;-)

The main difference  between  these  two  is  that  LaTeX  is a text
formatter (WYWIWYG), while WinWord is a WYSIWYG editor.
You write the input for LaTeX  using  any  ascii  editor  (I  prefer
JOE/JED)  and  then  LaTeX  parses it.  (Actually, LaTeX is "just" a
macro package for TeX, but it makes things really  easy,  while  not
losing any power)
LaTeX generates a .dvi file which then can be viewed or printed.

Hey, I like it;-) 

I  would  recommend:  try it at least.  Go to your next library, and
get an introduction to LaTeX.   (I  could recommend one, but only if
you understand german;)

If you don't like it - what have you lost?
If you like it       - what have you won!

--
Lars Marowsky-Bree   Voice: +49-571-63663  PGP-key via return receipt
VirNet: 9:492/7158 Fido: 2:2449/620.16 Mail: [email-masked]
PGP fingerprint:     CF FC 3A F0 86 F1 D3 EB  79 8A CF 75 4F 4C 81 DF
## CrossPoint v3.02 ##

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

From: [email-masked] (Jeff Kesselman)
Subject: Re: Copying from CDROM to floppy - why does HD go active?
Date: Tue, 11 Oct 1994 05:41:57 GMT

In article <[email-masked]>,
Dan Swartzendruber <[email-masked]> wrote:
>I noticed something strange when copying a boot disk image
>from CDROM to floppy.  Basically, I did the following:
>
>dd if=/cdrom/file-image of=/dev/fd0 obs=18k
>
>It said:
>2400 input records
>66+1 output records
>
>The CDROM activity light came on for a few seconds, then went off.
>At this point the floppy light came on and it made the usual grinding
>noises for a bit.  What got me curious was why the root IDE drive was
>also busy during this interval?  Something to do with the buffer cache?
>If not, what??
>
>
>

I'ld guess it was swapping.  Hwo much memory do you have and what else 
was running? (Also, is your swap partition on that volume?)

JK

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

From: [email-masked] (E. Robert Tisdale)
Subject: SW Technologies
Date: 10 Oct 1994 23:28:13 -0700

[email-masked] (Jeff Kesselman) writes:

>In article <[email-masked]>,
>Jonathan I. Kamens <[email-masked]> wrote:
>>In article <[email-masked]>,
>>[email-masked] (E. Robert Tisdale) writes:

>Not that I particularly want to get cuaght up in this mess, but i felt i 
>aught to say something in Jonathan's defense.  Bob said somethign in his 
>post on the order of "so Martin didn't have enough money to cover the 
>check.  he evntually made good. Is that a crime?"

I never said any such thing.  I have sent Jeff three email messages attempting
to get him to retract this statement but he can't remember who may have said it
and apparently doesn't even remember what he said in his article.  He just
doesn't get it.  Bob Tisdale

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

From: [email-masked] (Alex Ramos)
Subject: I want SETUID scripts!
Date: 12 Oct 1994 18:15:39 GMT

Does anybody have patches for allowing setuid shell scripts?
Like many other Linux users, the only reason I even have a *user*
account on my system is mostly to avoid shooting myself on the foot.
So, I don't care if setuid scripts are unsecure. As long as I can't
break one on accident, it's fine with me.

Thanks

--
Alex Ramos ([email-masked]) * http://info.latech.edu/~ramos/
Louisiana Tech University, BSEE/Sr * These opinions are probably mine

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

** 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.misc) 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
    sunsite.unc.edu				pub/Linux

End of Linux-Misc Digest
******************************