[SLUG] Complex Web Form 'stacks'

2004-08-13 Thread Stuart Guthrie
This is a general 'how do you do it if you do it' question about web
application design.

Although I use struts, I'm sure a Perl or Php example would suffice.
Even if you know of an OSS project that does this thing...

Here is the scenario.

Web Form:
-
ORDER HEADER

Order No:   0010
Order Date: 15/08/2004
Customer:   __ LOOKUP CUSTOMER
Customer Name: ?
-

So the user has entered a new order date and requests the LOOKUP
CUSTOMER button to search the 1,000,000 customers in the database.
(Note, I picked a cool million deliberately to stop the 'just use a
combo' suggestions)

The customer is found and selected. The user is returned to this form in
exactly the same 'state' they left it. ie with the date entered as
15/08/2004, except their customer code is now filled in. As is the
Customer name.

-
ORDER HEADER

Order No:   0010
Order Date: 15/08/2004
Customer:   ABC123 LOOKUP CUSTOMER
Customer Name: ABC Inc.
-

Ways to do this:

- Some sort of 'stack' where the state is maintained in a 'level' of the
stack with all the form values from the web page. The user goes off and
searches on the next level of the 'stack' and once sorted, pulls (or is
it pops) the stack back to the previous 'level' and re-populates the
form.

- Something else.

- Can't be done.


I'm all ears, unless I hear otherwise, I'll probably write the 'stack'
technology.

TIA


Stuart Guthrie


-- 
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] Complex Web Form 'stacks'

2004-08-13 Thread Stuart Cooper
 This is a general 'how do you do it if you do it'
 question about web application design.

As opposed to a how do you do it if you don't do
it question- which is much easier to answer, the
answer is simply you don't do it :-)
 
 Web Form:
 -
 ORDER HEADER
 
 Order No:   0010
 Order Date: 15/08/2004
 Customer:   __ LOOKUP CUSTOMER
 Customer Name: ?
 -
 
 So the user has entered a new order date and
 requests the LOOKUP
 CUSTOMER button to search the 1,000,000 customers
 in the database.
 (Note, I picked a cool million deliberately to stop
 the 'just use a
 combo' suggestions)

Very good idea not to use a combo, I once saw a
webpage
with a combo list of all usernames in a large
organisation and there were just under 40,000 of
them. Not the best thing to put into a select list.
 
 The customer is found and selected. The user is
 returned to this form in
 exactly the same 'state' they left it. ie with the
 date entered as
 15/08/2004, except their customer code is now filled
 in. As is the
 Customer name.

Think self calling CGI. A self calling CGI has
a HTML form with the action target the same script.
The script works out whether it's been called the
first time (to display the form) or the second
time (to look up the customer name) based
on whether the field variable is present.
Self calling CGIs are a standard CGI programming
technique.

 - Some sort of 'stack' where the state is maintained
 in a 'level' of the
 stack with all the form values from the web page.
 The user goes off and
 searches on the next level of the 'stack' and once
 sorted, pulls (or is
 it pops) the stack back to the previous 'level' and
 re-populates the
 form.

I wouldn't use the terms stack and level here,
it's not really a stack based application. You're
better off thinking in terms of web pages,
page 1, page 2 etc. So you've got your start page
then you've got your second page with the
customer page displayed and so on.

Have fun,
Stuart.

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
-- 
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] Complex Web Form 'stacks'

2004-08-13 Thread James Gregory
On Fri, 2004-08-13 at 16:13 +1000, Stuart Guthrie wrote:

 I'm all ears, unless I hear otherwise, I'll probably write the 'stack'
 technology.

I don't know that it's a stack problem. I can think of two ways to do
it:

1. Use the zany xml-rpc stuff in Javascript to do the query. This sounds
like a nice idea in theory but I don't know how compatible it would be.
Anyone played with this?

2. Have your lookup butt submit the data and set some magical flag that
says I'm only searching, don't act on this data, which has the side
affect of committing your input to session data or whatever, so that it
can be used for default values the next time the page is loaded You'd do
the lookup when sending back your default data. Make your magic variable
a hidden input and have the 'lookup' button re-set that hidden variable
and then call submit on the form.

I've not explained that very clearly, but hopefully you'll get the gist
of it. Ask if you need clarification.

HTH,

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] Talk: Martin Gregory from Microsoft, Thursday August 12th

2004-08-13 Thread Jan Schmidt
Just to clarify, the same as all our monthly meetings, this event is open to
non-SLUG-members and the general public also. If you're interested, please
come along. With Martin's permission, we'll also video the talk and make the
recording available afterward.

Cheers,
Jan.

quote who=Jan Schmidt

 Apologies for the late notice. We had some trouble sorting out a room and
 time to host this talk. i
 
 We are holding this talk separately to the ordinary SLUG meeting, 
 as it doesn't clearly meet SLUG's normal talks, but we still thought 
 that it would be of interest to some SLUG members.
 
 When:
 Thursday, August 12, 7:00pm - 9:30pm
 Location: UTS Broadway, Building 10, Level 2, Room 410
 This is located in the Fairfax Building - UTS Building 10 - in Jones
 St on the corner of Thomas St. It is between UTS Building 1 and
 Wattle St. Level 2 is street level from Jones St. 
 
 Synopsis:
 Martin Gregory has been with Microsoft for 15 years and works on the
 company's platform strategy. He is based in Sydney.
 
 Martin will be joining us to talk about what Microsoft has learned
 from the Open Source community, the feedback they have received from
 various players in the industry, including customers, partners and
 developers and Microsoft's view of Open Source.
 
 Martin is keen to hear your views on the Open Source versus
 commercial software debate and the key concerns IT decision makers
 face, including total cost of ownership, security and sharing source
 code.
 
 -- 
 Jan Schmidt  [EMAIL PROTECTED]
 
 Pants Pants Pants Pants Pants Pants Pants Pants.
 Lovely Pants, wonderful Pa-ants.
 Lovely Pants, wonderful Pa-ants.
 (Shut up! Bloody Vikings.)
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
Jan Schmidt  [EMAIL PROTECTED]

