Subject: Linux-Misc Digest #374
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:     Mon, 4 Jul 94 17:13:11 EDT

Linux-Misc Digest #374, Volume #2                 Mon, 4 Jul 94 17:13:11 EDT

Contents:
  Ins key in ncurses applications? (Jose Manuel Moya)
  Re: Linux better than OS/2 for net surfing (Rick Kelly)
  KSH is REALLY BROKEN in Slackware! (Bob Kupiec)
  Re: When was Linux born? (Arthur Tateishi)
  Re: Linux Journal wants young artists (Phil Hughes)
  Re: Does PPP on Linux Route TCP/IP? (Robert Sanders)
  Re: Ins key in ncurses applications? (Albert Hui)
  Re: OS/2 vs. Linux : Stop this discussion! (Paul Stoffregen)
  Re: Ins key in ncurses applications? (Zeyd M. Ben-Halim)
  Is it possible to mix FIDO and Usenet? (Garry Adkins)
  Re: NCR53c810 SCSI PCI driver: Problem with fdisk (Drew Eckhardt)
  Re: NCR53c810 SCSI PCI driver: Problem with fdisk (Patrick J. Volkerding)
  Help:I need Hack! (Supa Dupa)
  Re: OS/2 vs. Linux : Stop this discussion! (John William Chambless)
  Re: Watching a user on an tty? (Ed Thomson)
  Re: OS/2 vs. Linux : Stop this discussion! (Dan Pop)
  Re: ANNOUNCE: Slackware Linux 2.0 (Marc Slemko)

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

From: mpg93054@oasis (Jose Manuel Moya)
Subject: Ins key in ncurses applications?
Reply-To: mpg93054@oasis.dit.upm.es
Date: Mon, 4 Jul 1994 16:46:34 GMT

I have compiled MouseLess Commander for Linux.
It should mark (tag) the selected file when I press Ins key but it doesnt.
C-t works ok

It uses ncurses' KEY_IC but when I press Ins key the only thing
I get is something like  ]]2~  in the command line

I dont know if its a problem of my terminfo database or my 
ncurses package (1.8.5)

I have also tested KEY_IL, KEY_EIC and many others
KEY_DC has no problem but ncurses doesnt seem to know I have an Ins key

BTW, emacs recognizes Ins key as insertkey

Has anybody been successful using Ins key in ncurses applications?

thanks in advance

Jose Manuel

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

Crossposted-To: comp.os.os2.advocacy
From: rmk@rmkhome.com (Rick Kelly)
Subject: Re: Linux better than OS/2 for net surfing
Reply-To: rmk@rmkhome.com (Rick Kelly)
Date: Mon, 4 Jul 1994 12:49:40 GMT

Leo L Turetsky (professor+@CMU.EDU) wrote:

: All of three cards? Incorrect. Why don't you find out something about
: the specs. ftp.next.com (unless they changed it). It has more drivers
: that work than OS/2 ever will have. Plus NeXT doesn't release broken
: drivers and OS's and not provide free fixes, not that this has happened
: yet to my knowledge.

Like some primitive human species, your concept of numbers must be limited
to 1, 2, and many.

I'm logged into ftp.next.com at this moment.

I see:

2 SCSI drivers

7 SVGA drivers

5 Ethernet drivers

Most of the above drivers are for obscure hardware.

The 2 SCSI drivers, Adaptec 154x and DPT, ought to be included by
default in any shippable OS, as they are status quo.

Byte magazine (I know, I know), felt that 24 megs was the minimum needed
to run NeXTStep comfortably.


-- 

Rick Kelly  rmk@rmkhome.com  rmk@bedford.progress.com

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

Crossposted-To: comp.os.linux.help,comp.unix.shell
From: kupiec@tigger.jvnc.net (Bob Kupiec)
Subject: KSH is REALLY BROKEN in Slackware!
Date: Mon, 4 Jul 1994 17:28:28 GMT


I've found a rather obvious bug in ksh in Slackware 1.2.  The version
is "KSH_VERSION=@(#)PD KSH v4.9 93/09/29".  

