Subject: Linux-Misc Digest #205
From: Digestifier <Linux-Misc-Request@senator-bedfellow.MIT.EDU>
To: Linux-Misc@senator-bedfellow.MIT.EDU
Reply-To: Linux-Misc@senator-bedfellow.MIT.EDU
Date:     Thu, 2 Jun 94 18:13:12 EDT

Linux-Misc Digest #205, Volume #2                 Thu, 2 Jun 94 18:13:12 EDT

Contents:
  Re: mouse and X (Erik Mouw)
  Re: What CD-ROM drive is this??? (Erik Mouw)
  Re: Viruses and Linux (Markus Wischerath)
  Re: adaptec 1522 jumpers (Fairlight)
  Re: fax getty and data getty? (Harald Milz)
  Re: This SLIP ought to work! (Harald Milz)
  Re: Comparing Yggdrasil's and TransAmeritech CD Linux .... (Wade Guthrie)
  Re: more - Broken Pipe (na8520d00-Nichols)
  Re: "Projects under development" list (Ulrich Teichert)
  INT 13H support in Linux (James P Gurganus)
  Re: Linux for the masses? (WordProcessing again) (Mark A. Davis)
  SLIP/PPP and all services available from a shell (Brad Block)

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

From: jakmouw@et.tudelft.nl (Erik Mouw)
Subject: Re: mouse and X
Date: 2 Jun 94 16:16:43 +0200

