Re: [SLUG] simple script prob

2003-11-20 Thread umug
Michael Lake [EMAIL PROTECTED] writes:

 echo looking for A3 files to print
 for files in $Source_A3/*.pdf ; do
   lp -d xeroxq $file
   mv $file $Backup_A3
 done

This is a better way of doing it. But I think it's vulnerable to
overflowing the argument list buffer, not sure about file names with
funny characters in them, I think if a file name had a carriage return
in it, it might not work, don't know. 

 lp -d brothers /home/user/workflow/Proofers/A4/*.pdf
 lp -d xeroxq /home/user/workflow/Proofers/A3/*.pdf
 rm /home/user/workflow/Proofers/A4/*.pdf
 rm /home/user/workflow/Proofers/A3/*.pdf


This has a few bugs which might not be obvious to some, it's also
vulnerable to overflowing the argument list buffer plus new files could
appear just after the lp -d line is expanded and run, but before the rm
is expanded and run, so files could be deleted without being printed.
It's no big deal for this application, just a minor inconvenience, it
can be avoided using Michaels example above.

I would also be wary about making the rm conditional to the success of
lp, if lp partially works, spools part of the job and then fails, (I
have no idea if lp could do that) you might end up repeatedly spooling
the same broken pdf.





-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] simple script prob

2003-11-20 Thread mlh
On Thu, 20 Nov 2003 22:23:04 +1100
[EMAIL PROTECTED] wrote:

  lp -d brothers /home/user/workflow/Proofers/A4/*.pdf
  lp -d xeroxq /home/user/workflow/Proofers/A3/*.pdf
  rm /home/user/workflow/Proofers/A4/*.pdf
  rm /home/user/workflow/Proofers/A3/*.pdf
 
 
 This has a few bugs which might not be obvious to some, it's also
 vulnerable to overflowing the argument list buffer plus new files could
 appear just after the lp -d line is expanded and run, but before the rm
 is expanded and run, so files could be deleted without being printed.
 It's no big deal for this application, just a minor inconvenience, it
 can be avoided using Michaels example above.

I'd move files one by one to another directory (say a subdirectory)
then print them from there; and delete them after.

But what ALL this is doing is doing the job that a printer spooler
does.  I think you're better off leaving this sort of thing to a 
real print spooler.


Matt
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] ISA Servers and Linux

2003-11-20 Thread Heracles
I have installed the python program (and it runs fine) but still 
cannot connect to the internet through our ISA Server. I have 
followed the instructions exactly, but still don't seem to 
authenticate.
Has anyone been able to browse the net through an ISA server with 
Mozilla using the aps098 program? If so, how was it done? Changes 
to the server are not possible.

TIA
Stay well and happy
Heracles 
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] ISA Servers and Linux

2003-11-20 Thread Robert Collins
On Thu, 2003-11-20 at 22:41, Heracles wrote:
 I have installed the python program (and it runs fine) but still 
 cannot connect to the internet through our ISA Server. I have 
 followed the instructions exactly, but still don't seem to 
 authenticate.
 Has anyone been able to browse the net through an ISA server with 
 Mozilla using the aps098 program? If so, how was it done? Changes 
 to the server are not possible.

Go to devel.squid-cache.org. There is a link there to a basic-NTLM
translating proxy. ISA is almost certainly configured to require NTLM
authentication.

Rob
-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] ISA Servers and Linux

2003-11-20 Thread Heracles
On Thursday 20 Nov 2003 10:59 pm, Robert Collins wrote:
 On Thu, 2003-11-20 at 22:41, Heracles wrote:
  I have installed the python program (and it runs fine) but
  still cannot connect to the internet through our ISA Server.
  I have followed the instructions exactly, but still don't
  seem to authenticate.
  Has anyone been able to browse the net through an ISA server
  with Mozilla using the aps098 program? If so, how was it
  done? Changes to the server are not possible.

 Go to devel.squid-cache.org. There is a link there to a
 basic-NTLM translating proxy. ISA is almost certainly
 configured to require NTLM authentication.

Yes, I know about the translation proxy. The proxy file is called 
aps098.tar.gz and expands to a series of files that run under 
python. The program runs, but does not seem to authenticate.
Has anyone got it working? Is there an undocumented feature that I 
have missed?

Stay well and happy
Heracles

 


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] ISA Servers and Linux

2003-11-20 Thread umug
Heracles [EMAIL PROTECTED] writes:

 Go to devel.squid-cache.org. There is a link there to a
 basic-NTLM translating proxy. ISA is almost certainly
 configured to require NTLM authentication.

 Yes, I know about the translation proxy. The proxy file is called 
 aps098.tar.gz and expands to a series of files that run under 
 python. The program runs, but does not seem to authenticate.
 Has anyone got it working? Is there an undocumented feature that I 
 have missed?

I use it, it's a life saver. 
here's a bit of my config:

[GENERAL]
LISTEN_PORT:8081
# obviously 8081 needs to be free, 
# otherwise the proxy exits with an error.
PARENT_PROXY:isa.umug.org
PARENT_PROXY_PORT:8080
ALLOW_EXTERNAL_CLIENTS:0
FRIENDLY_IPS: 192.168.1.2 192.168.1.3
URL_LOG:1

[CLIENT_HEADER]
# all on one line
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/msword, 
application/vnd.ms-powerpoint, */*

