Linux-Misc Digest #288, Volume #21                Wed, 4 Aug 99 15:13:13 EDT

Contents:
  Re: Java makes Netscape crash (Mike Mckinney)
  sz or rz from Xterm -- How? ("Gordon D. Anderson")
  How to eject the CD? ([EMAIL PROTECTED])
  Re: CIA assassinations (Phillip Lord)
  Re: setenv command ("Pat Duczyminski")
  Re: Installing Linux and NT side-by-side (Robert Schweikert)
  Re: Lilo Problems ([EMAIL PROTECTED])
  Re: Red Hat Cable Modem (Mediaone) Probs (burk)
  Re: mount theory, lost space, and other sundry cack (Latenar)
  serial ports (henning hummert)
  Need good Linux equiv to Win95/98/NT4 find text in file function (Lucius 
Chiaraviglio)

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

From: [EMAIL PROTECTED] (Mike Mckinney)
Crossposted-To: linux.redhat.misc
Subject: Re: Java makes Netscape crash
Reply-To: [EMAIL PROTECTED]
Date: Wed, 04 Aug 1999 02:08:20 GMT

David Frantz <[EMAIL PROTECTED]> wrote:

>I've been running under gnome with the same problems.     To be honest I'm
>not even sure its a Java problem as some sites work fine.     I haven't
>checked in depth what is going on, I just know its very frustrating when
>you can't get on to a site that should be straight forward.
>
>Its a bit of a shame since I like the navigator 4.6 interface.

As a temporary "fix", you can use the Hot Java browser to access sites that 
consistently crash Netscape, such as www.uproar.com/picthis .
The Hot Java browser is actually pretty nice, and works wonderfully as far as
java is concerned, making life much simpler if you find that you really need
to repeatedly access a certain site that crashes Netscape.

Also, I learned something today that is truly a lifesaver for me, and that is
the alt-SysRq-<key> combos, for when Netscape starts making my system thrash.
Already it's saved me at least 4 fsck's, before I found out about the Hot Java 
browser.

-- 
[EMAIL PROTECTED]


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

From: "Gordon D. Anderson" <[EMAIL PROTECTED]>
Subject: sz or rz from Xterm -- How?
Date: Wed, 04 Aug 1999 18:05:48 GMT

I can use sz in either direction with Minicom but can't seem to
get either sz or lrz to work if I just telnet from an Xterm window.
What's the secret?  My usual "sz <filename>" is not enough.
"sz -f <filename> <receiving path> <filename>" doesn't do anything
either.  Thanks.


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

From: [EMAIL PROTECTED]
Subject: How to eject the CD?
Date: Wed, 4 Aug 1999 17:55:01 GMT

