Subject: Linux-Misc Digest #417
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:     Sun, 12 Dec 93 13:13:14 EST

Linux-Misc Digest #417, Volume #1                Sun, 12 Dec 93 13:13:14 EST

Contents:
  Re: Yet another benchmark results.. (Rupa Schomaker)
  sendmail 5.67a+IDA 1.5: 8-Bit mail possible? (Frank Luthe)
  _Real_ hackers ... (Stephen Harris)
  PAS 16 with AHA 1542 (Gregor Hoffleit)
  Video 7 Card and XWindows (Jim Starke)
  Re: HP-Deskjet and lpr? (Andreas Klemm)
  Re: Linux Foundation (was Re: Linux Consortium) (Andreas Klemm)

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

Crossposted-To: comp.sys.ibm.pc.hardware,comp.os.vms,comp.benchmarks
From: rupa@NeoSoft.com (Rupa Schomaker)
Subject: Re: Yet another benchmark results..
Date: Sun, 12 Dec 1993 15:54:56 GMT

In article <2e51ht$45s@Tut.MsState.Edu> skip@cy.cs.olemiss.edu (Skip Sauls) writes:
>In article <1993Dec8.154411.16190@ornl.gov> de5@de5.ctd.ornl.gov (Dave Sill) writes:
>>In article <1993Dec7.031614.16788@pacific.mps.ohio-state.edu>, viznyuk@mps.ohio-state.edu (Dragon Fly) writes:
>>I had to make the declaration of y global to prevent a segmentation
>>violation on the DEC Alpha I ran it on.
>
>I had to do the same thing to get it to run under OS/2.

Same here.  You can increase the stack size also, but...  (it is
easier to just declare it global)

>>>As everybody with eyes can see, the program calculates some stuff
>>>in a loop storing it in memory (gotta be ~ 8Mb of RAM taken)
>>>and gives on output the number of seconds spent. And here are the
>>>results of calculation:
>>>
>>>     Computer                             Time spent
>>>
>>>486DX2-66 EISA/VL 16Mb RAM
>>>running Linux (Slackware 1.1.0).
>>>gcc compiler.
>>>Single user                               27 sec.
>>>
>>>SUN Sparc-2 with >= 16 Mb RAM
>>>running SunOS
>>>Single user                               69 sec.
>>>
>>>DEC VAX with ALPHA chip
>>>running VMS
>>>With quite a few users on                 69 sec.
>>>
>>>SUN-4
>>>running SunOS
>>>Single user                               73 sec.
>>>
>>>DEC VAXstation 3100
>>>running VMS
>>>Single user                               405 sec.
>>
>>DEC 3000 Model 500                       6.7 s (avg. of 10 runs)
>>DEC OSF/1 1.3
>>Multi-user mode, one user logged in
>>cc -O3 -o bench bench.c -lm -non_shared
>
>486DX2-66 VLB Clone, 16M, 256k cache         45 sec.
>running OS/2 2.1
>gcc -O2 -m486 yab.c -o yab.exe

386/387-40 ISA Clone, 8M, 64k cache          102 sec.
running OS/2 2.1
bcc -O2 yab.c

(the 387 is an ITT chip, not Intel)

>>>So comments are welcome.
>>
>>Probably too small to relate well with performance on real applications.
>
>Well that makes it a perfect benchmark, doesn't it?  :-)

heh!  Makes my 386 look fairly fast.


>Skip Sauls
>skip@cy.cs.olemiss.edu


-- 
            rupa@sugar.NeoSoft.COM  | #include "disclaimer.h"
    schomaker@sptvx2.sinet.slb.com  | OS/2 -- Your chance to run the world.

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

Crossposted-To: comp.os.linux.help,comp.os.linux.admin
From: frl@verdi.rd.sub.org (Frank Luthe)
Subject: sendmail 5.67a+IDA 1.5: 8-Bit mail possible?
Date: Fri, 10 Dec 1993 15:45:02 GMT

Hi outthere,

