Subject: Linux-Misc Digest #201
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:     Wed, 1 Jun 94 22:13:12 EDT

Linux-Misc Digest #201, Volume #2                 Wed, 1 Jun 94 22:13:12 EDT

Contents:
  Re: [X/XF86_VGA16/xterm] Make my day. (Richard Meitzler)
  Re: mouse and X (Oyvind Brusevold - Hstud)
  WinNT vs. Linux as Internet Gateway? (Joseph Kruckenberg)
  Re: Norton utilities trash lilo (Eric Brunson)
  Comparing Yggdrasil's and TransAmeritech CD Linux .... (Kit-pui Wong  kpwong@cuhk.hk)
  Re: "selection" via keyboard? (Andries Brouwer)
  Re: [Help] Memory PARITY Error? (Craig Zeller)
  Adaptec 2742T:  Anything at all??? (James P Gurganus)
  Re: Future Domain TMC850MCD & Toshiba 3401 (Mark Pfeifer)
  Re: [X/XF86_VGA16/xterm] Make my day. (Bill Hogan)
  PCI SCSI cards under Linux? (repeat?) (green@ids.net)
  Just Computers! Shipments (Randy Just)
  Re: stty or ioctl help, please (Kevin Phillips)

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

From: rgm@thorin.hw.stratus.com (Richard Meitzler)
Subject: Re: [X/XF86_VGA16/xterm] Make my day.
Date: 1 Jun 1994 20:17:35 GMT

In article <2shdcv$6gv@crl.crl.com>, bhogan@crl.com (Bill Hogan) writes:

>...
>   What I want to know is how I can make all of the instances of xterm that
> come up when I am running under X to come up the same way xterm comes up
> when I invoke it directly from the Linux prompt as per the above.
> 
>   I have tried putting the line
> 
>       XTerm.Foreground: magenta
> 
> into a file named '.Xdefaults' in my $HOME directory, but that did not work.
> 

I had some problems with openwin reading my .Xdefaults file.  I discovered
that whatever was starting openwin (and not when I did startx, that worked
OK) was looking for the C pre-processor (cpp) in the /lib directory.  It was
not there and that is why openwin was not reading the .Xdefaults file.  I put
a softlink to the C preprocessor that came in the GCC stuff (somewhere under
/usr/gcc.... or something like that).  This fixed the problem and everything
worked fine after that.

Good Luck, Rick
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
             Richard Meitzler, Stratus Computer, Marlboro, MA
      rgm@hw.stratus.com  -or-     Richard_Meitzler@vos.stratus.com
             ...!transfer.stratus.com!thorin.hw.stratus.com!rgm

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

From: bruse@ii.uib.no (Oyvind Brusevold - Hstud)
Subject: Re: mouse and X
Date: 1 Jun 1994 17:51:44 GMT
Reply-To: bruse@ii.uib.no

>>>>> "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

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

From: kruckenb@sal.cs.utah.edu (Joseph Kruckenberg)
Crossposted-To: comp.os.ms-windows.nt.misc,comp.os.ms-windows.nt.setup,utah.linux
Subject: WinNT vs. Linux as Internet Gateway?
Date: 1 Jun 1994 18:55:46 GMT

[If the answers to these questions are covered in a FAQ or other
resource, please forgive my ignorance and point me in the right
direction].

I'm getting the company I work for set up on the Internet, and up to
now we've been seriously considering Linux (a copy-lefted version of
Unix under the GNU license) as our gateway/router/firewall. I
understand that Windows NT has capabilities to be an Internet gateway,
but I'm not familiar with what capabilities it has. Could you please
comment on whether NT can do the following, and (if you can) if it can
do them better than Linux:

Filter in-coming and out-going packets by type and destination to 
  prevent unauthorized and/or undesireable traffic (a firewall)
Route TCP/IP traffic between the LAN and the Internet
Allow FTP, Telnet, WWW, remote-login, finger, ping, and other 
 "standard" Unix access from both the internal LAN and the Internet
 Has to be able to run these semi-well with multiple users 
 attached from in- and out-side the company
Act as a local relay node for in-bound and out-bound email
Act as local NNTP server for USENET news
Allow for SECURE (password/dial-back) dial-in access via SLIP/PPP
 or terminal emulation
Do IP via SLIP/PPP/CSLIP (for the connection to the Internet)
Allow internal clients to connect to Internet services via IPX/SPX
  (ie an IPX <-> TCP/IP gateway)

What kind of prices are we going to look at for WinNT to provide
access to up to 100 users? What additional software will we need to
get some/all of the capabilities listed above?