User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

[NTLM_AUTH]
NT_HOSTNAME:PUMUG
NT_DOMAIN:UMUG
USER:umug
PASSWORD:umug12
LM_PART:1
NT_PART:0
NTLM_FLAGS: 0682
NTLM_TO_BASIC:0

to test with wget

export http_proxy=http://localhost:8081
wget slug.org.au

The only other things I could suggest is changing NT_HOSTNAME to
a working windows box, just in case only certain hostnames are
allowed through, and read the comments in the config file about
LM_PART, NT_PART and NTLM_FLAGS.

I don't use the NTLM_TO_BASIC option, so if that's the part that isn't
working for you, I could test it out for you later, if you like.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Application Server?

2003-11-20 Thread Eddie F
Hi all,

Anyone know of any open source application server projects?
The amount of money that we are going to have to shell out for M$/Citrix 
licensing is rediculous.

Thanks!
Edd.
~~~   [cliche plagiarised quote goes here]   ~~~

_
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/mobilemania/default.asp

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Monthly Meeting Friday 28th November 2003

2003-11-20 Thread Jan Schmidt
Sydney Linux Users' Group Monthly Meeting: November

   When: Friday, November 28th, 6:30pm - 9:30pm
   Where: UTS Broadway, room 2.4.13

   SLUG's monthly meeting, featuring general talks, special interest
   talks and SLUGlets.

   Open to the public and free of charge. The rooms this month are 
   2.4.13 - the level 4 of building 2 at UTS. See the map link above. 
   (Room 2.4.29 for SLUGlets).

   General Talk
   Jaime Honan - Recording Digital TV signals under Linux

   Special Interest Talk
   (split)
   Ken Yap - Recording radio with free software
   Mark Greenaway - Musical things you can do with Linux

   As usual, SLUGlets will be running in another room during the 2nd
   half of the meeting for those who do not wish to attend the 2nd talk.

   6:30pm: Doors Open

   6:45pm: The Usual Suspects
  QA - Introduction to SLUG + What has Linux done for/to me
  lately? + SLUG News  Discussion

   7:15pm: General Talk
  Jaime Honan - Recording Digital TV signals under Linux

   8:00pm: Break
  Refreshments in the foyer, for a small covering charge.

   8:20pm: Split into two groups for:

  + Special Interest: (split) Ken Yap - Recording radio with 
free software, then Mark Greenaway - Musical things you can 
do with Linux
  + SLUGlets: quick talks and discussion of Linux and Free
Software.

   Dinner
  Dinner at Spice Boys (Indian), $20 per head.

