Re: [SLUG] escaping variables in bash

2004-09-14 Thread Alexander Samad
On Tue, Sep 14, 2004 at 10:54:42AM +1000, Robert Thorsby wrote:
 On 2004.09.14 10:39 Alexander Samad wrote:
 What about in a here doc
 so some thing like
 
 #!/bin/bash
 
 TEST='here'
 cat  EOF
 awk '/$TEST/ {print}' /somefile
 EOF
 
 do the ' still keep there meaning in a here doc ?
 
 Wouldn't it be a lot easier to use awk's -v option (that's the reason 
 it's there):
 #!/bin/bash
 
 TEST=Here
 echo is a test |
 /usr/bin/awk -v i=$TEST '{print (\ i, $0 .\)}'

Cool learn something new, but does it work in the // regex part ?

 
 
 Robert Thorsby
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Another LaTeX question

2004-09-14 Thread Michael Lake
James Gregory wrote:
Once again I'm fighting the good fight trying to keep our documentation
available as PDF and HTML. I have the problem at the moment that I need
to include a huge table of error codes. One column of this table is a
wordy description of the error (a short paragraph or so). I found the
tabularx package which lets me wrap that column easily enough, but I
also need the table to split into multiple pages in the pdf version, and
produce a single big table in the HTML version. The solution I have at
the moment is pure kludge and I'd really like to find something less
awful.
For splitting the table over pages in PDF look at supertabular or the 
longtable. They automatically break the table at the end of the page and 
 you get a continued on next page at the bottom of the page. Then on 
the next page the table starts with continued from previous page and 
on it goes. Its very neat.

Im not sure how latex2html or things of that ilk handle the longtable or 
supertabulars. It will probably just fall back to a single table if luck 
holds.

While I'm at it -- LaTeX is driving me round the bend. What other
options have I got for multi-output-format document processors? Ideally
they should take care of layout like LaTeX does, but be less impossible
to do things like multi-page tables in. Is docbook suitable for this?
Yeah docbook would be good.
But try supertabular and see how it goes. Search for the 
supertabular.dvi documentation on your system.

Mike
--
Michael Lake
Chemistry, Materials  Forensic Science, UTS
Ph: 9514 1725 Fx: 9514 1460

--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] SunRay on Linux

2004-09-14 Thread Matthew Lambie
Hi,
Does anyone have any experience Sun's SunRay devices (like what was in 
the dorms at LCA 2004, if you stayed at the college) connecting to a 
Linux box? Apparently with v3 (which is in Beta - 
http://wwws.sun.com/software/sunray/beta/index.html) of SunRay Server 
Software support for Red Hat and Suse was introduced. I know it was 
demoed at LinuxWorld at the beginning of August this year.

I'm looking for feedback before I invest in some test/toy hardware.
--
Thanks,
Matthew Lambie
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] escaping variables in bash

2004-09-14 Thread Robert Thorsby
On 2004.09.14 16:05 Alexander Samad wrote:
 Wouldn't it be a lot easier to use awk's -v option (that's the
 reason it's there):
 #!/bin/bash

 TEST=Here
 echo is a test |
 /usr/bin/awk -v i=$TEST '{print (\ i, $0 .\)}'
Cool learn something new, but does it work in the // regex part ?
I don't follow what you mean by but does it work in the // regex 
part? but in awk any variable that is declared by the v option can 
be used, modified, changed, etc in the same way as an awk variable that 
is defined within the substantive awk script.

AFAIK awk cannot export back into the shell so you have to resort to 
either making awk write to a [temp] file or turning the entire awk part 
of your script into a variable.

Robert Thorsby
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] whitepages.com.au freezes mozilla

2004-09-14 Thread Simon Males
This is absolutely killing me. Everytime I visit whitepages.com.au I see 
Applet v51 starting and I cannot type anything in the whole browser 
for like 30 seconds.

Both Firefox and Mozilla nightlies.
--
Simon Males [EMAIL PROTECTED]
No More AOL CDs Australia - www.anticd.org
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] whitepages.com.au freezes mozilla

2004-09-14 Thread David Kempe
Simon Males wrote:
This is absolutely killing me. Everytime I visit whitepages.com.au I see 
Applet v51 starting and I cannot type anything in the whole browser 
for like 30 seconds.

Both Firefox and Mozilla nightlies.
its java I think.
you could disable it  - there was a text based whitepages, not sure of 
the url -its much faster

dave
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] escaping variables in bash