Have you been half-asleep? Have you heard voices?
I've heard them calling my name...
 -Kermit the Frog (Rainbow Connection)
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] SLUGAMuSIG meeting - 4 September

2004-08-13 Thread Denis Crowdy

Meeting of SLUGAMuSIG - Audio/ Music Special Interest Group

When: Saturday, 4 September; 10:30am to 4pmish 

Where: Macquarie University, Department of Contemporary Music Studies,
building W6A, room 607

All interested in music/ audio and Linux are invited for the next
gathering of the group.  A more detailed list of proposed discussions
will follow shortly, but the general plan is a demonstration/ discussion
in the morning, followed by an open session of jamming/ coding/ talking
in the afternoon.  All levels of interest are welcomed.

A relevant map of Macquarie is at http://www.bgo.mq.edu.au/campus.htm.
The best way to get to the Music Department (on the 6th floor of
building W6A) is from the Balaclava Rd entrance (opposite Woolies from
Epping Rd).  The closest parking is W4, and costs $8.00 for the whole
day.  There is side-of-road (free) parking on Culloden Rd, but it's a
longer walk.

For people arriving at various times through the day, the front door
might be locked, but we'll keep an eye out, or call me on 0408 478 802.

Denis Crowdy

-- 
Department of Contemporary Music Studies
Macquarie University
NSW 2109 Australia, ph: +61 (0)2 9850 6787, fax: 9850 6593
http://www.ccms.mq.edu.au
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] SLUG Installfest: Saturday 21st August.

2004-08-13 Thread Chris Deigan
Hey everyone,
SLUG is having an installfest on Saturday (21st August), next week.
For those who've never been to an installfest, we'll be installing
Linux on people's computers. If you're curious about Linux but don't
want to install it yourself, then the installfest is for you.
We also need volunteers to install Linux on other people's machines to
come along. If you're coming as a volunteer installer, please let the
activities list[1] know.
Onlookers are also welcome, but we can't promise that you won't be roped
in to helping out with installs :)
The installfest will run from 9:30am until 4:30pm at UTS Broadway, in
room 02.05.33 (Building 2, level 5, room 3). A map of UTS is available
at http://www.uts.edu.au/about/mapsdirections/bway.html.
If you're coming to have Linux installed, please:
 - bring along your computer and if possible your monitor; and
 - de-fragment your hard drive if you want to dual boot Linux and 
another
   operating system.

If you're coming along as a volunteer, you only need to bring yourself.
However, if you've got any cool toys on your Linux machine to show off,
feel free to bring it along.
Cheers,
Chris
[1] http://lists.slug.org.au/listinfo/activities
--
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] Complex Web Form 'stacks'

2004-08-13 Thread Matthew Palmer
On Fri, Aug 13, 2004 at 04:13:29PM +1000, Stuart Guthrie wrote:
 This is a general 'how do you do it if you do it' question about web
 application design.
 
 Although I use struts, I'm sure a Perl or Php example would suffice.
 Even if you know of an OSS project that does this thing...
 
 Here is the scenario.
 
 Web Form:
 -
 ORDER HEADER
 
 Order No:   0010
 Order Date: 15/08/2004
 Customer:   __ LOOKUP CUSTOMER
 Customer Name: ?
 -
 
 So the user has entered a new order date and requests the LOOKUP
 CUSTOMER button to search the 1,000,000 customers in the database.
 (Note, I picked a cool million deliberately to stop the 'just use a
 combo' suggestions)
 
 The customer is found and selected. The user is returned to this form in
 exactly the same 'state' they left it. ie with the date entered as
 15/08/2004, except their customer code is now filled in. As is the
 Customer name.

Multiple windows and JavaScript.  When the 'lookup customer' button is
clicked, a little window with the customer finder is loaded, and the user
picks their customer.  When they click the appropriate button, the window
tells it's parent what customer the user chose, and then closes itself.

It's maybe 15 lines of JS, and whatever you want for the web stuff.

Unfortunately, with such a large number of customers, it's not practical to
use a floating DIV to provide the box, otherwise you could fiddle it all
in JavaScript.  But with an appropriately pared-down window you should be
fine.

 - Some sort of 'stack' where the state is maintained in a 'level' of the
 stack with all the form values from the web page. The user goes off and
 searches on the next level of the 'stack' and once sorted, pulls (or is
 it pops) the stack back to the previous 'level' and re-populates the
 form.

This is possible, if you need to do everything in one window, but you'll go
grey/bald/mad/all of the above trying to make it work properly, especially
if you try to general-case it.  I know, I've looked at it.  Eventually I
figured Xerox gave us multiple windows for a reason, dammit and since then
my only problem has been shithouse pop-up blockers.

 - Can't be done.

Anything's possible.  It's just that anything useful is often a pain in the
arse, especially if it's related to computing.

- Matt


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] SLUG Installfest: Saturday 21st August.

2004-08-13 Thread Luke Yelavich
Hi all
I would love to help out at the SLUG installfest, however since I am vision
impaired, this makes things a little difficult when it comes to reading stuff
on the screen during installation. However I would be happy to answer any
questions people may have, and can bring my laptop to demonstrate most aspects
of Linux, particularly Linux multimedia.

So if help is needed, and there is something that I could help out with, I would
be glad to come.

In terms of the location of the installfest, if someone is able to meet me
outside UTS, that would be great. I will be coming from Central station, and
would need assistance to find the room.

Look forward to hearing from someone about this, and am happy to help out.

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 Terminal with Regis support

2004-08-13 Thread amos
Could you be reffering to Tek Support option menu you get when
pressing CTRL+MiddleMouse in xterm?
(I think it's the same graphics mode as in VT100's, so
not sure the vt240 are the same but it's possible).
--Amos
Peter Rundle wrote:
Sluggers,
I'm wondering if anyone knows of a terminal emulation program on Linux 
that provides Regis support (That Dec standard for drawing graphics on 
hardware terminals like the vt240 and above). We have some legacy 
--
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] Where is ulimit -v set?

