Subject: Linux-Misc Digest #385
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, 6 Jul 94 10:13:12 EDT

Linux-Misc Digest #385, Volume #2                 Wed, 6 Jul 94 10:13:12 EDT

Contents:
  Re: What can you put on a single Linux boot floppy? (Wolfgang R. Mueller)
  Re: Linux kernel programming book (aldy hernandez)
  Re: I need help to find out what IRQ Sony CDU-33A uses (Steve DuChene)
  Re: Recommendation on laptops (Martin Ouwehand EPFL-SIC/SE)
  Re: OS/2 and Linux discussed (Re: TCP/IP: The reason I dumped OS/2) (Dylan Smith)
  Re: Computing clock values for Xconfig... (Timothy S. Weaver)
  Re: Linux kernel programming book (Rob Janssen)
  Re: How come I can't connect sockets between machines? (Total Chaos)
  Re: kbd keymaps question (Andries Brouwer)
  Re: WANTED: awkcc for Linux (Willing to pay $$) (Yasuo Ohgaki)
  WP4Linux - input wanted (Niedner)
  Panels.h for Linux ? (lenny@inetsys.alt.za)
  Re: is GNU malloc/free really slow? (David Parkinson)
  Threaded newsreader for X? (Mark Buckaway)
  LILO, DOS and one single disk (Paul Kent)
  Re: LILO, DOS and one single disk (Jim Sun)

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

From: wolfgang.mueller@uni-duesseldorf.de (Wolfgang R. Mueller)
Subject: Re: What can you put on a single Linux boot floppy?
Date: Wed, 6 Jul 1994 09:48:09 GMT

In article <2vd2fl$jt9@magus.cs.utah.edu> 
 galt@asylum.cs.utah.edu (Greg Alt) writes:
>This thread has got me thinking...  I'd really like to be able to have
>just one floppy that can show off at least some of Linux.  What can you
>fit onto just one disk?  First, you can cheat a tiny bit and use the
>kernel patches that allow 1.6 Megs on a 3.5 inch disk, then you can 
If the machines to run that floppy will have plenty of ram, then cramdisk 
might be the way to go ( see sunsite.unc.edu:/pub/Linux/....
  ...docs/linux-announce.archive/volume94/Apr/940404.05.gz
  ...kernel/patches/diskdrives/cramdisk-1.0.tar.gz
  ...kernel/patches/diskdrives/cramdisk-1.0.lsm  ).
Else if there will be an MSDOS-Partition available with enough free room,
then a (selfextracting) zip/zoo/arj-archive filling the floppy might do it,
containing a complete UMSDOS root filesystem and loadlin (perhaps including
a large file of zeroes for use as swapfile).
Otherwise a single floppy might be too small to contain enough jingles for
a demo. In this case nfs access to a linux filesystem on the local net
should help.
In all cases, if networking support is included, also something like a
bootp or rarp client should be configured for ease of use.
Just some ideas,
Wolfgang R. Mueller <wolfgang.mueller@uni-duesseldorf.de>,
Computing Centre, Heinrich-Heine-University, Duesseldorf, Germany.

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

From: aldy@sauron.cc.andrews.edu (aldy hernandez)
Crossposted-To: comp.os.linux.development
Subject: Re: Linux kernel programming book
Date: 5 Jul 1994 23:03:49 GMT

In article <2vbio1$9h4@hahn.informatik.hu-berlin.de>,
U.Kunitz <kunitz@informatik.hu-berlin.de> wrote:
>
>Language: _german_
>386 pages
^^^^^^^^^^
Hmmm. I got a good laugh out of that one.

Aldy

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