2004-09-14 Thread Alexander Samad
On Tue, Sep 14, 2004 at 05:03:41PM +1000, Robert Thorsby wrote:
 On 2004.09.14 16:05 Alexander Samad wrote:
  Wouldn't it be a lot easier to use awk's -v option (that's the
  reason it's there):
  #!/bin/bash
 
  TEST=Here
  echo is a test |
  /usr/bin/awk -v i=$TEST '{print (\ i, $0 .\)}'
 
 Cool learn something new, but does it work in the // regex part ?
 
 I don't follow what you mean by but does it work in the // regex 
 part? but in awk any variable that is declared by the v option can 
 be used, modified, changed, etc in the same way as an awk variable that 
 is defined within the substantive awk script.

sorry my lack of the right words, can you use awk variable in the //
part of awk (pattern part)

But I think somebody answered elsewhere that variables can't be used
there

 
 AFAIK awk cannot export back into the shell so you have to resort to 
 either making awk write to a [temp] file or turning the entire awk part 
 of your script into a variable.
 
 Robert Thorsby
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] x509 certificate and openssl

2004-09-14 Thread Alexander Samad
Worked it out,

revoke the initial cert and then re sign it !

Alex

On Fri, Sep 10, 2004 at 11:26:03AM +1000, Alexander Samad wrote:
 Hi
 
 I manage my own ca and associated x509 certificates, now it is comming
 up that they are expiring, I have kept the original req, how do I re
 sign them, I tried re signing the original req but that fail.  How do i
 create a new certificate with the same common name, I tried this and it
 said something about duplicate name and failed.
 
 Using debian unstable and openssl
 
 
 Thanks
 Alex



 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] SunRay on Linux

2004-09-14 Thread Matthew Lambie
Matthew Lambie wrote:
Hi,
Does anyone have any experience Sun's SunRay devices (like what was in 
the dorms at LCA 2004, if you stayed at the college) connecting to a 
Linux box? Apparently with v3 (which is in Beta - 
http://wwws.sun.com/software/sunray/beta/index.html) of SunRay Server 
Software support for Red Hat and Suse was introduced. I know it was 
demoed at LinuxWorld at the beginning of August this year.

I'm looking for feedback before I invest in some test/toy hardware.
I've just found http://www.filibeto.org/sun/sunray-users/index.html 
which is a mailing list dedicated to SunRays. Checking the archives 
shows people have used Debian in the past, which is what I was wanting.

Thanks,
Matt
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Another LaTeX question

2004-09-14 Thread James Gregory
On Tue, 2004-09-14 at 16:57 +1000, Michael Lake wrote:
 James Gregory wrote:
 
  Once again I'm fighting the good fight trying to keep our documentation
  available as PDF and HTML. I have the problem at the moment that I need
  to include a huge table of error codes. One column of this table is a
  wordy description of the error (a short paragraph or so). I found the
  tabularx package which lets me wrap that column easily enough, but I
  also need the table to split into multiple pages in the pdf version, and
  produce a single big table in the HTML version. The solution I have at
  the moment is pure kludge and I'd really like to find something less
  awful.
 
 For splitting the table over pages in PDF look at supertabular or the 
 longtable. They automatically break the table at the end of the page and 
   you get a continued on next page at the bottom of the page. Then on 
 the next page the table starts with continued from previous page and 
 on it goes. Its very neat.

I tried those but they didn't wrap the text inside the long column (or
at least I couldn't figure out how). I eventually found xtab which wraps
nicely *and* splits pages. I'm using it for the pdf generation now.

 
 Im not sure how latex2html or things of that ilk handle the longtable or 
 supertabulars. It will probably just fall back to a single table if luck 
 holds.

Alas, xtab doesn't work with latex2html, so there's now two copies of
this table, one using xtab, the other using tabularx. They get included
conditionally depending on what renderer is used. It's hideous but it
works.

Thanks for your help,

James.

-- 
James Gregory [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] whitepages.com.au freezes mozilla

2004-09-14 Thread Simon Males
David Kempe wrote:
Simon Males wrote:
This is absolutely killing me. Everytime I visit whitepages.com.au I 
see Applet v51 starting and I cannot type anything in the whole 
browser for like 30 seconds.

Both Firefox and Mozilla nightlies.
its java I think.
you could disable it  - there was a text based whitepages, not sure of 
the url -its much faster

dave

There actually two, annoying slow one, and the clean one, I thought they 
killed the clean one.

Bad:
http://www.whitepages.com.au/wp/search/search_text.jhtml
Good:
http://text.whitepages.com.au/pages_t/schs_t.htm
Thanks.
--
Simon Males [EMAIL PROTECTED]
No More AOL CDs Australia - www.anticd.org
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] whitepages.com.au freezes mozilla

2004-09-14 Thread Voytek
quote who=David Kempe
 Simon Males wrote:
 This is absolutely killing me. Everytime I visit whitepages.com.au I see
 Applet v51 starting and I cannot type anything in the whole browser
 for like 30 seconds.

 Both Firefox and Mozilla nightlies.


 its java I think.
 you could disable it  - there was a text based whitepages, not sure of
 the url -its much faster

I had a similar problem recently, on both, 'normal' as well as text version

I think... it was releated to a local Java version mish-mash, in my case


-- 
Voytek
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OCR