could somebody of you please tell me whether sendmail 5.67a+IDA 1.5 is
capable of handling 8-Bit mail? Sendmail 5.65c seems to be not capable of
this.

Thanx in advance,
  Frank

-- 
Frank Luthe, Flensburger Str. 38, 24768 Rendsburg, Germany
email: frl@verdi.rd.sub.org


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

From: sweh.womble@spuddy.UUCP (Stephen Harris)
Subject: _Real_ hackers ...
Date: Sat, 11 Dec 93 21:39:28 GMT

> Actually, recently I *had* to edit a file, to remove several lines without 
> using *any* editors. So I had to use head, tail and cat to do my modifying.. 

Bah, shell scripts would do this.  After all, last year I wanted the lines
35000-40000 of a 17Mb file (/tmp only had 4Mb free so programs using tmp
files failed), and the head/tail programs couldn't cope with that number of
lines :-)

Amazing the power a simple
  while read line
  do
    process
  done

can do :-)

                            Stephen Harris
       sweh.womble@spuddy.uucp     ...!uknet!axion!spuddy!sweh.womble

*  Meow! Call Spuddy the Cat for Usenet access in the UK.  Call 0203 364436 *

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

From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit)
Subject: PAS 16 with AHA 1542
Date: Sun, 12 Dec 93 17:57:19 GMT

Hi,

if you have a look into the NeXT newsgroup you could get the idea that it
is impossible to get an PAS16 sound card work in conjunction with an
Adaptec 1542 SCSI host (at least with an high-performance OS). This is
said to be caused by HW problems (busmastering conflicts...)

On the other hand, the snddrv supports the PAS16 and I never heard about
problems with it. Is it just that nobody uses the AHA 1542 anymore if he
has the SCSI port on the PAS16, or is the snddrv so much smarter, that it
works, or is just the disk buffering better with Linux (so that conflicts
are very unlikely due to rarer disk access) ?

        Gregor

--
| Gregor Hoffleit     admin MATHInet / contact HeidelNeXT |
| MAIL: Mathematisches Institut   PHONE: (49)6221 56-5771 |
|       INF 288, 69120 Heidelberg / Germany  FAX: 56-3812 |
| EMAIL: flight@mathi.uni-heidelberg.de (NeXTmail)        |

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

From: jstarke@jacobs.mn.org (Jim Starke)
Subject: Video 7 Card and XWindows
Date: 9 Dec 93 01:24:28 GMT


Well, I am totally frustrated. Sigh...

I have a video 7 card and a relisys VGA monitor. I can't get xwindows to
work at all. Well, it does work. Through the static I see my mouse going
through windows and such because the screen lightens and darkens in
different areas. It is kind of like the vertical hold is really messed up.
I played around a bit with the timings and such but decided to ask before
I blew up the monitor or worse. Grin*

Anyone have any ideas/help/xconfig?

I am also checking out the new server after this message too.

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

From: andreas@knobel.knirsch.de (Andreas Klemm)
Subject: Re: HP-Deskjet and lpr?
Date: 12 Dec 1993 18:12:32 -0000

carter@prior.com (Don Carter) writes:

>Thomas Pagel (Thomas.Pagel@unnet.wupper.DE) wrote:
>: Hello all!

>: Since yesterday I run slackware 1.1.(0).

>: What can I do to tell my deskjet to print out ordinary ascii-text?

>: What do I have to write into my printcap?

>: At the moment lpr prints out two blank pages, sometimes only
>: three lines without any LF?

>: Stupid thing, I can only change CR => CR LF via software

>: How can I do this?

>: Any comments welcome

>: Please return via Netmail either!

>: Thanks a lot

>: Thomas - Velbert - Germany

Here again apsfilter-1.3 for those of you who are new to this group.

Perhaps somebody could be so kind to put apsfilter-1.3 onto a ftp and
ftp mail server ?! Then I could give a short reference to it.

#-------------------------------------------------------------------------------------

lp|deskjet|HP Deskjet 500:\
        :lp=/dev/lp1:\
        :sd=/usr/spool/lp1:\
        :sh:\
        :mx#0:\
        :of=/usr/lib/lpfilter:

#-------------------------------------------------------------------------------------

#!/bin/sh

# apsfilter-1.3 - HP Deskjet 500 - output filter - V 1.3
#
# copyright 1993 by Andreas Klemm <andreas@knobel.knirsch.de>
#
# Mon Nov 15 12:35:26 GMT 1993
#
# additional contributors:
#
#       Steven A. Reisman <unido!beehive.mn.org!sar>
#               - added dvi filter
#
#       Jeff Stern <jstern@eclectic.ss.uci.edu>
#               - use lpfilter as an input filter
#                 so it's possible to print header pages
#                 without confusing the filter.
#               --> see modification section
#

####################################################################
# A running /etc/printcap
####################################################################
#
# My /etc/printcap entry for parallel printer port lpt1:
# on a 486/33 using Linux Slackware using this filter as
# an output filter, since I don't need header pages. (andreas)
#
# HP Deskjet
# lp|deskjet|HP Deskjet 500:\
#       :lp=/dev/lp1:\
#       :sd=/usr/spool/lp1:\
#       :sh:\
#       :mx#0:\
#       :of=/usr/lib/lpfilter:
#
####################################################################

####################################################################
# MODIFICATION SECTION
#               suggestions from other creative people
#               which use another configuration than I
####################################################################
#
# A) WANT HEADER PAGES
#                       Jeff Stern <jstern@eclectic.ss.uci.edu>
#                       Mon Nov  1 21:21:45 GMT 1993
#
# "... I changed to using it as an input filter instead of an output 
#  filter. This way I can still print header pages without confusing 
#  the filter. This necessarily required adding a command to tell 
#  printcap to send a formfeed at the beginning of opening the device 
#  and also specifying that that formfeed really also includes the 
#  LF-> CR+LF translation: this is so that the translation also will 
#  work for the header page, too."
#  Necessary Printcap entry instead of the default:
#       lp:lp=/dev/lp1:sd=/usr/spool/lp1:if=/usr/lib/lpfilter:mx#0:\
#       :lf=/usr/adm/lpd-errs:ff=\033E\033&k2G\033&a10L:fo
#
####################################################################
# END OF MODIFICATION SECTION
####################################################################

PATH=/usr/bin:/bin:/usr/local/bin:/usr/TeX/bin:/home/bin
export PATH

# where do you have diskspace
#
TmpDir=/usr/tmp

# Temp. filename
TmpFile=$TmpDir/deskjetof.$$

# Who should be notified by e-mail in case of print problems ?
NOTIFY=root

# write print data from stdin to temp file
cat - > $TmpFile

#
# reset printer to power on values before print job
#
echo -ne '\033E'

# determine file type
# set output of the ``file'' command to new script arguments $1, $2, ..., $n
#
set -- `file $TmpFile`

# throw away $1 since that is the *file name*
#
shift

# the rest is a "string" which consist of one or multiple words 
# describing the file type. For example: "Korn Shell Script"
#
FileType=$*

