RE: [SLUG] Perl Passing variable to text file?

2003-01-09 Thread Hartono, Susanto
Have a look at CPAN's Text::Template. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, 10 January 2003 12:11 PM To: [EMAIL PROTECTED] Subject: [SLUG] Perl Passing variable to text file? Hi All, I am creating a script that will read set fields from a

RE: [SLUG] EX_ files

2002-12-02 Thread Hartono, Susanto
run expand command. -Original Message- From: Alan L Tyree [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 3 December 2002 12:09 PM To: Sydny Linux User Group Subject: [SLUG] EX_ files I am trying to run some MS stuff under wine. There is a file on the cdrom named pubmgr.ex_. I presume that it

[SLUG] OT: CGI Question

2002-11-06 Thread Hartono, Susanto
Hi all, Does anyone know how to forward http requests (not redirect) using CGI? Doing it in Java is pretty straightforward but I am not sure how to do it in Perl. CGI::Base and LWP look promising on the surface but don't seem to do what I want (on further investigation). Thanks in advance. --SH

RE: [SLUG] startups how ?, deamon restarter loops ?

2002-10-10 Thread Hartono, Susanto
-Original Message- From: Voytek Eymont [mailto:[EMAIL PROTECTED]] where does one start looking for Linux stuff If you are after Redhat specific information, then the link below may help. http://www.redhat.com/docs There are heaps of good sites for linux documentation but I have

RE: [SLUG] startups how ?, deamon restarter loops ?

2002-10-09 Thread Hartono, Susanto
Have you tried doing a search in google or even the archives in slug.org.au for really excellent links to linux documentation as a first resort? You should try it as it's good for the mind. Here's a sample link: http://www.google.com/search?hl=enlr=ie=UTF-8oe=UTF-8q=linux+documentati on No,

RE: [SLUG] Optus@home: USB-USB vs PCI Ethernet-USB cable modem installs

2002-09-17 Thread Hartono, Susanto
Tom, In case you don't realise, Optus@Home runs predominantly on Linux servers so if any company is pro-linux, it is them. I don't believe Optus is forcing you to use Windoze as I know a lot of people who have managed to get their cable modems working successfully on their Linux boxes

[SLUG] C/C++ Question

2002-08-27 Thread Hartono, Susanto
Hi all, My apologies if this is not strictly Linux but I thought someone here may be able to assist me with a question. I have googled but have not been able to find a direct and simple alternative to the function 'kbhit()' in ANSI C/C++. I am trying to write a program that continously runs on

RE: [SLUG] automating a telnet session using EXPECT

2002-08-20 Thread Hartono, Susanto
-Original Message- From: Lucas King [mailto:[EMAIL PROTECTED]] To: Sydney Linux Users Group Subject: [SLUG] automating a telnet session using EXPECT expect LOGIN PROMPT sendCOMMAND TO BE EXECUTED the last EXPECT/SEND pair do not execute. That's because the script wasn't able to

RE: [SLUG] Looping Through File Lists

2002-08-12 Thread Hartono, Susanto
Something along this line should suffice.. #!/bin/sh for file in $HOME/*; do echo $file; done 'man for' should take you there. --SH -Original Message- From: Lloyd Bayley [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 13 August 2002 11:21 AM To: [EMAIL PROTECTED] Subject: [SLUG] Looping

RE: [SLUG] Question regarding sysv scripts

2002-06-06 Thread Hartono, Susanto
ssh-keygen should create a set of keys for you. If you don't specify any password when creating these keys, you can use ssh to login to different boxes without a password (by simply copying ~/.ssh/authorised_keys to the destination machine). -Original Message- From: Andy Eager

RE: [SLUG] Convert a PDF to Postscript on the fly

2002-06-03 Thread Hartono, Susanto
I have finally worked out how to append pdfs to specific section of another pdf without using latex. However this is probably not what you want. You may want to look at ps2pdf instead. --SH -Original Message- From: ramon buckland [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 4 June 2002

[SLUG] How to change process ownership

2002-06-03 Thread Hartono, Susanto
Hi guys, Is it possible to change a process ownership in Unix (something like chown)? For some bizarre reason, our Xserver is running under someone else's login name and as such, it's not allowing us to connect to server_name:0. Is there another workaround to this? I really don't want to be

RE: [SLUG] How to append a PDF file into another PDF file

2002-05-21 Thread Hartono, Susanto
I can't seem to find any information on how to do this without learning how to use Panda.. --SH -Original Message- From: Michael Still [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 May 2002 2:26 PM To: Hartono, Susanto Cc: '[EMAIL PROTECTED]' Subject: Re: [SLUG] How to append a PDF file

[SLUG] RE: How to append a PDF file into another PDF file

2002-05-21 Thread Hartono, Susanto
:31 PM To: Hartono, Susanto Cc: '[EMAIL PROTECTED]' Subject: Re: How to append a PDF file into another PDF file At Tue, 21 May 2002 13:36:08 +1000, Susanto Hartono wrote: Is it possible to append the content of one pdf file into another without using the commercial version of Adobe Acrobat? I am

[SLUG] RE: How to append a PDF file into another PDF file

2002-05-21 Thread Hartono, Susanto
I imagine looking up a bookmark is good enough since Appendix A is part of the bookmark.. --SH -Original Message- From: Angus Lees [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 May 2002 5:38 PM At Tue, 21 May 2002 16:54:39 +1000, Susanto Hartono wrote: This sounds great like a great

[SLUG] How to append a PDF file into another PDF file

2002-05-20 Thread Hartono, Susanto
Hi Slug, Is it possible to append the content of one pdf file into another without using the commercial version of Adobe Acrobat? I am trying to insert the content of one pdf file into a particular section of another. For example if A has multiple headings as shown below, how do I insert the

RE: [SLUG] Linux Work place questionnaire

2002-05-09 Thread Hartono, Susanto
If you are talking about the Solaris team from Excite@Home, I think your source may be mistaken. I believe everyone from the Solaris team was graciously let go to say the least. Only one person from the Solaris team was kept temporarily and he sure was far from inept. The other person retained

RE: [SLUG] escape character

2002-04-11 Thread Hartono, Susanto
You have to use double backslash eg. \\t -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] I have a C programme which takes parameters like \t or \b etc.. . I have to pass these params from the shell prompt. However when it give \t as a parameter, only the t

[SLUG] Bourne Shell Quick Question

2002-03-27 Thread Hartono, Susanto
Hi guys, Is there an easy way to untaint arguments in a bourne shell script? I am trying to prevent users from putting illegal characters such as backquotes enclosed in apostrophes. For instance: localhost$ script-name arg1 arg2 `rm -rf /*` How do I simply extract arg2 without executing the

RE: [SLUG] CGI

2002-03-26 Thread Hartono, Susanto
To: Hartono, Susanto Cc: [EMAIL PROTECTED] Subject: RE: [SLUG] CGI I assume that 'allowed-ip-address' is actually the IP address that Im allowing not the actual words you have typed their?? http_access allow manager localhost allowed-ip-address http_access deny manager -- SLUG - Sydney Linux

RE: [SLUG] CGI

2002-03-24 Thread Hartono, Susanto
-Original Message- From: Adam Hewitt [mailto:[EMAIL PROTECTED]] I am assuming your squid.conf file already has these entries in it? http_access allow manager localhost allowed-ip-address http_access deny manager -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More

RE: [SLUG] debian.potato-X

2002-03-20 Thread Hartono, Susanto
You should try running X-windows as non-root user. -Original Message- From: Bill Taylor [mailto:[EMAIL PROTECTED]] Sent: Thursday, 21 March 2002 12:51 AM To: [EMAIL PROTECTED] Subject: Re: [SLUG] debian.potato-X back to this again, sorry. I just don't know enough to figure out what

RE: [SLUG] Optus Dial-Up Internet

2002-03-17 Thread Hartono, Susanto
You have to give them a call and ask them. If you live in a unit, chances are they won't be able to provide cable service to your home. -Original Message- From: Antony Stace [mailto:[EMAIL PROTECTED]] I just looked on the Optus site and the only way to see if a suburb has Optus Cable is

RE: [SLUG] Squid not starting

2002-03-17 Thread Hartono, Susanto
Perhaps you should try doing 'ps -ef | grep squid' instead of top (since top doesn't list all processes on your screen). If squid is not running, try running it manually. Don't run squid in daemon mode ($SQUIDHOME/bin/squid -Nd9) and observe the error messages. See squid's FAQ for more info

RE: [SLUG] Masqdialer

2002-03-17 Thread Hartono, Susanto
Can't you change pppd to setuid-root as root? server# chmod 4711 /usr/sbin/pppd -Original Message- From: Adam Hewitt [mailto:[EMAIL PROTECTED]] Subject: [SLUG] Masqdialer /usr/sbin/pppd: must be root to run /usr/sbin/pppd, since it is not setuid-root what does this mean, and how do

RE: [SLUG] iso images

2002-03-04 Thread Hartono, Susanto
The isos should already have the bootable sectors in them. Do a search on google for details on how to burn iso images on CDs. -Original Message- From: Upendra Singh [mailto:[EMAIL PROTECTED]] I dont know how to burn the iso image on CD so that it is bootable. Please tell me any ideas

[SLUG] Squid SSL

2002-02-26 Thread Hartono, Susanto
Hi guys, Is there another way of getting remote address information in an SSL environment without using X-Forwarded-For header (since this header is unavailable during SSL)? Thanks. SH -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info:

RE: [SLUG] Squid - Proxy Chaining

2002-02-12 Thread Hartono, Susanto
Thanks John, I managed to get the chain working by adding the following lines in squid.conf: never_direct allow subnetA never_direct allow subnetB Lastly I can't seem to get $ENV{X_FORWARDED_FOR} working even though forwarded_for is set to 'on'. Does anyone know if there is something else I

[SLUG] Squid - Proxy Chaining

2002-02-11 Thread Hartono, Susanto
G'day, Just wondering if anyone here has had any experience with daisy-chaining squid proxy servers. In particular I am interested to know if the following scenario is possible: User--ProxyA--ProxyB1--..-ProxyBn--ServerA | ProxyC1--..-ProxyCn--ServerB 1. User specifies

RE: [SLUG] Splitting up large binary files

2002-02-10 Thread Hartono, Susanto
man split -Original Message- From: Simon Wong [mailto:[EMAIL PROTECTED]] Somewhere I thought I had seen a command line app for splitting up large binary files into smaller user definable chunks (and then re-join them later). Can anyone tell me what could be used to do this? -- SLUG

RE: [SLUG] CPU Restriction

2002-01-03 Thread Hartono, Susanto
I originally thought of the SRM option but it seems to be a commercial s/w (ie. not free). Is there an open-source option? --SH -Original Message- From: Scott Howard [mailto:[EMAIL PROTECTED]] Sent: Thursday, 3 January 2002 10:59 PM To: Rachel Polanskis Cc: SH; [EMAIL PROTECTED]

[SLUG] OpenView Query

2001-11-27 Thread Hartono, Susanto
Sluggers, I understand that this may be the wrong place to ask but does anyone know how to remove devices from HP OpenView from the command line? Adding devices to OpenView from the CLI is pretty easy: /opt/OV/bin/loadhosts device-name but deleting them is a different story. A search on

RE: [SLUG] Webmail recommendations

2001-10-25 Thread Hartono, Susanto
I have always liked Netscape's webmail and found it to be quite easy to use. Having said that, my last colleagues absolutely hate this product. So I guess it's really up to the individual. -Original Message- From: Jeff Waugh [mailto:[EMAIL PROTECTED]] Can anyone recommend / vouch for