Cheers,
Jan.
-- 
Jan Schmidt [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] ISA Servers and Linux

2003-11-20 Thread Robert Collins
On Thu, 2003-11-20 at 23:06, Heracles wrote:

 Yes, I know about the translation proxy. The proxy file is called 
 aps098.tar.gz and expands to a series of files that run under 
 python. The program runs, but does not seem to authenticate.
 Has anyone got it working? Is there an undocumented feature that I 
 have missed?

Ah, I didn't realise that that is what you where using.

Does it have a debug log you can review to see whats happening?

Rob

-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Continuation of PPP woes.

2003-11-20 Thread Grant Parnell
Not sure but it looks to me like something's deliberately killing the 
connection. Have you got it set to 'ondemand' by any chance? this would be 
a bad idea for most people's ADSL since we're not time charged.


Also, generally speaking make the connection profile simple and write a 
keepalive script along the lines of:-

#!/bin/bash
while [ 0 ]; do
# can we reach something that's usually reliable
OK=`ping -c5 -w1 mail.isp.com.au`
if [ x$OK = x ]; then
# no? are we sure?
# try some other thing pretty reliable
OK=`ping -c5 -w5 ns1.isp.com.au`
if [ x$OK = x ]; then
# still can't reach it 
# ensure the connection is killed off
adsl-stop 
sleep 30
# if adsl-stop got stuck, kill pppd to help
killall pppd
sleep 5
# kill with extreme predjudice to be sure
killall -9 pppd
sleep 2
# fire it up
adsl-start 
fi
fi
# wait 5 mins before checking again
# while testing you can kill pid-of-sleep
sleep 300
done
# never gets out of this loop

start the script with:-
/usr/local/sbin/keepalive /dev/null /var/log/keepalive.log 21 
EG in /etc/rc.d/rc.local 

I usually get quite elaborate with my keepalive scripts that automatically 
switch between ADSL  modem dialup backup.

-- 
---GRiP---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
BMX rider, Walker, Raver  rave music lover, Big kid that refuses
to grow up. I'd make a good family pet, take me home today!
Do people actually read these things?


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Samba Problems

2003-11-20 Thread Grant Parnell
I know your problem's solved but I usually test access with smbclient..

smbclient -L servername -U sharename
smbclient //servername/shared -U username


On Wed, 19 Nov 2003, Adam W wrote:

 Hi All,
 
 Having a few issues with a samba share that i cannot work out...
 
 Basically i can access a share called shared on my samba server but
 nobody else can do it on their machines, even though they are part of
 the same group and that group has access to the share - otherwise i
 myself wouldnt be able to access it...
 
 The other users seem to be authenticating, because they can see their
 home directory and write/read to it/from it...
 
 here is the smb.conf:
 
 [global]
 server string = Samba Server %v
 security = user
 map to guest = bad user
**^^^
This line is probably a bad idea. If user mistypes their password it logs 
them in as Guest and they'll whinge they don't have access to stuff.

 workgroup = WG1
 load printers = yes
 log file = /var/log/samba/log.%m
 smb passwd file = /etc/samba/smbpasswd
 dns proxy = no
 printcap name = cups
 encrypt passwords = yes
 wins support = true
 max log size = 50
 printer admin = @adm
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 printing = cups
 unix password sync = yes
 netbios name = woja
 os level = 20
 
 [homes]
comment = Home Directories
browseable = no
writable = yes
 
 [shared]
 writeable = yes
 valid users = @shared
 user = @shared
 path = /mnt/shared
 comment = shared folder
 
 /mnt/shared is owned by the group shared and all have read write
 permissions recursively..
 
 Each time i try to browse the shared share on one of the other
 workstations, this appears in the appropriate log file:
 
 [2003/11/19 14:23:45, 0] smbd/service.c:make_connection(599)
   compaq (192.168.1.102) Can't change directory to /mnt/shared
 (Permission denied)
 [2003/11/19 14:23:45, 0] smbd/service.c:make_connection(599)
   compaq (192.168.1.102) Can't change directory to /mnt/shared
 (Permission denied)
 
 where else can their permission be denied ??? it doesnt make sense...
 
 
 Thanks for any help..
 
 Adam W. 
 
 
 