$ ls bin tmp >> outfile
$ od -c outfile
0000000  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0001140  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0   b   i   n   :  \n  \n
0001160   t   m   p   :  \n
0001165

What's with all the nulls!?  It only happens why you *APPEND*a
command's output.  ( "ls bin tmp > outfile" does work) 
It also works fine for shell bultins.  (i.e. echo hello >> outfile)

First, is this the latest version of PD KSH?  Secondly, where can I
get the source code for the latest version?  (I'm also sick of the
hard-coded intr=^C in these things.)

Thanks.

-- 
Bob Kupiec  (HAM: N3MML) Phone: 609-897-7319             JvNC (GES, Inc.)
Network Operations            & 800-35-TIGER x7319      3 Independence Way
Email: kupiec@jvnc.net    Fax : 609-897-7310            Princeton, NJ 08540

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

From: ruhtra@turing.toronto.edu (Arthur Tateishi)
Subject: Re: When was Linux born?
Date: 4 Jul 94 18:02:27 GMT

In article <2v8oe8$mtd@senator-bedfellow.mit.edu>,
Mitchum DSouza  <m.dsouza@mrc-apu.cam.ac.uk> wrote:
>Byron Faber:
>| For the history books.  When did Linux first come into existance?
>This is a classic checken-and-egg case - i.e. when did Linux start at
>conception in Linus's brain or when was the first bit of code typed
>in ? Then again the first bit of code typed in may not in reality be
>in the current kernels. So it is debatable whether a definite start
>point may be deduced. 

Instead of concentrating on the birth of Linux, why not consider
conception (idea in Linus' head), the first embryo (the initial two
task program), and the first widely available version (0.10? 0.12?).

>I think IMHO that Linux started when Linus was born. So those who
>know Linus's birthday may be more able to answer this question.

Sure. Make even more people confused and refer to Linus as Linux!

arthur
-- 
Choices don't scare me. However, a lack of choices does.
Arthur Tateishi                           ruhtra@turing.utoronto.ca

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

From: fyl@eskimo.com (Phil Hughes)
Subject: Re: Linux Journal wants young artists
Date: Mon, 4 Jul 1994 16:11:44 GMT

Thomas G. McWilliams (tgm@netcom.com) wrote:
: Phil Hughes (fyl@ssc.com) wrote:
: : What we want is a "picture of a Linux" drawn by a child.  We would like
: : them to decide what a Linux should look like and then make the drawing.

: Sounds ok, but I'm still waiting for the Linux Journal "swim suit" issue.

: Thomas

I believe you have the wrong magazine.  That is in Linux Illustrated. :-)


--
Phil Hughes, Publisher, Linux Journal (206) 524-8338
usually phil@fylz.com, sometimes fyl@eskimo.com

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

From: rsanders@mindspring.com (Robert Sanders)
Subject: Re: Does PPP on Linux Route TCP/IP?
Date: 04 Jul 1994 18:06:43 GMT

In article <1994Jul4.142811.7202@crosfield.co.uk> jc@crosfield.co.uk (Jerry Cullingford) writes:

   In article <RSANDERS.94Jun29095438@hrothgar.mindspring.com> rsanders@mindspring.com (Robert Sanders) writes:

   On the gripping hand, with a maximum of 16.7M class Cs,
   it might eventually become one - but I doubt whether linux users are going to
   take more than a minute part of that :-).  And no doubt we'd probably see class
   D addresses introduced (or longer addresses) if it ever does become a problem.

Um, multicast addresses you mean?  I don't think I want one of those
as my primary IP address.

   >For example, my provider (also my employer) uses the class B net
   >168.121.  My small ethernet at home uses a 3-bit subnet of my
   >provider's class B, which allows me to connect up to 6 machines
   >(including the one with the PPP link).  The hard part is getting your
   >provider to loan you part of his address space.

   Exactly; your setup works because other machines know how to route to the
   class B net. (Is that what you meant by 'valid'?). Unless you're using part
   of an existing network address space, things start getting messy :-) and
   complicated. Simpler to pay your service provider and let them sort it out,
   especially since you'll probably need to pay them for it anyway :-)