In article <BRUSE.94Jun1195100@terne.ii.uib.no>, bruse@ii.uib.no (Oyvind Brusevold - Hstud) writes:
>>>>>> "Edun" == Edunetics  <edunet@zeus.datasrv.co.il> writes:
> 
> Edun>         I have a problem I don't know how to solve. I havea attached to a
> Edun> Linux box here a microsoft mouse. the only place where the mouse refuses
> Edun> to work is in X. Any suggestions to how to fix this problem??
> 
> 
> Edun> PS - I need an answer as soon as possible (my slip line depends on it
> Edun> :-(
> 
> 
> Since you say the mouse works everywhere else except in X, the only thing i
> can think of is your Xconfig file. There is a "mouse" setting in it. Be sure
> to set this right!
> 
> In my Xconfig file i have:
> 
> microsoft     "/dev/mouse"
> emulate3Button
> 
> where /dev/mouse is a link to the correct serial port. Since I also have a
> microsoft compatible mouse, I can give you my settings. 
> 
> /dev/mouse -> /dev/ttyS0
> 
> ttyS0 has major, minor modes  4, 64.
> 
> Hope this helps.
> 
> -Oyvind.
> 
> --
> 
> _______________________________________________________________________________
> Oyvind Brusevold                                       email:  bruse@ii.uib.no
> Inst. for Informatikk, Universitetet i Bergen            Tel:  +47 55 54 40 76

If you have selection running, kill it before you start X.

Erik

==================================================
Erik Mouw, Department of Electrical Engineering,
Delft University of Technology, The Netherlands
email : JAKMouw@ET.TUDelft.NL

        D  O  N  '  T     P  A  N  I  C  !

==================================================

I either want less corruption, or more chance to participate
in it -- Ashleigh Brilliant

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

From: jakmouw@et.tudelft.nl (Erik Mouw)
Crossposted-To: comp.sys.ibm.pc.hardware.cd-rom
Subject: Re: What CD-ROM drive is this???
Date: 2 Jun 94 16:23:06 +0200

In article <2sjdj9$8dk@aurora.engr.latech.edu>, ramos@engr.latech.edu (Alex Ramos) writes:
> I have a machine with an unknown CD-ROM drive in it. The only marking
> on the exterior says "Compact Disc", nothing else.  It originally came
> with a Gateway machine. Throughout the DOS driver documentation, the
> adapter card is referred to as a "CM250", and the driver as a "Generic
> Microsoft Driver." I have successfully installed BC++ 4.0 from CD with
> this drive, so the controller must be indeed a CM250, whatever that is.
> 
> Can anybody guess the specs on this drive?
> What type of cd-rom drive is this, as far as Linux is concerned?
> 
> Thanks,
> 
> --
> Alex Ramos (ramos@engr.latech.edu) * http://info.latech.edu/~ramos/
> Louisiana Tech University, BSEE/Sr * These opinions are probably mine

Hmm, I think it is a Philips CD-ROM player, because my own (external) 
CD-ROM player is a Philips CM50.

As far as Linux is concerned: not compatible :(

Erik

==================================================
Erik Mouw, Department of Electrical Engineering,
Delft University of Technology, The Netherlands
email : JAKMouw@ET.TUDelft.NL

        D  O  N  '  T     P  A  N  I  C  !

==================================================

I either want less corruption, or more chance to participate
in it -- Ashleigh Brilliant

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

From: mw@spinfo.Uni-Koeln.DE (Markus Wischerath)
Subject: Re: Viruses and Linux
Date: 1 Jun 1994 13:39:49 GMT
Reply-To: mw@spinfo.uni-koeln.de


datadec@ucrengr.ucr.edu (Kevin Marcus) writes:

[lots of arrogant babbling from a self-styled computer virologist 
deleted]

Ok, this thread now goes into my kill file. If anyone enjoyed the way this
guy leads a discussion, go read comp.virus. This is where jerks like this 
one appear to themselves every day (on closed circuit TV, to make sure 
they're still real). <- Email for solution. Duh. 

--Markus               
mw@spinfo.uni-koeln.de            # rm -rf / and one was assaulted...peanut


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

From: fairlite@arcadia.aldridge.sol.net (Fairlight)
Crossposted-To: comp.os.linux.help
Subject: Re: adaptec 1522 jumpers
Date: 1 Jun 1994 17:57:43 GMT

Jeff Hecker (heckerj@mary.iia.org) wrote:
: I've recently acquired an adaptec 1522 SCSI controller, sans 
: documentation.  I plugged it in, and no smoke came out :)  When
: booting,  LILO came up and Linux loaded,  but then crashed with
: a "couldn't mount root" error message.   A similar problem
: occurs when booting MS-DOS.  I expect that one of the many
: jumpers is mis-configured.  I have a call in to adaptec,  but
: would not mind if someone on the net has any clues...

:                                      Thanks in advance / Jeff


Jeff,

I know how bad adaptec phone support is, so I'll help you out... :)  I 
see you posted last Thursday, so I doubt Adaptec has gotten back to you 
yet.  :)  Any questions, mail me...  Please send all followup mail to me at:

     fairlite@mik.uky.edu

The address this is coming from is a uucp feed, and takes at least a day 
and a half to reach me...the uky address is faster by far.

Okay, a summary of the 1522 spec sheet is as follows...

===========================================================================

factory default settings:

SCSI Disconnection              enabled
SCSI Address                    7
SCSI Parity                     enabled
Terminators                     installed
Terminator Power                supplying
Synchronous Negotiation         enabled
DMA Channel                     0
Interrupt Channel               11
AT Port Address                 340h
AT BIOS Address                 DC000H, enabled
FD Controller                   enabled (AHA-1522)
Data Transfer Mode              programmed i/o

Jumper Configuration Reference

(for my document here, * represents selected, and O represents not-selected.)
(in the descriptions of the pins, * represents the default)

Jumper Block J5 (Data)

Default Settings of jumper block J5:

 O    *    O    O    *    *    O    O    
DT   BT   M0   M1   SN   DN   R-   R-

DT      Use this pin pair to choose whethere data transfer will be 
        performed in PIO or 2nd-party DMA mode.
        *No jumper=PIO ; Jmper=2nd-party DMA

BT      Use this pin pair to choose whether the host adapter BIOS performs
        the boot operation.
        No jumper=Disable booting from SCSI disk
        *Jumper=Boot from SCSI disk

M0,M1   Use these pin pairs to select which types of messages you want 
        the AHA-1520/1522 to display when you boot your computer.
        1*.     No jumper MO, no jumper M1 = Adaptec header display
                and error messages
        2.      No jumper M0, jumper M1=Adaptec header display,
                boot progress and error messages.
        3.      Jumper M0, no jumper M1=SCSI device information,
                jumper configuration, boot progress, and error messages.
        4.      Jumper M0, jumper M1=Error messages.

SN      Use this pin pair to enable or disable synchronous negotiation.
        No jumper=syn. neg. off ; *Jumper=syn. neg. on

DN      Use this pin  pair to enable and disable disconnection by the 
        target SCSI device.
        No jumper=disconnect disallowed; *Jumper=disconnect allowed.

R       Not used.


Jumper Block J6 (Channel Selection and SCSI ID)

 *    *    *    O    *    O    O    O
SD   SD   SD   IC   IC   DC   DC   SP

SD      Use the three pin pairs marked SD to determine the SCSI ID of the
        host adapter:

        *    *    *  = ID 7    *default
        O    *    *  = ID 6
        *    O    *  = ID 5
        O    O    *  = ID 4
        *    *    O  = ID 3
        O    *    O  = ID 2
        *    O    O  = ID 1
        O    O    O  = ID 0

IC      Use the two pin pairs marked IC to select the host adapter REQ
        chanel.  You must also use pin pairs I0, I1, I2, and I9 on jumper
        block J9 to select an IRQ channel.

        O    O  = IRQ 9
        *    O  = IRQ 10
        O    *  = IRQ 11    *default
        *    *  = IRQ 12

DC      The two pin pairs marked DC select the host adapter DMA channel.
        Only DMA channel 0 is supported.

        O    O  = DMA 0    *default

SP      Parity checking enabled or disabled.
        *No jumper=parity enabled ; Jumper=parity disabled.


Jumper Block J7 (Floppy Drive Options) - AHA 1522 Only

 *    *    O    *    O    *    O    O
FE   DR   DR   DA   DA   I6   I0   DS

FE      Use this pin pair to determine whether the floppy controller on 
        the host adapter is enaled or disabled.
        *Jumper=floppy enabled ; No jumper=floppy disabled.

DR,DA   Use the four pin pairs marked DR and DA to set the floppy DMA
        request channel.

        *    O    *    O  = CH 2    *default
        O    *    O    *  = CH 3

I6,I0   Set floppy IRQ channel.
        *Jumper I6=interrupt channel 6 enabled.
        Jumper 10=interrupt channel 10 enabled.

DS      Set to support floppy drive with dual speed spindle.
        *No jumper=disabled ; Jumper=enabled.


Jumper Block J8 (DMA Request & Acknowledge Channel)

Note that the DMA channel is also controlled by juper block J6.  The 
following diagram shows the default settings of jumper block J8:

 O    O    O    *    O    O    O    *
DR   D6   D5   D0   DA   D6   D5   D0

D0,D0   When jumpers are instaled on D0,D0, it selects DMA channel 0.  
        The other J8 jumper options are reserved.


Jumper Block J9 (IRQ Channel, Port Address, and BIOS)

 O    *    O    O    O    *    *    *   
I1   I1   I0   I9   AL   J6   J4   BE

I2,I1,  Use these four pin pairs to select the IRQ
I0,I9   channel.  You must also select the corresponding
        interrupt channel with IC pin pairs on jumper block J6.
        Jumper I2 = IRQ 12
        *Jumper I1 = IRQ 11 
        Jumper I0 = IRQ 10
        Jumper I9 = IRQ 9 (not recommended with Windows 3.0)

AL      Select port address range.
        *No jumper = 340-35E (hex) ; Jumper = 140=15E (hex)

J6,J4   Select BIOS address location:
        O    O  = C8000
        O    *  = CC000
        *    0  = D8000
        *    *  = DC000    *default

BE      Select host adapter BIOS enable.
        *Jumper=Boot from SCSI disk enabled ; No Jumper=Boot from 
        SCSI disk disabled.



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

From: hm@seneca.ix.de (Harald Milz)
Subject: Re: fax getty and data getty?
Date: Wed, 1 Jun 1994 07:28:58 GMT
Reply-To: hm@seneca.ix.de

Jared Mauch (jared@m-net.arbornet.org) wrote:
: > I want to have the following:

: > When i get data calls/uucp calls on my line the computer goes and sends
: > them a login prompt when they get connected, but when it comes
: > to a incoming fax, it will start receiving the fax.  I have X windows running,
: > and would like to know what sorts of things are already developed, or where
: > to look/find this stuff?

sunsite.unc.edu://pub/Linux/system/Serial/mgetty+sendfax-0.20.tar.gz works
just fine :)

-- 
Harald Milz                             office: hm@ix.de
iX Multiuser Multitasking Magazine      home:   hm@seneca.ix.de
Opinions are mine, not my employer's -- the answer is Forty-two


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

From: hm@seneca.ix.de (Harald Milz)
Subject: Re: This SLIP ought to work!
Date: Wed, 1 Jun 1994 07:44:52 GMT
Reply-To: hm@seneca.ix.de

Steve McMahon (steve.mcmahon@lambada.oit.unc.edu) wrote:
: > Machine A was called a.my.com, with address 127.0.0.1, i.e. /etc/hosts
: > has

: >   127.0.0.1   localhost
: >   127.0.0.1   a.my.com

You don't want to do that. dip always greps the IP address to set from your 
hostname. If you assign the same IP address to both hostname and localhost, 
you're stuck. You srew up the routing completely. As long as you don't play 
on the real-world internet (i.e. without external connection), simply invent 
fantasy addresses different from 127.0.0.1. 

Further if you want to use dip as the login shell for a SLIP dialup account, 
you don't want to have *any* IP address for your hostname because the server
dip will also fetch your hostname's IP address for the SLIP interface. 
If you have any IP address in addition to localhost *before* starting the 
dip server, you're stuck. In this case, I'd recommend to use sliplogin which
is very configurable in terms of IP addresses etc. My setup is,

dummy     IP ADDR 192.54.43.98  BCAST 192.54.43.255  NETMASK 255.255.255.0
          MTU 1500  METRIC 0  POINT-TO-POINT ADDR 0.0.0.0
          FLAGS: 0x0043 ( UP BROADCAST RUNNING )

lo        IP ADDR 127.0.0.1  BCAST 127.255.255.255  NETMASK 255.0.0.0
          MTU 2000  METRIC 0  POINT-TO-POINT ADDR 0.0.0.0
          FLAGS: 0x0049 ( UP LOOPBACK RUNNING )

The "dummy" interface appeared in 1.1.17. I use sliplogin for the SLIP dialup 
and assign 192.54.43.99 to the sl0 interface. sliplogin can be found in 
sunsite.unc.edu://pub/Linux/system/Network/sunacm/Programs/BSD/. Don't forget
to apply the respective patch in the same directory.

: > and /etc/rc.d/rc.inet2 has

: >   /sbin/ifconfig lo 127.0.0.1
: >   /sbin/route add -net 127.0.0.0

I think this belongs in rc.inet1.

: > Now I started on machine B. Here is what I did (as per the manual):

: > b:~> dip -t
: > DIP> port /dev/ttyS0
: > DIP> speed 19200
: > DIP> get $remote a.my.com (i.e. 127.0.0.1)

In this case you're stuck at once. If you do this (assumed that it would work),
your SLIP client machine would "see" two 127.0.0.1 interfaces: your own 
(localhost) and the remote SLIP interface. Boom!

: > Clearly the connetced is not established. What am I doing wrong? I
: > thought I did everything `by the book', but it doesn't work. Any

No you didn't. See above. 


-- 
Harald Milz                             office: hm@ix.de
iX Multiuser Multitasking Magazine      home:   hm@seneca.ix.de
Opinions are mine, not my employer's -- the answer is Forty-two


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

Crossposted-To: comp.os.linux.help
From: wade@nb.rockwell.com (Wade Guthrie)
Subject: Re: Comparing Yggdrasil's and TransAmeritech CD Linux ....
Date: Thu, 2 Jun 1994 15:24:06 GMT

kpwong@cuse1.se.cuhk.hk (Kit-pui Wong  kpwong@cuhk.hk) writes:

>Is there anybody here has the TransAmeritech
>CD Linux ? I couldn't manage its "automatic"
>(?) installation ?

>I bought the TransAmeritech some days ago 
>from a local distributor. It's really 
>__disappointing__. I could not set it up and 
>couldn't even make the bootdisk or rootdisk 
>bootable.  I didn't know why the LILO on the 
>floppies simply refused to work....

I had little problem, especially once I decided
to use the monochrome setup.  You might try that.

-- 
Wade Guthrie                     | Here's to far too many MIPS, old sports
wade@nb.rockwell.com             | cars, AD&D (first edition), and single 
I don't speak for Rockwell.      | malt whiskey.

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

From: rnichols@ih4ehw.ih.att.com (na8520d00-Nichols)
Subject: Re: more - Broken Pipe
Reply-To: rnichols@ihlpm.ih.att.com
Date: Thu, 2 Jun 1994 01:26:15 GMT

In article <1994Jun1.223729.369@tarik.demon.co.uk>,
Larry Barea <larry@tarik.demon.co.uk> wrote:
>Anyone else getting a Broken Pipe error when piping through 'more' or is
>it just me (particulary on an xterm).

Everybody gets it.  I find it a bit nostalgic, actually.  If you look
through a very old Unix manual, you'll find quite a few notes
indicating commands that "may cause a harmless 'Broken Pipe' error
message."

Whatever process is sending data to "more" _does_ receive a SIGPIPE if
you quit from "more" before the sender has finished writing to the
pipe.  Whether you get a message or not is an implementation detail in
the shell.

--
Bob Nichols
AT&T Bell Laboratories
rnichols@ihlpm.ih.att.com

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

From: ut@informatik.uni-kiel.de (Ulrich Teichert)
Subject: Re: "Projects under development" list
Date: 2 Jun 1994 17:14:46 +0200

Note: all what I wrote is IMHO.

In <CqrGsn.7zE@seneca.ix.de> hm@seneca.ix.de (Harald Milz) writes:

>regularly (weekly? bi-weekly? monthly?) in one of the linux
Daily.....

>Hopefully this would reduce the overall traffic in those
>newsgroups (and rumours concerning those projects, the PCI SCSI
>driver being a good example ;).
Yep.

>- developers e-mail address(es)
This should be optional, as it _would_ trash their mailboxes, I am
sure.

>As the contents of the list will change quite rapidly
>(I assume), I don't think that it would be a good HOWTO
>i.a.w. the HOWTO-INDEX. I even doubt if it would be wise to
>store it on sunsite or tsx-11.
If it will be posted monthly, then yes, else no.

>Any comments? If nobody else feels he must do it, I'd volunteer
>to set up the list and post it regularly.
You got the job ;-)

Uli
-- 
Ulrich Teichert       Voice :        +49 4321 71582
Stormweg 24           E-mail: ut@informatik.uni-kiel.d400.de
24539 Neumuenster, Germany // listening to:
X-Ray Spex: Oh! Bondage Up Yours! // Buzzcocks: Inside

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

From: gurganus@homrighous.ecn.purdue.edu (James P Gurganus)
Subject: INT 13H support in Linux
Date: Thu, 2 Jun 1994 15:50:47 GMT

Does anybody know if Linux supports INT 13H hard drive support like OS/2?
Since apparently my Adaptec 2742 isn't supported by drivers, how about
my INT 13H?

Thanks for any info.

--
James Gurganus
(jpg@cc.purdue.edu)

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

From: mark@taylor.infi.net (Mark A. Davis)
Subject: Re: Linux for the masses? (WordProcessing again)
Date: Thu, 02 Jun 1994 12:46:51 GMT

byron@cc.gatech.edu (Byron A Jeff) writes:

>>I think that it is important to make use of the function keys early on in
>>the project...  For the novice, function keys are easy to remember.
>>I suggest using using the function keys similar to how WP 6.0 uses them.
[...]
>I've experienced too many failures with terminal and telnet interfaces
>because the application (like WP) assumed there were function keys available.

WordPerfect for Unix does not assume that function keys are available.
Not only can each WordPerfect function be bound to any key combination for
any terminal, but WordPerfect for Unix also offers pull-down menus on all
displays by pressing <esc=>.
-- 
  /--------------------------------------------------------------------------\
  | Mark A. Davis    | Lake Taylor Hospital | Norfolk, VA (804)-461-5001x431 |
  | Sys.Administrator|  Computer Services   | mark@taylor.infi.net           |
  \--------------------------------------------------------------------------/

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

From: bradb@bronze.coil.com (Brad Block)
Subject: SLIP/PPP and all services available from a shell
Date: 2 Jun 1994 12:15:39 -0400

Is there any PPP or SLIP terminal that offers all the services of shell 
in one integreated package?  If not, is there a way to redirect a local 
shell to treat a PPP or SLIP connection as local?  Like, for FTP'ing the 
d/l's would be written to the end user's HD but would actually be coming 
through the remote server's port?  This would all have to been done on a 
MS-DOS platform so no Unix-to-Unix connection or whatever could be made 
obviously.

- Thanks!
-- 
----|Brad Block|----                            ----|Sysoop: Wave 2 BBS|----
     AKA: MaKi                                          614\766-1258
                                                    bradb@bronze.coil.com


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


** 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-Misc-Request@NEWS-DIGESTS.MIT.EDU

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

    Internet: Linux-Misc@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
    sunsite.unc.edu				pub/Linux

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