2004-08-13 Thread Erik de Castro Lopo
On Fri, 13 Aug 2004 08:28:49 +1000
Norman Gaywood [EMAIL PROTECTED] wrote:

 If it's a RH'ish type system, /etc/security/limits.conf might be what
 you're looking for.

Actually Debian, but yes, thats where they are set.

Thanks,
Erik

-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
I have long argued that the entertainment industry doesn't want
people to have computers. Computers give users too much capability,
too much flexibility, too much freedom. The entertainment industry
wants users to sit back and consume things. They are trying to
turn a computer into an Internet Entertainment Platform, along the
lines of a television or VCR. This bill is a large step in that
direction.  -- Bruce Schneier
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] HELP!!!

2004-08-13 Thread Dom
Hi,

I am a novice Linux user, having completely installed Linux Suse
Professional 9.1 on both my Laptop (Dell Inspiron 8500), and my home PC.
I am seeking some basic help to finalize my configuration of my laptop.

When I am at home I connect my laptop to a Benq FP731 LCD (17 Flat
Screen) monitor.  When I press Fn + F8 to view my laptop via my Benq
monitor I get no response from the monitor.

I need some help as to how I can configure my laptop to overcome this
dilemma.

Secondly, before I unstalled MS for the last time out of my PC's I
saved, and backed up all of my information on an external hard drive.  I
am seeking help from someone also who can point me in the right
direction.

I am currently using Ximian Evolution to manage my e-mail.  Is there
some way that I can import files from Microsoft Outlook (.PST) into
Evolution.  I would greatly appreciate any advice, or help for either of
my problems.

Regards,
Dom L.





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


[SLUG] shutting down iptables actually erronously starts it

2004-08-13 Thread The Salisburys



Hi sluggerrs

For some reason I cannot shut down iptables on 
redhat9.
It always.. ("Resetting built-in chains to 
the default ACCEPT policy: [ OK ]" 
)
resets to some unknown policy. (certainly not 
masquerading) 
I force a "NAT" script which does the job 
OK.

I can't find any configuration file that 
maycause this behaviour.

I disabled it (chkconfig iptables off) and on next 
boot it is disabled.
I on occasions start it with a customised script 
...and when i shut down iptables it restarts to some other 
configuration and seems to have nasty results to routing commands.

I want to shut it down as it seems to interfere 
with routing to other networks... 192.168.x.x  10.0.0.x 

Any idea how I can shut it down 
permanently?

I have opted to have NO firewall on "adsl-setup" 

 haven't knowing set it for anything else 
including firewalling.

I can't see it in the "ps" 
proccesses.

Many thanks
Roger


The full text to some commands is below.


[EMAIL PROTECTED] root]# /etc/rc.d/init.d/iptables 
stopFlushing all 
chains: 
[ OK ]Removing user defined 
chains: 
[ OK ]Resetting built-in chains to the default ACCEPT 
policy: [ OK ]
[EMAIL PROTECTED] root]# rpm -qa |gg pppoerp-pppoe-3.5-2
[EMAIL PROTECTED] root]# uname -r2.4.20-31.9
[EMAIL PROTECTED] root]# sh -v 
ipmasq.script
/sbin/iptables -F; iptables -t nat -F; iptables -t mangle 
-F/sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADEecho 1 
 /proc/sys/net/ipv4/ip_forward/sbin/iptables -A INPUT -m state --state 
ESTABLISHED,RELATED -j ACCEPT/sbin/iptables -A INPUT -m state --state NEW -i 
! ppp0 -j ACCEPT/sbin/iptables -P INPUT DROP #only if the first 
two are succesful/sbin/iptables -A FORWARD -i ppp0 -o ppp0 -j REJECT

[EMAIL PROTECTED] root]# rpm -qc 
rp-pppoe/etc/ppp/firewall-masq/etc/ppp/firewall-standalone/etc/ppp/pppoe-server-options


-- 
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] Richard Stallman - bed

2004-08-13 Thread Lester Cheung
What about a talk on a COMPSOC event at UNSW?

/me ex-UNSW student. :)

On Wed, 11 Aug 2004 10:40:36 +1000, Bruce Badger [EMAIL PROTECTED] wrote:
 Richard Stallman will be visiting Sydney for a week or three at the
 beginning of October this year.  The initiating event is the Builder
 conference: http://www.builderconference.com.au/
 
 I have been trying to line up a speaking engagements for him with the
 ACS while he is here (possibly taking him around the country), but this
 is taking some time to work out.
 
 Anyway, during the exchanges, RMS asked me if:
 
 o There were any venues where he could speak while in Sydney.  He had in
 mind Universities.  Does anyone on the list have any thoughts or
 suggestions about possible venues for an RMS talk?
 
 o Would anyone have a spare bed for the duration of his stay?  It seems
 that RMS prefers to avoid hotels.
 
 If you have any ideas on either of these, please let me know.
 
 Thanks,
 Bruce
 --
 Make the most of your skills - with OpenSkills
 http://www.openskills.com
 
 
 
 


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


[SLUG] OT: Horde or PHP sessions

2004-08-13 Thread Phil Scarratt
Hi all
Any Horde users out there?
I'm really beating my head against a wall about this one. I'm trying to 
get Horde running, have it all installed with dependencies and all. The 
test page reports all ok. I get the login screen fine - but that's it. I 
try logging in and it accepts my login info but just dumps me back on 
the login page with both the username and password cleared. That's it.

I look at the logs and it reports successful login. I am using imp for 
authentication. If I click on the mail link on the bottom toolbar of the 
login page and then enter the username and password, then it actually 
loads IMP (the webmail) and seems to work OK, as long as I don't use the 
toolbar at the bottom.

I've tried  using sql (mysql) as authentication for horde, and it works 
the first time as long as I don't click anywhere else (ie cannot open 
anything else after loggin on). Every time after that it does the same 
as above (dumps me back on login screen without any error message and 
with username cleared).

I think it has something to do with cookies and sessions (using file 
based sessions in PHP). What seems to happen is that when I first load 
the login page, a session is started on the server. The successful login 
then seems to create/use a different session identifier and dumps the 
data into that, whilst the horde application keeps using the original 
one (which has no auth credentials in it so horde thinks no logon yet). 
What am I missing? It's gotta be something bizzare on the session 
handling under horde.