I don't know exactly what you think you're rebutting here.  Of course
you must have correct routes set up.  Nothing is messy at all; it
stands to reason that if you're using a subnet of someone's class B
that they're also your service provider, and hence any packets that
you receive must go through their equipment first.  So, the only
routes that need to be *externally* visible are routes to your ISP's
class B.  The router on the ISP's class B can handle any subnet
routing.

Whether you own your own class C or you get a subnet of someone else's
net is really irrelevent to this discussion; either way, someone's got
to provide you with the connection, and someone's got to advertise
your routes.

The critical step in my setup was a single line of configuration on
the NetBlazer to which I am connected:

 dynamic auto-route <interface> add <network-address>/<netmask-bits>

Interface was my interface name (rsanders), network-address was
168.121.255.0, and netmask-bits was 29 for my 3-bit subnet.  This
means that the NetBlazer isn't capable of routing with non-contiguous
netmasks, but that's no loss.

This information tells the NetBlazer to advertise the route to my
subnet with RIP (v2) so that the Cisco setting elsewhere on the NB's
ethernet knows that 168.121.255.(0-7) involves my ethernet and should
be routed through the NetBlazer.

  -- Robert

P.S. As for paying my ISP, well, *I'm* the guy that does the work, so
     it didn't cost me anything.  Neither does it cost our customers
     any additional charge; it's part of the service we provide.

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

From: s931306@yallara.cs.rmit.OZ.AU (Albert Hui)
Subject: Re: Ins key in ncurses applications?
Date: 4 Jul 1994 18:01:59 GMT

mpg93054@oasis (Jose Manuel Moya) writes:

>I have compiled MouseLess Commander for Linux.

>It uses ncurses' KEY_IC but when I press Ins key the only thing
>I get is something like  ]]2~  in the command line

You have to define the insert key manually by putting ` kich1=\E[2~ '
into the linux terminfo (remember to tic it).
This is mentioned in the README doc.
--
`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._
  Albert Hui (The Avatar)            |
  - avatar@suburbia.apana.org.au     | "Your mind is the only prison
  - s931306@yallara.cs.rmit.oz.au    |  that can ever bind your soul."

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

From: paul@holmes.ece.orst.edu (Paul Stoffregen)
Subject: Re: OS/2 vs. Linux : Stop this discussion!
Date: 4 Jul 1994 18:06:47 GMT

In article <CsEsHC.FpK@news.cern.ch>, Dan Pop <danpop@cernapo.cern.ch> wrote:

[snip: my comment from before]

>What's wrong with kill files?

Everytime I've created a killfile, it's taken a very long time
to start up rn/trn, while it goes through and kills off all the
things is supposed to.  Others at this site have had similar
experiences.  I'd be interested to hear how well killfiles work
elsewhere.  Does it create a long delay while it does its magic?

The OS/2 vs linux thread(s) are raging on.  I tried the /OS\2/
thing, and it really does work: (just checking news/mail again
since last night for a few potential replies... all these
messages below are from about 12-14 hours)

  End of article 20334 (of 20363) -- what next? [npq] /OS\/2/ =:j
  Searching...
  20335   Re: Linux better than OS/2 for net surfing      Junked
  20336   Re: Linux better than OS/2 for net surfing      Junked
  20337   Re: Linux better than OS/2 for net surfing      Junked
  20338   Re: Linux better than OS/2 for net surfing      Junked
  20341   Re: Linux better than OS/2 for net surfing      Junked
  20347   Re: Linux better than OS/2 for net surfing      Junked
  20348   Re: Linux better than OS/2 for net surfing      Junked
  20349   Re: OS/2 and Linux discussed (Re: TCP/IP: The reason I dumped OS/2)   Junked
  20352   Re: A sample of what's wrong with OS/2 TCP/IP   Junked
  20359   Re: Linux better than OS/2 for net surfing      Junked
  20362   Re: Linux better than OS/2 for net surfing      Junked

