Linux-Misc Digest #841, Volume #25               Sat, 23 Sep 00 03:13:02 EDT

Contents:
  Restarting a Linux Box (Jeff Grossman)
  Midnight Commander problem... (Bill Thompson)
  Re: Help with buying a comp with Linux & windows ("Dave Stanton")
  Re: Oracle 8i for Linux? (Vilmos Soti)
  Re: Any GIF decoders designed for small devices?????? (William McBrine)
  Re: KPPP prevents other apps from loading
  Re: Restarting a Linux Box (Jeff Grossman)
  Re: cuecat dejavu (Christopher Browne)
  Re: cuecat dejavu (Rob Blomquist)
  Re: Creating a hard link to a directory.... (Rob Blomquist)
  Re: Linux in Win9X partition? (Rob Blomquist)
  Text file busy (Rick Lim)
  Re: nfs partition not mounted at reboot. ([EMAIL PROTECTED])
  Re: 4004 (Lew Pitcher)
  Re: kernel recompile needed, but Mandrake has modified the source... (Lew Pitcher)
  Re: Linux in Win9X partition? (Lew Pitcher)
  Re: how  and where do I get linux? (Noe Nieto)
  Re: Good MPEG player for Linux? (William McBrine)

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

From: Jeff Grossman <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Restarting a Linux Box
Reply-To: [EMAIL PROTECTED]
Date: Fri, 22 Sep 2000 20:24:21 -0700

How do you properly restart a Linux box?  I use the command 'shutdown
-r now'.  But, when I do that, while it is restarting, it tells me
that the volumes were not properly unmounted, and it does a scan of
them.  How do I stop this in the future?

Thanks,
Jeff
---
Jeff Grossman ([EMAIL PROTECTED])

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

From: Bill Thompson <[EMAIL PROTECTED]>
Subject: Midnight Commander problem...
Date: Sat, 23 Sep 2000 11:12:44 +0700

Hi,

I'm using Midnight Commander 4.5.51. It has a mixed display of
directories and
files. I've been unsuccessful to configure it to display all directories
together and all files together, case-sensitive. How is it done?

Bill Thompson
 
-- 
>From the shores of Khlong YaiPhuan, Bangkok, Thailand...

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

From: "Dave Stanton" <[EMAIL PROTECTED]>
Subject: Re: Help with buying a comp with Linux & windows
Date: Sat, 23 Sep 2000 05:22:08 +0100


<[EMAIL PROTECTED]> wrote in message
news:8qgm4a$1c6$[EMAIL PROTECTED]...
> For profesional reasons, I need Windows 2000 as a high priority item,
> then Linux. Should I:
>
> - buy a Windows 2000 (laptop), then buy and load Linux later for
> dual boot
>
> or
>
> - buy a Linux laptop, then buy and load Windows 2000 later?
>
> tia.
>
> (If that helps, I need to run clearcase on my laptop at home,
> and linux is not supported as a server yet)
>
> and if that helps, I've never used Linux, and barely know Windows,
> but very comfortable with Unix.

If you put Linux on first, then load windows, win will overwrite the master
boot sector and prevent Linux from booting. Always better to install win
 if you must ) and then install Linux.

Cheers

dave



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

Subject: Re: Oracle 8i for Linux?
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Sat, 23 Sep 2000 04:32:07 GMT

"Art Decco" <[EMAIL PROTECTED]> writes:

> I heard that there was some sort of free version of Oracle 8i for Linux,
> presumably with restrictions for non-commercial use. I also heard that it
> was an extremely popular download. All I want it for is to teach myself how
> to install, manage, and use Oracle.
> 
> I've looked on their website several times, starting with their homepage,
> and haven't found it yet.

ftp://ftp.oracle.com/pub/www/otn/linux/oracle8i

Vilmos

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

From: William McBrine <[EMAIL PROTECTED]>
Subject: Re: Any GIF decoders designed for small devices??????
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Date: Sat, 23 Sep 2000 04:36:02 GMT

