Linux-Misc Digest #929, Volume #26               Fri, 26 Jan 01 18:13:02 EST

Contents:
  Re: Utility for finding absolute path of file? (Harlan Grove)
  Re: MS to Enforce Registration - or Else (.)
  Re: MS to Enforce Registration - or Else (.)
  vim syntax colors (entropy)
  Re: HELP: General Protection Fault (Glitch)
  Re: MS to Enforce Registration - or Else (Harlan Grove)
  Re: ls colors (jaudette)
  Re: ls colors (Micah Cowan)
  Re: DOS, WIN98 and LINUX ?! (Harlan Grove)
  Re: ls colors ([EMAIL PROTECTED])
  Re: vim syntax colors (Erik de Castro Lopo)
  Re: Tool needed: Memory leaks (Erik de Castro Lopo)
  Re: Need help with Linux and DSL
  Re: MS to Enforce Registration - or Else ([EMAIL PROTECTED])

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

From: Harlan Grove <[EMAIL PROTECTED]>
Subject: Re: Utility for finding absolute path of file?
Date: Fri, 26 Jan 2001 22:04:09 GMT

In article <9ilc6.10983$[EMAIL PROTECTED]>,
 "Brian Dellert" <[EMAIL PROTECTED]> wrote:
>Is there a utility for finding the absolute path of a file? For
>example:
>
>       abspath somefile
>
>would output
>
>       /home/brian/somefile
>
>(or whatever the absolute path is)

Simple enough with a korn shell script.

$ cat abspath
#!/bin/ksh
{
  for f in "$@"
  do
    if [[ "${f#/}" = "$f" ]]; then echo ${PWD}/$f; else echo $f; fi
  done
} | sed 's;/[^/][^/]*/\.\./;/;g'
unset f
$


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED] (.)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: 26 Jan 2001 22:13:53 GMT

In comp.os.linux.advocacy Craig Kelley <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (.) writes:

>> In comp.os.linux.advocacy Harlan Grove <[EMAIL PROTECTED]> wrote:
>> 
>> > Maybe there's a good reason for literacy tests after all.
>> 
>> Perhaps.  But ill put my verbal SAT score up against yours or anyone
>> elses, any time.

> You mean  << I'll >> and  << else's >>?   ;)

No, I meant exactly what I typed.  See dejanews for my multiple arguments
for the granular use of capitals and contractions in informal prose.

> We just need better election equipment.  Jeb Bush's primary goal right
> now is to upgrade all the counties in Florida, so he can wipe the egg
> off his face.   Even in remote states like Idaho, we're re-vamping the
> entire system before the next congressional election.

Good.  It needs to be done.

Also, old ladies who have never been out of their front yard need to not
be the ones deciding whether or not to count hundreds of absentee ballots.




=====.


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

From: [EMAIL PROTECTED] (.)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: 26 Jan 2001 22:15:51 GMT

In comp.os.linux.advocacy Erik Funkenbusch <[EMAIL PROTECTED]> wrote:
> "." <[EMAIL PROTECTED]> wrote in message
> news:94spcu$pre$[EMAIL PROTECTED]...
>> In comp.os.linux.advocacy Harlan Grove <[EMAIL PROTECTED]> wrote:
>>
>> > As for corrupt legislators, vote 'em out. "Oh but those nasty evil
>> > corporations give so much money for TV ads." Tough. Go door to door if
>> > you believe in something. Get others to do the same. Incite the
>> > electorate. Don't bitch & moan. Tom Foley, then the Speaker of the US
>> > House of Representatives, should have had a safe seat in congress, but
>> > he was voted out in 1994 (not saying that was a good thing or not). It
>> > can be done, but it does take work.
>>
>> Bullshit.
>>
>> As has been shown beyond the shadow of a doubt in the latest elections
>> in the united states, your vote DOES NOT COUNT.
>>
>> Happy dreamworld,

> Your vote for president may not count, but your vote for congresspeople
> does.  Only the presidential election uses the electorate system.

It *may*.  We dont know one way or the other yet, and wont until it breaks
so severely that they cant cover it up.  :)




=====.


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

From: entropy <[EMAIL PROTECTED]>
Crossposted-To: comp.editors
Subject: vim syntax colors
Date: Fri, 26 Jan 2001 22:12:45 GMT

i just installed vim on my AIX machine that i telnet into constantly (i
hardly ever use the machine itself, just through telnet) and can only
get black & white highliting. my term's set to vt100 and i know it's
not the consoles fault as i have "gnuls --color" working fine. i want
want want syntax coloring!!!! anyone have any ideas?

thanks in advance

if it helps at all here's the output of infocmp:

[jamesn@aixqtldev ~/workingdir/rvbsr/templates]$ infocmp
#       Reconstructed via infocmp from
file: /usr/share/lib/terminfo/v/vt100
vt100|vt100-am|Digital VT100,
        am, msgr, xenl, xon,
        cols#80, it#8, lines#24, vt#3,
        batt1=f1, batt2=f1md, bel=^G, blink=\E[5m$<2>,
        bold=\E[1m$<2>, box1=lqkxjmwuvtn, box2=lqkxjmwuvtn,
        civis=\E[?25l, clear=\E[H\E[2J$<50>, cnorm=\E[?25h,
        cr=\r, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b,
        cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C$<2>,
        cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
        cuu1=\E[A$<2>, cvvis=\E[?25h, dl1=\E[M, ed=\E[J$<50>,
        el=\E[K$<3>, font0=\E(B, font1=\E(0, home=\E[H, ht=\t,
        hts=\EH, il1=\E[L, ind=\n, kbs=\b, kcub1=\E[D,
        kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
        kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, kich1=\E[2~,
        knl=\r, ktab=\t, mc4=\E[4i, mc5=\E[5i, nel=\n, rc=\E8,
        rev=\E[7m$<2>, rf=/usr/share/lib/tabset/vt100,
        ri=\EM$<5>, rmcup=\E[?7h, rmkx=\E>, rmso=\E[m$<2>,
        rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
        sc=\E7,
        sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%
t;1%;m%?%p9%t\E(0%e\E(B%;,
        sgr0=\E[m\E(B, smcup=\E[?7h\E[?1l\E(B\E=, smkx=\E=,
        smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,


Sent via Deja.com
http://www.deja.com/

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

Date: Fri, 26 Jan 2001 17:31:19 -0500
From: Glitch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: HELP: General Protection Fault

Dances With Crows wrote:

> [inappropriate NGs trimmed]
> 
> On Tue, 23 Jan 2001 00:38:17 GMT, [EMAIL PROTECTED] staggered
> into the Black Sun and said:
> 
>>   I am having the same problem... I have a
>> gateway with a 900mhz amd athlon I get a message like this:
>>         Checking 386/387 coupling..OK..FPU using
>> exception 16 error reporting
>>        Checking hlt instuctions..OK
>> 
>>        POSIX conformance testing by UNIFIX
>>         General Protection FAult 0000
>>         cpu: 0
>>         EIP: 0010: [<c01065dd>]
>>         EFlags: 00010293
> 
> 
> This is *NOT* the same problem, unless the original poster has an Athlon
> in his laptop (wow).  The kernel thinks (incorrectly) that you have a
> PIII, and is attempting to disable the PIII serial number.  Since the
> Athlons don't have serial numbers, this attempt causes a hideous crash
> soon after boot.  The fix is to pass the kernel the parameter
> "x86_serial_nr=1" (NSS about the exact spelling, Deja is being
> uncooperative even though I know this has been posted within the last
> month.)


and exactly why doesn't Windows have this problem??? (disregarding its 
many other various problems)


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

From: Harlan Grove <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: Fri, 26 Jan 2001 22:15:10 GMT

In article <94sq0v$pre$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (.) wrote:
...
>You're one of those insane federalists who believes that his government
>is incapable of doing any sort of wrong, arent you?
...

No. I'm one of those realists who prefers a known and objective set of
rules rather than trusting (albeit well meaning) people to fathom the
intentions of voters. And I definitely think that the people who double-
punched shouldn't expect to have their votes count. Wouldn't someone
with the least bit of smarts figure out they couldn't vote twice?

>>Maybe there's a good reason for literacy tests after all.
>
>Perhaps.  But ill put my verbal SAT score up against yours or anyone
>elses, any time.

Irrelevant. (Oh, but "ill"/"elses," or were these just typos when you
meant "I'll"/"else's"?)


Sent via Deja.com
http://www.deja.com/

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

From: jaudette <[EMAIL PROTECTED]>
Subject: Re: ls colors
Date: Fri, 26 Jan 2001 14:43:22 -0800

Actually I figured this out..

for anyone who is interested, you edit the file /etc/DIR_COLORS and set
the line: COLORS=none

On Fri, 26 Jan 2001, Jeff wrote:

> How do you disable ls colors? ie when I run ls to list the directory
> contents, I don't want to see the results in color. Just white on black.
>
> My laptop does not display the blue color redhat uses for files very well.
>
> Thanks in advance
> Jeff
>
>
>


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

Subject: Re: ls colors
From: Micah Cowan <[EMAIL PROTECTED]>
Date: 26 Jan 2001 14:42:33 -0800

"Jeff" <[EMAIL PROTECTED]> writes:

> How do you disable ls colors? ie when I run ls to list the directory
> contents, I don't want to see the results in color. Just white on black.
> 
> My laptop does not display the blue color redhat uses for files very well.
> 
> Thanks in advance
> Jeff

By default, ls doesn't use colors.  However, many distributions
(including mine) alias ls='ls --color'.  To remove color ls, just find
a line similar to that in your .bashrc file and remove it.  That
should be it.

Micah

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

From: Harlan Grove <[EMAIL PROTECTED]>
Subject: Re: DOS, WIN98 and LINUX ?!
Date: Fri, 26 Jan 2001 22:34:58 GMT

In article <Rplc6.775$[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Grant Edwards) wrote:
>In article <94sln3$b6j$[EMAIL PROTECTED]>, Harlan Grove wrote:
>
>>> (7. Install WinNT)
>>> 8. Install Linux, Lilo into MBR
>>
>>You have lilo in the MBR and NT is OK with this?
>
>Sure. I've been doing it that way for years on at least a
>half-dozen systems.  Never had a problem.
>
>>This is NOT what the
>>Linux+NT-Loader mini-HOWTO says. Time for a revision?
>
>Dunno.

Silly me. I read the mini-HOWTO, and followed instructions. So with NT
already installed, I'd write NT's MBR to a file with dd,
edit /etc/lilo.conf to add an entry for NT pointing to this dd-created
file, then install lilo in the MBR?

Note: I have a 2 SCSI drive system, with a VFAT partition for Windows
95 on the first partition of the first drive, an NTFS partition for NT
(with %SysRoot% on this NTFS partition) on the second partition of the
first drive, and linux entirely on the partitions of the second drive.
Would this matter?


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED]
Subject: Re: ls colors
Date: 26 Jan 2001 17:47:00 -0500

Micah Cowan <[EMAIL PROTECTED]> wrote:

> By default, ls doesn't use colors.  However, many distributions
> (including mine) alias ls='ls --color'.  To remove color ls, just find
> a line similar to that in your .bashrc file and remove it.  That
> should be it.

Or somewhere else ... my TurboLinux distributions had it in 
/etc/profile.d/color-ls.csh and /etc/profile.d/color-ls.sh (where I just 
commented it out).

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

From: Erik de Castro Lopo <[EMAIL PROTECTED]>
Crossposted-To: comp.editors
Subject: Re: vim syntax colors
Date: Fri, 26 Jan 2001 22:55:20 GMT

entropy wrote:
> 
> i just installed vim on my AIX machine that i telnet into constantly (i
> hardly ever use the machine itself, just through telnet) and can only
> get black & white highliting. my term's set to vt100 and i know it's
> not the consoles fault as i have "gnuls --color" working fine. i want
> want want syntax coloring!!!! anyone have any ideas?

My guess is that the curses library on the AIX machne doesn't support 
color. I have the same problem with Solaris.

Erik
-- 
+----------------------------------------------------------+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes its valid)
+----------------------------------------------------------+
The Earth is around 70% water. Fish rule the seas.
Humans are over 90% water. It's only a matter of time.

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

From: Erik de Castro Lopo <[EMAIL PROTECTED]>
Subject: Re: Tool needed: Memory leaks
Date: Fri, 26 Jan 2001 23:04:52 GMT

[EMAIL PROTECTED] wrote:
> 
> Pls advice a tool which would monitor a memory leaks. ps is not enough.
> I need closely to watch a behavior of my applications. Any ideas?

There are about 10 of them for linux. Debauch, Electric Fence, Checker
and Memwatch are just some of the possibilties.

> also: have anyone heard about automation testing tool for gui apps on
> linux?

What kind of testing do you want to do? 

Erik
-- 
+----------------------------------------------------------+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes its valid)
+----------------------------------------------------------+
"Usenet is like a herd of performing elephants with diarrhea; 
massive, difficult to redirect, awe-inspiring, entertaining, 
and a source of mind-boggling amounts of excrement when you 
least expect it."  -- Gene Spafford (1992)

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

From: <[EMAIL PROTECTED]>
Subject: Re: Need help with Linux and DSL
Date: Fri, 26 Jan 2001 17:57:26 -0500

Roaring penguin's pppoe software has a pppoe.options file .

Look in it for  "Connect timeout" , I think, and set it to zero (0) .
That will make it keep trying, and never give up .

Advice :

Very Important : Get an external dsl modem , with an Ethernet connection.
Yes, *insist*.
                            You do not need the usb ( max 3Mbit/s  ??  ) or
the pci model ( No drivers for linux!! )

Ignore their $50 ethernet cards, and purchase a $28 ( including tax )
ethernet card from your local vendor with linux drivers ( AOpen has one such
10/100, and it lists drivers for quite a few OS' . Including Linux.) You
have to compile it. The command line to do that is in the last line of the
source file ( *.c )

Or stick an old Ne2000 clone and blaze away . Just make sure you set the
Ne2000 to a known IO and IRQ .

later.



Warren Bell <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Rod Smith wrote:
> >
> > [Posted and mailed]
> >
> > In article <[EMAIL PROTECTED]>,
> >         Warren Bell <[EMAIL PROTECTED]> writes:
> > > I'm going to be getting Pac Bell DSL and running it on Mandrake 7.2.
> > > When I signed up they said they don't support Linux but it should
work.
> > > They also said you need their software to connect and they don't have
> > > software for Linux.
> >
> > There are two potential problems here:
> >
> > - Hardware. Some DSL ISPs ship internal or USB DSL modems. With only
> >   one exception I'm aware of (the Diamond 1MM internal), these things
> >   are paperweights under Linux. DO NOT sign up with an ISP that offers
> >   ONLY an internal DSL modem, unless you're prepared to replace it at
> >   your own cost (which could conceivably open a can of worms dealing
> >   with compatibility and maybe even the ISP's acceptable use policy).
> >   The best type of DSL modem for Linux is an external Ethernet device.
> >   AFAIK, all of these work with Linux, and I'd be quite surprised to
> >   hear of one that doesn't. (I have heard of compatibility problems
> >   with particular Ethernet cards, but those are cheap and easy to
> >   replace, if necessary.) There are rumors that one popular USB DSL
> >   modem has Linux drivers written, but not released. Don't hold your
> >   breath on that one.
>
> They gave me a couple choices and I got the external modem/ethernet card
> combo.  Si I think I'll be alright there.
>
> > - Software. Some DSL ISPs use static IP addresses, others use DHCP,
> >   and others use PPPoE. The first two are just normal Ethernet
> >   protocols, and Linux handles them fine. PPPoE is new and
> >   not-quite-100% standardized, so it sometimes causes problems. There
> >   are several PPPoE implementations for Linux, though, and chances are
> >   one will work. I've got links to several of them at
> >   http://www.rodsbooks.com/network/network-dsl.html. A few ISPs also use
> >   PPPoA, which is similar to PPPoE but more standardized. It's usually
> >   used in conjunction with internal modems, though, so it's largely just
> >   another reason to not use internal modems.
> >
>
> I'm running Mandrake 7.2 and after looking around a little saw that I
> had PPPoE on my Mandrake CD.  I installed it so I think I can use
> linuxconf to set it up.  The only thing I'm wondering about is will
> there be an option to always stay connected?  For my PPP setup it has an
> option to reconnect automatically.  I didn't see anything like that in
> PPPoE.  Also I use a service to attach my changint IP to a host name
> (http://www.dyndns.org/) and in ip-up.local I have the commands to
> update my hostname when PPP gets restarted.  Can I do this for my DSL
> connection?  Is there somthing like ip-up.local for DSL?
>
> > --
> > Rod Smith, [EMAIL PROTECTED]
> > http://www.rodsbooks.com
> > Author of books on Linux & multi-OS configuration



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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: 26 Jan 2001 15:01:50 -0800

Harlan Grove <[EMAIL PROTECTED]> writes:

> In article <94slbl$176$[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED] (Bill Unruh) wrote:
> >In <94si7f$7nq$[EMAIL PROTECTED]> Harlan Grove <[EMAIL PROTECTED]> writes:
> >
> >]In article <[EMAIL PROTECTED]>,
> >]  Steve Withers <[EMAIL PROTECTED]> wrote:
> >]...
> >]>This may offer OS alternatives like Linux a huge toe in the desktop
> >]>door. With more and more homes being networked and having multiple
> PCs,
> >]>how many home and small business users are going to be forced to pay
> up
> >]>and stop using the "One CD fits all" approach they use today?
> >
> >]Don't believe in copyright, do you? The license is pretty clear.Don't
> >]blame Microsoft for enforcing their legal rights. If you don't like
> it,
> >]don't use it. If you oppose copyrights in general, work for changes in
> >]the law.
> >
> >And what do you do when the lawmakers are corrupt? Much of the
> >copyright policy is being dictated by large corporations with the
> >money to spend on political activity.
> >Copyright was originally to protect the maker for the purpose of
> >encouraging the creation of products. There is not evidence that it
   ...<snip>...
> I don't disagree as long as those practicing civil disobedience realize
> that part of its effectiveness stems from accepting the _current_ legal
> (as opposed to metaphysically just) consequences of such action. As
> long as principled software pirates don't complain when they're caught
> and fined, OK. Most, however, know they're breaking the license terms
   ...<snip>...
> As for corrupt legislators, vote 'em out. "Oh but those nasty evil
> corporations give so much money for TV ads." Tough. Go door to door if
   ...<snip>...
> The problem may be that software licenses and copyrights matter to 99%
> of the readers of this newsgroup, who make up less than 0.0001% of the
> world's population (with similar percentages for the US contingent).
> Your average US citizen running Quicken and Math Blaster under Windows
> 98 just doesn't give a damn.
> 
> 
> Sent via Deja.com
> http://www.deja.com/

All good points by the posters.  I'll just add a couple of points.
I'll just add a couple of other points to consider.  One, I think that
in some cases companies like Microsoft want people to pirate their
work just so they'll get used to it, then hit 'em for the upgrade.  I
know Bill Gates wrote a famous open letter against pirates of his
software back in the very early days, but I suspect that in places
like China, they want all those potential customers to pirate MS and
get used to it rather than go for, say linux.

Second, we've all heard stories about Stephen Foster and Edgar Allan
Poe, and more recently black musicians, getting ripped off for their
famous works.  Copyright law was written to protect.  It used to be
good for 17 years I think with the possibility of extension.  Now it's
been increased so much that the pendulum has swung the other way.
Mickey Mouse might have become public domain, or "Rhapsody In Blue".
There were people who were laboriously typing old encyclopedias into
machine readable form to become part of a public database who got
stopped by the current laws, mostly fueled by corporate greed.

Ideally, the laws should be changed, but that would require a great
public perception of injustice and exploitation, or a strong, focussed
lobbying group (like the corporations have).  Maybe it's a problem
that isn't critical enough to up there on the queue with California's
energy crisis or global warming so we just have to live with it.
-- 
Replace ragwind.localdomain with rahul for a working email address

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


** 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 by posting to comp.os.linux.misc.

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