case $FileType in

    PostScript*)        #
                        # pipe ps data through ghostscript
                        #       
                        cat $TmpFile                    \
                        | gs -q                         \
                                -sDEVICE=djet500        \
                                -r300x300               \
                                -sPAPERSIZE=a4          \
                                -dNOPAUSE               \
                                -dSAFER                 \
                                -sOutputFile=-          \
                                        -               \
                        /usr/local/lib/ghostscript/quit.ps \
                        || echo -ne '\033&l0H'
                        # ^  if an error occurs, then
                        # |  eject already loaded paper
                        ;;

                        
    *DVI*)              #
                        # TeX dvi file -> dvips -> gs
                        #       
                        dvips 2>/dev/null $TmpFile -f   \
                        | gs -q                         \
                                -sDEVICE=djet500        \
                                -r300x300               \
                                -sPAPERSIZE=a4          \
                                -dNOPAUSE               \
                                -dSAFER                 \
                                -sOutputFile=-          \
                                        -               \
                        /usr/local/lib/ghostscript/quit.ps \
                        || echo -ne '\033&l0H'
                        # ^  if an error occurs, then
                        # |  eject already loaded paper
                        ;;

    *text*|*script*)    #
                        # print normal text with
                        #       - cr/nl conversion
                        #       - letter quality
                        #       - 66 lines/page
                        #       - left margin
                        #       - 12 cpi pitch
                        #

                        # LINE TERMINATION      \E & k # G
                        #       0 = CR=CR   ; LF=LF   ; FF=FF (default)
                        #       1 = CR=CR+LF; LF=LF   ; FF=FF
                        # **    2 = CR=CR   ; LF=CR+LF; FF=CR+FF
                        #       3 = CR=CR+LF; LF=CR+LF; FF=CR+FF
                        echo -ne '\033&k2G'

                        # QUALITY               \E ( s # Q
                        #       1 = draft       = 240cps
                        # **    2 = letter      = 120cps (default)
                        echo -ne '\033(s1Q'

                        # Text Scale Mode               \E & k # W
                        #       5 = off (default)
                        #       6 = on
                        #       ignored in landscape mode
                        # echo -ne '\033&k5W'

                        # Perforation Skip Mode         \E & l # L
                        #       0 = off = 0.0 in Top Margin
                        #       1 = on  = 1/2 in Top Margin (default)
                        echo -ne '\033&l0L'

                        # Left Margin                   \E & a # L
                        #       # Valu^ = column number
                        #       default = 0 = 1/8 in left margin
                        #       used = 7 for 1" left margin
                        echo -ne '\033&a7L'

                        # Pitch                         \E ( s # H
                        #       # = cpi
                        #       default = 10 characters per inch
                        # **    12 cpi
                        echo -ne '\033(s12H'

                        # print tmp file
                        cat $TmpFile
                        ;;

        *data*)         #
                        # print binary files
                        #

                        # LINE TERMINATION      \E & k # G
                        # **    0 = CR=CR   ; LF=LF   ; FF=FF (default)
                        #       1 = CR=CR+LF; LF=LF   ; FF=FF
                        #       2 = CR=CR   ; LF=CR+LF; FF=CR+FF
                        #       3 = CR=CR+LF; LF=CR+LF; FF=CR+FF
                        echo -ne '\033&k0G'

                        # print tmp file
                        cat $TmpFile
                        ;;
                        

        *)              #
                        # Rest is an unknown file type ...... sorry ;-)
                        #

                        echo "deskjetof: unknown filetype $FileType" > /dev/console
                        echo "deskjetof: $TmpFile: unknown filetype $FileType" \
                        | mail $NOTIFY
                        NotOk=1
                        ;;
esac

#
# keep print job, that couldn't be printed because of errors....
#
if [ ! "$NotOk" = "1" ]
then 
        rm -f $TmpFile
fi


#
# reset printer to power on values after print job
#
echo -ne '\033E'
#
#-------------------------------------------------------------------------------------

Andreas ///
-- 
Andreas Klemm                 /\/\____ Wiechers & Partner Datentechnik GmbH 
andreas@knobel.knirsch.de ___/\/\/     andreas@sunny.wup.de (Unix Support)

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

From: andreas@knobel.knirsch.de (Andreas Klemm)
Subject: Re: Linux Foundation (was Re: Linux Consortium)
Date: 12 Dec 1993 18:45:11 -0000

mdw@cs.cornell.edu (Matt Welsh) writes:

>In article <1993Dec10.231123.230@earlham.edu> andrewh@earlham.edu writes:
>>wirzeniu@klaava.Helsinki.FI (Lars Wirzenius) writes:
>>With a organization called the "Linux Consortium" a logo could be put
>>together by some kind artist. It would say LINUX in large, bold
>>letters. Then in a much smaller pitch directly beneath it would say
>>"Consortium." It might be encased in a box. It should have a modern
>>look. It should be recognizable both with and without color. And it
>>should be legible even if made small enough for the small ads
>>appearing in the back of computer magazines by Yggdrasil and others.
>>
>>The purpose of this organization would be soley to market Linux. 