From: s0017210@cc.ysu.edu (Steve DuChene)
Subject: Re: I need help to find out what IRQ Sony CDU-33A uses
Date: 6 Jul 1994 10:21:18 GMT

        Corey: I tried mailing you a reply but both of the E-addresses
        bounced the mail back to me as host unknown. so I will ask my
        questions here and hope you see this!
        I have a couple of questions/problems with your reply to my
        questions about the Sony CD-ROM interface card. In the documentation
        that Gateway provided me with my system it says and I quote,
        "Do not set any jumpers on JP4". So I pulled my card a couple
        of nights ago prior to my posting and sure enough there are no 
        jumpers set at all on JP4. What does this indicate? I have no
        IRQ set for the drive/card or does having no jumpers set the 
        IRQ to some default not covered on your tables? Your documentation
        looks like it is much more complete than mine! BTW, when you said 
        some kernel drivers were to be included in the next kernel, what
        were you talking about? There already is a driver in the kernel for
        the CDU-31A that also works for the CDU-33A (but doesn't take advantage
        of the double speed as far as I know) and there is an externally
        loadable module that does take advantage of the double speed but
        does not have any sound support. I have tried to get this second 
        driver to work but I have had no luck yet after trying to add the 
        patches to the 1.1.24 kernel version. I gives a module load failed
        message when ever I try to use insmod to load it (yes I have the 
        latest version of the modules package). If you have any experience 
        with this driver written by Petteri.Stenius@cs.hut.fi (Petteri Stenius) 
        for the Sony CDU-33A, I could use some advice on this also. Anyway
        Thanks for the information you have already provided. 
  
-- 
| Steven A. DuChene   sduchene@cis.ysu.edu  or  s0017210@cc.ysu.edu      
| Youngstown State University  | Computer Science / Math / Mech. Eng.
|They all laughed at Albert Einstein. They all laughed at Columbus. 
|Unfortunately, they also all laughed at Bozo the Clown. 

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

From: velo@sesun3.epfl.ch (Martin Ouwehand EPFL-SIC/SE)
Subject: Re: Recommendation on laptops
Date: 6 Jul 1994 10:34:08 GMT

In article <2vc57q$hm2@hermes.ridgefield.sdr.slb.com>,
saito@sdr.slb.com (Naoki Saito) writes:

    Dear Linux experts,
    I would appreciate a lot if you could give me recommendations on laptop
    computers for linux.


Have a look at the "laptop-survey", to be found e.g. at freebsd.cdrom.com,
file /.4/linux/tsx-11/packages/laptops/laptop-survey or any site nearer you
that Archie will find for you.

--
Martin

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

Crossposted-To: comp.os.os2.advocacy
From: dylan@formalhaut (Dylan Smith)
Subject: Re: OS/2 and Linux discussed (Re: TCP/IP: The reason I dumped OS/2)
Date: Wed, 6 Jul 1994 08:54:23 GMT
Reply-To: dylan@vnet.ibm.com

Guido Sohne (wgsohne@spot.Princeton.EDU) wrote:

: You can use grep find etc to search the manual pages for what you want. Not
: as intuitive as the GUI but a hell of a lot more powerful and configurable.

It'd be nice if Linux had the equivalent of AIX Info Explorer, which is
much more useful than the man command, IMHO.

: Oh by no means not. Emacs is the definitive programmable editor. It can do
: almost anything in the world! Ask any Emacs advocate (I like VI myself).
: Even if, in a wild dream, they were equivalent, Emacs has so many more
: addins written for it that it would open up a can of whupass and force feed
: it to EPM.

You _can_ get Emacs for OS/2 you know. And GCC, it's all at ftp.cdrom.com,
or on the Hobbes CD-ROM.
Wether OS/2 or Linux is better is a non-issue. It's horses for courses.
I use both - I use OS/2 for writing documents (I prefer WP 5.2 to Emacs
for writing reports), playing games in DOS full screen etc, SLIP connections
etc. I boot Linux when I want to do some C coding - having Linux means
that if I need to code for my job over the weekend I don't have to
come into work to do it, as everything I write on Linux compiles fine
on AIX. I also use Linux for SLIP connections as well as OS/2 (depends
on what OS I have booted). It just depends what you are doing. EPM is
better than Emacs for writing batch files, REXX scripts etc., because
it's easier to use and less of a memory hog (EMACS = (E)ight (M)egs (A)nd
(C)ontinuously (S)wapping ;-)), and EMACS is better for writing C code because
of all the features you mentioned. Again, horses for courses - what you
prefer is better, there is no empirical definition of better.