This is fast on my system, takes about 1-2 seconds, but the same
operation done by a killfile seems to take quite a bit longer.

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

From: zmbenhal@netcom.com (Zeyd M. Ben-Halim)
Subject: Re: Ins key in ncurses applications?
Date: Mon, 4 Jul 1994 18:43:03 GMT

In article <CsFD9M.IDB@dit.upm.es>,
Jose Manuel Moya <mpg93054@oasis.dit.upm.es> wrote:
>I have compiled MouseLess Commander for Linux.
>It should mark (tag) the selected file when I press Ins key but it doesnt.
>C-t works ok
>
>It uses ncurses' KEY_IC but when I press Ins key the only thing
>I get is something like  ]]2~  in the command line
>
>I dont know if its a problem of my terminfo database or my 
>ncurses package (1.8.5)

Terminfo; there is no definition for kich1 in your terminal description.

Zeyd


-- 
---
Zeyd M. Ben-Halim       zmbenhal@netcom.com
10479 1/4 Santa Monica Blvd, LA, CA, 90025 (310) 470-0281

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

From: adkinsg@pcn.proline.com (Garry Adkins)
Crossposted-To: comp.os.linux.admin,comp.os.linux.help
Subject: Is it possible to mix FIDO and Usenet?
Date: 4 Jul 1994 14:39:36 -0400


Hello all!

Please forgive me if this is a stupid question, but I'm just learning 
these things...  :)

Is it possible to get a FIDOnet mailer for linux?

Here's what I'd like to do:
Get incoming fidonet mail and be able to read it via trn, tin, etc.
        (I'm thinking of groups like fido.whatever....)

Take the new postings and send them to the local FIDO network.

Be able to send/recieve FIDO netmail and forward it to the proper
accounts as regular linux mail. (reading with elm)


Basically, I'm thinking of making a simple BBS "shell" that calls the
appropriate unix program.  This way I use linux's regular login, etc.
I've figgured out how to prevent users from shelling out of programs
like vi, elm, etc.  Now I'm wondering how to integrate FIDO into 
this setup.

Are there any linux/FIDO gurus out there?  :)

Email or posting is fine.

Thanks!

Garry

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

From: drew@frisbee.cs.Colorado.EDU (Drew Eckhardt)
Crossposted-To: comp.os.linux.help
Subject: Re: NCR53c810 SCSI PCI driver: Problem with fdisk
Date: 4 Jul 1994 19:35:26 GMT

In article <Cs4Cxu.635@ulysses.homer.att.com>,
Sevananda Adari <seva@ulysses.att.com> wrote:
>I have a 486dx2-66 system with about 500MB SCSI HD. It has
>PCI bus and a mother board built-in NCR SCSI controller
>(NCR53c810). I have made a 200 MB partition (C:) for MS-DOS
>(Windows 3.11) and would like to install Linux on the
>rest of the memory.
>
>I have InfoMagic's Apr 1994 CD-ROM. 
>
>--------
>STEP 1
>------ 
>
>I tried to use "ncr_slack.2.gz" to boot  and use root disk
>that I made from slackware and install the slackware version
>of Linux, but I had trouble with "fdisk".  
>
>I went to the login prompt with no errors being reported and 
>promptly recognizing my system with SCSI hard drive. 
>I think it even recognized my Mitsumi CD-ROM.
>
>After loging in as root I attempted to fdsik /dev/sda
>and got the following messages:
>
>       #fdsik /dev/sda
>       and cylinders.
>       You can do this from the extra functions menu.
>       You must set heads sectors
>       Command (m for help):

This is perfrectly normal, and as fdisk suggests, you must set
these parameters using various functions in the 'extra' menu.