I've done lots of googling and haven't come up with anything (google or 
the horde mailling lists which I am also joining and seeking help from). 
I'm either searching with the wrong phrases or there's nothing out 
there. I've come across similar problems - same symptoms, but no fixes.

Anyone got any clues or links to good info on sessions in php?
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] wireless fest - request for impact drill

2004-08-13 Thread Richard Hayes
Dear list,

Sorry for being so late but if someone who is coming to the wireless fest 
could bring an impact drill with masonry bit, I would be grateful. 
(Mind has just died) 
 
-- 
Richard Hayes
Nada Marketing 
2/713 Pacific Hwy Gordon Australia 2072
Phone:+(61-2) 9418 4545 Fax:+(61-2) 9418 4348 Mob:+(61) 0414 618 425
http://www.nada.com.au 
-- 
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] Richard Stallman - bed

2004-08-13 Thread Benno
On Fri Aug 13, 2004 at 21:53:09 +1000, Lester Cheung wrote:
What about a talk on a COMPSOC event at UNSW?

/me ex-UNSW student. :)

I have already suggested that to the Compsoc president.

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


[SLUG] OpenOffice won't let me paginate an HTML document

2004-08-13 Thread Jan Newmarch
Hi
I have an HTML document. It needs to be formatted with page margin 
settings, etc. Using a stylesheet failed (browsers such as konqueror seem 
to ignore them when printing to Postscript). Using html2ps didn't get it 
right either. So I opened it in OpenOffice and could set nearly everything 
happily. Except I can't make it more than one page. Obvious: HTML has no 
concepts of page. But when I export it as PDF it STILL only has one page. 
xpdf and acroread can both display it (one page only), but printing it to 
postscript seems to stuff up many printers and even gs. Even my secretary 
using M/S can't deal with this PDF.

Does anyone know a reliable way of getting multipage PDF's out of an HTML 
document when there are tight formatting constraints?

TIA
Jan
--
  Jan Newmarch, School of Network Computing
  Monash University
  Email: [EMAIL PROTECTED]
  WWW: http://jan.netcomp.monash.edu.au
  Tel: +61 3 9904 4249, Fax: +61 3 9904 4124
  (ESOS: Monash  Provider No. 8C)
If Pacman had affected us as kids, we'd be running around in dark rooms,
munching pills and listening to repetitive music (Marcus Brigstocke)
--
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] OT: Horde or PHP sessions

2004-08-13 Thread O Plameras
First, what version of Horde are you using (Released or CVS) ?
Second, did you use 'rpm' files or tar files ?
Third, have you installed 'pear' modules ? Use batch command, like #pear 
install module name.

Phil Scarratt wrote:
Hi all
Any Horde users out there?
I'm really beating my head against a wall about this one. I'm trying 
to get Horde running, have it all installed with dependencies and all. 
The test page reports all ok. I get the login screen fine - but that's 
it. I try logging in and it accepts my login info but just dumps me 
back on the login page with both the username and password cleared. 
That's it.

I look at the logs and it reports successful login. I am using imp for 
authentication. If I click on the mail link on the bottom toolbar of 
the login page and then enter the username and password, then it 
actually loads IMP (the webmail) and seems to work OK, as long as I 
don't use the toolbar at the bottom.

I've tried  using sql (mysql) as authentication for horde, and it 
works the first time as long as I don't click anywhere else (ie cannot 
open anything else after loggin on). Every time after that it does the 
same as above (dumps me back on login screen without any error message 
and with username cleared).

I think it has something to do with cookies and sessions (using file 
based sessions in PHP). What seems to happen is that when I first load 
the login page, a session is started on the server. The successful 
login then seems to create/use a different session identifier and 
dumps the data into that, whilst the horde application keeps using the 
original one (which has no auth credentials in it so horde thinks no 
logon yet). What am I missing? It's gotta be something bizzare on the 
session handling under horde.

I've done lots of googling and haven't come up with anything (google 
or the horde mailling lists which I am also joining and seeking help 
from). I'm either searching with the wrong phrases or there's nothing 
out there. I've come across similar problems - same symptoms, but no 
fixes.

Anyone got any clues or links to good info on sessions in php?
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] shutting down iptables actually erronously starts it

2004-08-13 Thread O Plameras
This is how I'd do your specs in RedHat(or Fedora)
#service iptables restart --Brings up your current filters
#iptables -F   --Removes all and any rules
 --meaning no filters
#service iptables save--Saved the 'no filter' rules
Next time you bring up your system it will recall the no
filter rules.
The Salisburys wrote:
Hi sluggerrs
 
For some reason I cannot shut down iptables on redhat9.
It always.. (Resetting built-in chains to the default ACCEPT 
policy:[  OK  ] )
resets to some unknown policy. (certainly not masquerading)
I force a NAT script which does the job OK.
 
I can't find any configuration file that may cause this behaviour.
 
I disabled it (chkconfig iptables off) and on next boot it is disabled.
I on occasions start it with a customised script ...and when i 
shut  down iptables  it restarts to some other configuration and seems 
to have nasty results to routing commands.
 
I want to shut it down as it seems to interfere with routing to other 
networks... 192.168.x.x  10.0.0.x 
 
Any idea how I can shut it down permanently?
 
I have opted to have NO firewall on adsl-setup
 haven't knowing set it for anything else including firewalling.
 
I can't see it in the  ps proccesses.
 
Many thanks
Roger
 
 
The full text to some commands is below.

 
[EMAIL PROTECTED] root]# /etc/rc.d/init.d/iptables stop
Flushing all chains:   [  OK  ]
Removing user defined chains:  [  OK  ]
Resetting built-in chains to the default ACCEPT policy:[  OK  ]