--
#include <disclaimer.h>
Internet: dylan@vnet.ibm.com  | JANET: dylan%vnet.ibm.com@uk.ac.nsfnet-relay

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

From: tweaver@kaiwan.com (Timothy S. Weaver)
Subject: Re: Computing clock values for Xconfig...
Date: 5 Jul 1994 16:29:42 -0700


There is a program called ConfigXF86 available at sunsite.unc.edu which is
helpful in setting up your Xconfig. If your monitor and video card are in its
database, it is extremely easy. Less so if your monitor is missing.

You might even check the sunsite location for your old spreadsheet file. It
might be there in the /pub/X11 directory.

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

Crossposted-To: comp.os.linux.development
From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: Linux kernel programming book
Reply-To: pe1chl@rabo.nl
Date: Wed, 6 Jul 1994 07:50:13 GMT

In <2vcosl$29i@orion.cc.andrews.edu> aldy@sauron.cc.andrews.edu (aldy hernandez) writes:

>In article <2vbio1$9h4@hahn.informatik.hu-berlin.de>,
>U.Kunitz <kunitz@informatik.hu-berlin.de> wrote:
>>
>>Language: _german_
>>386 pages
>^^^^^^^^^^
>Hmmm. I got a good laugh out of that one.

The english version will probably be 286 pages :-)

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: jerry@industrial.com (Total Chaos)
Crossposted-To: comp.os.linux.help,comp.os.linux.admin
Subject: Re: How come I can't connect sockets between machines?
Date: 5 Jul 1994 23:30:24 -0700

James Hansen (jhansen@convex.com) wrote:
: In <2utq8k$ch7@phakt.usc.edu> wiegley@phakt.usc.edu (Wigs) writes:

: This usually happens when there is nothing actually listening on the
: port.  Make sure you initialize the port in the socket address
: structure using htons.  In the source code on trapper, make sure
: something like this appears before calling bind():

:       sin.sin_port = htons( port );

  Yes.  If you don't have this, then there could be endian problems.  This
is a conversion of "Host to Network Short" if my memory serves me right.
You have to remember that intel is backwards compared to everyone else when
it comes to byte order.  I can verify that sockets work, as I use them
every day on a linux box.  Although they are a bit slow...  You may be
opening a different socket port tho, if you're not using htons, since 23k
or whatever you opened is more than one byte long.  Hope this helps as well
for explanations ;-)

: Hope this helps!

: -- 
: James B. Hansen                               CONVEX Computer Corporation
: Software Instructor/Network Technical Support      3000 Waterview Parkway
: jhansen@convex.com                                        P.O. Box 833851
: Phone: (214)497-4802                            Richardson, TX 75083-3851
-- 
---
          Entropy Designs :: The Speedbump in the Information Highway
                                      -)(-
                              jerry@industrial.com

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

From: aeb@cwi.nl (Andries Brouwer)
Subject: Re: kbd keymaps question
Date: Tue, 5 Jul 1994 22:30:21 GMT

akarageo@nyx10.cs.du.edu (Angelos Karageorgiou) writes:

:       I am trying to create a new keymap ( for some language or other )

Perhaps Macedonian? (You know that Greek keymaps are available?)

: THe problem I am having is getting the damn keys to send the ASCII code I want
: For example, I want the ALTGR-A key combination to return an ASCII 0x80.
: so I go into the keymap and plug
: altgr keycode 30 = 0x080
: I load the keymap,press ALTGR-A and get 0xe1 which is 0x61 (small case 'a' ?)
: with the high bit turned on.

Since everything works perfectly for me, probably you are not using
the same commands or the same software or the same kernel.
Are you running a recent kernel (say 1.0 or newer)?
Are you using loadkeys from kbd-0.87?
And what about AltGr? You did not make the right Alt key equal to the left one,
did you? (I.e.: do you have a line "keycode 100 = AltGr" ?) This 0x61 looks like
the expected result (after "setmetamode bit") of left Alt + a.

:       Can some kind soul e-mail me an expalnation please? If I cannot 
: get it to work like this I am gonna rewrite the keyboard interrupt handler
: And that was a promise :-)