In comp.os.linux.misc MikeC <[EMAIL PROTECTED]> wrote:
> Does anybody know of good sources for GIF decoders written
> specifically for small mobile devices like cellular handsets, screen
> sizes up to 200x200 pixels?

Interesting question. I know that, back in the day, CompuServe sponsored
development of GIF viewers for a wide variety of computers, including low-
end 8-bit home systems like the Commodore 64, etc. Some of those systems
have even seen active development recently. You might look to those user
communities for what you need, though it will most likely be written in
assembly language rather than C.

-- 
William McBrine <[EMAIL PROTECTED]>

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

From: [EMAIL PROTECTED] ()
Subject: Re: KPPP prevents other apps from loading
Reply-To: [EMAIL PROTECTED]
Date: Sat, 23 Sep 2000 04:46:27 GMT

Dances With Crows wrote:
>On Fri, 22 Sep 2000 16:26:37 GMT, [EMAIL PROTECTED] wrote:
>>  Has anyone had this problem.        I launch kppp from my root account just fine
>>and connect to the net, but then I can't start any applications.  ie
>>netscape, konsole.  As soon as I kill kppp, I can start my other apps.
>
>I posted something about this earlier this week.  The problem is that
>you have the "Auto-Configure Hostname from this IP" option in KPPP set.
>So when you dial in, you're assigned the address xxx.yyy.zzz.www and
>your machine then queries DNS and sets its hostname to whatever that
>address resolves to (typically NOT what you have your hostname set to!)
>X uses the machine's hostname (among other things) to determine whether
>or not clients are authorized to connect to the X server.
>Alternatively, you could just do "xhost +" after starting kppp, but
>that's a BAD IDEA.  HTH,
>
>-- 
>Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
>Brainbench MVP for Linux Admin /  Those who do not understand Unix are
>http://www.brainbench.com     /   condemned to reinvent it, poorly.
>-----------------------------/           --Henry Spencer

xhost +localhost should work and be somewhat more secure than
just xhost +

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

From: Jeff Grossman <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: Restarting a Linux Box
Reply-To: [EMAIL PROTECTED]
Date: Fri, 22 Sep 2000 21:42:34 -0700

Statux <[EMAIL PROTECTED]> wrote:

>> How do you properly restart a Linux box?  I use the command 'shutdown
>> -r now'.  But, when I do that, while it is restarting, it tells me
>> that the volumes were not properly unmounted, and it does a scan of
>> them.  How do I stop this in the future?
>
>'shutdown -r now' is the proper way. What is probably wrong is you're
>missing the script to unmount everything. Do you have the same problem
>with runlevel 0 (halt), or just runlevel 6?
>
>does /etc/rc.d/init.d/halt exist and do it's soft links exist too?
>
>/etc/rc.d/init.d:
>-rwxr-xr-x    1 root     root         3260 Mar  8  2000 halt
>
>/etc/rc.d/rc6.d:
>lrwxrwxrwx    1 root     root           14 Apr 14 16:03 S01reboot ->
>../init.d/halt
>
>there should be a link in rc0.d too.. should look the same :)

Yes, the one in rc0.d says S01halt.  And the one in rc6.d says
S01reboot.  So, I am not sure what the problem is now.  Is my halt
script in init.d bad?

Jeff
---
Jeff Grossman ([EMAIL PROTECTED])

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

From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: cuecat dejavu
Reply-To: [EMAIL PROTECTED]
Date: Sat, 23 Sep 2000 05:13:20 GMT

Centuries ago, Nostradamus foresaw a time when William McBrine would say:
>OK, silly question, but... I got a CueCat tossed at me at RatShack the other
>day. I've DL'ed all the Linux tools -- but, how do I use them? The docs are
>pretty sketchy. Is it necessary to install the kernel driver before any of
>them will work? I tried some packages which made no mention of that, which
>yielded nothing.

No need for anything particularly special; DEFINITELY no need for a
"kernel driver" to make it work.

