Linux-Misc Digest #528, Volume #18                Sat, 9 Jan 99 04:13:10 EST

Contents:
  Re: Consumer Poll Says Microsoft Is Good For Consumers (William Burrow)
  Re: Should /sbin:/usr/sbin be in a user's path stupid argument (Dave Brown)
  lib-ncurses version 2 on SuSE60 (Michael Hammann)
  Re: How to build chat room with in Linux? (Bryan)
  Re: Consumer Poll Says Microsoft Is Good For Consumers (Mark Jackson)
  Re: Editing issue.net? (Mark Ramos)
  Re: Bash question - is there variable substitution? (Michael Powe)
  Re: Linux: Fight for survival or on victory march? (Jeremy Crabtree)
  Bash question - is there variable substitution? (Jeremy Mathers)
  Re: Netscape 4.5 problem (Steve Wampler)
  Unlocking /dev/modem ("Paul Davies")
  Clean Disk Space (Athan)

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

From: [EMAIL PROTECTED] (William Burrow)
Crossposted-To: 
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Consumer Poll Says Microsoft Is Good For Consumers
Date: 8 Jan 1999 22:58:45 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 7 Jan 1999 18:36:08 -0500,
Netnerd <[EMAIL PROTECTED]> wrote:
>Of course not, a biased and angry Penfield will rule against Microsoft on
>every count and impose the most severe penalty he believes possible.  But
>not to worry, there is a contingency plan in place regardless the DOJ trial
>and appeals outcome.  Long live Microsoft.


Ah, the thread from hell straight from MSN....

PLEASE TRIM FOLLOWUPS all, thanks.


-- 
William Burrow  --  New Brunswick, Canada             o
Copyright 1999 William Burrow                     ~  /\
                                                ~  ()>()

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

Crossposted-To: comp.os.linux.advocacy
Subject: Re: Should /sbin:/usr/sbin be in a user's path stupid argument
From: [EMAIL PROTECTED] (Dave Brown)
Reply-To: [EMAIL PROTECTED]
Date: 8 Jan 99 18:26:49 GMT

In article <774vim$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>
>Sam E. Trenholme <[EMAIL PROTECTED]> wrote:
>>(from someone else)
>>> sbin directories don't belong in the PATH variable for normal users
>
>
>  1) Take the sbin directories out of your "normal user" login's PATH.
>  2) Put traceroute, or a symlink to it, where it belongs in /usr/bin.
>  3) Make an alias in your profile:  "alias ifconfig='/sbin/ifconfig'"

Whether or not "users" can execute commands (regardless of where they're
stored) should not be "controlled" by PATH.  That's what permissions are
for.  Especially, since users are free to assign their own PATH value.  
(I suppose the admin could declare PATH a readonly variable, but
that should get some users irate.)

-- 
Dave Brown   Austin, TX


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

From: Michael Hammann <[EMAIL PROTECTED]>
Subject: lib-ncurses version 2 on SuSE60
Date: Sun, 03 Jan 1999 13:51:04 +0100
Reply-To: [EMAIL PROTECTED]

Hello,

are there any possibilities to install an 'old' version of ncurses
parallel to a newer version like this on SuSE60? I have a program
(MicroStation95) which search for a libncurses version 2. a symbolic
link didn't help! What can I do?

Thanks and regards,
                    Michael.
-- 
....................................................................
. Dipl.-Ing. Michael Hammann * Wasenstra�e 53 * D-75382 Ottenbronn .
. Tel. +49.7051.40089 * Fax +49.7051.77617 * Funk +49.171.1756783  .
....................................................................
. Ich aber und mein Haus wollen dem Herrn dienen. (Josua 24, 15)   .
....................................................................

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

Date: Fri, 08 Jan 1999 10:43:34 -0700
From: Bryan <[EMAIL PROTECTED]>
Crossposted-To: comp.infosystems.www.servers.unix,comp.os.linux.networking
Subject: Re: How to build chat room with in Linux?


If you're really adept at this Linux stuff, set up an IRC server.  You
can download ircd from Redhat's contrib site.



Christian Marcelo C Pinheiro wrote:
> 
> There is a lot of free chat services on the net, or you can install a chat
> server either.
> Try finding the MAGMA Chatserver in Yahoo...
> 
> [EMAIL PROTECTED] wrote:
> 
> > I'd like to know this as well.  Anyone?
> >
> > Thanks!
> >
> > James
> >
> > >
> > > I have a home server with RH 5.1 and I'm running apache on it. I would
> > > like to setup a chatroom for my friends to chat in my server. Does
> > > anyone know where I can grab some info about this topic?
> > >
> > > Kelvin
> > >
> >
> > -----------== Posted via Deja News, The Discussion Network ==----------
> > http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own

-- Bryan Scott 
-- CTR Online Systems Administration (www.ctronline.com)

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

From: Mark Jackson <[EMAIL PROTECTED]>
Crossposted-To: 
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Consumer Poll Says Microsoft Is Good For Consumers
Date: 9 Jan 1999 06:57:36 GMT

: The consumer has spoken, but will this affect Penfield Jackson�s rulings?

"Consumer" = those who pay dollars for their software, by definition...  No
one from this newsgroup would qualify... (comp.os.linux.advocacy)

: Of course not, a biased and angry Penfield will rule against Microsoft on
: every count and impose the most severe penalty he believes possible.  But
: not to worry, there is a contingency plan in place regardless the DOJ trial
: and appeals outcome.  

Microsoft has the *best* OS available to those who choose to pay for it.  
However, there are better alternatives available for zero cost, and the
public is quickly catching on...

: Long live Microsoft.

Well, depends on your definition of the word "Long"...



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

From: Mark Ramos <[EMAIL PROTECTED]>
Subject: Re: Editing issue.net?
Date: Fri, 08 Jan 1999 09:37:41 -0800

(BXTC) wrote:

> Hey, I would like to make it so when someone telnets to my comp.  it
> says something besides
> Red Hat 5.1 ......".  I tried editing my /etc/issue.net file and it
> worked.  But when I reboot, i lose the changes I made.  I'm guessing its
> simple, I've seen several site done this way.
>
> Also after someone has logged in how can I have the screen show text?
> Almost every shell I've ever had has had this.  Right now I just made a
> txt file and call it from .bashrc but they can edit it out.  I am
> running redhat 5.1 3.0.34.  Thanks in advance
> --
> Towering genius disdains a beaten path.  It seeks regions hitherto
> unexplored.
> Abraham Lincoln
>
> (BXTC) ICQ# 23289202

Here is how it works:  issue.net is for remote telnet connections, issue is
for local vt connections and motd is used after a login has been
initiated.  These messages can also be done through TCP Wrappers.  I.E.
when a connection is established it executes a banner that is called in
/etc/hosts.allow (or hosts.deny).  More info then you need to know but at
least  it  may clear it up a bit.  Redhat puts some junk in the
/etc/rc.d/rc.local that overwrites the issue file everytime it boots.  Just
look at the comments.  Which I think is a bad idea since it is not standard
and violates security by displaying crap about your system -- yeah, I know
one can look at the ethernet address, packets, etc. but it still makes it
much easier to find out about the system when it's in your face.   My
advice:  take out the crap that Redhat puts in the /etc/rc.d/rc.local and
either leave it blank so it just comes up with a login prompt.

Mark



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

From: Michael Powe <[EMAIL PROTECTED]>
Subject: Re: Bash question - is there variable substitution?
Date: 08 Jan 1999 23:16:25 -0800

=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1

>>>>> "Jeremy" == Jeremy Mathers <[EMAIL PROTECTED]> writes:

    Jeremy> What I want to know is if bash supprts anything akin to
    Jeremy> csh's $foo:s/foo/bar where you modify the variables in
    Jeremy> place, w/o resorting to awk or perl to manipulate them.  I
    Jeremy> know about %, %%, #, and ##, but need to do an in-place
    Jeremy> substitution.  Specifically, I have a variable that
    Jeremy> contains:

    Jeremy>     foo bar bletch

    Jeremy> and I want to replace it with:

    Jeremy>     foo foe bletch

Bash 2.0+ offers these: from the Bash info file:

`${PARAMETER:-WORD}'
     If PARAMETER is unset or null, the expansion of WORD is
     substituted.  Otherwise, the value of PARAMETER is substituted.

`${PARAMETER:=WORD}'
     If PARAMETER is unset or null, the expansion of WORD is assigned
     to PARAMETER.  The value of PARAMETER is then substituted.
     Positional parameters and special parameters may not be assigned
     to in this way.

`${PARAMETER:?WORD}'
     If PARAMETER is null or unset, the expansion of WORD (or a message
     to that effect if WORD is not present) is written to the standard
     error and the shell, if it is not interactive, exits.  Otherwise,
     the value of PARAMETER is substituted.

`${PARAMETER:+WORD}'
     If PARAMETER is null or unset, nothing is substituted, otherwise
     the expansion of WORD is substituted.

`${PARAMETER:OFFSET}'
`${PARAMETER:OFFSET:LENGTH}'
     Expands to up to LENGTH characters of PARAMETER, starting at the
     character specified by OFFSET.  If LENGTH is omitted, expands to
     the substring of PARAMETER, starting at the character specified by
     OFFSET.  LENGTH and OFFSET are arithmetic expressions (*note Shell
     Arithmetic::.).  This is referred to as Substring Expansion.

     LENGTH must evaluate to a number greater than or equal to zero.
     If OFFSET evaluates to a number less than zero, the value is used
     as an offset from the end of the value of PARAMETER.  If PARAMETER
     is `@', the result is LENGTH positional parameters beginning at
     OFFSET.  If PARAMETER is an array name indexed by `@' or `*', the
     result is the LENGTH members of the array beginning with
     `${PARAMETER[OFFSET]}'.  Substring indexing is zero-based unless
     the positional parameters are used, in which case the indexing
     starts at 1.

`${#PARAMETER}'
     The length in characters of the expanded value of PARAMETER is
     substituted.  If PARAMETER is `*' or `@', the value substituted is
     the number of positional parameters.  If PARAMETER is an array
     name subscripted by `*' or `@', the value substituted is the
     number of elements in the array.

`${PARAMETER#WORD}'
`${PARAMETER##WORD}'
     The WORD is expanded to produce a pattern just as in filename
     expansion (*note Filename Expansion::.).  If the pattern matches
     the beginning of the expanded value of PARAMETER, then the result
     of the expansion is the expanded value of PARAMETER with the
     shortest matching pattern (the `#' case) or the longest matching
     pattern (the `##' case) deleted.  If PARAMETER is `@' or `*', the
     pattern removal operation is applied to each positional parameter
     in turn, and the expansion is the resultant list.  If PARAMETER is
     an array variable subscripted with `@' or `*', the pattern removal
     operation is applied to each member of the array in turn, and the
     expansion is the resultant list.

`${PARAMETER%WORD}'
`${PARAMETER%%WORD}'
     The WORD is expanded to produce a pattern just as in filename
     expansion.  If the pattern matches a trailing portion of the
     expanded value of PARAMETER, then the result of the expansion is
     the value of PARAMETER with the shortest matching pattern (the `%'
     case) or the longest matching pattern (the `%%' case) deleted.  If
     PARAMETER is `@' or `*', the pattern removal operation is applied
     to each positional parameter in turn, and the expansion is the
     resultant list.  If PARAMETER is an array variable subscripted
     with `@' or `*', the pattern removal operation is applied to each
     member of the array in turn, and the expansion is the resultant
     list.

`${PARAMETER/PATTERN/STRING}'
`${PARAMETER//PATTERN/STRING}'
     The PATTERN is expanded to produce a pattern just as in filename
     expansion.  PARAMETER is expanded and the longest match of PATTERN
     against its value is replaced with STRING.  In the first form,
     only the first match is replaced.  The second form causes all
     matches of PATTERN to be replaced with STRING.  If PATTERN begins
     with `#', it must match at the beginning of STRING.  If PATTERN
     begins with `%', it must match at the end of STRING.  If STRING is
     null, matches of PATTERN are deleted and the `/' following PATTERN
     may be omitted.  If PARAMETER is `@' or `*', the substitution
     operation is applied to each positional parameter in turn, and the
     expansion is the resultant list.  If PARAMETER is an array
     variable subscripted with `@' or `*', the substitution operation
     is applied to each member of the array in turn, and the expansion
     is the resultant list.


mp

8<---------------how-easy-is-it-to-demunge-an-address?------------------->8
#! /usr/bin/perl # if you are [EMAIL PROTECTED] (Another Luser):
while ($line = <>){ if ($line =~ m/^\s*$/ ){ last; }
if ($line =~ m/^From: (\S+) \(([^()]*)\)/){ $from_address = $1; } }
if ($from_address =~ m/\S+NOSPAM\S+/){ $x = index($from_address, NOSPAM);
substr($from_address, $x, 6+1) = ""; printf("The real address is %s\n",
$from_address);}else { printf("No munge, just plain %s\n",$from_address);}
printf("\nBrought to you by the Truth In Mail Headers Foundation\n");
8<-----------------------here's-one-example------------------------------>8

- --
                             Michael Powe
            [EMAIL PROTECTED]   http://www.trollope.org
                         Portland, Oregon USA

=====BEGIN PGP SIGNATURE=====
Version: GnuPG v0.9.0 (GNU/Linux)
Comment: Encrypted with Mailcrypt 3.5.1 and GNU Privacy Guard

iD8DBQE2lwIe755rgEMD+T8RAryJAKCnf0+vQL/QLSCMJGAOqICayQVnIgCdEus3
2P5MLh8Og6koFCNKJ6BkVtI=
=shF/
=====END PGP SIGNATURE=====

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

From: [EMAIL PROTECTED] (Jeremy Crabtree)
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: Linux: Fight for survival or on victory march?
Date: 9 Jan 1999 07:22:59 GMT
Reply-To: [EMAIL PROTECTED]

[EMAIL PROTECTED] allegedly wrote:
>In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>>
> 
>>
>>>This thing has been free for 3 years, and yet %90 of home users still use
>>>windows and applications written for windows.
>>
>>What an assinine argument!
>>
>
>yea? just to let you know, I won first place at my school arguing
>compition. out of 50 students, I was the only one left arguning when
>eveyone gave up. so, here you go.

They probably gave up out of frustration ;)

(BTW, the english word you were probably looking for is "debate". Despite  the
 similarities, a debate is different from an argument.)

> 
>>
>>Windows comes pre-installed in damn near every computer sold unless the
>>customer requests something else.
>
>yea, sure. first, one of you guys claim that Linux will be popular because
>it is free. now you claim the reason Linux is used becuase Windows is
>pre-installed.
>
>why dont you guys make up your minds which is it??

Um...its popular. because its free and it works. And, uh, nobody claimed  that
/Linux/ was used because /Windows/ was pre-installed.

(The claim that Windows is popular because of pre-installation was made)

> 
>>
>>Same goes for apps as goes for the OS. Install linux on every computer sold
>>and OF COURSE people are going to be buying Linux apps. 
>>
>
>Nothing prevents anyone from downloading Linux for free and installing 
>it. but after many years, still people are not doing this and there are
>today more Window PC than ever!

Well...hmmm...how many people know about it? How many people would know  about
Windows if they  could  only  get  it  by  hunting  down  an  FTP  server  and
downloading  it?  Given  its  (Windows')  quality,  how  many  people  /would/
download it?

>
> 
>>Winblows apps can't hold a candle to Linux apps when it comes to quality 
>>and stability. 
>
>really? this is why eveyone call Netscape on Linux junk while the same
>Netscape product on windows is cool??

Naahh...its equally unstable on /BOTH/ for me.

(I really wish Opera was available for Linux...guess I'll have to keep waiting)

> is this why Corel wordperfect 8 on
>Linux looks so bad on Linux while same one on NT looks so much better?

Looks? He talks stability and quality, and you talk looks? Sure, its kind of
ugly, but it still works just as well.

(If you enjoy the Win95 look you could always use Star Office(1))

>I can go on and on. as a matter of fact, applications on Linux are worst
>than those on windows.

Without evidence, this statement is meaningless. Give us specific examples,
please.

> just mention ONE user oritented application on Linux
>that is better than its counterpart on Windows. just ONE !

Better in what way? I could think of a few Linux apps that I think are  better,
but you may not agree.

(Answering this particular question would help you get a more accurate answer.)

>>And ease of use is relative. As far as I'm concerned, and
>>those I work with, Linux apps are much easier to use than those written for
>>winco's CRASH-O-MATIC.
>>
>
>this is so silly. you and those you work with?? how many will that be, 3
>people?

So...it's impossible for Linux to be easy to use for that  gentleman  and  his
friends because there aren't enough of them? Yeah, that /IS/ a silly argument.

>there are 300 millions in the US alone who use windows everyday and think
>you blow smoke.

Wow! That's more windows users than there are U.S. Citizens! I'm Impressed!

> if Linux applications are so much, and Linux is so much easier
>and better than windows, and it is free, then why is it hardly anyone out
>there in the real world uses it?????

Yeah, you're right. It must suck wind like a 13-amp Hoover because nobody uses
it. Obviously Windows is the  height  of  technological  achievement  because,
jeepers, who loads o' people use it! Do we SEE a flaw in the  reasoning  here?

Poor reasoning aside, there are plenty of logical reasons why people don't use
it. Including the fact that some  things  are  rather  difficult  to  do.  The
primary factor is still, however, lack of awareness. Thats why folks  like  me
tell other folks about it.

(Also, it doesn't help to have people like you going around saying "It Sucks!"
 without giving any REASONS WHY it sucks)

>(other than the few geeks offcourse).

A few MILLION geeks.
(There are an awful lot of us out here, and our numbers are increasing ;)

>>
>>I'm sorry but you lose,
>>Thanks for playing.
>
>No. You lose big time.
>thanks for showing us how little you know about computers and software.

I'd say you lose. You presented no facts to support your arguments. Rather, you
just let them try to stand on their  own  dogma.  More  importantly,  you  lose
because you don't seem to want to help fix all the problems you are complaining
about. If you honestly see something that could be done better, please tell the
App developers about it, most are open to suggestions, and if they aren't,  the
source often available so you can do it yourself.


1) HTTP://www.StarDivision.com


FREE! Debating tip!

Don't start the argument unless you can successfully argue /BOTH/ sides of the
issue.

(You'd be surprised how much better you do)

-- 
"Being myself a remarkably stupid fellow, I have had to unteach myself  the
 difficulties, and now beg to present to my fellow fools the parts that are
 not hard" --Silvanus P. Thompson, from "Calculus Made Easy."

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

From: [EMAIL PROTECTED] (Jeremy Mathers)
Subject: Bash question - is there variable substitution?
Date: Fri, 8 Jan 1999 19:19:46 GMT

Note: I don't mean variable substition in the ordinary sense - of
course you can write $foo and have it substituted with the value of foo.

What I want to know is if bash supprts anything akin to csh's $foo:s/foo/bar
where you modify the variables in place, w/o resorting to awk or perl
to manipulate them.  I know about %, %%, #, and ##, but need to do an
in-place substitution.  Specifically, I have a variable that contains:

        foo bar bletch

and I want to replace it with:

        foo foe bletch

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

From: Steve Wampler <[EMAIL PROTECTED]>
Subject: Re: Netscape 4.5 problem
Date: Thu, 07 Jan 1999 14:05:05 -0700
Reply-To: [EMAIL PROTECTED]

Paul Lew wrote:
> 
> MY problem with netscape 4.5 is that trying to get a *.rpm file,
> realplayer plugin starts up; also a problem with some *.gz files like
> the wordperfect file where it arrives as a "text" file (could be due
> to a short file name?).

When I want to download a file to disk and bypass all the MIME processing,
I use a shift-click to select it instead of just a click.  Does this
work for you?

-- 
Steve Wampler ([EMAIL PROTECTED])

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

From: "Paul Davies" <[EMAIL PROTECTED]>
Subject: Unlocking /dev/modem
Date: Fri, 8 Jan 1999 19:16:59 -0800

Is there a way to manually unlock /dev/modem when a lock is held on it?

Thanks

Paul



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

From: Athan <[EMAIL PROTECTED]>
Subject: Clean Disk Space
Date: Fri, 08 Jan 1999 18:55:39 +0000
Reply-To: [EMAIL PROTECTED]

Hello

I have a linux 486 box with 325 mb HD
Now it is like that
 Filesystem         1024-blocks  Used    Available Capacity Mounted on
/dev/hda5             267823       189096    64894     74%       /

Which file should i delete to increase the free space
and
which programs are creating big files, eg last ....

Thank you

Athan


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


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