In that case we should perhaps remain silent and see what driver you come up with.

: I am a Macedon , a Greek Macedon, the only kind of Macedon

I am Dutch, but wouldn't mind if the Germans called themselves Deutsch.

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

Crossposted-To: comp.lang.c,alt.lang.awk
From: yasuo@via.term.none (Yasuo Ohgaki)
Subject: Re: WANTED: awkcc for Linux (Willing to pay $$)
Date: Mon, 4 Jul 1994 17:54:03 GMT

Sidney F. Thomas (sthomas@worldbank.org) wrote:
: Subject line says it, basically.  Awkcc is an AT&T-proprietary 
: program to translate awk scripts into compiled C code.  The 
: compiled C code supposedly runs an order of magnitude faster 
: than the awk script.  While I have a copy of awkcc source, I 
: haven't been able to get it to compile successfully on my linux 
: system, and I do not have the time or inclination to track down 
: and fix the reported errors.  So, does any one know where I
: can find a version of awkcc that has been modified to work
: with Linux 1.0?  I am willing to pay a reasonable sum for
: this software.  

: Sidney Thomas

: PS. Please reply by email ... my net access is spotty.

I want it, too.

--
Yasuo Ohgaki
e-mail: yohgaki@diana.cair.du.edu


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

From: niedner@petrus.cribx1.u-bordeaux.fr (Niedner)
Subject: WP4Linux - input wanted
Date: 6 Jul 1994 13:18:36 GMT


Hello, everybody!


There has been a lot of talking about WP for Linux; I think, what a lot of 
people need to get rid of their DOS Partitions is - a good Wordprocessor. 
Unfortunately, all the information on WP is now spread in different threads, 
and i think, i'm not the only one interessted in running WP for Linux. So:

*   is there any summary of information avaliable? (e.g. a HOWTO or 
    something else?) 


if not, i am willing to collect information an rearrange it. Therefore, i 
ask everyone for every kind of input. Special points of interest are:

*   Software requirements: Kernel version, icbs, X-Server, libraries, 
    fonts, etc.  

*   Hardware requirements: Disk Space, (free) Memory needed, Processor type, 
    supported printers.

*   Installation procedure: Perhaps anyone could add a brief description of 
    the installation procedure 

*   Demo version: Avaliability (ftp), restrictions.
    
I will summarize all the answers in one document. Thanks a lot,

Sven

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

Subject: Panels.h for Linux ?
From: lenny@inetsys.alt.za
Date: 6 Jul 94 11:08:04 +0200

Can someone tell me if panels (curses) for linux exists and if it does,
where can I find it.

Could you please send your response to m email address below, because I don't
have regular access to the news groups. Thanks.

email : lenny@inetsys.alt.za

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

From: dparkins@fmg.bt.co.uk (David Parkinson)
Subject: Re: is GNU malloc/free really slow?
Date: 6 Jul 1994 12:25:06 GMT


Please excuse the post but email got nowhere!

John E. Stump (jstump@mstu41.intel.com) wrote:
: I have an application that builds a large hash table of keys and values.
: It makes heavy use of malloc(). On an ESIX platform (i486, SVR4) the time
: it takes to build this table is a split second, but on Linux (i486, Slackware
: 1.1.2) it takes almost 10 seconds. When deleting the table by free()ing
: all the memory takes again a split second on ESIX but ~8 seconds on Linux.
: This speed is not acceptable in my application. 

: Is there any method to speed up the performance of GNU's dynamic memory
: routines? Any replacement libraries?

: Thanks for any help or guidance.

: john


John,

Just a thought which might help you....