Steps:
 -Plug it into the keyboard port on your PC.
 -Plug keyboard into the socket on CueCat
 -Head over to a virtual console or an xterm where nothing crucial
   is happening...
 -Swipe barcode off a book/magazine.

 - Watch something like: .C3nZC3nZC3nZE3vWCxb7CNnY.fHmc.C3b1C3nZCxr0CNn3.
   "magically" appear.   (That's the UPC off a box of Kleenex.)

Up to this point, you have used NO software whatsoever.

My next "magical trick" is to take that barcode:
.C3nZC3nZC3nZE3vWCxb7CNnY.fHmc.C3b1C3nZCxr0CNn3.
and run it through "scat"

Basically, I select the line, and type (in vi):
!perl ~/bin/scat
which transforms the above to
000000000863238101 UPA 036000277104
The first part is the code value for the CueCat in question that
is the prefix for _EVERY_ scan; UPA indicates this is a UPC code
"type A", I believe; the last piece is the UPC code for the box
of Kleenex.

The "scat" source code:

#!/usr/bin/perl -n
printf "%s %s %s\n", 
map {
  tr /a-zA-Z0-9+-/ -_/;
  $_=unpack 'u', chr(32+ length()*3/4) . $_;
  s/\0+$//;
  $_ ^= "C" x length;
} /\.([^.]+)/g;

See how the kernel never enters the picture?
-- 
[EMAIL PROTECTED] - <http://www.hex.net/~cbbrowne/lsf.html>
Let me control a planet's oxygen supply and I don't care who makes the
laws.

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

From: Rob Blomquist <[EMAIL PROTECTED]>
Subject: Re: cuecat dejavu
Date: Fri, 22 Sep 2000 22:19:45 -0700

We picked up a cuecat the other day at RS, but we can't get it working,
as I am still using an AT keyboard, and my wife's laptop has only one
PS2 slot designed for both the kb and the mouse.

But really, I am thankful. You give the CC folks your info, then you
start scanning for thier database, no?

I am not really interested in letting the world know everything about
what's in my house. But I think it would be way better to hack into a
standard barcoade reader.

Rob

-- 
Rob Blomquist
Kirkland, WA

Gone to the penguins...Bye, bye, Billy-boy....

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

From: Rob Blomquist <[EMAIL PROTECTED]>
Subject: Re: Creating a hard link to a directory....
Date: Fri, 22 Sep 2000 22:26:46 -0700

"David .." wrote:
> 
> Rob Blomquist wrote:
> >
> > I'm trying to make a hard link from a directory in my home directory to
> > /mnt/robbo.
> >
> > I have su'd to root, then given the command: ln -F /mnt/robbo
> > /home/robbo/documents. I get the error message "Invalid Cross Device
> > Link". I guess that means that it thinks /home/robbo/documnents is a
> > file. I have tried several other variants, and can't seem to figure this
> > one out. Yes, I realize that I could mount the drive to the location,
> > but I would rather do this.
> >
> > Any thoughts?
> 
> You could do it with a softlink.
> 
> ln -s /mnt/robbo /home/robbo/documents

Thanks for the info! I did not know a damn thing except what was in the
books about links until you guys taught me.

And the above command gave me just what I wanted....direct easy access.

Rob

-- 
Rob Blomquist
Kirkland, WA

Gone to the penguins...Bye, bye, Billy-boy....

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

From: Rob Blomquist <[EMAIL PROTECTED]>
Subject: Re: Linux in Win9X partition?
Date: Fri, 22 Sep 2000 22:30:26 -0700

John Culleton wrote:
> 
> I remember reading somewhere that it was possible to install Linux in a
> Win9X partition and boot it from there.
> 
> 1. Can it be done?
> 
> 2. Where are the instructions found?
> 
> 3. Which distro has someone successfully installed this way?

Redhat 6.2 can handle it according to the install manual, but the deal
is WinLinux 2000 that is free on the current Maximum Linux CD.

Rob

-- 
Rob Blomquist
Kirkland, WA

Gone to the penguins...Bye, bye, Billy-boy....

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

From: Rick Lim <[EMAIL PROTECTED]>
Subject: Text file busy
Date: 23 Sep 2000 05:30:29 GMT

I have gotten (Text file busy) this after I edit with vi a
perl script, the script will not execute, the only way
to get rid of this is to reboot.

Can anyone suggest a fix?

-- 
The wealth of reality, cannot be seen from your locality.

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

From: [EMAIL PROTECTED]
Subject: Re: nfs partition not mounted at reboot.
Date: Sat, 23 Sep 2000 05:26:58 GMT

Hi,
I've done below 2 steps which solved my problem :

1. give option "auto" in /etc/fstab
2. do a symlink in /etc/rc2.d/rc3.d/S15netfs ti /etc/rc.d/init.d/netfs
lrwxrwxrwx   1 root     root           22 Sep 23 09:05 S15netfs ->
/etc/rc.d/init.d/n
etfs*

thanks for the suggestions etc.

tq,
--fg

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
> >
> > Thanks MH,
> > here it is :
> >
> > [root@web0 /]# df
> > Filesystem           1k-blocks      Used Available Use% Mounted on
> > /dev/sda2              4160243    803267   3141705  20% /
> > [root@web0 /]# cat /etc/fstab
> > /dev/sda2               /                       ext2    defaults
> > 1 1
> > /dev/sda1               swap                    swap    defaults
> > 0 0
> > /dev/fd0                /mnt/floppy             ext2    noauto
> > 0 0
> > filer2:/vol/web     /home                   nfs     rw
0 0
>
> You are trying to mount on /home, which is normally being used as a
> mount point for a local disk partition.  Create a new directory under
> /home (or /mnt, which is where I like to keep external filesystems)
and
> mount to that.
>
> --
> Don't waste your vote.  Vote Green, or don't vote at all.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Lew Pitcher <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: 4004
Date: Fri, 22 Sep 2000 21:35:38 -0400

Christopher Browne wrote:
> 
> Centuries ago, Nostradamus foresaw a time when Peter would say:
> >I see people bragging about getting Linux running with small old
> >boxes. Those little Linux based one chip print servers must be limited
> >in resources.
> >
> >The I have heard is a 386/25.
> >
> >What about 286s?
> >186?
> >8086?
> >8080 with 4Kb memory?
> >How about the original 4004 with 8 bytes of memory?
> 
> There is a "very low end Unix variant" called Uzi, that I believe
> can run on a Z-80;

There have been a number of Unix variants that run on Z80: Cromix was
one, and I believe Zilog even offered a Unix clone for Z80 (during the
heyday of CP/M).

> the minimum for a recognizable form of Linux, on the
> other hand, is an 80386, which was a BIG jump from the 80286 in its
> support for addressing modes and virtualization.
> 
> >I know 5Mb disks are a challenge. I waited for 10Mb disks before
> >buying a computer (although I did build one using RAIF (RAIF is the
> >RAID you build when you have a shelf full of floppy drives))
> 
> That sounds rather sick!  :-)
>
> >My mate's teacher made a 5Kb disk by spraying the platter of a record
> >player with iron oxide based rust proofing paint. The hand wound
> >read/write head worked well. It just took a while to wind the handle
> >that moved the head to the next track.
> 
> I can't decide whether to believe that or not; it's just imaginable
> enough that it doesn't seem _completely_ impossible.  But seems rather
> like Mr Spock building a computer out of rocks; that is, something
> that works on TV, but not usually in real life :-)