2004-09-14 Thread Nick Croft
* Michael Lake ([EMAIL PROTECTED]) wrote:
 
 I have not found anything that is anywhere near the ability of the 
 commercial ocr packages that come with scanner software on Windows :-(
 
This is the only reason why I run an emulator -- for TextBridge.

Nick
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Video glitches with i740 card

2004-09-14 Thread Heracles
Thanks Ken,
Changing the mouse cursor to a software cursor fixed the problem. Many 
thanks, Morphix is now working perfectly with all the latest upgrades 
from Debian.

Stay well and happy
Heracles
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] 2.6.8 release info ?

2004-09-14 Thread amos
I've just found about the Linux Weekly News (LWN) kernel articles index
(at http://lwn.net/Kernel/Index/) and one of the articles there is a 
short one
titled 2.6.8 and CD recording: http://lwn.net/Articles/98379/

Maybe it'll help explain some of the troubles with SCSI in 2.6.8(.1).
To sum the conclusiong from this article, it sounds to me like:
1. If Linus sticks with the SCSI command filter then he should update 
the permitted
commands and also add more context to decide if they are to be allowed 
(i.e. allow
certain commands on certain device only if more conditions are met, 
instead of just
checking opened for (read|write) and command is X).
2. Whatever turns up some applications do write operations on 
descriptors opened
for read only and should be fixed.
3. Jorg Schilling might be right and direct CD device access should be 
restricted to
root (but that would be disappointing to admit).

Cheers,
--Amos
Rod Butcher wrote:
The issues of 2.6.8 causing trouble booting (apparently caused by 
changed SATA SCSI default), broken terminal and trouble cd burning 
reported by some, seems to point to things being tweaked / changed / 
corrected in this release rather than bugs - but I can't find release 
info - anybody know where it is, i.e. what changed / new default 
configurations, drivers / features etc ? Couldn't find it in the 
tarball or at kernel.org.
cheers
Rod
---
Brought to you by a thunderbird, penguin, gnu and a camel

Ken Caldwell wrote:
quote who=Simon Wong
On Sun, 2004-09-12 at 12:22, Rod Butcher wrote:
Having got 2.6.8 to boot by changing lilo root arg to /dev/sda1 

Just to let you know, there's a problem with 2.6.8 that means that you
can't write to CDs (not sure if this is the case when using scsi/scsi
emulation or just when writing directly to ATAPI drives).

I can burn CDs just fine on this box which is running a 2.6.8 kernel.
/dev/cdrom is a symlink to /dev/scd0
 

I had to drop back to 2.6.7 for this reason so I thought I'd give you a
heads up.



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OCR

2004-09-14 Thread Richard Neal




Hai Ive been using ocrad http://www.gnu.org/software/ocrad/ocrad.htm for ocr stuff with a script.

Originally I had to convert some pdf's to text files I ended up writing a batch script (bash).

I haven't got a copy of the script on hand (took me a while to perfect too) its been lost in the ether of time.

I basically did the following

Strip image file from pdf ( the pdf just contained an image file)

run image file through some filters (later I discovered gimp can do command line filtering of images yep without the UI)

convert image file to pbm format

run file through ocrad program.. ( gocr is also pretty good read my note on the bottom)

run text file through a bash text filter ( rip out one/two text characters surrounded by lots of white space ignore upper case words etc)

then the final thing I did was run the whole text file through a spell checker set to ignore upper case words.

It worked pretty well got 95% accuracy on really crappy scans of documents that windows clients used to do a total dummy spit on.

Took me three days to get it working and I played with it for a few weeks then forgot it after I ran the script over all the files that needed translating

One thing I must note with gocr the intermediate file format is VERY importantfeed the wrong file type to gocr (event though it works) and the results look horrible.

ocrad is pretty good as long as the scanned image is good, also depends on your image-pbm conversion tools too.

There are commercial ocr clients for Linux (read about it in one of the Linux rags) someone may have a link or just search google


On Tue, 2004-09-14 at 19:17, Nick Croft wrote:

* Michael Lake ([EMAIL PROTECTED]) wrote:
 
 I have not found anything that is anywhere near the ability of the 
 commercial ocr packages that come with scanner software on Windows :-(
 
This is the only reason why I run an emulator -- for TextBridge.

Nick




Regards
Richard Neal

**
Of course, it is very important to be sober when you take an exam.
Many worthwhile careers in the street-cleansing, fruit-picking and
subway-guitar-playing industries have been founded on a lack of
understanding of this simple fact.
(Moving Pictures)
***






-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Elementary symlink question

2004-09-14 Thread amos
Peter Hardy wrote:
On Tue, 2004-09-14 at 10:34, Jan Schmidt wrote:
 

quote who=Matthew Davidson
   

However, I maintain that's the way it _should_ work!
 

That's the way hard links work, but they can only link within the same file
system.
   

But you shouldn't add hard links to directories. The ln utility will
only let root even try it, and there's a fairly good chance the
filesystem won't let you. I can't remember why it's a problem without a
reference handy.
 

For a start - path loops:
# ln -F /tmp /tmp/a
# find /tmp
I think the outcome of this is why find(1) usually doesn't follow symlinks.
There is also the confusing issue of where should .. of a directory 
with multiple
parents point to, and how to maintain it if and when the original parent 
is removed.

I suppose there are other reasons as well, possibly related to 
implementations of
particular filesystems.

Cheers,
--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] whitepages.com.au freezes mozilla

2004-09-14 Thread amos
Voytek wrote:
I had a similar problem recently, on both, 'normal' as well as text version
I think... it was releated to a local Java version mish-mash, in my case
 

Do you mean that you managed to make it work once you fixed java on your 
machine?

Thanks,
--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] 2.6.8 release info ?

2004-09-14 Thread Rod Butcher
Thanks Amos  others who provided feedback.. I'll stick with 2.6.7 
(which works great for me) until the uberbrains decide where they're 
going on this. My failure to get bash to work on 2.6.8 under x11 remains 
a puzzle though.. all the components people told me it needed to run 
appeared to be selected  in .conf.
cheers
Rod
---
Brought to you by a thunderbird, penguin, gnu and a camel

[EMAIL PROTECTED] wrote:
I've just found about the Linux Weekly News (LWN) kernel articles index
(at http://lwn.net/Kernel/Index/) and one of the articles there is a 
short one
titled 2.6.8 and CD recording: http://lwn.net/Articles/98379/

Maybe it'll help explain some of the troubles with SCSI in 2.6.8(.1).
To sum the conclusiong from this article, it sounds to me like:
1. If Linus sticks with the SCSI command filter then he should update 
the permitted
commands and also add more context to decide if they are to be allowed 
(i.e. allow
certain commands on certain device only if more conditions are met, 
instead of just
checking opened for (read|write) and command is X).
2. Whatever turns up some applications do write operations on 
descriptors opened
for read only and should be fixed.
3. Jorg Schilling might be right and direct CD device access should be 
restricted to
root (but that would be disappointing to admit).

Cheers,
--Amos
Rod Butcher wrote:
The issues of 2.6.8 causing trouble booting (apparently caused by 
changed SATA SCSI default), broken terminal and trouble cd burning 
reported by some, seems to point to things being tweaked / changed / 
corrected in this release rather than bugs - but I can't find release 
info - anybody know where it is, i.e. what changed / new default 
configurations, drivers / features etc ? Couldn't find it in the 
tarball or at kernel.org.
cheers
Rod
---
Brought to you by a thunderbird, penguin, gnu and a camel

Ken Caldwell wrote:
quote who=Simon Wong
On Sun, 2004-09-12 at 12:22, Rod Butcher wrote:
Having got 2.6.8 to boot by changing lilo root arg to /dev/sda1 

Just to let you know, there's a problem with 2.6.8 that means that you
can't write to CDs (not sure if this is the case when using scsi/scsi
emulation or just when writing directly to ATAPI drives).


I can burn CDs just fine on this box which is running a 2.6.8 kernel.
/dev/cdrom is a symlink to /dev/scd0
 

I had to drop back to 2.6.7 for this reason so I thought I'd give you a
heads up.



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] whitepages.com.au freezes mozilla

2004-09-14 Thread Voytek

quote who=[EMAIL PROTECTED]
 Voytek wrote:

I had a similar problem recently, on both, 'normal' as well as text
 version
I think... it was releated to a local Java version mish-mash, in my case

 Do you mean that you managed to make it work once you fixed java on your
 machine?

yes
this is *not* on Linux, but, I had whitepages kill either Mozilla or
Firefox, using either 'normal' or text interface.
after I removed the old down-level Java VM, and, cleaned up the whole Java
environment, all these issues disapeared
it also made StGeorge banking work again, and, some other very simple Java
applets started working again

whereas my other java probs were simply the applets wouldn't work, nada,
zilch, the whitepages failure was the nasty one, it would really pull cpu
cycles, and, freeze the browser


-- 
Voytek
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Linux Databases

2004-09-14 Thread Edwin Humphries
I'm trying to convert my personal PC use from Windoze to Linux. But there 
is a Win application that I've used for a long time for flat-file 
databases: Filemaker Pro. It's much better than other simple Win databases 
(eg, Access) and it isn't Microsoft!

Can anyone suggest a Linux alternative? My key database is a database of my 
experimentation with bush food plants (yes, I know geek and gardener seem 
somewhat contradictory :-). This has several fields that contain bitmaps 
(photographs of plants). I know about SQL databases, but it seems a tad 
overkill for this - and there isn't a simple GUI front-end.

Regards,
Edwin Humphries, Managing Director
Ironstone Technology Pty Ltd
P. O. Box 423, Kiama, NSW, 2533
Phone: +61 (0)2 4233 2285
Facsimile: +61 (0)2 4233 2299
Web: http://www.ironstone.com.au
Mobile: 0419 233 051 

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux Databases