>To check the current partition table, I chose 'p' option
>and it existed the fdisk program with an error.
>
>        Command (m for help):p
>       
>       Disk /dev/sda: 0 heads, 0 sectors, 0 cylinders
>       Units = Cylinders of 1 * 512 bytes
>
>       Device  Boot    Begin   Start   End     Blocks  Id      System
>       /dev/sda1 *     1       61      410040  204990  6       DOS 16-bit>=32M
>       Floating point exception
>       #

Your distribution is using an outdated, _BROKEN_ version of fdisk.  Mail
them and suggest that they upgrade to fdisk 1.5.  Otherwise, you'll neeed
to set the various parameters first before printing the partition table.

>STEP 2
>-----
>
>I went back to DOS and ran 'dparam 0x80' and got the following:
>
>       60      17      1007
>
>I went thru' the documentation I have, to decipher what these are
>and came to a conclusion that heads=60, sectors=17 and cylinders
>=1007. 

Actually, that's 60 sectors, 17 heads, and 1007 cylinders.

>Then booted the system with ncr_slack.2 boot disk and at
>the boot prompt I wanted to specify the above parameters, I didn't
>know how exaclty that can be done other than via ramdisk option.
>This didn't do much good either, system behaved as before (STEP 1).

As the documentation suggests, specifying the logical mapping 
for SCSI disks isn't done at boot time, it's done when you
partition the disk using the 'h'.

Here's an example :

Script started on Mon Jul  4 14:46:30 1994
chopper% sudo fdisk /dev/sdd
You must set heads sectors and cylinders.
You can do this from the extra functions menu.

Command (m for help): x

Expert command (m for help): h
Number of heads (1-256): 2

Expert command (m for help): c
Number of cylinders (1-65535): 1007

Expert command (m for help): s
Number of sectors (1-63): 43

Expert command (m for help): r

Command (m for help): p

Disk /dev/sdd: 2 heads, 43 sectors, 1007 cylinders
Units = cylinders of 86 * 512 bytes

   Device Boot  Begin   Start     End  Blocks   Id  System
/dev/sdd1   *       1       1    1008   43322+   6  DOS 16-bit >=32M

Command (m for help): q
chopper% exit
exit

Script done on Mon Jul  4 14:46:57 1994

>The note on ALPHA NCR53c810 SCSI PCI driver by Drew Eckhardt says 
>that "synchronous negotiations on the SCSI device be disabled",
>which I didn't do (don't know how to do that). Is this the reason
>why I have problems with fdisk. 

No.

>Or is it something fundamentally
>wrong I am doing. 

Yes :-)
-- 
Drew Eckhardt drew@Colorado.EDU
1970 Landcruiser FJ40 w/350 Chevy power
1982 Yamaha XV920J Virago

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

From: gonzo@magnet.mednet.net (Patrick J. Volkerding)
Crossposted-To: comp.os.linux.help
Subject: Re: NCR53c810 SCSI PCI driver: Problem with fdisk
Date: 4 Jul 1994 19:56:25 GMT

In article <2v9o9u$kcl@csnews.cs.Colorado.EDU>,
Drew Eckhardt <drew@frisbee.cs.Colorado.EDU> wrote:
>>I tried to use "ncr_slack.2.gz" to boot  and use root disk
>>that I made from slackware and install the slackware version
>>of Linux, but I had trouble with "fdisk".  
>
>Your distribution is using an outdated, _BROKEN_ version of fdisk.  Mail
>them and suggest that they upgrade to fdisk 1.5.  Otherwise, you'll neeed
>to set the various parameters first before printing the partition table.
>

No, please don't. It was fixed long ago, right after the release of fdisk 
1.5.

Old distributions will often contain old utilities. And, I have no plans 
to fix the old release. ;^)

Pat

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

From: supa@mercury.interpath.net (Supa Dupa)
Subject: Help:I need Hack!
Date: 4 Jul 1994 16:01:46 -0400



Anyone know where I can get HACK! you know the game..
been lookin around at ftp sites but no luck..

anyone out there run across it lately>???

thanks..

supa.



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