>Very, very bad idea. Instead of attempting to create some falsely
>official organization with a slick look and no content, why don't you
>concentrate on an organization that will actually DO something useful
>for Linux, slick look or not? The existence of such an "official" LC
>is misleading in that it attempts to represent some kind of central
>organization which is "responsible" for Linux. No such organization
>exists, and you can't create an artificial one to serve the purpose.
>Either the Linux developers themselves create such an organization, or
>nobody does.

>Your in-depth description of the LC's logo suggest that you're
>primarily concerned with the appearance of this organization. 

>The best solution would be to move Linux towards a stronger, more
>centralized development process. (I'm not suggesting that we should do
>this, but it would be able to implement your stated goals for the
>so-called LC.) Something along the lines of the "Linux Foundation"
>should be formed, spearheaded by the Linux developers themselves. LF
>would be a very close analogue to the Free Software Foundation. It
>would provide Linux with a centralized legal entity to promote and
>take responsibility for the software. All Linux software could be
>copyrighted by the Linux Foundation instead of just by individual
>authors. (However, it should still be possible for individuals to
>copyright software; the FSF permits this.) Low-cost memberships could
>be sold, which would help to support Linux and the LF. Major Linux
>developers would draw from the LF funds... e.g., giving money to the
>LF would be equivalent to donating money to the developers, although
>it would be clearly defined who would get what money and how much
>(instead of in the form of monthly "awards" as previously proposed).
>The LF would be nothing more than the "official" LInux development and
>support organization. Developers, documentors, and distributors would
>work with the LF to produce Linux. 

>With all of this organization, still, the actual development and
>distribution process for Linux would not need to change. It would
>still be an open-development over the Net, as it is now. In fact,
>technically, not much would change. All LF would provide is an
>official entity to take responsibility for Linux. It would also
>provide a channel for people to donate funds to support the Linux
>development effort. 

>It differs in the proposed "LC" in a number of major ways. First of
>all, the LF *would* be an "official" organization, composed of the
>Linux developers themselves, not some arbitrary third party trying to
>claim responsibility for Linux. All of the "duties" of the proposed LC
>would be handled by people "within" the LF. The LF would provide a
>certain degree of logistics to legal and monetary matters. As far as
>actual development of Linux goes, however, things would remain the
>same. The FSF/GNU people still essentially use an open development
>cycle (for most projects). The primary function of the FSF (as an
>organization alone) is to promote free software, financially, and to 
>provide a legal entity for dealing with such matters. Of course, the
>FSF does much, much, more than this, but you don't need an
>organization to do those other things (namely, develop and distribute
>free software), as we have proved with Linux.

>I'm not saying that we should do this. However, if people want there
>to be some kind of "official" Linux organization, this would be the
>most general and open-ended solution. It would provide a great deal of
>structure to all of these metaissues such as where donations go, who
>has the right to "speak" for the Linux development community, and so
>on. The LF would be modeled on the FSF, in certain ways, and would
>hopefully bring together all of these loose ends under one roof.

>What do people think?

Not bad. That would be more useful since it could help to come to
certain Linux standard in terms of OS features and structure.

Perhaps a new chance to create installation standards and basic
system standards as well, that both parties - experienced an new 
users - can accept.

Package maintainer could then perhaps spend their time more on
creating optional packages with good user/installation interfaces.

Companies, that former sold their own port of Linux, could perhaps
concentrate more in 

        - distributing the basic package and printed documents
          for copy costs without great efforts

and to
        - earn additional money offering optional packages that
          have good installation scripts.

Andreas ///


P.S.: I hope you (all or only some) do not longer think, I'm only an 
      anarchist who is against any structure/hierarchie '-)
      It simply depends on what somebody is going to do ...
-- 
Andreas Klemm                 /\/\____ Wiechers & Partner Datentechnik GmbH 
andreas@knobel.knirsch.de ___/\/\/     andreas@sunny.wup.de (Unix Support)

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


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