[EMAIL PROTECTED] root]# rpm -qa |gg pppoe
rp-pppoe-3.5-2
[EMAIL PROTECTED] root]# uname -r
2.4.20-31.9
[EMAIL PROTECTED] root]# sh -v   ipmasq.script
/sbin/iptables -F; iptables -t nat -F; iptables -t mangle -F
/sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
 echo 1  /proc/sys/net/ipv4/ip_forward
/sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/iptables -A INPUT -m state --state NEW -i ! ppp0 -j ACCEPT
/sbin/iptables -P INPUT DROP   #only if the first two are succesful
/sbin/iptables -A FORWARD -i ppp0 -o ppp0 -j REJECT
 
[EMAIL PROTECTED] root]# rpm -qc rp-pppoe
/etc/ppp/firewall-masq
/etc/ppp/firewall-standalone
/etc/ppp/pppoe-server-options
 
 

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


[SLUG] UNSW COMPSOC Linux Installfest (Sun Aug 15)

2004-08-13 Thread Andrew Lau
Hi everyone,

It seems like my original email never made it to any SLUG lists, so I'm
reposting here.

Thanks,
Andrew Netsnipe Lau

- Forwarded message from Andrew Lau [EMAIL PROTECTED] -

Hi everyone,

COMPSOC will hosting its second Linux Installfest for 2004 this upcoming
Sunday (August 15) from 11 am to 5:30pm.  It will be held in the Oboe
CSE labs on the ground floor of the Electrical Engineering building.

The COMPSOC Installfest has always been and still is open to everyone
(though rarely advertised externally). However if we're understaffed on
the day, first priority will be given to UNSW students.

Compsoc will also be providing free pizza for people volunteering on the
day. So if you've like to come down and give us SLUG regulars from UNSW
such as Matt, Pascal, Tim and myself among others a helping hand, please
drop us a line at [EMAIL PROTECTED] 

We'll also be providing free pizza for people volunteering on the day.
Register at [EMAIL PROTECTED].

Further details are available on the COMPSOC website
http://www.compsoc.cse.unsw.edu.au/ 

Hope to see you there,
Andrew Lau
COMPSOC President

-- 
---
Andrew Netsnipe Lau   http://www.cse.unsw.edu.au/~alau/
 Debian GNU/Linux Maintainer  UNSW Computing Students' Society President
 -
  Nobody expects the Debian Inquisition!
 Our two weapons are fear and surprise...and ruthless efficiency!
---



- End forwarded message -


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] HELP!!!

2004-08-13 Thread Simon Males

When I am at home I connect my laptop to a Benq FP731 LCD (17 Flat
Screen) monitor.  When I press Fn + F8 to view my laptop via my Benq
monitor I get no response from the monitor.
There is no real easy way for a novice user. Turn your lappy off, plug 
in the vga, then turn on the lappy. Lappy should be blank, with output 
on screen.

--
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] Richard Stallman - bed

2004-08-13 Thread Lester Cheung
Sounds great! Please let us know if you guys need any help.

On Fri, 13 Aug 2004 22:02:57 +1000, Benno [EMAIL PROTECTED] wrote:
 On Fri Aug 13, 2004 at 21:53:09 +1000, Lester Cheung wrote:
 What about a talk on a COMPSOC event at UNSW?
 
 /me ex-UNSW student. :)
 
 I have already suggested that to the Compsoc president.
 
 Benno
 


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


[SLUG]

2004-08-13 Thread Shaun Oliver
hi, does anyone know how to get sendmail to do a complete rewrite on an 
address?
I just found out that even though my email address appears as 
[EMAIL PROTECTED],
it's showing up also as [EMAIL PROTECTED]
I'm using slackware 10.0 with sendmail- oh dear I forgot the version.
anyway if there's any sendmail experts that could help me with dilemer 
I'd greatly appreciate it.

-- 
Screw up your courage!  You've screwed up everything else.
Shaun Oliver
http://blindman.homelinux.org/~blindman/
-- 
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] OpenOffice won't let me paginate an HTML document

2004-08-13 Thread Ken Foskey
On Fri, 2004-08-13 at 22:10, Jan Newmarch wrote:
 Hi
 
 I have an HTML document. It needs to be formatted with page margin 
 settings, etc. Using a stylesheet failed (browsers such as konqueror seem 
 to ignore them when printing to Postscript). Using html2ps didn't get it 
 right either. So I opened it in OpenOffice and could set nearly everything 
 happily. Except I can't make it more than one page. Obvious: HTML has no 
 concepts of page. But when I export it as PDF it STILL only has one page. 
 xpdf and acroread can both display it (one page only), but printing it to 
 postscript seems to stuff up many printers and even gs. Even my secretary 
 using M/S can't deal with this PDF.

In Openoffice.org

Go to the 'view' menu

Remove the tick 'online layout'.  It should start paginating it for you.

-- 
Thanks
KenF
OpenOffice.org developer

-- 
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] OT: Horde or PHP sessions

2004-08-13 Thread Phil Scarratt
O Plameras wrote:
First, what version of Horde are you using (Released or CVS) ?
Horde 2.2.5 (Stable version)
IMP 3.2.5 (Stable version)
Second, did you use 'rpm' files or tar files ?
tar
Third, have you installed 'pear' modules ? Use batch command, like #pear 
install module name.
Yes.
Sorry. In my rush (some visitors arrived) I forgot to include those sort 
of details, which I included in the horde post.

Fil

Phil Scarratt wrote:
Hi all
Any Horde users out there?
I'm really beating my head against a wall about this one. I'm trying 
to get Horde running, have it all installed with dependencies and all. 
The test page reports all ok. I get the login screen fine - but that's 
it. I try logging in and it accepts my login info but just dumps me 
back on the login page with both the username and password cleared. 
That's it.

I look at the logs and it reports successful login. I am using imp for 
authentication. If I click on the mail link on the bottom toolbar of 
the login page and then enter the username and password, then it 
actually loads IMP (the webmail) and seems to work OK, as long as I 
don't use the toolbar at the bottom.

I've tried  using sql (mysql) as authentication for horde, and it 
works the first time as long as I don't click anywhere else (ie cannot 
open anything else after loggin on). Every time after that it does the 
same as above (dumps me back on login screen without any error message 
and with username cleared).