-- 
---GRiP---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
BMX rider, Walker, Raver  rave music lover, Big kid that refuses
to grow up. I'd make a good family pet, take me home today!
Do people actually read these things?


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Application Server?

2003-11-20 Thread Matthew Palmer
On Fri, Nov 21, 2003 at 03:45:34AM +1100, Eddie F wrote:
 Anyone know of any open source application server projects?
 The amount of money that we are going to have to shell out for M$/Citrix 
 licensing is rediculous.

I don't know if your idea of Application Server is the same as these folks,
but the GNUe project (http://www.gnue.org) are producing an application
server as part of their aim to produce an Enterprise-grade internet
applications platform.

From your comparison to Microsoft and Citrix, though, it looks like you're
after more of a centralised server to run regular applications on.  Well,
any Linux box is capable of doing that, but the problem is that TS or
WinFrame will run Windows apps, while a Linux box is going to have a lot
more trouble (some Windows apps run on Linux courtesy of Wine, but it's very
much on a case-by-case basis).  If you're after something along those lines,
then you're likely to be out of luck.  Encourage your client to switch to
thin clients based on Unix - much, much cheaper.  Hell, they can spend the
licencing fees on software development, which will give them a constantly
improving system, for what they used to spend just staying in one spot!

If they're not tied to any one particular program, chances are there's an
OSS equivalent which will do at least 80% of what they need, and the other
20% can be paid to be developed and given back to the community.  Very good
publicity...

- Matt
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] [ot] Powerware UPSen

2003-11-20 Thread Matthew Moor
Hi All,

Excuse the off topic post,  but has anyone used/had experience with/knows about 
powerware UPSes? We're looking at a 12kva model, and I hadn't heard of them..

Cheers,

Matt Moor

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] dhcpd

2003-11-20 Thread Edwin Humphries
I'm trying to normalise the way dhcpd starts on our server (RH7.2); it was started 
from rc.local with a call to the binary, and I want to see it start (as intended) 
from the init script. 

There was no init script, so I copied it over from another 7.2 system, chowned to 
root and chmoded to 755, added it to chkconfig at run level 3, 4, and 5: everything 
seems good. 

However, service dhcpd start/stop/restart/status achieve absolutely nothing: the 
process continues to run on stop, and does not start on start, and status 
returns nothing.

The script seems very simple (although I'm far from a bash script expert), so I 
don't know what is happening.

Can anyone help?

Edwin Humphries,
Ironstone Technology Pty Ltd
[EMAIL PROTECTED]
www.ironstone.com.au
Phone: 02 4233 2285
Fax: 02 4233 2299
Mobile: 0419 233 051
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] [ot] Powerware UPSen

2003-11-20 Thread Shane Machon
Hey Matthew,

The powerware UPS's are the new name of Sola (Or internationally known
as best power) UPS units.

Im not familiar with the unit your looking at, but I have setup the
basic models (5125 and 5115), and from a OS compatability point of view,
they are very good, the Lanware software supports just about every OS
platform and is network capable, allowing full remote management and
remote shutdown of LAN servers connected to the UPS.

Overall, I havent had any problems with them, for their price they are a
pretty a good product vs Leibert and APC.

Cheers,

Shane.

On Fri, 2003-11-21 at 11:31, Matthew Moor wrote:
 Hi All,
 
 Excuse the off topic post,  but has anyone used/had experience with/knows about 
 powerware UPSes? We're looking at a 12kva model, and I hadn't heard of them..
 
 Cheers,
 
 Matt Moor
-- 
___
Shane Machon
Proprietor
LinSec Consulting
'Specialising in Linux and Internet Security Solutions'