Thanks for your help.
Pete Kruckenberg
kruckenb@sal.cs.utah.edu


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

From: brunson@sun1.SCRI.FSU.EDU (Eric Brunson)
Subject: Re: Norton utilities trash lilo
Date: 1 Jun 94 16:24:51

In article <CqoJz0.H4x@nntpa.cb.att.com> rnichols@ih4ehw.ih.att.com (na8520d00-Nichols) writes:

   In article <2sf3s1$hf9@ccu2.auckland.ac.nz>,
   Luke Wilson <luke@ccu1.auckland.ac.nz> wrote:
   >paai@kub.nl (J.J. Paijmans) writes:
   >
   >>I have had a nasty experience with the Norton Utilities, both older
   >>versions and the new one. When I start the diskchecker, Norton checks
   >>among others the bootsector, detects lilo and reports something
   >>amiss with that sector. So far so good.
   >
   >>After that it asks whether it should correct the problem (Yes, No, Cancel).
   >>*BUT* regardless what I answer now it proceeds and thrashes lilo so
   >>I have to dig out my boot diskettes for Linux and reinstall lilo
   >>correctly.
   >>-- 
   >>Copyright Hans Paijmans 1994. Niets hierboven mag geheel of
   >>gedeeltelijk worden geciteerd buiten de nieuwsgroep(en) waar het
   >>oorspronkelijk is geplaatst.  Nothing of the above may be cited
   >>outside the newsgroups in which the message originally was posted.
   >
   >I'm using Norton Utilities v7, and it checks my disk every time I boot
   >dos. I've never had it trash Linux.

   Perhaps you don't have the partition marked "Linux Native" in the
   partition table.  NU should ignore a non-DOS partition, but NU's Disk
   Doctor got very upset when I identified my Linux partition as "BIGDOS"
   (just as an experiment).  Use the Linux fdisk program to set the
   partition type properly.


I don't think lilo gets installed in any of the partitions.  It was my
understanding that the Master Boot Record fell outside the range of
any of the partitions, whether DOS or not.  In that case Norton would
still be in error (in my book) to try to "fix" a corrupted MBR without
informing or asking about it.  Did you get any messages to that
effect?

e.
--
===========================================================================
Eric Brunson                                           brunson@scri.fsu.edu
Unix System Manager / CM2 Manager                              904.644.0188
Supercomputer Computations Research Institute      Florida State University

When I make my first million, I think I'll buy myself some happiness;
If there's a sale on satisfaction, I might just have to stock up.
                                                           -Human Radio

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

Crossposted-To: comp.os.linux.help
From: kpwong@cuse1.se.cuhk.hk (Kit-pui Wong  kpwong@cuhk.hk)
Subject: Comparing Yggdrasil's and TransAmeritech CD Linux ....
Date: Wed, 1 Jun 1994 08:11:26 GMT

Hi, friends,

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 now simply un-tar the archieves from the 
CD manually  (just like what I get with
remote ftp)

In contrast, Yggdrasil's CD is **much** more 
superior.  Yes, I have the fall 93 release.
(the first one I had, and I was a newbie on Linux
half a year ago, yet I managed to install my first 
Linux on HD with Ygg's). In addition, its manual
is more detailed than the TransAmeri* 

Now I am going to buy the Spring 94 release.

Cheers, 
KiT
kpwong@se.cuhk.hk

> From alte@rahul.net Wed Jun  1 06:32:47 1994
> Content-Length: 4465      
> 
> Just give you some info about Trans-Ameritech Linux Release 3 (4/94), $39.95
> 
> Charles
> -----------
> 
> 
> 
> Trans-Ameritech LINUX 1.x 
> 
> The main feature of the Trans-Ameritech Linux Plus CDROM is versatility.
> The best of Linux - Slackware installation package that lets

       ..................


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

From: aeb@cwi.nl (Andries Brouwer)
Subject: Re: "selection" via keyboard?
Date: Wed, 1 Jun 1994 21:50:05 GMT

unkadath!shamus@naucse.cse.nau.edu (James W. Abensdchan) writes:

: Has anyone modified selection to use the keyboard to cut & paste text
: instead of the mouse?  If so, where can I pick this up?

: Also, a while ago someone posted to either here or alt.hackers that
: they had written a program to use the 3 "lock" lights to display
: a neato little visible display of the load average, something like
: a heartbeat.  Is this program available somewhere?  I hacked one up,
: but it only works in the VC it was invoked in and has the unfortunate
: side effect of actually performing the lock (ie; if I ioctl the capslock
: light, caps lock is on.)  I'm sure this is normal behaviour, but I'd
: like to be able to cirumvent it.

You can change the lights without the kernel noticing it by writing
directly to the appropriate port. Last month I posted a little program
that did precisely that (although for other reasons).

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

Crossposted-To: comp.os.ms-windows.setup
From: zeller@zot.iipo.gtegsc.com (Craig Zeller)
Subject: Re: [Help] Memory PARITY Error?
Reply-To: zeller@zot.iipo.gtegsc.com (Craig Zeller)
Date: Wed, 1 Jun 1994 19:36:50 GMT


In article <2sf5o0$22i@ciup2.ncc.up.pt>, pbv@oat.ncc.up.pt (Mario Florido) writes:
>  Hi, I've got a "mostly-Linux" system for the past months
>(no flames, please!) but I've also got a Windows partition
>and I've noticed a strange problem occasionaly occuring:
>when I run Windows, I sometimes get a "Memory parity error"
>message and the system hangs. It occurs "out-of-the-blue"
>when (say) I just clicked a button, or closed a window
>(point is: it doesn't occur in the middle of an intensive
>computation).
>  The strange bit is that I NEVER got any such (or other)
>errors running Linux, X-Windows, etc., not even if I 
>recompile the kernel and run and X session at the same
>time (which IS memory-demmanding).
>
>  My system is: a 486DX33 with 8Mb RAM, BusLogic SCSI controller,
>  a Segate SCSI disk + a Fujitsu SCSI disk, an ET4000 video board
>  (unknown manufacturer).
>
>  My question is, then :-
>
>  1) Has anyone experienced such problems with MS-Windows?
>
>  2) Could it be a "parity error" in the VIDEO Ram?
>     Perhaps the windows driver uses the video in a 
>     different manner from X.
>
>  3) Could it be a software error? --- i.e., in the
>     windows ET4000 video driver.
>
Mario;

  Video memory has no parity checking. Parity for RAM is initialized as
part of the Power-Off-Self-Test ;). In days of 'Olde, something like a
74180 was used as a parity generator/checker. The 74180 can be set to
generate/check either odd or even parity, and is generally set to the
opposite of 'normal' parity briefly as part of the POST in order to check
the parity circuitry itself. It's possible that something is glitching
the even/odd parity select line that goes to the 74180 (or whatever is
being used in current designs). Admittedly it's been a long time since
I've cracked a schematic, but I seem to recall that the parity select
line came out of one of general purpose I/O lines of the 8042 keyboard
controller. If you have access to an oscilloscope and a schematic of
your unit, you might put a probe to the line to see if it's being
glitched during operation of one or the other OS's. The device driver
code would seem to be a likely suspect.

===========================================================================
Craig Zeller              | c/o GTE Government Systems Corp., Room 1293
UNIX Consultant           | 31717 La Tienda Dr., Westlake Village, CA 91362
Digital Equipment Corp.   | Phone: (818) 706-6867 FAX: (818) 706-5050
zeller@hngten.lao.dec.com | E-mail: zeller@zot.iipo.gtegsc.com
===========================================================================


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

From: gurganus@homrighous.ecn.purdue.edu (James P Gurganus)
Subject: Adaptec 2742T:  Anything at all???
Date: Wed, 1 Jun 1994 19:57:20 GMT

I have an Adaptec 2742T controller a Toshiba 3401 CD-ROM, a 340 meg hard
drive and soon, a 230 MB MO drive.

Can I do anything with Linux at all?  Forgive my possible ignorance about
this.  I've heard no AIC-7770 drivers exist yet.  Will Linux use BIOS
calls?  DOS doesn't need drivers unless I want to use the CD-ROM, etc,
right?

Basically, can I install Linux?  And if so, will I be able to use the
CD-ROM or MO?  I'm willing to sacrifice the utility of those devices if I
can at least get Linux running.

Thanks for any info!

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

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

From: pfeifer@lf.hp.com (Mark Pfeifer)
Subject: Re: Future Domain TMC850MCD & Toshiba 3401
Date: 2 Jun 1994 00:46:05 GMT

Mark Pfeifer (pfeifer@lf.hp.com) wrote:
: I'm having trouble getting Linux to see the Toshiba 3401 attached to 
: a Future Domain TMC850MCD SCSI card.  [The rest of the computer is an HP
: Vectra 486/25U EISA, 12MB RAM, 240MB IDE hard disk]

I hate following up my own posts, but here's the messages that get 
displayed as the boot disk boots:

Calibrating delay loop.. ok - 12.42 BogoMips
failed
scsi0 : Seagate ST-01/ST-02
scsi : 1 hosts
scsi : detected 0 SCSI disks 0 tapes 0 CD-ROM drives total
Memory...