I think it has something to do with cookies and sessions (using file 
based sessions in PHP). What seems to happen is that when I first load 
the login page, a session is started on the server. The successful 
login then seems to create/use a different session identifier and 
dumps the data into that, whilst the horde application keeps using the 
original one (which has no auth credentials in it so horde thinks no 
logon yet). What am I missing? It's gotta be something bizzare on the 
session handling under horde.

I've done lots of googling and haven't come up with anything (google 
or the horde mailling lists which I am also joining and seeking help 
from). I'm either searching with the wrong phrases or there's nothing 
out there. I've come across similar problems - same symptoms, but no 
fixes.

Anyone got any clues or links to good info on sessions in php?
Fil


--
Phil Scarratt
Draxsen Technologies
IT Contractor
0403 53 12 71
--
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] OT: Horde or PHP sessions

2004-08-13 Thread O Plameras
OK, let me just confirm a number of items to ensure
we talking on the same 'frequency':
1. when you access HORDE, the web address is:
http://your.domain.au/horde
2. if your docroot is /usr/html, then your installation
has the ff structure:
/usr/html/horde -where you untarred horde-2.2.5
-as horde (renaming 
'horde-2.2.5' as 'horde')
-important because all 
libs refs 'horde'.
/usr/html/horde/imp  -where you untarred imp-3.2.5
-as imp (renaming 
'imp-3.2.5' as 'imp')

3. then in 'cd /usr/html/horde/config' you did,
#for i in `ls *.dist`; do cp $i `basename $i  .dist`; done
4. then in 'cd /usr/html/horde/imp/config' you did,
#for i in `ls *.dist`; do cp $i `basename $i  .dist`; done
5. in 'vi  /usr/html/horde/config/registry.php', uncommented:
$this-registry['auth']['login'] = 'imp';
$this-registry['auth']['logout'] = 'imp';
changed:
'status' = 'inactive'to  'status'='active'
6. in 'vi /usr/html/horde/imp/config/servers.php', modify
to your correct mail server, domain name. I use
standard UW-IMAP not Cyrus-IMAP. So, change
'server' = 'mail.acay.com.au' instead of
'server' = 'imap.example.com'
'maildomain' = 'acay.com.au'
'smtphost' = 'mail.acay.com.au'
'realm' = 'acay.com.au'
instead of default example.com.
So, once *.dist files have been copied to
their operational config names, there are only
two files to change to be able to login and use
EMAIL functionalities. These two files are:
/usr/html/horde/config/registry.php and
/usr/html/horde/imp/config/servers.php.
At this point there is no need to specify backend
as IMP does not use it.
Backend like MySQL is good for Turba,
Kronolith, etc that use lots of data to store.
Have fun.
O Plameras
Phil Scarratt wrote:
O Plameras wrote:
First, what version of Horde are you using (Released or CVS) ?

Horde 2.2.5 (Stable version)
IMP 3.2.5 (Stable version)
Second, did you use 'rpm' files or tar files ?

tar
Third, have you installed 'pear' modules ? Use batch command, like 
#pear install module name.

Yes.
Sorry. In my rush (some visitors arrived) I forgot to include those 
sort of details, which I included in the horde post.

Fil

Phil Scarratt wrote:
Hi all
Any Horde users out there?
I'm really beating my head against a wall about this one. I'm trying 
to get Horde running, have it all installed with dependencies and 
all. The test page reports all ok. I get the login screen fine - but 
that's it. I try logging in and it accepts my login info but just 
dumps me back on the login page with both the username and password 
cleared. That's it.

I look at the logs and it reports successful login. I am using imp 
for authentication. If I click on the mail link on the bottom 
toolbar of the login page and then enter the username and password, 
then it actually loads IMP (the webmail) and seems to work OK, as 
long as I don't use the toolbar at the bottom.

I've tried  using sql (mysql) as authentication for horde, and it 
works the first time as long as I don't click anywhere else (ie 
cannot open anything else after loggin on). Every time after that it 
does the same as above (dumps me back on login screen without any 
error message and with username cleared).

I think it has something to do with cookies and sessions (using file 
based sessions in PHP). What seems to happen is that when I first 
load the login page, a session is started on the server. The 
successful login then seems to create/use a different session 
identifier and dumps the data into that, whilst the horde 
application keeps using the original one (which has no auth 
credentials in it so horde thinks no logon yet). What am I missing? 
It's gotta be something bizzare on the session handling under horde.

I've done lots of googling and haven't come up with anything (google 
or the horde mailling lists which I am also joining and seeking help 
from). I'm either searching with the wrong phrases or there's 
nothing out there. I've come across similar problems - same 
symptoms, but no fixes.

Anyone got any clues or links to good info on sessions in php?
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] Complex Web Form 'stacks'

2004-08-13 Thread Adam W

  I'm all ears, unless I hear otherwise, I'll probably write 
 the 'stack'
  technology.
 
 I don't know that it's a stack problem. I can think of two 
 ways to do
 it:
 
 1. Use the zany xml-rpc stuff in Javascript to do the query. 
 This sounds like a nice idea in theory but I don't know how 
 compatible it would be.
 Anyone played with this?

Do this all the time in my web apps. It works relatively well with a few
little draw backs..

You have to worry about carriage returns and single quotes in the data that
is being returned in the javascript as this will cause parsing errors in
JS..

It's rather quick though and if you write good JS then it should work on all
modern browsers.

You could always use a two/more step method (back to the web server) but I
particularly don't like these :)

Adam.


-- 
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] OT: Horde or PHP sessions

2004-08-13 Thread Phil Scarratt
O Plameras wrote:
OK, let me just confirm a number of items to ensure
we talking on the same 'frequency':
1. when you access HORDE, the web address is:
http://your.domain.au/horde
2. if your docroot is /usr/html, then your installation
has the ff structure:
/usr/html/horde -where you untarred horde-2.2.5
-as horde (renaming 
'horde-2.2.5' as 'horde')
-important because all 
libs refs 'horde'.
/usr/html/horde/imp  -where you untarred imp-3.2.5
-as imp (renaming 
'imp-3.2.5' as 'imp')