Ok this may sound stupid but it really annoys me somehow. I just installed mtv
on my RH6.0 system using what's in http://www.mpegtv.com "package" directory,
and probably it's because my sound card screwed up with this mtv program, 
whenever I ran it(even as root) only the small window showed up and the movie
played but it gave out lousy noisy sound(the VCD played perfect under win95),
and if I choose the "full screen" option, I got immediately logged out!!! 
I mean I was kicked back to the redhat6.0 login screen!(this happened no matter
I was a normal user or root, guess my video card wasn't happy either:(), the
problem is, when I logged back on, I couldn't take the VCD out of the tray!
I checked "mount", the cdrom wasn't mounted, I could mount it, and then access
it, and then umount it, and still couldn't get the VCD out, the system log gave
me some message like "unable to eject CD" or "unable to unlock..." I couldn't
find any lock file and /var/lock, so I'm wondering how this works, is there
any way that root can manditarily force ejecting the CD device when such 
programs as mtv, xplaycd crash? 

Another question related to my sound card, it's an Aopen 3D-FX card, claimed
to be sound blaster pro compatible, and I configured it as such, and had to
loadlin from windows to get it work under linux(suprisingly enough, I only
needed to do this ONCE, and after that, no matter what I did, be it rebooting
or shutdown the system, as long as I boot linux again, without having to go
windows first, the sound card always worked), after that mtv crash, it wouldn't
work correctly, I mean when I logged back to the system xplaycd refused to work
(I guess it had trouble accessing the CD device even if there is an AUDIO CD in
it,---yes I did manage to get the VCD out of the tray at last, by firing up
mtv again and choosing playvcd and immediately stop and choosing "eject vcd".  
However I can still get midi files to be played. Currently the only way I have
to make the sound card work right again is a reboot-to-windows-then-to-linux
sequence, which sucks. Any hints why all this might have happened? Could it be
related to the 8-bit/16-bit sound problem(my card might have screwed itself up
when ordered to play 16-bit sound)? 

Thank you so much for your patience to read my long, boring, and likely 
confusing post,:) I will greatly appreciate it if you guys can shed some light
on my poor understanding of linux.    

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

From: Phillip Lord <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: CIA assassinations
Date: 04 Aug 1999 18:00:09 +0100






  MK> Marx obfuscated whatever he touched. For example, "profit ==
  MK> exploitation".
      
      And what does the word of exploitation mean? "To get the value
out of". Profit therefore is exploitation. The negative cononations of
exploit as in "rape the resources off" comes from later times I
suspect. 

  MK> Nonsense for anybody who bothers to check and think.

      This is just mindless abuse. "If someone doesnt agree
with me its because they cant be bothered to think". I have thought. I
have come to different conclusions. Accept this if nothing else. 

  MK> Or "classless society". Nice vision of paradise. 

      Well yes I would agree. 

  MK> Class warfare -- moot.

      Certainly wasnt at the time Marx wrote it. Of course you could
argue that class war has died now. In a way it has. Personally I would
argue that the nature of class has changed but that as a concept it
still exists. 


  MK> The more and more impoverished masses are ridiculous thing, as
  MK> never before in history so many people consumed so much as in
  MK> capitalism
  
        Never before have their been so many people. 

  MK> Concentration of ownership -- moot.

      Is it really? It would seem to me to be highly relevant. 

  MK> In Russia 1917, there was no revolution but vulgar military
  MK> putch.

      We've discussed this before, and I dont agree with your
interpretation. 

  MK> Inevitable revolution -- moot.

      I'd agree with you on this one. 100 years ago most Marxists were
determinist in this fashion, wheras now you would be hard put to find
one who is so. 

  MK> Most of people whine about egalitarianism, but when it comes to
  MK> action, they build hierarchies allright. The "Princess Di"
  MK> mania, the penchant for gossips from life of Hollywood, and so
  MK> on.

      I would agree with this one. However it is worth looking at the 
cause of this. The Princess Di thing was particularly
interesting. After she pureed herself we constantly heard how the
"nation was in mourning" etc etc. But this was not true. Where I was
at the time very few people cared. Now I realise that scotland is
considered by many down south to be a subject country, and not
actually part of the nation but even so. 

       I dont disagree that what you argue it persuasive in so far
as it goes. To my mind its one of the best reasons for revolution (as
opposed to reformism) which is that act of revolution will of itself
inspire the population to an egalitarianism that it currently
lacks. As before though Im still undecided on the revolution/reform
idea.

  MK> On the free market, this is saleability that counts, not ability
  MK> to produce. Fixation on means of production -- moot.

      Production is certainly not moot. Saleability is all very well, 
but doesnt cover the whole story. The number of people sleeping on the
streets of london, which are paved with old sleeping bags and not gold
as popular myth states show that there is a large demand for
affordable housing. The problem is that these people have no money,
hence can not contribute to saleability. Billions of the starving in
the third world are in the same boat. Its one of the problems of the 
free market which is that it panders to salebility as you say, not
need. 

  MK> Banks are willing to lend money to anybody who has
  MK> saleability. Closing capital in few hands -- moot.

      The banks are willing to lend money to anyone that they believe
are capable of providing saleability. Very different from what you
said. Those who run the banking industry can not determine from some
god given talent what is saleable and what is not, nor do they operate
independant of their own view-point. 

  MK> Every marxist axiom is moot. 

      Gods you are really really sure of yourself arent you. 
      
  MK> They can't allow any axiom fall.

      The historical determinism is one example that they
have. Marxist theory is still advancing, even if the core of it
remains there. 


  MK> Accepting _any_ evidence makes marxism fall. Which is why it is
  MK> system closed philosophically -- it does not allow entering any
  MK> new experience without falling apart. It can only become rigid,
  MK> and believed into.

  MK> Thus, it is religion.

      Again you take your interpretation and draw strong conclusions
from this. You idea is that all Marxists are just ignorant people with
their head in the sand. Surprisingly there are many of the left who do
have brains, who do look around them, who do consider evidence. To
wave your hand, and pass it off as a religion is to do what you accuse
the left of which is to ignore all the evidence.
      

  MK> I don't deny it. I just claim that revolutions inevitably fall.
  MK> "Every revolution evaporates and leaves only a slime of new
  MK> bureaucracy" -- Franz Kafka.

      Ah. Good old historical inevitability. 


  MK> Unionisation is a form of cartel. It forces artificially high
  MK> price of labor, and restricts ability of business to innovate
  MK> and adapt to market conditions. 

      It also prevented mass abuse of the working populations, 
fought for reasonable working conditions (both in terms of time,
environment, and safety), and was the backbone of a movement which
bought enourmous and valuable social reforms to my society at least,
from the National Health Service, to the the full enfranchisment of
the population.


  MK> It is in the _interest_ of union for economy to be FUBR. It has
  MK> the power then. 

    Unionistation and its fore runners were invented whilst the
ecomony was, we are told, at its most powerful, and Britian was the
"workshop of the world". It came about because this was at the cost of
workforce whose conditions were atrocious. It is also in the interest
of capital to ensure the economy is in a bad state. Or at least the
right parts of the economy are in a bad state. Take for instance
Thatchers documentated and deliberate action of tripling the level of
unemployment in the UK in her first five years (and again later)


  MK> The union is no different from the business cartel.
  
     Its certainly true that some unions have changed into a new
layer of bureaucracy, a new level of bosses. Sometimes what start as
socialism fails, or even becomes the opposite of what is claimed ("war
is peace" you know?). Again its one of the arguments for the
inevitability of the fail of reform. Im not conviced yet, but not
entirely unconvinced either. 


  MK> The regular way. Nihil novi. It will commercialize, customer
  MK> will be paid more attention to, 

      Well we shall see. You are probably correct. 

  MK> "romantics" will protest in 19th century luddites or proponents
  MK> of rural life protested

      Actually the Luddites were no protesting against
industrialisation or the power loom. They were actually protesting
against the introduction of free market economics (a brand new idea
then) and the destruction of their communities. They failed but if
they had won, and they could have, they would have changed the world.


       Phil


ps apologies to Ken Loach for the last line. 




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

From: "Pat Duczyminski" <[EMAIL PROTECTED]>
Subject: Re: setenv command
Date: Wed, 4 Aug 1999 11:34:59 -0400

What shell are you in?   If you are logged in as root you have to make sure
you are in the csh to run it.

theoddone33 wrote in message <7o5hdi$212t$[EMAIL PROTECTED]>...
>I'm using redhat 6.0 and I don't have the "setenv" command.  I'd like to
get
>it, since it's very convenient.  Does anyone know where I can download it,
>or is it buried in an rpm on the RH 6.0 cd?
>
>--
>theoddone33
>"These are not my pants" - Reese Roper
>AGQ2 Configs Page:
>http://www.quakefiles.com/agq2configs/
>Also visit:
>http://www.fiveironfrenzy.com
>To email, descramble the pig latin
>
>
>



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

Date: Wed, 04 Aug 1999 12:21:34 -0400
From: Robert Schweikert <[EMAIL PROTECTED]>
Subject: Re: Installing Linux and NT side-by-side

Thomas,

I have NT and Linux on one machine, and it works great, of course since I
installed Linux I hardly use NT, but that another story.

The best way to go about it I think is to buy a book, if you can shell
out the money. This is especially true if you have limited experienec
with UNIX adminstration. I have the "LINUX Secrets" book published by
IDG.

Here is a quick rundown on the basics:
- Make room on your Hard Drive
- Create two partitions with fdisk, one partition for the file system and
one is a swap partition
- Install Linux
- You may install LILO or use the NT loader.

Good luck and have fun.
Robert

"T.P Harte" wrote:

> Hi,
>
> I am a UNIX/Linux user who now has to use NT in a company that
> does not support UNIX/Linux. NT is fully supported at this company.
>
> I would like to install a Linux flavour on my NT box, and I am looking
> for pointers on how to do this. Please bear in mind that my Linux
> administration knowledge is pretty poor (I have had no experience
> installing Linux myself for example!), and that I have no experience
> with NT.
>
> Any links?  It's surely been done before...
>
> thanks,
>
> Thomas.

--
Robert Schweikert ([EMAIL PROTECTED])
Hibbitt, Karlsson & Sorensen
Phone : 401-727-4200
FAX : 401-727-4208




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

From: [EMAIL PROTECTED]
Subject: Re: Lilo Problems
Date: Wed, 04 Aug 1999 17:43:08 GMT

Have you tried using M$ DOS fdisk with the command fdisk /mbr ??? This
should give you a brand spanking new DOS boot record. Make sure you run
it on the correct drive.

In article <7o9k6l$2om7$[EMAIL PROTECTED]>,
  "sj grevett" <[EMAIL PROTECTED]> wrote:
> Please could you tell me how to get rid of lilo? I have tried
formating the
> hd but that has failed along with fdisk. It has sent one of my systems
into
> an internal loop as linux is no longer installed on it but lilo is
left.
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: burk <[EMAIL PROTECTED]>
Subject: Re: Red Hat Cable Modem (Mediaone) Probs
Date: Wed, 04 Aug 1999 08:14:04 -0800

Pat Duczyminski wrote:

>Has anyone else had major problmes getting getting Red Hat
>configured with a cable modem that has fixed it. I'm
>willing to try anything.

assuming you've read the docs at
http://www.cablemodeminfo.com/cablesharing.html
and particularly Robert Ziegler's site at
http://rlz.ne.mediaone.net/linux/faq/index.html

Are you using a dual boot setup? If so, can you access the
internet from windows? If you can access the internet from
windows, can you access it from Linux by treating the IP
address that windows uses as a static IP address (i.e.
without DHCP)? (You should do this ONLY for the purposes of
testing!) If you can reach the internet without DHCP, then
you have a DHCP problem. These seem to be thorny problems,
and most of mine had to do with the configuration of my
firewall (Ziegler's site is essential reading for this). Try
it without a firewall. (Again testing ONLY). This is a pain,
but it's worth it.

Good Luck.

burk - [EMAIL PROTECTED]
My Linux File Manager Page:
http://www.pobox.com/~burk/LinuxFile.html



* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

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

Crossposted-To: alt.os.linux
From: Latenar <[EMAIL PROTECTED]>
Subject: Re: mount theory, lost space, and other sundry cack
Date: Wed, 4 Aug 1999 03:00:12 GMT


On 3 Aug 1999, Matt Arnold wrote:
*multiple snips*

> William Wueppelmann <[EMAIL PROTECTED]> described how to add
> a new drive by saying:
> 
> > 1. mount the new partition under a temporary point like /mnt
> > 2. copy /home to /mnt using the -a (archive) option
> > 3. verify that the contents have been copied (unmount the partition
> >    and remount it and then check)
> > 4. delete the contents of /home (but not the directory itself)
> > 5. add a line to /etc/fstab that mounts the partition under /home
> > 6. reboot, or better yet, just unmount the partition from /mnt and
> >    remount it on /home.
> 
sounds good
might want to put a -R on the cp command to preserve directory structure
and special files...don't know how well it complies with -a
though...expiriment with false data first, of course:-p

> nagging question.  What happens if we skip step 4?  What happens if we don't
> delete the original content?  Let me give an example to explain further...
> 
> Assume for a moment we have a system like the following:

> 
> And let's assume that /home contains around 100MB worth of stuff.  It's
> growing at a fast rate, so we want to add another disk and put /home on that
> new disk.  We'll need to prepare the new disk, mount it to a temporary
> point, and copy /home from the old disk to the new disk.  So far so good.
> 
sounds quite possible to me:-p

> Now what happens once we mount /home to this new disk?  We still have 100MB
> worth of files on the old disk (formerly available via /home).  But because
> of this recent mount (which now points /home to the new disk) we can't get
> to these files on the old disk to delete them.  Right?  They're still

correct
> [is there a name]
> for this type of situation -- disk space which is in use yet can't be freed
> because our mount points won't let us reach it?
> 
dunno.  hidden sounds good. lost and unreachable don't: see below

> I'm assuming the proper way to deal with this is to make sure one deletes
> the files from the old drive before mounting the new one (per step 4 shown

not necisarily...i explain below:

> COULD potentially contain unreachable files.  How can I prove there is none
> of this unreachable space on my filesystems?
> 
first off i would type "mount" to see where you have mounted things.  then
just reboot (or switch) into single user mode (runlev 1) if you expect to
have people on your system, or just make sure everyone is logged out and
kill all uneeded daemons, etc.  init is a good thing to leave running.
then simply unmount everything and cd into the dir and ls -A.  just
because it is listen in fstab does NOT mean it must be mounted...in fact i
use the the fstab file with "defaults,<other_flags>,noauto" for floppy,
zip, cdrom, etc so i can just specify the device OR mount point with the
mount command (as opposed to both if there is no entry).  the noauto keeps
it from being mounted at boot.

one might ask why it does at least not warn you when you mount into a
non-empty directory.  one reason is because of . and .., but that could be
written around easily.  a more useful reason is, say, you have a 100meg
partition/disk that you keep as your root partition, then mount /bin,
/usr, and /home later...but say you need one two things in /bin before it
gets to the mounting point, or more practicly something in /lib before
/lib is mounted (assuming its on a different drive)...then you just copy
the needed files to /lib on your root partition/drive and they are used
until the auxilary /lib is mounted.  also, one might (foolishly) put their
only copy of fsck or other disk-util on the /usr partition, and then need
to run it while the partition is unmounted (or corrupted).  it would be
safe to keep a backup set of backup/recovery tools in /usr in case they
need to 'do some work' on it.

all of this is from the Disk-HOWTO or the Linux Administrator's Guide
(LDP).

one last trick is to compare du (which lists all directories) and df
(which lists by partition)... do the math and see if something doesn't add
up

> And, yes, I'm a newbie.  I tried to RTFM and FAQ's, but I failed to find
> where this situation was described.  Thank you for any help anyone can
> offer.
> 
read all the HOWTOs even if you don't need too...often you will remember
something you saw earlier..etc....i'm about half-way through:-p
sorry for the long post, just kinda grew:-p
> Thanks,
> Matt
> 
Latenar



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

From: henning hummert <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,msu.linux.misc,de.comp.os.linux,comp.os.linux.hardware
Subject: serial ports
Date: Wed, 04 Aug 1999 14:41:36 -0400

hi,
i am trying to communicate with a digital camera via the serial port. i
am using redhat 5.1. problem is: i can send data to the camera via cua0,
but cannot receive any. cua1 is not responding in any way. ttyS1 either,
and for ttyS0 i get the strange answer from setserial: device/resource
busy??? busy with what???

i really hope somebody can give me a hint

h


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

From: [EMAIL PROTECTED] (Lucius Chiaraviglio)
Subject: Need good Linux equiv to Win95/98/NT4 find text in file function
Reply-To: [EMAIL PROTECTED]
Date: Wed, 04 Aug 1999 18:44:05 GMT

        Someone posted a cleaner-looking command line than that listed
below here a few weeks ago, but unfortunately my news directories
experienced corruption, and so I can't find it to try it out in
comparison to the above command.  Sorry for re-asking a question which
may have been partly answered.

        What I need is a clean way to do the equivalent of the Windows
95/98/NT4 Find function when used to find files containing a certain
string.  On such machines I frequently need to find files containing
a certain string wherever they may be on the entire hard disk (or even
an entire network share).  I would like to be able to do this cleanly
under Linux as well.  I have been trying a slight variation of what
was posted here (after reading through the man pages for find and
the various versions of grep):

        cd start_directory
        find . -type f -exec fgrep -l 'search text' \{\} \; | more

The problem is that not only is this rather messy; in addition, it
bombs out sometimes with "find: fgrep terminated by signal 11" and
then turns into a pair of processes (the find and the fgrep) which
sometimes (it is not consistent) will not terminate normally (or even
with a normal or hangup kill signal from user input -- kill -9 still
works) and also cannot be suspended (just keeps accumulating idle
time.  The /proc directory is an example of an area in which it bombs
like this (kcore does this, but maybe also other files do this).  I
know that the files in /proc are not real, but a Find command should
at least be able to get past them without frying when one is trying to
search the entire system directory tree, and it would sometimes be
useful to be able to search for a pattern in memory (need to modify
the arguments to fgrep above to print a handful of lines of context
around the search pattern, and use it outside of the find command, but
in its present form it crashes with a segmentation fault immediately
upon attempting to search /proc/kcore, even though at least
/proc/interrupts can be searched normally).  The above command also
cannot be suspended (in case one forgets to put a '&' after it even
while running apparently normally, and I have had it hang once (and
not be completely killable, as above) while searching in the /usr
directory tree (apparently fgrep just went to sleep for no reason --
I even ran the command successfully thereafter before I realized it
was still asleep).  It is also very slow to search a few hundred
Mbytes on a system which is able to do a diff on 2 files of ~500
Mbytes each in under 5 minutes (MUCH FASTER than Windows NT's FC
command even on a slower CPU), so better performance would be a great
help in addition to better reliability.

        I am doing this on a Cobalt Qube 2 configured with the
following software:

Cobalt OS Release 4.0               (original install)
Cobalt Qube2 Update Release 1.0     (added as patch from manufacturer)
Shell History Patch Release 1.1     (added as patch from manufacturer)

Note:  Cobalt OS 4.0 on the Cobalt Qube 2 identifies itself (before it
gives the login prompt) as "Cobalt Linux release 4.0 (Fargo)" /
"Kernel 2.0.34 on a mips".

        I looked among the HOW-TO's for an answer to my question, but
did not notice any HOW-TO with a title suggesting that it had what I
am looking for.

Lucius Chiaraviglio | [EMAIL PROTECTED]
========
To reply to this message, remove the "not at" characters from in front of the
abbreviation of the company name (Advanced CMP Products, Inc.).  If you are
seeing this in an e-mail message, it is because I am posting it and e-mailing
it at the same time -- normal e-mail messages from me do not have this feature.
Note:  I am trying a new news server -- it seems to work well, but it has a
very short expiration time (1 week for most groups), so I will likely miss your
reply unless you send it by e-mail in addition to posting it.

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


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