I hope someone sees this and has some idea going on - I've run out of
ideas - except either installing from floppy or giving up on Linux...

                                                Mark
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Mark Pfeifer                   (302) 633-8260   Internet: pfeifer@lf.hp.com
Hewlett-Packard Little Falls Site               #include <disclaimer.h>
Wilmington, DE 19808                            #define OPINIONS mine

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

From: bhogan@crl.com (Bill Hogan)
Subject: Re: [X/XF86_VGA16/xterm] Make my day.
Date: 1 Jun 1994 14:43:14 -0700

  To wrap up, I would like to thank Oyvind and Richard and all the other 
kind folks who responded to by question.

  I will let this thread sit a couple of days before I delete it because 
I doubt that I am the only *Linux* user who will appreciate the replies I 
received.

  The responses I have received so far work on a resource-by-resource basis.

  For example, in my ~/.Xdefaults file, I now have

        Xterm.*.Foreground: magenta
        Rxvt.*.Foreground: magenta
        Ghostview.*.Foreground: magenta
        Seyon.*.Foreground: magenta

and in all these cases, all *text* that appears in widgets of any kind is 
perfectly readable on my paper-white VGA using the XF86_VGA16 server.

  I can't tell you how pleased I am to be able to get such beautiful text 
output on a $150 monitor!

  Lastly, if only to clarify my original statement of my question, I 
should probably say that I am still left wondering if there is not some 
way to give X an instruction/declaration of the form

        <Resource>.*.Foreground: magenta

that would do for all resources what I am now able to do on a 
resource-by-resource basis.

 Hmm. Maybe something as simple as *.*.Foreground: magenta?

 Nevertheless, thanks again to all who responded -- you really did make my 
day!

 Bill
-- 
  Bill Hogan
{bhogan@crl.com}

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

From: green@ids.net
Subject: PCI SCSI cards under Linux? (repeat?)
Date: Wed,  1 Jun 94 12:52:50 GMT

Hi folks!  I saw on here a message subject about PCI SCSI cards and Linux,
but unfortunately the message had been expired and I couldnt read it!  I was
wondering, and perhaps the message had answered this question - Does Linux
currently (or CAN it by means of a patch/driver) support PCI SCSI cards?
Specificly, something like the Adaptec 2740W? (I'm not sure if that's the
correct number, but I was told that that model was a PCI SCSI card).

Any help on this would be greatly appreciated...!

Andy, green@ids.net


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

From: rjust@crl.com (Randy Just)
Subject: Just Computers! Shipments
Date: 1 Jun 1994 14:54:06 -0700

Several of you ordered copies of The Linux Bible from Just Computers!

Here is a status update of these orders:

All pending orders for The Linux Bible have been shipped on June 1, 1994.  
Some of you should receive it as early as June 2.

As a side comment, we have had the opportunity to review The Linux Bible.
The title is very appropriate for the book.  It should prove to be a very
handy reference guide.  There is something about a bound book that is full
of great information that can't be beat! 

For current discounted pricing of The Linux Bible, The Yggdrasil Plug-and-Play
Summer '94 Linux Release on CD-ROM and other products, information can
be retrieved from our mailserver at:

info@justcomp.com

Just include the word "help" in your message.


Just Computers!
P.O. Box 751414
Petaluma, CA 94975-1414
707/769-1648 Voice
707/765-2447 FAX

sales@justcomp.com

Visa and Mastercard as well as International orders gladly accepted!


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

From: phillips@commtg3.rtp.dg.com (Kevin Phillips)
Subject: Re: stty or ioctl help, please
Date: Wed, 1 Jun 94 20:06:15 GMT

In article <770419718snz@rigel.demon.co.uk>, steve@rigel.demon.co.uk (Steve Horsley) writes:
|> I would like to make a small program I am writing react to single
|> keystrokes for option selection etc. To do this, I need to set three
|> things:
|> 
|> 1)  the key must be passed straight to the program without the tty driver
|>     waiting for CR to be hit
|> 
|> 2)  Backspace and delete must be passed through to the program (this
|>     may happen as a side effect of 1), I,m not sure.
|> 
|> 3)  echoing if keys must be disabled - I want to be able to ignore 
|>     keys if I choose.
|> 

Sounds like you want to run in RAW mode.  

        stty -icanon

                OR from a program

        tcgetattr (loop, &term); /* or the appropriate ioctl */
        term.c_lflag &= ~ICANON;
        tcsetattr (loop, TCSANOW, &term); /* or the appropriate ioctl */

        

                Kevin Phillips



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


** 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
******************************