3. then in 'cd /usr/html/horde/config' you did,
#for i in `ls *.dist`; do cp $i `basename $i  .dist`; done
4. then in 'cd /usr/html/horde/imp/config' you did,
#for i in `ls *.dist`; do cp $i `basename $i  .dist`; done
5. in 'vi  /usr/html/horde/config/registry.php', uncommented:
$this-registry['auth']['login'] = 'imp';
$this-registry['auth']['logout'] = 'imp';
changed:
'status' = 'inactive'to  'status'='active'
6. in 'vi /usr/html/horde/imp/config/servers.php', modify
to your correct mail server, domain name. I use
standard UW-IMAP not Cyrus-IMAP. So, change
'server' = 'mail.acay.com.au' instead of
'server' = 'imap.example.com'
'maildomain' = 'acay.com.au'
'smtphost' = 'mail.acay.com.au'
'realm' = 'acay.com.au'
instead of default example.com.
So, once *.dist files have been copied to
their operational config names, there are only
two files to change to be able to login and use
EMAIL functionalities. These two files are:
/usr/html/horde/config/registry.php and
/usr/html/horde/imp/config/servers.php.
At this point there is no need to specify backend
as IMP does not use it.
Backend like MySQL is good for Turba,
Kronolith, etc that use lots of data to store.
Have fun.
O Plameras
Correct. Did all that, re-did and then did it again just to be sure. All 
to no avail. However, just to add something else into the mix, what I 
have just tried is downloading the rpm's from the horde ftp site (rh9 I 
think - I am using a derivative of RHEL3 - Centos) to see if they 
worked.which they did. The only difference in the procedure is the 
untarring as opposed to rpm'ing and the different versions (rpm's are 
horde-2.2.3, imp-3.2.1). I haven't tried turba yet (there is no rpm for 
turba so have to tarball it). I suspect the major difference is the 
version as opposed to rpm or tar. Maybe I should try the same version 
from tar instead of rpm? I hate relying on rpm for something like this.

Think I'll look through change-logs to see if anything relevant has 
changed. Maybe it's an incompatability between horde 2.2.5 and PHP 4.3.2?

Any ideas? Your help so far has been much appreciated... :)
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] OT: Horde or PHP sessions

2004-08-13 Thread O Plameras
Horde 2.2.5 works with PHP 4.1.0 and over.
I have PHP 4.3.3.
I have,
#rpm -qa | grep php
php-imap-4.3.3-6  -required
php-4.3.3-6   -required
php-domxml-4.3.3-6 -required
php-xmlrpc-4.3.3.6   -required
php-mysql-4.3.3.6--required if using backend mysql
php-devel-4.3.3.6 --required
php-odbc-4.3.3.6  --required if using backend odbc
php-ldap-4.3.3.6   --required if using backend ldap
#rpm -qa | grep http
httpd-2.0.47-10
httpd-devel-2.0.47-10
I tried just now to download and install
Horde 2.2.5 and IMP-3.2.5.
Got it  working on my machine.
Does your mail server support UW-IMAP ?
If not, I believe you can use POP though I
have not tried.
Perhaps, you have to check your php installation.
I used 'rpms'.
Phil Scarratt wrote:
Correct. Did all that, re-did and then did it again just to be sure. 
All to no avail. However, just to add something else into the mix, 
what I have just tried is downloading the rpm's from the horde ftp 
site (rh9 I think - I am using a derivative of RHEL3 - Centos) to see 
if they worked.which they did. The only difference in the 
procedure is the untarring as opposed to rpm'ing and the different 
versions (rpm's are horde-2.2.3, imp-3.2.1). I haven't tried turba yet 
(there is no rpm for turba so have to tarball it). I suspect the major 
difference is the version as opposed to rpm or tar. Maybe I should try 
the same version from tar instead of rpm? I hate relying on rpm for 
something like this.

Think I'll look through change-logs to see if anything relevant has 
changed. Maybe it's an incompatability between horde 2.2.5 and PHP 4.3.2?

Any ideas? Your help so far has been much appreciated... :)
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] HELP!!!

2004-08-13 Thread Kevin Saenz
For pst files there is a tool that will break the file down into smaller 
mailbox files. it's called pstlib. have a look on freshmeat.

I am currently using Ximian Evolution to manage my e-mail.  Is there
some way that I can import files from Microsoft Outlook (.PST) into
Evolution.  I would greatly appreciate any advice, or help for either of
my problems.
Regards,
Dom L.


 

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


[SLUG] asking about samba PDC for linux

2004-08-13 Thread pesoy misak
Dear all

I have my samba working as a PDC for my windows everything is working very well. now is there any way to configure samba as my Linux for PDC. since this samba is working extremely well for my network. or else is there any suggestion for having one PDC for any machine either microsoft windows, mac or even linux and unix

many thanks in advance
		Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.-- 
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] asking about samba PDC for linux

2004-08-13 Thread O Plameras
pesoy misak wrote:
Dear all
 
I have my samba working as a PDC for my windows everything is working 
very well. now is there any way to configure samba as my Linux for 
PDC. since this samba is working extremely well for my network. or 
else is there any suggestion for having one PDC for any machine either 
microsoft windows, mac or even linux and unix
 
Yes, Linux SAMBA PDC can be a server of MS Win, Mac, Other Linux, and Unix.
With MS Win,  client software comes native.
With Linux and Unix, client software comes with SAMBA.
With Mac you need client software called 'DAVE' from http://www.thursby.com.
If you are constructing SMB networks with more that one subnets, your Linux
SAMBA PDC must support backend DB such as LDAP (or MySQL recently)
as there are requirements to replicate authentication DBs across subnets.
You have to also integrate encryption softwares like openssl, 
cyrus-sasl, and kerberos as
SMB networks do not have stringent indigenous security tools.

--
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] asking about samba PDC for linux

2004-08-13 Thread David Kempe
pesoy misak wrote:
Dear all
 