Having worked in the past in memory limited situations I've always been
irritated with the overheads of malloc() and free() - especially if
they're being used to build tables where each entry is quite small.
(e.g. 8-10 bytes for the entry, possibly 8 bytes or more of malloc()
overhead).

My approach now is to use an intermediate function - say alloc().
alloc() initially calls malloc() to get a large chunk of memory.
Thereafter, on every call to it, it allocates the requested # of
bytes from its own pool, adjusting the 'output' pointer appropriately.
It maintains no management info and therefore does not support a 
free() or realloc() function.  (A simple extension will support free()
and realloc() on just the last call).

It's quick, has minimal overhead, and if necessary a single call to free()
can be used at the end to free up the table space when you've finished
with it.

It works best with fixed sized tables, but once again the approach can
be extended so that for say 5,000 calls to alloc() you might end up
doing 3 calls to malloc().

Regards

david
dparkins@fmg.bt.co.uk



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

From: mark@datasoft.com (Mark Buckaway)
Subject: Threaded newsreader for X?
Date: 6 Jul 1994 02:02:18 GMT

I have a simple question. Anyone know of a threaded newsreader for X *AND*
compiles under Linux? I currently use XRn which is usible. Under text mode I use
tin and I miss tin's threading capability. I have attempted to compile XVnews
but it doesn't like gcc for some reason. I also don't know if XVnews is
threaded). The newsreader should be able to connect to an nntp server.

...and no, I don't want to run tin through an Xterm window.

Anyone?

Mark
-- 
=======================================================================
Mark Buckaway          |  mark@datasoft.com        |  62 Rock Fernway |
System Admin.          |  uunorth!datasoft!root    |  Willowdale, ON  |
DataSoft Communications|  (416) 756-4497           |  M2J 4N5 CANADA  |
=======================================================================
  How many Microsoft programmers does it take to change a lightbulb?
  None. They defined darkness a standard.  - UNIXWorld, Dec. 1993
======================================================================= 

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

Crossposted-To: comp.os.linux.help
From: kent@unx.sas.com (Paul Kent)
Subject: LILO, DOS and one single disk
Date: Wed, 6 Jul 1994 02:16:43 GMT


Hi,

I used to have 2 IDE disks and os2 boot manager to select OS's

I noow have linux 1.1.24 (very nice, thanks!) on the remaining 700Mb of
my 1gig scsi, (the first 300 being taken by dos). At first i had
tremendous hassles with my buslogic 445, but i think it was a bum
motherboard that was tested only under DOS.

I currently boot linux from a LILO floppy, cuz no matter how i 
hold the LILO documentation, it can't understand how to make a LILO
that offers to boot Linux or MSDOS from the same disk.

Is this possible?.  If so i'll write up an addendum to the 
appropriate HOWTO.

#ifdef DREAM_MODE
Failing this, is there a LILO2DOS thing that will take a lilo.conf
and generate a LINUX.EXE that'll run under DOS and boot my Linux.
I'd even settle for something that booted only /vmlinuz and nothing
else (ie i'll mess with the floppy till i like the new kernel)
#endif

Thanks for any pointers.


Cheers
Paul


--

Paul Kent (Base SAS R&D)              " nothing ventured, nothing disclaimed "
kent@unx.sas.com              SAS Institute Inc, SAS Campus Dr, Cary NC 27513.

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

From: jsun@solaria.mit.EDU (Jim Sun)
Crossposted-To: comp.os.linux.help
Subject: Re: LILO, DOS and one single disk
Date: 6 Jul 1994 14:07:05 GMT

>I noow have linux 1.1.24 (very nice, thanks!) on the remaining 700Mb of
>my 1gig scsi, (the first 300 being taken by dos). At first i had
>tremendous hassles with my buslogic 445, but i think it was a bum
>motherboard that was tested only under DOS.>

>I currently boot linux from a LILO floppy, cuz no matter how i 
>hold the LILO documentation, it can't understand how to make a LILO
>that offers to boot Linux or MSDOS from the same disk.

do you have the entire linux boot partition installed within the first
1k cylinders?
jim

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


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