2004-09-14 Thread Howard Lowndes
On Wed, 2004-09-15 at 08:03, Edwin Humphries wrote:
 I'm trying to convert my personal PC use from Windoze to Linux. But there 
 is a Win application that I've used for a long time for flat-file 
 databases: Filemaker Pro. It's much better than other simple Win databases 
 (eg, Access) and it isn't Microsoft!
 
 Can anyone suggest a Linux alternative? My key database is a database of my 
 experimentation with bush food plants (yes, I know geek and gardener seem 
 somewhat contradictory :-). This has several fields that contain bitmaps 
 (photographs of plants). I know about SQL databases, but it seems a tad 
 overkill for this - and there isn't a simple GUI front-end.

PostgreSQL does BLOBs which are good for storing imagesand what is
wrong with SQL databases, they work, and some like MySQL are blindingly
fast.

 
 Regards,
 Edwin Humphries, Managing Director
 Ironstone Technology Pty Ltd
 P. O. Box 423, Kiama, NSW, 2533
 Phone: +61 (0)2 4233 2285
 Facsimile: +61 (0)2 4233 2299
 Web: http://www.ironstone.com.au
 Mobile: 0419 233 051 
-- 
Howard.
LANNet Computing Associates;
Your Linux people http://www.lannetlinux.com
--
When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux Databases

2004-09-14 Thread Edwin Humphries
Andrew,
I now know two things about OpenOffice: it can do databases quite neatly, 
and it can't do databases with bitmaps as fields.

At 08:25 AM 15/09/2004, you wrote:
I know you can do flatfile databases within Open Office not to sure
about adding images though
Heres a website explaining it on Open Office
http://homepage.ntlworld.com/garryknight/linux/oodbase.html
Regards,
Edwin Humphries, Managing Director
Ironstone Technology Pty Ltd
P. O. Box 423, Kiama, NSW, 2533
Phone: +61 (0)2 4233 2285
Facsimile: +61 (0)2 4233 2299
Web: http://www.ironstone.com.au
Mobile: 0419 233 051 

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] echo not echoing anymore

2004-09-14 Thread Simon Bryan
Hi all,
I have the following two files in the root directory of all my users on an
LTSP4 setup. The purpose is to map their home drives from another server
into the user space on the LTSP server. Works fine. However since a recent
'yum upgrade' (this is running on FC2) none of the text appears in the
terminal screen. If you respond to the two pauses in the cursor with a
correct username/password combination it works, but I need it to display
the prompts.
It is run by running the 'mapodrive' file as I couldn't figure out how to
do the xterm -e thing any other way.

File: mapodrive
xterm -e ./leavemealone

File:leavemealone
#!/bin/bash
echo -n Enter your username   
read -e USERNAME
echo -n Enter your password   
read -es PASSWORD
`sudo mount -t smbfs -o username=$USERNAME,password=$PASSWORD
//10.192.0.14/homes /home/$USERNAME/ODrive`


-- 
Simon Bryan
IT Manager
OLMC Parramatta
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux Databases

2004-09-14 Thread Phil Scarratt
Edwin Humphries wrote:
I'm trying to convert my personal PC use from Windoze to Linux. But 
there is a Win application that I've used for a long time for flat-file 
databases: Filemaker Pro. It's much better than other simple Win 
databases (eg, Access) and it isn't Microsoft!

Can anyone suggest a Linux alternative? My key database is a database of 
my experimentation with bush food plants (yes, I know geek and gardener 
seem somewhat contradictory :-). This has several fields that contain 
bitmaps (photographs of plants). I know about SQL databases, but it 
seems a tad overkill for this - and there isn't a simple GUI front-end.

Short answer: there is nothing that replaces Filemaker Pro or the like. 
One of the areas I think is lacking in Linux (more than happy to be 
proved wrong of course). OpenOffice does an OK job at being able to 
create an interface for the DB backends, but it's not as user-friendly 
as the Windows apps available - although it's more than a year since I 
was experimenting and it could well have changed (most if not all 
aspects of OO have only improved). I'm a little surprised that OO can't 
handle (as others have reported - I've no idea myself) bitmaps when the 
DB backends can.

Filemaker Pro is originally a Mac program - is there an OSX version? 
There may be a Linux version if so. May be worth sreaching.

Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux Databases

2004-09-14 Thread Howard Lowndes
On Wed, 2004-09-15 at 08:54, Phil Scarratt wrote:
 Edwin Humphries wrote:
 
  I'm trying to convert my personal PC use from Windoze to Linux. But 
  there is a Win application that I've used for a long time for flat-file 
  databases: Filemaker Pro. It's much better than other simple Win 
  databases (eg, Access) and it isn't Microsoft!
  
  Can anyone suggest a Linux alternative? My key database is a database of 
  my experimentation with bush food plants (yes, I know geek and gardener 
  seem somewhat contradictory :-). This has several fields that contain 
  bitmaps (photographs of plants). I know about SQL databases, but it 
  seems a tad overkill for this - and there isn't a simple GUI front-end.
  

There is a product called Rekall
http://www.thekompany.com/products/rekall/ which provides a front end to
a number of backend dbs, inc MySQL and PostgreSQL
 
 Short answer: there is nothing that replaces Filemaker Pro or the like. 
 One of the areas I think is lacking in Linux (more than happy to be 
 proved wrong of course). OpenOffice does an OK job at being able to 
 create an interface for the DB backends, but it's not as user-friendly 
 as the Windows apps available - although it's more than a year since I 
 was experimenting and it could well have changed (most if not all 
 aspects of OO have only improved). I'm a little surprised that OO can't 
 handle (as others have reported - I've no idea myself) bitmaps when the 
 DB backends can.
 
 Filemaker Pro is originally a Mac program - is there an OSX version? 
 There may be a Linux version if so. May be worth sreaching.
 
 Fil
-- 
Howard.
LANNet Computing Associates;
Your Linux people http://www.lannetlinux.com
--
When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux Databases

2004-09-14 Thread Dean Hamstead
try running filemaker in wine
Dean
Phil Scarratt wrote:
Edwin Humphries wrote:
I'm trying to convert my personal PC use from Windoze to Linux. But 
there is a Win application that I've used for a long time for 
flat-file databases: Filemaker Pro. It's much better than other simple 
Win databases (eg, Access) and it isn't Microsoft!

Can anyone suggest a Linux alternative? My key database is a database 
of my experimentation with bush food plants (yes, I know geek and 
gardener seem somewhat contradictory :-). This has several fields that 
contain bitmaps (photographs of plants). I know about SQL databases, 
but it seems a tad overkill for this - and there isn't a simple GUI 
front-end.

Short answer: there is nothing that replaces Filemaker Pro or the like. 
One of the areas I think is lacking in Linux (more than happy to be 
proved wrong of course). OpenOffice does an OK job at being able to 
create an interface for the DB backends, but it's not as user-friendly 
as the Windows apps available - although it's more than a year since I 
was experimenting and it could well have changed (most if not all 
aspects of OO have only improved). I'm a little surprised that OO can't 
handle (as others have reported - I've no idea myself) bitmaps when the 
DB backends can.

Filemaker Pro is originally a Mac program - is there an OSX version? 
There may be a Linux version if so. May be worth sreaching.

Fil
--
WWW: http://dean.bong.com.au  LAN: http://www.bong.com.au
EMAIL: [EMAIL PROTECTED]   or   [EMAIL PROTECTED]
ICQ: 16867613
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux Databases

2004-09-14 Thread Phil Scarratt
Howard Lowndes wrote:
There is a product called Rekall
http://www.thekompany.com/products/rekall/ which provides a front end to
a number of backend dbs, inc MySQL and PostgreSQL
This looks quite good and complete, and it's been GPL'ed. Just took a 
quick look around their site and noticed that of 2.3.1 it allows http 
access - a feature that many Filemaker Pro users like and use. Without 
having tried it this could be the answer.

Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Another LaTeX question

2004-09-14 Thread Michael Lake
James Gregory wrote:
I tried those but they didn't wrap the text inside the long column (or
at least I couldn't figure out how). I eventually found xtab which wraps
nicely *and* splits pages. I'm using it for the pdf generation now.
If you want to wrap the text 'inside' a column you have to give a column 
specifier of 'p' like this:
\begin{tabular}{p{3cm}lr}

which will wrap thd first col like a Paragraph with width 3cm and the 
next two as left aligned and right aligned.

Mike
--
Michael Lake
Chemistry, Materials  Forensic Science, UTS
Ph: 9514 1725 Fx: 9514 1460

--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Hard disk spin down, and GNOME.

2004-09-14 Thread Luke Yelavich
Hi all.
I have managed to set up my laptop to allow my hard disk to be shut off after
a period of time while on battery. However, for the times I need to go into
GNOME, if the laptop is left idle for a while, the hard disk doesn't spin down.
Listening to the hard disk, it sounds like that it is making a read or write
every so often.

I have laptop mode turned on, with the hard disk set to spin down after 3 mins
of inactivity. Is there any setting in GNOME that can be changed to allow the
desired result? Running Slackware 10.0 with default GNOME 2.6 that comes with
it, on 2.4.27.

Thanks in advance.

Luke
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux Databases

2004-09-14 Thread Phil Scarratt
Howard Lowndes wrote:
There is a product called Rekall
http://www.thekompany.com/products/rekall/ which provides a front end to
a number of backend dbs, inc MySQL and PostgreSQL
Sorry, should've posted the non-commercial version link
http://www.rekallrevealed.org/index.shtml
The source is available for download from here. Searching may find 
prebuilt binaries.

Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] bind: rndc setup, where the keygen files go ?

2004-09-14 Thread Voytek
Hi all,

I'm trying to config bind on RH73, the rndc setup

the docs tell me to generate some key with something like:

# dnssec-keygen -a hmac-md5 -b 256 -n HOST my_dns
Kmy_dns.+157+23903

that makes a couple of files like so
# ls
Kmy_dns.+157+23903.key
Kmy_dns.+157+23903.private

is there any special place to keep these files ? '/etc' ?

in the rndc.conf directives:

do I use the name I gave it, like: 'my_dns' ?
or, do I use the file names returned by dnssec-keygen, like,
'Kmy_dns.+157+23903' ?

whatever I use, I get:

rndc reload
rndc: no key definition for name my_dns

rndc: no key definition for name Kmy_dns





-- 
Voytek
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux Databases

2004-09-14 Thread David


On Wed, 15 Sep 2004, Phil Scarratt wrote:



 Filemaker Pro is originally a Mac program - is there an OSX version?
 There may be a Linux version if so. May be worth sreaching.


Yes, there is an OS X version - it's still very much a Mac program. I rang
Filemaker out of curiosity, and the official line is (paraphrasing):

We recognise the growing popularity of Linux and intend to produce a
server version of Filemaker at some unspecified time in the future.

Meantime, filemaker has the world's ugliest scripting, so it may be no
loss. OTOH, it's good for quick and dirty reports based on it's own
(proprietry) data base.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] bind: rndc setup, where the keygen files go ?

2004-09-14 Thread O Plameras
Have you read,
http://ops.ietf.org/dns/dynupd/secure-ddns-howto.html
???
Voytek wrote:
Hi all,
I'm trying to config bind on RH73, the rndc setup
the docs tell me to generate some key with something like:
# dnssec-keygen -a hmac-md5 -b 256 -n HOST my_dns
Kmy_dns.+157+23903
that makes a couple of files like so
# ls
Kmy_dns.+157+23903.key
Kmy_dns.+157+23903.private
is there any special place to keep these files ? '/etc' ?
in the rndc.conf directives:
do I use the name I gave it, like: 'my_dns' ?
or, do I use the file names returned by dnssec-keygen, like,
'Kmy_dns.+157+23903' ?
whatever I use, I get:
rndc reload
rndc: no key definition for name my_dns
rndc: no key definition for name Kmy_dns


 

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Scanner probs

2004-09-14 Thread Elliott-Brennan
Hi, (I tried to send a previous group mail, but it doesn't appear to
have 'appeared') - sorry if this turns out to be a multiple post - some
probs have been resolved thanks to previous assistance.

Problems with a Diamond View scanner:

(my aim is to run all my periphs in Mandrake, so I can change completely
from win2000)

I found a site in which the following was suggested:

(http://www.linuxchix.org/pipermail/techtalk/2003-October/016686.html)

 1. On the scanner's installation CD, in the drivers (I think Win98
drivers
dir), find 'u96v121.bin' and copy it to /dev/usb/u96v121.bin (or where
you
want your driver binaries - I know I'm a bit weird ;)

2. edit /etc/scan.d/snapscan.conf, changing the firmware line to read:
firmware /dev/usb/u96v121.bin

Be sure it points to the exact path where you put the binary!

And that's it! :) Now you can use Kooka or Xsane to do your scanning, or
scan from GIMP even!

Now, from a response by another SLUG member, James, I gather I can't do
that - though someone responded to the above site saying it worked -


My scanner is supposed to be an Acer/Benq clone: 640U flatbed USB color
scanner.

When I run:
$ sane-find-scanner

  # No SCSI ... 

Found USB scanner (vendor=0x04a5 [Color], product=0x2060 [
FlatbedScanner 13]) at libusb:001:002
  # Your USB scanner was (probably) detected. It may or may not be
supported by
  # SANE. Try scanimage -L and read the backend's manpage.


scanimage -L  gives:
Device 'snapscan:libusb:001:002' is a Acer Flatbed Scanner 13

Also:
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.

This is the only scanner - how do you assign permission?

When I run Xsane, I get (both as su and as patrick):

Failed to open device 'snapscan:libusb:001:002': invalid argument.

Kooka, on execution, sees the scanner, then when it opens completely, it
says - no scanner detected (in a little window at the bottom left)

BTW. When I installed SANE it was as a tar.gz - I didn't realise it was
on my Mandrake discs. I put the tar.gz in my downloads file and
installed. Now in my download file I have a file called
sane-backends-1.0.14.

I'm wondering if I should uninstall all SANE files etc and reload??

I *sort of* understand the directions in the SANE manual pages, but not
exactly and am concerned about doing something that.. well.. you know.
http://www.sane-project.org/man/sane-usb.5.html

$ chgrp scanner /dev/usb/scanner0
$ chmod 660 /dev/usb/scanner0

I don't know if my scanner is in fact /dev/usb/scanner0

Whilst:
cat /proc/bus/usb/devices/

Says not a directory.

Thanks.
Patrick


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] SSL certificates portable ?

2004-09-14 Thread Hilton De Meillon
Hi All,


Are SSL certificates portable ?. I want to generate a CSR  on a IIS machine
and use it to produce a certificate that
will be used on an Linux/Apache 1.3.12-12 box (obviously with the correct
fqdn ,etc)

Is that possible ?

Regards,

Hilton.

 
 

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] SSL certificates portable ?

2004-09-14 Thread Kevin Saenz
I am pretty sure that SSL certificates are dependant upon the IP
address of the machine.


 Are SSL certificates portable ?. I want to generate a CSR  on a IIS machine
 and use it to produce a certificate that
 will be used on an Linux/Apache 1.3.12-12 box (obviously with the correct
 fqdn ,etc)
 
 Is that possible ?
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] SSL certificates portable ?

2004-09-14 Thread Jamie Wilkinson
This one time, at band camp, Hilton De Meillon wrote:
Are SSL certificates portable ?. I want to generate a CSR  on a IIS machine
and use it to produce a certificate that
will be used on an Linux/Apache 1.3.12-12 box (obviously with the correct
fqdn ,etc)

The SSL cert vendor takes the CSR in text format, and the certificate /
key pair are also text files, so it will work.

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] X11R6.8 in mandrake

2004-09-14 Thread Kevin Saenz
Has anyone install X11R6.8 on mandrake 10? 
Just wondering what I would need to concern myself if I was going to
replace Xfree86
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Wins netbios name resolution in /etc/nsswitch.conf

2004-09-14 Thread Ryan Tsai
hi Peter,

yes, nmblookup works fine with no problems resolving any names.

Ryan


- Original Message - 
From: "Peter Hardy" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 14, 2004 11:22 AM
Subject: Re: [SLUG] Wins netbios name resolution in /etc/nsswitch.conf


 On Mon, 2004-09-13 at 01:31, Ryan Tsai wrote:
  I'll recompile some Samba related packages tomorrow and see how it goes,
  though I still think its my glibc.
  I'd hate to classify this one as yet another unsolved tech mystery :-(

 Have you tried using the nmblookup utility to see if your samba is
 actually able to resolve names? That should narrow it down to either
 samba or glibc.

 -- 
 Pete

 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Linux Databases