I have my samba working as a PDC for my windows everything is working 
very well. now is there any way to configure samba as my Linux for PDC. 
since this samba is working extremely well for my network. or else is 
there any suggestion for having one PDC for any machine either microsoft 
windows, mac or even linux and unix
 

not sure i understand fully, but this might help
http://www.idealx.org/prj/samba/smbldap-howto.en.html
dave
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Latex conversion

2004-08-13 Thread Alan L Tyree
Hello all,

I have a rather large latex file (40,000 lines) that will soon need to
go to a publisher who is accustomed to receiving MSWord files.

Latex2rtf chokes on the file (works on other smaller files) with no
very useful information.

I can produce xhtml files using tth + tidy. 

Is there some handy xhtml -- rtf converter?
Or someway to use OpenOffice.org? OO can read the xhtml file w/o
problem, but I don't see how to spit it out in a useful format.

Any help/directions gratefully appreciated. System is Debian Woody.

Thanks,
Alan

-- 
--
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
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] Latex conversion

2004-08-13 Thread Erik de Castro Lopo
On Sat, 14 Aug 2004 11:59:02 +1000
Alan L Tyree [EMAIL PROTECTED] wrote:

 Hello all,
 
 I have a rather large latex file (40,000 lines) that will soon need to
 go to a publisher who is accustomed to receiving MSWord files.

I have my resume in latex and all the recruiter parasites insist
on .doc. My solution was to use latex2html to generate nice clean
HTML, then pass that through a python script to cleanup a few little
things and finaly rename the  HTML file to .doc. That  manages to 
fool most recruiter parasites and msword.

The above might be a solution.

The other thing I was going to suggest is to find another publisher.
I co-authored a Linux book a number of years ago (before OOo) and 
the publisher had decided to use staroffice when working with its
Linux authors.

 Latex2rtf chokes on the file (works on other smaller files) with no
 very useful information.

Yep, I had no usefult results out of that either.

 Is there some handy xhtml -- rtf converter?
 Or someway to use OpenOffice.org? OO can read the xhtml file w/o
 problem, but I don't see how to spit it out in a useful format.

OOo can definitely read the HTML and can then spit out word
files in a number of different versions.

Erik

-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
Ever since GNOME development began, I have urged people to aim
to make it as good as the Macintosh. To try to be like Windows
is to try for second-best. - Richard Stallman
-- 
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] Latex conversion

2004-08-13 Thread Alan L Tyree
On Sat, 14 Aug 2004 13:36:40 +1000
Erik de Castro Lopo [EMAIL PROTECTED] wrote:

 On Sat, 14 Aug 2004 11:59:02 +1000
 Alan L Tyree [EMAIL PROTECTED] wrote:
 
  Hello all,
  
  I have a rather large latex file (40,000 lines) that will soon need
  to go to a publisher who is accustomed to receiving MSWord files.
 
 I have my resume in latex and all the recruiter parasites insist
 on .doc. My solution was to use latex2html to generate nice clean
 HTML, then pass that through a python script to cleanup a few little
 things and finaly rename the  HTML file to .doc. That  manages to 
 fool most recruiter parasites and msword.
 
 The above might be a solution.

Clever - I'll give it a try.

 
 The other thing I was going to suggest is to find another publisher.
 I co-authored a Linux book a number of years ago (before OOo) and 
 the publisher had decided to use staroffice when working with its
 Linux authors.
Not an option, I'm afraid. This is the 5th edition of the work and I
can't begin to imagine the legal consequences of trying to change.
Although I would like to see some faces when someone suggests moving
because of file formats!!

 
  Latex2rtf chokes on the file (works on other smaller files) with no
  very useful information.
 
 Yep, I had no usefult results out of that either.
 
  Is there some handy xhtml -- rtf converter?
  Or someway to use OpenOffice.org? OO can read the xhtml file w/o
  problem, but I don't see how to spit it out in a useful format.
 
 OOo can definitely read the HTML and can then spit out word
 files in a number of different versions.
I get it to read OK, but then the only export option is to PDF. Version
1.1.2.

Thanks Erik,

 
 Erik
 
 -- 
 +---+
   Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
 +---+
 Ever since GNOME development began, I have urged people to aim
 to make it as good as the Macintosh. To try to be like Windows
 is to try for second-best. - Richard Stallman
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


-- 
--
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
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] Latex conversion

2004-08-13 Thread Erik de Castro Lopo
On Sat, 14 Aug 2004 13:41:32 +1000
Alan L Tyree [EMAIL PROTECTED] wrote:

 I get it to read OK, but then the only export option is to PDF. Version
 1.1.2.

   File - Save as

will give you the option os saving as ms-word doc file.

Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
I'm not proud    We really haven't done everything we could
to protect our customers ... Our products just aren't engineered
for security. -- Brian Valentine, Senior Vice President of
Microsoft's Windows development team
-- 
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] Latex conversion

2004-08-13 Thread Alan L Tyree
On Sat, 14 Aug 2004 13:49:04 +1000
Erik de Castro Lopo [EMAIL PROTECTED] wrote:

 On Sat, 14 Aug 2004 13:41:32 +1000
 Alan L Tyree [EMAIL PROTECTED] wrote:
 
  I get it to read OK, but then the only export option is to PDF.
  Version 1.1.2.
 
File - Save as
 
 will give you the option os saving as ms-word doc file.

I thought it would too, but it doesn't: Options are
.html;.htm
.stw
.vor
.txt

I get the option for ms-word when I start with a OOo document, but not
when starting with an HTML (or even with your idea of an HTML document
renamed with a .doc extension).
 
 Erik
 -- 
 +---+
   Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
 +---+
 I'm not proud    We really haven't done everything we could
 to protect our customers ... Our products just aren't engineered
 for security. -- Brian Valentine, Senior Vice President of
 Microsoft's Windows development team
 


-- 
--
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
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] Richard Stallman - bed

2004-08-13 Thread Andrew Cowie
On Fri, 2004-08-13 at 21:53 +1000, Lester Cheung wrote:
 What about a talk on a COMPSOC event at UNSW?
 

I don't think Stallman would speak there unless UNSW changed its name to
GNU/UNSW.

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