Subject: Linux-Misc Digest #221
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, 6 Jun 94 03:15:34 EDT

Linux-Misc Digest #221, Volume #2                 Mon, 6 Jun 94 03:15:34 EDT

Contents:
  Help w/ gnuplot in X11 (Woei-Wu Pai)
  Re: who wants POV for Linux ??? (Ernie Elu,,015-176-001)
  Re: 4 MB too little for linux (Ulf Bartelt)
  Re: Linux vs *BSD (new twist) (Stan Brown)
  Programming in X ? (Steffen W. Schilke)
  Re: NTP for Linux? (Kevin Lentin)
  Re: login from cmd line.... poop! (David W. Berry)
  Re: Linux vs *BSD (new twist) (J Wunsch)
  Re: Help for Conner 250 and FTAPE? (Dean Junk)
  Re: Linux for the world? (Charles Liu)
  Re: Competitive upgrade: Linux Plus CD-ROM (John Miller -- sysadmin)
  Re: Programming in X ? (Matt Welsh)
  Re: who wants POV for Linux ??? (Howard Narvaez)
  Re: login from cmd line.... poop! (Rene COUGNENC)
  Re: UNIX or LINUX?? (Christian Henry)
  Re: NEC Triple spin CD-ROM (James Logajan)
  Dumb [l]unix quiestion - nameserver (Absinthium Booksellers)
  Re: Help for Conner 250 and FTAPE? (Rick Narron)
  Re: ** XS3 server problem (Frank Hofmann)
  Re: Q-Logic VLB SCSI card? (Craig Sanders)

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

From: wwp@robey1.umd.edu (Woei-Wu Pai)
Crossposted-To: comp.os.linux.help
Subject: Help w/ gnuplot in X11
Date: 5 Jun 1994 21:57:32 GMT

Hi,
        I compiled gnuplot3.5 and runs okay in vga mode. However, I got message said
"Not running in graphics-capable virtual console" when I tried to run in Xterm.
        What is happening here? Any clue?

                                                Pai.   


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

From: ernie@tinny.apana.org.au (Ernie Elu,,015-176-001)
Crossposted-To: comp.os.linux.help
Subject: Re: who wants POV for Linux ???
Date: 6 Jun 1994 00:49:41 +1000


I have been using POV for Linux for years now, go it of tsx-11.mit edu in
1992 I think. Is there some other POV ? Have I missed the point of this
thread ?

- Ernie.
-- 
_______________________________________________________________________________

    Australian Public Access Network Association  - ernie@tinny.apana.org.au
_______________________________________________________________________________

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

From: stub@pce60.rz.tu-clausthal.de (Ulf Bartelt)
Subject: Re: 4 MB too little for linux
Date: Sun, 5 Jun 1994 21:06:43 GMT

Florian Schmidt (F.SCHMIDT@BIONIC.zer.de) wrote:
: > Could this be improved upon? I thought linux was supposd to run
: > smoothly with 4 MB. BTW, the only thing non-standard in my
: > installation is that I'm using kernel 1.1.2 instead of the one that
: > came with Slackware.

: my linux runs smoothly with 4mb

Without X...

: (of course not, when im recompiling the kernel on another vt).

:-)

: after startup, i have about 1meg of memory free  
: (physical, not virtual). maybe there was am option in the slackware -  
: setup, that you missed (like install for machines <= 4mb).

I've 2 linux cans (DOSen :-) ) running with 4 MB (386dx40)...
Sure, I'm planning to put another 4 MB in one of them but even with X it's
possible to run emacs, (La)TeX and so on in tolerable speed...

I'm using fvwm, rxvt and I don't expect emacs to run smoothly while LaTeXing
a document...
...so I was able live with 4 MB (_and_ sometimes X) for a long time...

...and compiling a new kernel can be done on the other box while using the
first one for other things...
That's another reason why 2 machines with 4 MB each are more to me than one
machine with 8 MB... ;-)

As summary: 4 MB are not enough, but it works without pain if you know what
you can expect !

Bye !
      Ulf.

--
Ulf Bartelt | 2:2437/120.666@fidonet.org | stub@zaphod.in.tu-clausthal.de
            |                            | stub@linux.rz.tu-clausthal.de

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

Crossposted-To: comp.os.386bsd.misc
From: stanb@netcom.com (Stan Brown)
Subject: Re: Linux vs *BSD (new twist)
Date: Sun, 5 Jun 1994 22:16:48 GMT

dmarples@voyager.comms.eee.strath.ac.uk (David Marples) writes:

>I'm pleased that you agree that there is room for both systems to
>co-exist, compliment each other and generally aim for different types
>of users.  This tolerant, understanding attitude will help us go
>forward in competing with the likes of NT...

        So, could someone give a profile of these different types
of users ?  As someone trying to decide between the two I would be
most interested.

-- 
Stan Brown     stanb@netcom.com                                    404-996-6955
Factory Automation Systems
Atlanta Ga.
--
DOS ... is still a real mode only non-reentrant interrupt
handler, and always will be.                -Russell Williams


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

From: sws@tora.RoBIN.de (Steffen W. Schilke)
Subject: Programming in X ?
Date: Sun, 5 Jun 1994 09:33:06 GMT

 Hi,

 I just wonder if there is anything around which helps me get started in
 programming in X (I dont wanna read this 10 big, heavy, bulky O'Reilly
 books) Is there something like "X for stupid idiots" ;-) avail ?

 I would like to develop a small X application on my LinuX system (Nothing
 exciting just opening a window and display-ing some 1 Bit Bitmaps)

 Any help, ideas, pointers out there ?

 ThanX          steffen

--
[Standard Disclaimer] in addition I would like to speak with my lawyer ....
S. Schilke; PoBox 1213; 61102 Bad Vilbel; Germany  a.k.a  sws@tora.RoBIN.de
                  Sokonoke Sokonoke tora-sama ga touru
$@%9%F%U%'%s(J  $@CN2H!Z%7%k%1![(J  $@$=$3$N$1$=$3$N$18WMM$,DL$k(J
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

From: kevinl@bruce.cs.monash.edu.au (Kevin Lentin)
Subject: Re: NTP for Linux?
Date: 6 Jun 1994 00:26:53 GMT

green@ids.net wrote:
> Hi!  I'm looking for an NTP client for Linux - anyone know if there's one
> out there?

The MCC distribution has xntp in it. I searched Slackware the other day and
didn't find it.

-- 
[==================================================================]
[ Kevin Lentin                   |___/~\__/~\___/~~~~\__/~\__/~\_| ]
[ kevinl@bruce.cs.monash.edu.au  |___/~\/~\_____/~\______/~\/~\__| ]
[ Macintrash: 'Just say NO!'     |___/~\__/~\___/~~~~\____/~~\___| ]
[==================================================================]

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

From: dwb@netcom.com (David W. Berry)
Subject: Re: login from cmd line.... poop!
Date: Mon, 6 Jun 1994 00:52:55 GMT

In article <Cqwu8r.E4M@the-college.iwctx.edu> ontonca@the-college.iwctx.edu (Anton Toom) writes:
>did anyone try to type login [username]  from cmd line? it lets you
>login alright, but the uid stays the same!!! exec /bin/login (yepp,
>w/o exec it forks!!!) does the same thing!  any thoughts?
  Yeah, one thought, if you look at /bin/login you'll find that it's
not setuid root.  Thus when the setuid call is made it fails because
only root can do that...

  As for why the other fellow had it work then fail, the first time
he was running as root, the second time as uid 11.

  Simple fix, as root do:  "chmod u+s /bin/login"
-- 

David W. Berry          dwb@netcom.com                  Greenwing Enterprises

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

From: j@uriah.sax.de (J Wunsch)
Crossposted-To: comp.os.386bsd.misc
Subject: Re: Linux vs *BSD (new twist)
Date: 5 Jun 1994 16:56:57 +0200

gt8134b@prism.gatech.edu (Robert Sanders) writes:

>>: How do you use virtual consoles on FreeBSD?

>>Compile with SYSCONS and RTFM.

>Actually, what the FM doesn't mention is that, unlike Linux consoles, 
>you can't switch to a FreeBSD console unless it is "open", and the only
>way to make a console open is to make it someone's controlling tty.  I