From: chambles@whale.st.usm.edu (John William Chambless)
Subject: Re: OS/2 vs. Linux : Stop this discussion!
Date: 4 Jul 1994 15:08:05 -0500

In article <2v22nm$ovr@newstand.syr.edu>,
Ludwig Van. <lruppert@iguana.syr.EDU> wrote:

>BTW, pressing the 'n' key is not so difficult, but neither is walking

/: *OS\/2 vs\. Linux :j

Simple, effective, and automatic.
-- 
*  Billy Chambless                  University of Southern Mississippi
*  Where can I get Linux for the RS-6000?

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

From: ethomson@slip-ethomson.ncsa.uiuc.edu (Ed Thomson)
Crossposted-To: comp.os.linux.admin
Subject: Re: Watching a user on an tty?
Date: 4 Jul 1994 20:24:07 GMT
Reply-To: ethomson@ncsa.uiuc.edu

Christian Henry (henryc@reality.UUCP) wrote:

: However, _now_ I can see how tty ``snooping'' could cause a problem with
: PGP...  :-)

If you're root you can control the permissions of any file and can view the
"private" ring file and get the user's password (encrypted) anyway, so it
doesn't matter, right?  (I'm not entirely sure how PGP/public-key works, but
I'm assuming that your data is compromised if someone else has your private
key...and you don't actually type in a password for PGP, but your private
key file...?)

--
Ed - ethomson@ncsa.uiuc.edu - NCSA Chemistry Visualization Project

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

From: danpop@cernapo.cern.ch (Dan Pop)
Subject: Re: OS/2 vs. Linux : Stop this discussion!
Date: Mon, 4 Jul 1994 20:39:21 GMT

In <2v9j3nINNilh@flop.ENGR.ORST.EDU> paul@holmes.ece.orst.edu (Paul Stoffregen) writes:

>Everytime I've created a killfile, it's taken a very long time
>to start up rn/trn, while it goes through and kills off all the
>things is supposed to.  Others at this site have had similar
>experiences.  I'd be interested to hear how well killfiles work
>elsewhere.  Does it create a long delay while it does its magic?
>
I'm using nn and my kill/select file currently has 43 entries. I can't
detect any delay caused by it when switching from one group to
another. The nn startup time is a few seconds.

Dan
--
Dan Pop 
CERN, CN Division
Email: danpop@cernapo.cern.ch
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland

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

From: marcs@alive.ersys.edmonton.ab.ca (Marc Slemko)
Subject: Re: ANNOUNCE: Slackware Linux 2.0
Date: Mon, 4 Jul 1994 19:22:13 GMT
Reply-To: marcs@alive.ampr.ab.ca

In <ann-2277.773200335@cs.cornell.edu> "Patrick J. Volkerding" <volkerdi@mhd1.moorhead.msus.edu> writes:

[...]

>Slackware 2.0 has just been released on ftp.cdrom.com, and should be showing
>up on the mirror sites soon. Slackware is a complete distribution based on
>Linus Torvalds' Linux kernel and a full set of GNU, BSD, and other applications
>and utilities.

>New features of version 2.0 include:

[...]

>  -- A new self-booting rescue disk for 8 meg machines

I picked this up (from slackware/contrib/rescue.gz on ftp.cdrom.com) but
haven't had any luck.  First I tried copying it to a floppy using dd.  No
go--gave me an error about invalid compressed format.  Fair enough.  Either
I'm doing something wrong with dd, or 1.1.24's floppy code isn't that great. 

I reboot into DOS and try using rawrite to write the image to a floppy.  No
go.  Gets further along in the process, but after it has finished
decompressing the kernel it does a cold reboot.  

Is this something that I am doing, or is there a problem with the disk
image?  Running a 486DLC-33 with 8 megs of RAM, IDE.  Yes, I'm writing it to
a 3.5" floppy.  

Ideas?  

-- 
=================================================================
 Marc Slemko                                  1:342/1003@fidonet 
 marcs@alive.ampr.ab.ca         marcs@alive.ersys.edmonton.ab.ca             

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


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