Well, you missed the Byte Magazine challange (about 1980 or so) to
develop a fax/scanner. IIRC, U of Waterloo (here in Ontario Canada)
came up with a photocell mounted on a movable, geared stand which was
attached to a phonograph player (y'a know, analog audio players <g>).
Mounted on the turntable was an applejuice can to which a document
would be attached, wrapped around the can. The turntable would spin
the document and the photocell would descend, scanning in helixal
lines around the document. A single bit A/D converter was used to
capture the data to a serial port on a computer where the scanned data
was built into a grayscale bitmap of the image. 

> >But that 5Kb disk was back in the 50s when the valves used to build
> >RAM were expensive and brown paint was cheap. (My mate also remembers
> >black&white television, programming with COBOL and something named
> >DOS.)

If it were Black&White TV, then DOS stood for Disk Operating System,
and was written and sold by IBM for use on their S/360 mainframes. DOS
(IBM's mainframe OS) has grown up some, going to DOS/VS, then DOS/VSE,
then VSE/SP, then VSE/ESA. Tbat _other_ DOS is a "Johnny-come-lately"
with the advent of colour cable TV and programming in Pascal.

> >Of course now a disused Pentium 200 is cheaper than a can of paint.
> >(Cheaper than a can of nice blue paint. Brown is probably still the
> >cheapest.)

Why paint at all? As above, rust (iron oxide) is the stuff recording
media is made of <g>.

> >So who won the "I've got the smallest" competition?
> 
> Smallest I believe is a 486 clone that, complete with some RAM and
> Ethernet NIC, fits in a matchbox.  But stuff that small isn't
> cheap...

Runs an Apache Webserver under Linux, IIRC.

-- 
Lew Pitcher

Master Codewright and JOAT-in-training

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

From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: kernel recompile needed, but Mandrake has modified the source...
Date: Fri, 22 Sep 2000 21:45:51 -0400

Bruce LaZerte wrote:
> 
> What to do?
> 
> According to the people at samba.org, I need the latest 2.2.18-9pre kernel
> patch  and recompile so that smbfs will work properly wih our SMB server
> (OS/2, not samba).
> 
> But linux-mandrake 7.1 (kernel 2.2.15-4mdk) only provides their modified
> source(-4mdk), and applying the 2.2.16 patch (from ftp.kernel.org)
> generates lots of errors.
> 
> If I download the plain vanilla kernel (2.2.17 from ftp.kernel.org) source
> and patch that, I could lose whatever modifications mandrake made to 2.2.15
> (whatever they were) and risk incompatibility with everything else
> installed with mandrake 7.1.
> 
> Mandrake 7.2 (beta 2 already available) only goes up to kernel 2.2.17 and
> is probably again modified by mandrake so the 2.2.18-9pre patch will flip
> out.
> 
> What to do?
> 
> Is there another linux distribution out there that only uses standard
> kernels, equivalent to those found on ftp.kernel.org? Given the monolithic
> linux kernel and the necessity to recompile it when updating certain device
> drivers, this would be nice feature.

Slackware uses standard kernels (no custom patches). I swear by it.

-- 
Lew Pitcher

Master Codewright and JOAT-in-training

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

From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: Linux in Win9X partition?
Date: Fri, 22 Sep 2000 22:26:01 -0400

John Culleton wrote:
> 
> I remember reading somewhere that it was possible to install Linux in a
> Win9X partition and boot it from there.
> 
> 1. Can it be done?

Yes, certainly

> 2. Where are the instructions found?

IIRC, The Linux Documentation Project (http://www.linuxdoc.org/) has
some docs on this. However, any Linux distribution that provides
support for install/boot from Win9x will also provide instructions.

> 3. Which distro has someone successfully installed this way?

Slackware Linux provides a couple of variants of this install
(ZipSlack is one). See http://www.slackware.com/ for the software and
instructions.

There are other distributions that also may be installed this way.
However, I don't have the details on them, so I'll leave it up to
their advocates to speak up.
 
> John Culleton


-- 
Lew Pitcher

Master Codewright and JOAT-in-training

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

From: Noe Nieto <[EMAIL PROTECTED]>
Subject: Re: how  and where do I get linux?
Date: Sat, 23 Sep 2000 06:30:04 -0000

Thanks everybody on everywere�����������




Greetings from MEXICO���


Arriba M�xico CABRONES��������

--
Posted via CNET Help.com
http://www.help.com/

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

From: William McBrine <[EMAIL PROTECTED]>
Subject: Re: Good MPEG player for Linux?
Date: Sat, 23 Sep 2000 06:34:55 GMT

Don't forget xmovie. (http://heroinewarrior.com/xmovie.html)

-- 
William McBrine <[EMAIL PROTECTED]>

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


** 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: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to