Though i'm not using syscons (i'm using pcvt where you can swith to a
non-opened vt if you like), this is mainly due to the fact that Soeren
attempted to emulate as much of the SCO console behaviour as possible.
Anyway, `cat foo > /dev/ttyvX' should also open the vt and print `foo'
on it (as long as you've got permission to do so).  The problem is, if
the `cat' proceeds in rather short time, you won't be able to ever see
the output, since you don't stand a chance to switch to this vt ;-)
But this is intended, since it's SCO-like...
-- 
cheers, J"org                             work:    joerg_wunsch@tcd-dresden.de
                                          private:   joerg_wunsch@uriah.sax.de
Steinbach's Guideline for Systems Programming:
        Never test for an error condition you don't know how to handle.

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

From: us292121@bulldog.mmm.com (Dean Junk)
Subject: Re: Help for Conner 250 and FTAPE?
Date: 6 Jun 1994 01:49:15 GMT

Ken Corey (exukenc@exu.ericsson.com) wrote:
: Hi all.
: 
: Yesterday I went out and bought a Conner 250MB floppy-tape backup unit.
: 
: Got it installed with no troubles, and proceeded to do some small backups to
: make sure it worked.  So far so good.
: 
: Then, once I figured it was working, I tried to do a full backup of my linux
: file system.  It started writing, but about 85% of the way through bombed
: because of a I/O Error.
: 
: [Version check: Linux 1.0, Slackware 1.2, ftape 1.12, (on DOS side) Conner
:  backup basics 1.1, and the windows version is 1.2]
: 
: Okay, a quick recompile of ftape, and a retry...no luck.
: 
When you recompiled ftape, did you use the -dCONNER something another.  I
only found it when I looked at the source for ftape.  It fixes a bug with
the formatting of the tape with software from conner.  Hope this helps....

--
Dean Junk                   "An ounce of perception, a pound of obscure"
Internet (dpjunk@mmm.com)                      --RUSH

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

Crossposted-To: comp.os.linux.help
From: alte@rahul.net (Charles Liu)
Subject: Re: Linux for the world?
Date: Sun, 5 Jun 1994 23:11:56 GMT


Robert,

I would like to  have a lunch with you asap.  
Would you please call me or let me know your phone number.

BTW, if anybody else in Silicon Valley area would like to join this kind 
of gathering, please let me know.

Charles

-- 
End of Note

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

From: jsm@n4vu.Atl.GA.US (John Miller -- sysadmin)
Subject: Re: Competitive upgrade: Linux Plus CD-ROM
Date: Sun, 5 Jun 1994 20:59:12 GMT

Brandon S. Allbery (bsa@kf8nh.wariat.org) wrote:
: In article <770722895snx@zmemw16.demon.co.uk>, Stephen@zmemw16.demon.co.uk says:
: +---------------
: | TA & YGGD I suspect would be very pleased to receive Jana cdrom's,
: | just to get them out of circulation.
: +------------->8

: You mean there actually *are* Jana CDROMs in circulation?  :-) :-)

Weren't y'all paying attention when Mark Horton posted his offer to 
sell some as collectors' items?  
-- 
John Miller, N4VU                 Linux!                    Fayetteville
jsm@n4vu.Atl.GA.US                DoD #1942                    (Atlanta) 
{emory,gatech}!n4hgf!n4vu         AMA #671301                     GA, US

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

From: mdw@cs.cornell.edu (Matt Welsh)
Subject: Re: Programming in X ?
Date: Mon, 6 Jun 1994 02:32:04 GMT

In article <1994Jun5.093306.212@tora.RoBIN.de> sws@tora.RoBIN.de (Steffen W. Schilke) writes:
> I just wonder if there is anything around which helps me get started in
> programming in X (I dont wanna read this 10 big, heavy, bulky O'Reilly
> books) Is there something like "X for stupid idiots" ;-) avail ?

Not really. Unfortunately, X is hairier than most people would like
it to be... at least at the C programming level. If you want to write
simple applications, you can do so using the Xt Intrinsics, which
O'Reilly's X series, Volume 4, documents quite well. It also helps
to have background in programming at the Xlib level (O'Reilly Volume 1).

However, for most applications, programming in C with Xlib/Xt is 
simply not necessary. I suggest using Tcl/Tk which will allow you
to develop great X applications with (usually) short scripts. 
You can also interface Tcl/Tk with C, although this requires some
programming overhead.

As an example, appended below is a Tk-based image browser (which
is based on my hacked-up Canvas widget, so don't expect this to 
work on your system). Essentially this creates a window with
two "panels"; one containing a scrollable list of files in the
current directory, and a frame in which the image will be
displayed. Clicking on a filename will display it; using the
"overlay" button will overlay a PBM file on the PGM/PBM/PPM in
the frame. This might look cryptic but it's actually quite simple.

If you're interested in Tcl/Tk I suggest Ousterhout's book,
"Tcl and the Tk Toolkit", from Addison-Wesley.


--
#!/usr/u/mdw/bin/wish-mdw -f

frame .f2
pack .f2 -side left

frame .f
pack .f -in .f2 -side top

scrollbar .scroll -command ".list yview"
pack .scroll -in .f -side right -fill y 
listbox .list -yscroll ".scroll set" -relief raised -geometry 20x15 \
        -setgrid yes
pack .list -in .f -side left -fill both -expand yes
wm minsize . 1 1

button .b -command {exit} -text "Exit" 
pack .b -in .f2 -side bottom -fill both -expand yes

button .over -command {foreach i [selection get] {overlay $i}} \
  -text "Overlay"
pack .over -in .f2 -side bottom -fill both -expand yes

# Add a pxized canvas widget

canvas .c -relief groove -borderwidth 4 
pack .c -side right -padx 10

proc overlay {file} {
  global dir
  if {[string compare $dir "."] != 0} {set file $dir/$file}
  .c overlay $file
}

proc browse {file} {
    global env dir
    if {[string compare $dir "."] != 0} {set file $dir/$file}
    if [file isdirectory $file] {
       .list delete 0 [.list size] 
       set dir $file
       foreach i [exec ls -a $dir] {
          .list insert end $i
       }
    } else {
        if [file isfile $file] {
            .c configure -image $file
            .c delete thelabel
            .c create text 10 5 -fill red -tag thelabel -text "$file" -anchor nw
        } else {
            puts stdout "\"$file\" isn't a directory or regular file"
        }
    }
}

# Fill the listbox with a list of all the files in the directory (run
# the "ls" command to get that information).

if $argc>0 {set dir [lindex $argv 0]} else {set dir "."}
foreach i [exec ls -a $dir] {
    .list insert end $i
}

# Set up bindings for the browser.

bind .list <Control-q> {destroy .}
bind .list <Control-c> {destroy .}
focus .list
bind .list <Double-Button-1> {foreach i [selection get] {browse $i}}
bind .list <Double-Button-2> {foreach i [selection get] {overlay $i}}

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

From: hnarvaez@intellicorp.com (Howard Narvaez)
Crossposted-To: comp.os.linux.help
Subject: Re: who wants POV for Linux ???
Date: 6 Jun 1994 01:56:58 GMT
Reply-To: hnarvaez@intellicorp.com

I would definitely be interested!!!

---
Howard Narvaez
hnarvaez@intellicorp.com


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

From: rene@renux.frmug.fr.net (Rene COUGNENC)
Subject: Re: login from cmd line.... poop!
Date: 5 Jun 1994 13:21:29 GMT
Reply-To: cougnenc@hsc.fr.net (Rene COUGNENC)

Ce brave Anton Toom ecrit:

> P.S. hey! i got a crezee idea! lets count the number of linux systems
>      in the world!!!

Hey, I have a better idea !
Let's write a FAQ for Linux :-))

--
 linux linux linux linux -[ cougnenc@renux.frmug.fr.net ]- linux linux linux 

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

From: henryc@reality.UUCP (Christian Henry)
Subject: Re: UNIX or LINUX??
Date: 5 Jun 1994 22:42:27 -0400
Reply-To: henryc@io.org

In article <1994Jun4.032320.16302@nomina.lu.se>,
Claes Heland <claes@ecsdg.lu.se> wrote:

>>In addition, the _full blown_ slackware disk serieses A, AP, D, N, F
>>and Q, plus tinyX, all fit in about 55.1 MB (This is an after-fiddling
>>figure, but I don't think I deleted anything yet).
>>I have not yet tried to run X on less than 8Meg, but I will some day..
>>
>>So quit saying Linux takes "100 megs or more"  !!! :-)
>
>If you want a system you can work with, you need at _least_ 100 meg.

Bullshit!  I have a _very_ useable system installed on an 85 Mb hard drive
(that's with an 8 Mb swap partition).

-- 
 |  Christian Henry   //   North York, Ontario   |  e-mail:  henryc@io.org  |
 |  ``Justice is lost, Justice is raped, Justice is gone...''  - Metallica  |

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

From: jamesl@netcom.com (James Logajan)
Subject: Re: NEC Triple spin CD-ROM
Date: Mon, 6 Jun 1994 03:27:44 GMT

Jong W. Lee (lee44@husc7.harvard.edu) wrote:
: Hi.  Has anyone had any trouble with the NEC Triple spin SCSI CD-ROM
: drive?  Or should I be more concerned about the SCSI adapter?

I am using a NEC Multispin 3X CD-ROM reader with an Adaptec 1542CF
SCSI controller with no problems. If I had to do it over again, I 
might have settled for a double speed drive and saved a couple hundred
bucks. Worry about the controller.

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

From: jmartin@pnet1.pnet.com (Absinthium Booksellers)
Subject: Dumb [l]unix quiestion - nameserver
Date: 6 Jun 1994 00:43:00 -0400

Dumb question:  How do I set up a name server over term, and once I do, 
would it be possible to send&receive mail using pico on my linux system, 
which would be automatically be xfered when I established a term 
connection?  I somehow don't think so.

Oh, and I couldn't figure out which readme's or howto's to check for the 
above questions..  

-John 'unix-challenged' martin


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

From: rexx@netcom.com (Rick Narron)
Subject: Re: Help for Conner 250 and FTAPE?
Date: Mon, 6 Jun 1994 05:25:35 GMT

Ken Corey (exukenc@exu.ericsson.com) wrote:
: Hi all.

: Yesterday I went out and bought a Conner 250MB floppy-tape backup unit.

: Got it installed with no troubles, and proceeded to do some small backups to
: make sure it worked.  So far so good.

: Then, once I figured it was working, I tried to do a full backup of my linux
: file system.  It started writing, but about 85% of the way through bombed
: because of a I/O Error.
...
: Any ideas whats wrong?

One more thing to try is to clean the tape drive recording/playback head with a
Q-tip and some 90% Isopropyl Alchohol (head cleaning solution for ordinary
cassette tape recorders).

On Mainframe computers this is the most likely cause of i/o problems on
a tape drive.  The second most likely is an old (overused) tape.

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

From: cip574@wpax01.physik.uni-wuerzburg.de (Frank Hofmann)
Crossposted-To: comp.windows.x.i386unix
Subject: Re: ** XS3 server problem
Date: 6 Jun 1994 06:46:37 GMT

Laurent JULLIARD (laurentj@samsara.grenoble.hp.com) wrote:
: Hello there,


:    I have a PC with the S3/928 video chipset integrated on the mother
: board along with 1 Mbyte of memory. When I run Xfree (version 2.0) I have
: a clean and stable image _but_ when I move windows accross the screen 
: horizontal white dotted lines appear. If I make a refresh (with xrefresh) 
: the screen comes back to normal.

:    I have tried all sorts of options (nomemaccess, nolinear, etc...) but it
: still persists. 

:    Did anybody experienced this kind of problem 

I've had the same problem sometimes using my Winner 1000 (also S3/928 based)
under OS/2 2.1 . Switching to a new driver release solved it. The effect also
comes up under Linux (with XFree86 2.0) if I use fvwm and move the cursor
across the edge of the screen so that fvwm switches virtual screens. I get
white horizontal lines all over the screen about 10 pixels distant. If I move
the cursor to the other edge of the screen so that X itself scrolls the
display area, these lines disappear. They also don't show up if my display
width is equal to my virtual width (I am using Virtual 1280 1024). I can live
with it, but if that bug has been solved, please inform me as well.

Bye

Frank

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

Crossposted-To: comp.os.linux.help,aus.computers.linux
From: cas@muffin.apana.org.au (Craig Sanders)
Subject: Re: Q-Logic VLB SCSI card?
Date: Mon, 6 Jun 1994 00:45:41 GMT

mike@starbug.apana.org.au (Mike Battersby) writes:

>cas@muffin.apana.org.au (Craig Sanders) writes:
> > Does anyone know if the QLOGIC VLB SCSI card is supported by the
> > Linux kernel?

> Apparently the driver is being developed, but has been in such a state
> for some time and may be so for some time to come.  I'd stick with the
> Buslogic.

That's what I thought.

I'm currently using a VL-300 (based on adaptec 1522) local bus card.
It's OK, not terribly fast but it sort of works.

I find that the kernel panics if the SCSI bus is busy (e.g. I am doing a
tape backup) and the kernel needs to page in something from swap if the
swap is on the SCSI disk.

If I have the swap partition on my ESDI disk, it works OK.  So, the
VL-300 is a reasonable, cheap card for a second hard disk, or for CD-ROM
or tape but is no good as the only disk controller in the system.

Fortunately, the VL-300 is on loan from my father - he doesn't need it
right now, and I will either buy it from him if the driver ever works
100% or give it back to him when I get a better card.

I test it out every time I upgrade the kernel by setting the swap
partition to /dev/sda3, running make in /usr/src/linux or something
else suitably large (to make sure that swapping is happening), and then
running tar to backup some data to tape.  Fortunately ex2fs is VERY
robust and I haven't lost any data yet :-)

The vl-300 is also a VLB IDE controller, so it can be used safely
in conjunction with a cheap 40MB IDE drive for the root and swap
partitions.

-- 
Craig Sanders                                     cas@muffin.apana.org.au
ThinkgloballyactlocallyActionspeakslouderthancoffeechatsSabotageisaseasyaspulli
ngaplugUnemploymentforallnotjusttherichSubvertthedominantparadigmEatthefoodofth
egodsforenlightenmentDowhatthouwiltshallbethewholeofthelawLoveisthelawloveunder
willAlotofmyfriendsdontpayanytaxandthatisrightbecausethatisthelawJohnelliot....

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


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