Ph: (02) 9979-1222
Fax:(02) 9979-1499
Mob: 0414 229097
Eml: [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Small psnup prob

2003-11-20 Thread Lyle Chapman
I am trying to force rotate files then pipe them to print through lpr 
but they do not seem to be rotating - below is the command I am using, 
if anyone can help thanks or could suggest another way around it, lots 
of thankyou's.

# psnup -pa4 -1 test1.ps | lp -d brothers

Lyle Chapman

Pre-Press Supervisor
Torch Publishing Co.
47 Allingham Street, Condell Park 2200, NSW, Australia
612 9795 
http://www.torchpublishing.com.au
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Logging to a program with Syslog

2003-11-20 Thread Mike MacCana
According to the syslog man page, I should be able to use a pipe
character to send a log to a program. Adding a line like:

user.notice   |exec wall
WORKDAMNYOU

to /etc/syslog.conf, restarting syslog, then running logger whatever
(which sends messages from the user facility with a priority of notice)
just doesn't seem to work. 

Logging to a file from this facility / priority does though.

Anyone know what I'm doing wrong?

Mike
-- 
__
Mike MacCana  ConsultantRHCX, MCSE, MCP+I
Cybersource: Providing Quality IT Professional Services for 11 Years
Specialists in Unix/Linux, TCP/IP and Web Application Development
Level 4, 10 Queen St, Melbourne.  Ph : 03 9621 2377 Fax: 03 9621 2477

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Logging to a program with Syslog

2003-11-20 Thread Gavin Carr
Hi Mike,

On Fri, Nov 21, 2003 at 03:27:16AM +, Mike MacCana wrote:
 According to the syslog man page, I should be able to use a pipe
 character to send a log to a program. Adding a line like:
 
 user.notice   |exec wall
 WORKDAMNYOU
 
 to /etc/syslog.conf, restarting syslog, then running logger whatever
 (which sends messages from the user facility with a priority of notice)
 just doesn't seem to work. 
 
 Logging to a file from this facility / priority does though.
 
 Anyone know what I'm doing wrong?

Yep, misreading the man page. :-) A pipe can be used to send the output
to a named pipe/fifo, not direct to an executable. You then can have 
a program reading from the fifo and doing whatever you want, of course.

Cheers,
Gavin

-- 
Open Fusion P/L - Open Source Business Solutions [ Linux - Perl - Apache ]
ph:  02 9875 5032fax: 02 9875 4317
web: http://www.openfusion.com.aumob: 0403 171712
- Fashion is a variable, but style is a constant - Programming Perl
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Logging to a program with Syslog

2003-11-20 Thread Mike MacCana
On Fri, 2003-11-21 at 04:59, Gavin Carr wrote:

Thanks for your reply Gavin,

  Anyone know what I'm doing wrong?
 
 Yep, misreading the man page. :-) A pipe can be used to send the output
 to a named pipe/fifo, not direct to an executable. You then can have 
 a program reading from the fifo and doing whatever you want, of course.

Hehe. I did actually read that man page on my system, but I had heard
(or maybe seen) that this could be done directly.

When I went online, I found:
http://www.gsp.com/cgi-bin/man.cgi?section=5topic=syslog.conf

Which mentions 
A vertical bar (|), followed by a command to pipe the selected
messages to. The command is passed to sh(1) for evaluation, so usual
shell metacharacters or input/output redirection can occur.

