Re: [expert] wireless cards

2003-01-19 Thread Bopolissimus Platypus
On Monday 20 January 2003 06:21 am, KevinO wrote:
 I just want to be able to get a connection without having to pay $20 a day
 for an ethernet connection. I will be traveling through London, Paris and
 Amsterdam.

how does that work?  you still need to get the internet feed from
somewhere.  if you're not paying for the ethernet connection
(presumably at hotels), whose wireless network are you going
to connect to?  or are you going to be sniffing for open networks
and leech off them? :).

 Will Mandrake 8.0 be current enough or should I upgrade ?

i had lots of trouble getting my d-link WPC11 working on 8.2.  basically,
i had to build my own kernel and it was a major pain (because i have
a bunch of other patches that i need, mainly win4lin, and it took weeks
to get everything straightened out because of conflicts in the patches
that i had to clean up myself despite not being a kernel geek at all) to 
get everything working.  i think i had to download the latest wireless-tools
too.  at the time though, the d-link WPC11 wasn't well supported.  it's now
supported by stock MDK 9.0.  if you're going with some of the more 
common cards though, you might be able to get them working in 8.0.  

if it were my box i'd upgrade.   it was just too painful getting things to
work right in 8.2 and if it works out of the box, that's where i want to
be :).  and 8.0 is old enough, that i don't think a lot of cards will work
(well, maybe the Orinoco Bronze, but that's not worth using anymore,
since it doesn't support WEP).

tiger

-- 
Gerald Timothy Quimpo  tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph
Public Key: gpg --keyserver pgp.mit.edu --recv-keys 672F4C78
This is a court of law, young man, not a court of justice.
Oliver Wendell Holmes.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Losing smooth scrolling after apm wakeup and hwclock --hctosys

2003-01-12 Thread Bopolissimus Platypus
On Sunday 12 January 2003 03:11 pm, James Sparenberg wrote:
It definitely sounds like something is eating up your cpu though.

no, that's not what it is.  top -d 1 right after waking up from an apm -s
does not show anything interesting.  i get back to around 93% idle after
a few seconds.

in any case, i get exactly the same problem when, instead of apm -s,
i just do:

hwclock --hctosys or
ntpdate tick.usno.navy.mil tock.usno.navy.mil

tiger

-- 
Gerald Timothy Quimpo  tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph
Public Key: gpg --keyserver pgp.mit.edu --recv-keys 672F4C78
   Veritas liberabit vos.
   Doveryai no proveryai.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] bash scripting question - simple regular expression?

2003-01-11 Thread Bopolissimus Platypus
 On Saturday 11 January 2003 08:56 pm, Jim C wrote:
  I have a list of positive integers of which I only want the first one.
  They are of arbitrary size. How can I cut the rest of them off?
  I've been trying to write a regular expression for this using sed or awk.

you don't specify the format of  the integers.  are they space separated
and all on one line?  or are they line separated (each integer on
its own line)?

are there blank spaces (if the first) or blank lines (if the second) before
the first integer?

or are they in some other format?  you say they're arbitrary size, so does
that mean they aren't in some fixed column format?

if they're one integer to a line, then head (for the first), tail (for the 
last), or some combination of head and tail (for anything in between)
will get you the integer you want.

if they're delimited by something (spaces, commas, colons, whatever),
then cut -f fldnumber -d delimiter  might help.  otherwise,
well, sed, awk, or some custom program in your favorite language.

if there are blank lines or blank fields before the first number, then
some sort of bash while loop would be needed to ignore the
blank lines or blank fields, print the first non-blank field, and then
exit the loop.

tiger

-- 
Gerald Timothy Quimpo  tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph
Public Key: gpg --keyserver pgp.mit.edu --recv-keys 672F4C78
   Veritas liberabit vos.
   Doveryai no proveryai.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com