2004-09-14 Thread Craig Mitchell
I've just purchased a program called Servoy, it's commercial, but has a
90 day developer trial available. Not expensive. Will run on windoze,
osx and linux (written in Java). Has it's own build in db, or will
connect to almost any sql (I'm using it for a snail mail management
package with mysql).
Easy to use GUI frontend. Think of it as Filemaker on steroids.

http://www.servoy.com

-- 
Craig Mitchell ctmATdunrossbusiness.com.au
Dunross Business Services P/L


On Wed, 2004-09-15 at 12:14, David wrote:
 On Wed, 15 Sep 2004, Phil Scarratt wrote:
 
 
 
  Filemaker Pro is originally a Mac program - is there an OSX version?
  There may be a Linux version if so. May be worth sreaching.
 
 
 Yes, there is an OS X version - it's still very much a Mac program. I rang
 Filemaker out of curiosity, and the official line is (paraphrasing):
 
 We recognise the growing popularity of Linux and intend to produce a
 server version of Filemaker at some unspecified time in the future.
 
 Meantime, filemaker has the world's ugliest scripting, so it may be no
 loss. OTOH, it's good for quick and dirty reports based on it's own
 (proprietry) data base.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] SSL certificates portable ?

2004-09-14 Thread hilton de meillon
Hi all,

I just spoke to a support at instantssl.com and they reckon you can create a
csr on a win/iis box and 
Install the resultant certificate on an linux/apache box.

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Jamie Wilkinson
Sent: Wednesday, 15 September 2004 1:49 PM
To: [EMAIL PROTECTED]
Subject: Re: [SLUG] SSL certificates portable ?

This one time, at band camp, Hilton De Meillon wrote:
Are SSL certificates portable ?. I want to generate a CSR  on a IIS 
machine and use it to produce a certificate that will be used on an 
Linux/Apache 1.3.12-12 box (obviously with the correct fqdn ,etc)

The SSL cert vendor takes the CSR in text format, and the certificate / key
pair are also text files, so it will work.

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] X11R6.8 in mandrake

2004-09-14 Thread James Gregory
On Wed, 2004-09-15 at 14:40 +1000, Kevin Saenz wrote:
 Has anyone install X11R6.8 on mandrake 10? 
 Just wondering what I would need to concern myself if I was going to
 replace Xfree86

You mean the Xorg server? I've been running that out of cooker for a
number of months now. I've seen no problems with it. I think the current
packages even port your configuration (could be wrong about that
though).

I've also had it running with Nvidia's commercial drivers on my
workstation at home with Fedora.

James.

-- 
James Gregory [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html