Is there another version of syslog also called just plain `syslog'?

Mike

-- 
__
Mike MacCana  ConsultantRHCX, MCSE, MCP+I
Cybersource: Providing Quality IT Professional Services for 11 Years
Specialists in Unix/Linux, TCP/IP and Web Application Development
Level 4, 10 Queen St, Melbourne.  Ph : 03 9621 2377 Fax: 03 9621 2477

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Logging to a program with Syslog

2003-11-20 Thread scott
[EMAIL PROTECTED] wrote on 21/11/2003 04:06:49 PM:

 On Fri, 2003-11-21 at 04:59, Gavin Carr wrote:
 
 Thanks for your reply Gavin,
 
   Anyone know what I'm doing wrong?

Looking at the BSD syslog.conf man page, not the Linux one... I think.

Cheers,

Scott

  
  Yep, misreading the man page. :-) A pipe can be used to send the 
output
  to a named pipe/fifo, not direct to an executable. You then can have 
  a program reading from the fifo and doing whatever you want, of 
course.
 
 Hehe. I did actually read that man page on my system, but I had heard
 (or maybe seen) that this could be done directly.
 
 When I went online, I found:
 http://www.gsp.com/cgi-bin/man.cgi?section=5topic=syslog.conf
 
 Which mentions 
 A vertical bar (|), followed by a command to pipe the selected
 messages to. The command is passed to sh(1) for evaluation, so usual
 shell metacharacters or input/output redirection can occur.
 
 Is there another version of syslog also called just plain `syslog'?
 
 Mike
 

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Logging to a program with Syslog

2003-11-20 Thread Gavin Carr
On Fri, Nov 21, 2003 at 05:06:49AM +, Mike MacCana wrote:
 On Fri, 2003-11-21 at 04:59, Gavin Carr wrote:
  Yep, misreading the man page. :-) A pipe can be used to send the output
  to a named pipe/fifo, not direct to an executable. You then can have 
  a program reading from the fifo and doing whatever you want, of course.
 
 Hehe. I did actually read that man page on my system, but I had heard
 (or maybe seen) that this could be done directly.
 
 When I went online, I found:
 http://www.gsp.com/cgi-bin/man.cgi?section=5topic=syslog.conf
 
 Which mentions 
 A vertical bar (|), followed by a command to pipe the selected
 messages to. The command is passed to sh(1) for evaluation, so usual
 shell metacharacters or input/output redirection can occur.
 
 Is there another version of syslog also called just plain `syslog'?

I believe at least some of the BSD syslogds support this - your page above
is from FreeBSD, by the looks. The standard Linux version doesn't appear 
to. Depending on what you're trying to do, you might also try syslog-ng,
which definitely does support it. 

Cheers,
Gavin
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Open Source Document Template Filling Options

2003-11-20 Thread Anthony Wood
We do quite complex document template filling (50 page documents, conditional text 
etc.) already, using perl and latex.

This is quite good, looks very nice etc, but the set up of a new template (especially 
a large one) is quite complex
and requires a knowledge of LaTeX and perl.

Until now it has been reports of our own services which were output in PDF (using 
pdflatex)
which was fine, but now we would like to output in a format which is GUI editable
whilst still holding document structure (e.g. change a heading and the table of 
contents is
updated)

Has anyone used other solutions for something similar?

I was thinking my options were:

XML + XSLT - rtf

OpenOffice scripting - rtf, pdf, doc

OpenOffice for layout - latex - rtf/pdf


latex2rtf doesn't seem to hold document structure well,
even skips the table of contents alltogether

openoffice latex output plugin looked like it was doing things the right way.


any pointers, tips, experiences

cheers
-- 
Woody
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Open Source Document Template Filling Options

2003-11-20 Thread Matthew Palmer
On Fri, Nov 21, 2003 at 04:42:32PM +1100, Anthony Wood wrote:
 Until now it has been reports of our own services which were output in PDF
 (using pdflatex) which was fine, but now we would like to output in a
 format which is GUI editable whilst still holding document structure (e.g.
 change a heading and the table of contents is updated)

 XML + XSLT - rtf

Why not XML + XSLT - LaTeX - pdflatex - PDF?

LaTeX output is, in terms of XSLT, just another output format.  Then
pdflatex can do the right thing with your ToC and the rest.

A program I've been looking at, PHPReports, has the reports being described
by an XML file itself, so it's pretty much XML + XML + XSLT and so on.  If
you need to design reports easily, and don't want to screw with your XSLT
all the time, that could be another tidy option.

- Matt
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug