Re: Mutt displays my message index all wrong

2002-03-18 Thread Tom Cook
using IMAP is significant... Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you." - Robert Waldner

Re: OT: Re: inappropriate racist and other offensive material

2002-03-19 Thread Tom Cook
"Michael P. Soulier" wrote: > > On 19/03/02 Casper Labuschagne did speaketh: > > > May I point at the Linux community (for the greater part at least) is > > racist, bigotted and prejudiced per se. To illustrate my point observe the > > reaction of extreme disgust and prejudice eminating from the

Re: tomcat

2002-03-20 Thread Tom Cook
. It seems quite fast, quite stable and very usable. But no .deb for it :-(. One day, when I have the time... Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you." - Robert Waldner

[FIXED] Mutt displays my message index all wrong

2002-03-21 Thread Tom Cook
Hi all, a week or so ago I was complaining that mutt displayed messages on the wrong line in the message index when accessing an IMAP server. FYI this problem has been fixed by upgrading to woody (and the new mutt, presumably). Thanks to those who offered help, Tom -- Tom Cook Information

Re: fstab mounted windows shares

2002-03-21 Thread Tom Cook
. Or is there? I'm not so sure. The way 'doze does it is to store your samba password hash in the registry. Anyone with that hash can access any of your windows resources... Mmmm, security as it should (not) be... Tom -- Tom Cook Information Technology Services, The Universi

Re: Dual boot default and Compatibility

2002-03-21 Thread Tom Cook
run because you don't have, for instance, the correct libc installed. > in fact is ALL Linux software compatible with the different OS's of Linux? So long as you have the correct libraries installed in the correct versions and places. > Thanks once again for helping me with my qu

Re: Packages providing a daemon/service and configuration

2002-03-21 Thread Tom Cook
ust mangle the symlinks manually. If you don't want something to start on bootup, then to solution is: for i in `find . -type f -name S90telnetd` ; do mv $i `echo $i | sed s/S90telnetd/K90telnetd` ; done There is probably a much easier way of doing it than that, but it works,

Re: ps2epsi

2002-03-24 Thread Tom Cook
at on 'doze. Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you." - Robert Waldner pgpQdU4CqdRW0.pgp Description: PGP signature

Re: simple database?

2002-03-24 Thread Tom Cook
that looks pretty > daunting. Is there a simple database out there that would be good for > this? You could try installing postgres and the pgaccess front-end - it gives you a gui front end ala M$ Access, though not quite that complicated (or competant) last I looked (which was a while ago)

Re: Apache to Apache-SSL

2002-03-24 Thread Tom Cook
y have separate config files and so separate docroots and so on, except that the default docroot for both is /var/www. They will listen on different ports, so there should be no trouble. Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid

Re: Apache to Apache-SSL

2002-03-24 Thread Tom Cook
easources. Apache runs a separate process for each user anyway. Thus the load is proportional to the number of users; I would think one extra listener would be a very insignificant load on a site with any but the lowest load. Tom -- Tom Cook Information Technology Services, The University of

Re: PGP & Mutt?

2002-03-24 Thread Tom Cook
you have installed mutt deb, /etc/Muttrc will be preconfigured to > use pgp. Yup. Easy as. Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you." - Robert Waldner pgpA1qxxHU9CR.pgp Description: PGP signature

Re: simple database?

2002-03-25 Thread Tom Cook
use mySql. Eventually you will want transactions, or some real multi-user capabilities, or real scalability. Also PostgreSQL is a lot closer to Oracle SQL, IIRC. In fact, if you want enormous databases with good query speed, why not use Oracle? It is free for development (on Linux, at least - not su

Re: L 80 80 80 80, etc. on boot

2002-03-25 Thread Tom Cook
parameters, see section "Disk geometry"). > [...] > Disk error codes > [...] > 0x80 "Disk timeout". The disk or the drive isn't ready. Either the > media is bad or the disk isn't spinning. If you're booting from a > floppy, you might not have cl

Re: PGP & Mutt?

2002-03-25 Thread Tom Cook
#x27;t > configured? Thanks for the help! :). You have imported their public keys, haven't you? Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you." - Robert Waldner pgpzuRKKRHiVG.pgp Description: PGP signature

Re: What dumps files like magicCfLHA0 into my $HOME?

2002-03-26 Thread Tom Cook
tify me. Still, > I'll try lsof should list all open files, shouldn't it? Certainly if you run it as root it does. Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you.&q

XF86Config location

2002-04-02 Thread Tom Cook
an someone tell me: (a) Where is the Right Place (TM) to tell X where to find XF86Config (b) If there is some way I can use debconf to repair this. Thanks Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they&#

Re: What does this mean?

2002-04-02 Thread Tom Cook
gured -- resuming normal operations > [Tue Apr 2 07:35:23 2002] [notice] suEXEC mechanism enabled (wrapper: > /usr/lib/apache/suexec) > [Tue Apr 2 07:35:23 2002] [notice] Accept mutex: sysvsem (Default: > sysvsem) It usually means this has happened: # su # /etc/init.d/apache r

Re: Kernel idle interference??

2002-04-03 Thread Tom Cook
assis of your case is not earthed properly, or your motherboard was not made with electromagnetic compatibility in mind. About all I can suggest is moving your SB card to another slot and seeing if that helps. Tom -- Tom Cook Information Technology Services, The University of A

Re: XF86Config location

2002-04-03 Thread Tom Cook
On 0, Hans Ekbrand <[EMAIL PROTECTED]> wrote: > On Tue, Apr 02, 2002 at 04:24:30PM +0930, Tom Cook wrote: > > Hi all, > > > > I have just installed Berlin (from unstable) on a woody box. Now when > > I try to start x (with startx) I get this message: &g

Re: Debian archive spam

2002-04-04 Thread Tom Cook
- -- > > Jaye Inabnit\ARS ke6sls\/A GNU-Debian linux user\/ http://www.qsl.net/ke6sls > If it's stupid, but works, it ain't stupid. I SHOUT JUST FOR FUN. > Free software, in a free world, for a free spirit. Please Support freedom! > > -BEGIN PGP SIGNATURE- > Version: GnuPG

Re: Chart drawing soft ?

2002-04-06 Thread Tom Cook
great with UML and I have used it with networking > diagrams. Make sure you get the one from testing, though... the one in stable is a bit... diagrammatically challenged... Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does no

Re: URGENT: Please help !

2002-04-07 Thread Tom Cook
linux -single' at the lilo prompt and hope that it doesn't start up samba in single user mode (it certainly shouldn't). You can then remove the items in /etc/rc?.d that start samba. This should (hopefully) give you a system that boots, unless there is some underlying thing that is wrong

Re: Ultra 5

2002-04-07 Thread Tom Cook
the first, then that is wrong. You need to completely overwrite the floppy with the image, including the filesystem tables and things. If the second then that is very strange and I don't know what's going on. Tom -- Tom Cook Information Technology Services, The University of Adelaid

Where is xripple?

2002-04-08 Thread Tom Cook
Does anyone know of a deb containing xripple? Maybe I have too much time on my hands... Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you." - Robert Waldner Get my GP

Re: Building a single user Internet terminal / Done!

2002-04-08 Thread Tom Cook
bad. So... while 0 ; do startx_command && shutdown -h now ; done will only shutdown when startx_command exits with error 0, otherwise it'll restart. Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not

Re: Building a single user Internet terminal / Done!

2002-04-08 Thread Tom Cook
; unless you stop lilo from presenting a prompt. But then, if you deny console logins, and don't allow single user mode, and, say, your network card gets borked, or even if telnetd/sshd won't allow root logins, how are you going to admin the machine? Have a boo

Re: Woody: Apache SSL not starting

2002-04-09 Thread Tom Cook
he-ss 30812 root 16u IPv4 220292 TCP *:https (LISTEN) which tells me that I have apache-ssl listening on this port, but I suspect that it would tell you that you have something else listening... maybe apache was already configured to listen there? Tom -- Tom Cook Information Technol

Re: Woody: Apache SSL not starting

2002-04-10 Thread Tom Cook
On 0, Holger Rauch <[EMAIL PROTECTED]> wrote: > Hi Tom! > > On Wed, 10 Apr 2002, Tom Cook wrote: > > > [...] > > You seem to have made a couple of silly mistakes here. > > Yes, indeed... I admit it ;-) Thanks for pointing this out. > > > [...]

Re: The latest round of antivirus bouncebacks

2002-04-10 Thread Tom Cook
ind AV filters and Exchange servers are put on notice. > > While we are at it, why don't we drop people that use / send attachments. > That should fix the rest of the problems. I would refrain from going that far, simply because I suspect that my pgp signature is sent as a MIME attac

Re: apache-ssl on Sparc 2 4/75

2002-04-10 Thread Tom Cook
istening on port 443? lsof -i | grep https will tell you. * Can you connect to port 443 with, say, telnet? Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you." - Robert Wal

Re: apache-ssl on Sparc 2 4/75

2002-04-11 Thread Tom Cook
y port you want (8443 is popular, for instance). > Oberon does not yet support https so my solution will > be to toss apache-ssl and install apache. The apache and apache-ssl packages will run quite happily side by side, but whether you want this or not depends on what you are trying to a

Re: The Direction of Debian

2002-04-14 Thread Tom Cook
on available in the sources defined in /etc/apt/sources.list then why don't you think that 'apt-get install x' will upgrade package x and all its dependencies? I regularly upgrade packages like this, even mixing some sid stuff with a woddy box. What is the problem? Tom -- Tom Coo

Re: splitting an audio file

2002-04-15 Thread Tom Cook
u? I guess if the data is split at a 1k boundary then that's fairly safe, but it seems to be playing fast and dangerous to me... Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get y

Re: splitting an audio file

2002-04-15 Thread Tom Cook
ver you want to call it) and stick it on an audio CD. If your audio CD holds ~72 minutes of audio then you will need three CDs to hold it. If you *don't* care about playing it on audio CD players (and my impression was that the original poster does) then your method is correct. Tom -- T

Re: OT: Linux on Walmart's systemless computers

2002-04-15 Thread Tom Cook
If Wal-Mart raise their prices too high, then someone else will do it cheaper and they will lose the market share. If they discontinue the line then the US market has lost what is, apparently, its only option for a box without an OS. Tom -- Tom Cook Information Technology Services, Th

Re: SSH Server

2002-04-15 Thread Tom Cook
hing doesn't work because uninstall doesn't get rid of configurations. You needed to purge the packages. This is acheived with '_' in dselect or 'apt-get --purge remove ssh'. HTH Tom -- Tom Cook Information Technology Services, The University of Adelaide "That

Re: [headed OT] Re: scripting

2002-04-15 Thread Tom Cook
buys kippers it will not rain, or even that I do not love her any more. This she calls using her intuition. I call it crap, and it gets me very irritated, because it is not logical. [snip largely irrelevant and not entirely clean bit] In conclusion, sex is better than logic. I can not prove

Firefox DNS lookups

2006-01-22 Thread Tom Cook
All,I'm running firefox 1.5.dfsg-4 on an unstable install.  Whenever firefox is running it sends almost constant DNS requests (3 or 4 requests per seconds).  This traffic stays constant for hours at a time. Anyone know what causes this, or how I can stop it?Tom

Re: xconsole won't allow input!?!

2002-04-18 Thread Tom Cook
rivileges to do so on your system. What are you trying to use xconsole for? Why do you need it? If you want a terminal then you are looking for xterm, or rxvt, or gnome-terminal, or konsole, or eterm, or rxvt-xterm, or wterm, or any of a host of others. HTH Tom -- Tom Cook Information Technology

Re: conio.h

2002-04-18 Thread Tom Cook
other > way I could use the functions that are in conio.h? > Thank you in advance. I don't recall exactly what conio.h has in it, but if it is 'console io', which is what it sounds like, then curses or ncurses is probably worth a look. Tom -- Tom Cook Information Technology

Re: Allow root to telnet

2002-04-18 Thread Tom Cook
llow both 23 and to accept telnet? Assuming that your telnetd is run from inetd, add a line like this in /etc/inetd.conf: stream tcp nowait telnetd.telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd HTH Tom -- Tom Cook Information Technology Services, The University of Adelaide &

Re: netscape bus error

2002-04-21 Thread Tom Cook
with kde as the desktop environment, bit > different to potato with gnome as our desktop which is what he started with. Different netscape versions throughout the ages have done that fairly reliably. Netscape 4.79 currently works well for me on a woody system, but who knows how the innards of

Re: Weblogic server shutdown

2002-04-21 Thread Tom Cook
here with weblogic experience, but you might be lucky. The last time I played with it there was some admin command that you could give a shutdown command to, but that was several years ago and I imagine weblogic has developed somewhat since then. Tom -- Tom Cook Information Technology Services,

Re: Printing to Windows

2002-04-21 Thread Tom Cook
x talk to > Windows and get shared components. After that is configured you can use any > standard Linux print controller -> lpr, lprng, cups, whatever. M, cups is good. Even prints to my netware printers. Tom -- Tom Cook Information Technology Services, The University of Adelaide

Re: Shape shifting reptilians are about to achieve complete control over this planet

2002-04-21 Thread Tom Cook
lation, but I doubt very much that it is a dinosaur. There are enough other references to the beast in that book to warrant a more symbolic interpretation of 'beast', I think. But this *wa* off topic. Tom -- Tom Cook Information Technology Services, The University of

CUPS prints blank pages at the end of jobs

2002-04-21 Thread Tom Cook
nter handy that I can compare with. The netware printer I am using is an HP LaserJet 4000 TN, and I am using the HP LaserJet 4000, Foomatic + Postscript driver. The problem also occurs if I use the 4050 Foomatic + Postscript driver. Does anyone know why this happens? Tom -- Tom Cook Information

Re: gpg keyservers

2002-04-25 Thread Tom Cook
will take note and start signing their messages. *Anybody* can generate a public key... Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you." - Robert Waldner Get my GP

Re: cups - printing to another machine

2002-04-26 Thread Tom Cook
set up the permissions on machine2? Have you allowed machine1 to connect, or do you have this sort of access control section: order deny,allow deny from all allow from localhost ? Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does

Re: Also from Algorithm genius

2002-04-26 Thread Tom Cook
ecify them. Correct. You should not get 'unknown identifier: log', though, you should get 'undefined reference to 'log''. This works for me: --- begin thing.c --- #include int main( int argc, char** argv ) { int x = log( 2 ); } --- end thing.c --- gcc thing.c -o

Re: Rock solid no GUI pim?

2002-04-29 Thread Tom Cook
On 0, Ralf Arens <[EMAIL PROTECTED]> wrote: [snip] > Sorry, no emacs here. ;-) > > But if you usually use emacs, you could switch to it entirely -- use VM > or Gnus as mail clients. I heard tell of a mutt major mode for emacs. Is that true? Tom -- Tom Cook Information T

Re: dynamically generated files

2002-04-29 Thread Tom Cook
oes this happen? # while true ; do echo `date` >> /tmp/datefifo ; done & # tail -f /tmp/datefifo Mon Apr 29 17:27:23 CST 2002 Mon Apr 29 17:27:26 CST 2002 Mon Apr 29 17:27:26 CST 2002 Mon Apr 29 17:27:26 CST 2002 Mon Apr 29 17:27:26 CST 2002 and that is all I get? And why does t

Re: Tool to find out info about machine ?

2002-04-29 Thread Tom Cook
regarded as a good sign that you are attempting to compromise system security, isn't it? I know of a couple of ISPs that will disconnect you instantly if they see portmap packets on their router... Tom -- Tom Cook Information Technology Services, The University of Adelaide "That yo

Re: Tool to find out info about machine ?

2002-04-30 Thread Tom Cook
d all this out anyway? Planning a bombing attack on someone who's annoyed you? Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you." - Robert Waldner Get my GPG public key: http

Re: aide debian

2002-04-30 Thread Tom Cook
le/installmanual > > And don't send html!!! Oh, I thought it was French, but you may be right. ;-) Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you." - Robert Wa

Re: stupid script tricks - slightly OT

2002-04-30 Thread Tom Cook
is: find / \( -name \*.gif -o -name \*.jpeg -o -name \*.jpg -o -name \*.tif -o -name \*.tiff \) -a -type f -exec ln -s {} . \; Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you."

Re: ncurses

2002-04-30 Thread Tom Cook
On 0, "Ted Goodridge, Jr" <[EMAIL PROTECTED]> wrote: > Which ncurses package for debian has the development headers and libs? > I installed bin, base, and term, which one am I missing? libncurses5-dev looks good to me. Tom -- Tom Cook Information Technology Services, The

Re: imap - ssl

2002-04-30 Thread Tom Cook
n someone will trust it, but at least you can encrypt your mail sessions... Don't ask me how, 'cause I don't know, except for that there is a tool that comes with java that will generate certificates. Will gnupg do this sort of thing? Tom -- Tom Cook Information Technology Serv

Re: NT hammering my samba netbios?

2002-05-01 Thread Tom Cook
need any further > information about the Linux or NT configurations. I think this is caused by your linux box's samba service winning the election for domain master. If you don't want this to happen you need these in /etc/samba/smb.conf: os level = 0 domain master = no

Re: Postgres forms/reports tools?

2002-05-01 Thread Tom Cook
& reports> I'm thinking > of something like Oracles forms fro the input/edit side of things. pgaccess is good. Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get yo

Re: Compunding the problem

2002-05-01 Thread Tom Cook
ll kernal-image-2.4.18 or whatever the package is. Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you." - Robert Waldner Get my GPG public key: https://pinky.its.adelaide.edu

Re: My ultimate linux box

2002-05-06 Thread Tom Cook
maybe the flashy monitor - games don't go on a server. If you want a flashy games box, ditch the SCSI, the RAID, the water cooling, the backup, one of the processors, two thirds of the RAM and about half the rated power of your power supply. Either way you should be able to get a life

Re: reconfigure resolv.conf

2002-05-07 Thread Tom Cook
stable). dpkg-reconfigure bind9-host or whatever the package is. Tom -- Tom Cook Information Technology Services, The University of Adelaide "A child of five could understand this. Fetch me a child of five." - Groucho Marx Get my GPG public key: https://pinky.it

Re: safe load average

2002-05-08 Thread Tom Cook
ay sleeker than javac (faster, lighter weight, better error > > messages). > > I took a look at jikes, it seems interesting. I think I'll try it. I > hope it reacts properly to the source, unlike IBM VisualAge, which > consistently messed up on a certain subclass to Window that

Re: reconfigure resolv.conf

2002-05-08 Thread Tom Cook
On 0, [EMAIL PROTECTED] wrote: > > From: Tom Cook [mailto:[EMAIL PROTECTED] > > > > > I changed the IP-address. of my DNS-server. > > > Now, when I upgrade packages on my client, resolv.conf is > > > changed to the DNS-servers old address. > > &

Re: starting a Debian based company..

2002-05-08 Thread Tom Cook
ther) use. If you're interested in licensing terms (and you should be, if you are going to set up a networking solutions company) read the license and some related info. Start at: http://www.debian.org/intro/free/ Tom -- Tom Cook Information Technology Services, The University of Adelaide

Re: Red Hat user shopping around

2002-05-09 Thread Tom Cook
usly painful manner? > > Have you ever tried to read RH init scripts? Have you ever tried to > find an init script? It's actually not very dissimillar to debian... /etc/rc/init.d instead of /etc/init.d... I think it makes more sense to put all the init stuff in a subdirecto

Re: X troubles

2002-05-09 Thread Tom Cook
ed. Hi, we are new to telepathy and having troubles finding out what's wrong with your X setup. And more details will be greatly appreciated. Some suggestions: * Where you are up to in an install. * What you have tried doing to configure X. * What happens when you try to run X. Tom -- Tom

Re: xfree redux

2002-05-12 Thread Tom Cook
apt-get --reinstall install xserver-common and all the other X packages. Tom -- Tom Cook Information Technology Services, The University of Adelaide Never argue with an idiot. They drag you down to their level, then beat you with experience. Get my GPG public key: https://pinky.its.adel

Re: OT: java.log of failed java program, any ideas

2002-05-13 Thread Tom Cook
e had various versions, both from Sun and Blackdown (and I think ibm at one stage) segfault at more-or-less random places - something to do with the threading model I believe. Sun's JDK 1.3.1_02 is currently doing the Right Thing for me. HTH Tom -- Tom Cook Information Technology Services

Re: good choice of network card?

2002-05-13 Thread Tom Cook
e a plus)? My 3com 3c905C-TX works great, but cost AU$190. I have also had some interesting experiences with a card which claimed to be an Intel EtherExpress 10/100 card, but which actually seems to be an on-board clone. Tom -- Tom Cook Information Technology Services, The University of Ad

Re: good choice of network card?

2002-05-13 Thread Tom Cook
On 0, Alex Hunsley <[EMAIL PROTECTED]> wrote: > Tom Cook wrote: > > > > On 0, Alex Hunsley <[EMAIL PROTECTED]> wrote: > > > I'm going to buy a new network card for my machine (running Debian potato > > > 2.2r6). > > > > > > A

Re: You knew this question was coming :-)

2002-05-13 Thread Tom Cook
s spectographich software? Do you mean "spectragraphic"? > Sounds like the "graphic" 1/2 of a graphic equalizer applet. Or are you trying to do signal-processing type stuff? If you are, then GNU Octave has some good stuff, or (if you feel rich) Matlab runs on Linux... Tom -

Re: potato or woody or testing or arrgghghg

2002-05-13 Thread Tom Cook
e and then woody will become the stable distribution. Sid is the unstable distribution, and always is. When woody is released as stable, then all the packages in sid are migrated into the new testing distribution, which will have a new and different name. HTH (and is accurate) Tom --

Re: installed kernel source but still no modversions.h!

2002-05-14 Thread Tom Cook
epend on your kernel version, I'm not sure though. If you make compile_UP look like this: gcc -c 3c90x.c -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer \ -I/usr/src/linux/include \ -I/lib/modules/$(uname -r)/build/include \ -fno-strength-reduce -pipe -m486 -malign-loops=2 \ -malign-jumps=2

Re: Shell script anomaly

2002-05-14 Thread Tom Cook
ing? Of course you don't, do you? Cull the -q and check. Regards, Tom -- Tom Cook Information Technology Services, The University of Adelaide "Other people's priorities are endlessly odd." - Kingsley Amis Get my GPG public key: https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au pgpV5aQBrXQfZ.pgp Description: PGP signature

Re: making dos partitions: help

2002-05-15 Thread Tom Cook
the partition. Use a DOS boot disk to do the rest. The not-favourite way goes like this: do everything you've been doing, up to using mkdosfs to create the fs, then use dd to copy an MBR (and sector 0 boot sector?) to the partition. Should do the trick... Tom -- Tom Cook Information Technolo

Re: Shell script anomaly

2002-05-15 Thread Tom Cook
bash what does it say? Are they the same executable as reported by: grep $USER /etc/passwd or whatever passwd you use? Tom -- Tom Cook Information Technology Services, The University of Adelaide Never be irreplacable: If you are irreplacable then you are unpromotable. Get my GPG public key: http

Re: Setting effective UID for a shell script

2002-05-15 Thread Tom Cook
- it goes something like this: #include int main( int argc, char** argv ) { execve( argv[0], argv[1] ); return 0; } chown root setuidscriptwrapper chmod u+sx setuidscriptwrapper or something of that order. Control *very* closely who has permission to run this script. Tom --

Re: Setting effective UID for a shell script

2002-05-15 Thread Tom Cook
Hmmm wasn't thinking very hard when I wrote that mail... On 0, "Eric G. Miller" wrote: > On Wed, May 15, 2002 at 04:31:09PM +0930, Tom Cook wrote: > > On 0, Alberto Cabello Sanchez <[EMAIL PROTECTED]> wrote: > > > As far as I know, you can't. I thin

Re: Setting effective UID for a shell script

2002-05-15 Thread Tom Cook
On 0, "Eric G. Miller" wrote: > On Wed, May 15, 2002 at 05:17:41PM +0930, Tom Cook wrote: > > > However, you are not entirely correct. This does, in fact, compile, > > with the exception of the type of execve for execv. It also, funnily > > enough, doesn

Re: word format

2002-05-15 Thread Tom Cook
ould not read one. > A variation on a standard aphorism: >Small, Fast, Featureful. Pick any 2. True, all too true. Although in the cases of certain pieces of software it seems to be just forget all of them. Tom -- Tom Cook Information Technology Services, The University of Adelaide "

[OT] Re: Setting effective UID for a shell script

2002-05-15 Thread Tom Cook
zeof( argv[1] ) ); since I want argv[2] as the first element of the array which I am passing as second argument. Tom -- Tom Cook Information Technology Services, The University of Adelaide Classifications of inanimate objects: Those that don't work, those that break dow

Re: Setting effective UID for a shell script

2002-05-15 Thread Tom Cook
that's why I used sizeof( char* ), so that it was independant of the system word size. argv + sizeof( argv[1] ) != argv[4], since the compiler is bright enough to figure out that argv[1] is not a combination of bytes from the first and second elements of the array. Tom -- Tom Cook Information Tec

Re: C's pointer arithmetic (Was Re: Setting effective UID for a shell script)

2002-05-16 Thread Tom Cook
t argv + 4 was equivalent to ((int)argv) + 4, not argv + (char*)4. But I think that I learnt that A long long time ago, on a compiler far far away... Tom -- Tom Cook Information Technology Services, The University of Adelaide "My advice to you is to get married: If you find a good wife, y

Re: word format

2002-05-16 Thread Tom Cook
nda work and tend to really mess up the formatting of some stuff) > > > > The solution is to use an Open and Free format such as "plain text". > > HTML (and its cousin XML) is also open and free. But most folks in this list > hate it like hell. Not true, they jus

Re: Line wrapping with mutt/emacs (was Re: Problems: mutt to Outlook (Express))

2002-05-16 Thread Tom Cook
ntly not. Since you seem to be using emacs, this is what Worked For Me (TM): apt-get install post-el editor="emacs -nw -f post-mode" -nw means no X even if its available, and -f post-mode means execute the function post-mode when starting up, which mode automagically includes aut

Re: Using program output for a MOTD file

2002-05-17 Thread Tom Cook
t of logout messages appropriate for your site. Tom -- Tom Cook Information Technology Services, The University of Adelaide "Beware of computer programmers that carry screwdrivers." - Leonard Brandwein Get my GPG public key: https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adela

latex->xpdf

2002-05-20 Thread Tom Cook
in xpdf. It just comes out as a series of lines of dots on the page. The commands I am using are: # latex source.tex # dvips source.dvi # gs -sOutputFile=source.pdf -sDEVICE=pdfwrite source.ps or # dvipdf source.dvi source.pdf Any ideas on why xpdf is barfing? Tom -- Tom Cook Informat

Re: latex->xpdf

2002-05-20 Thread Tom Cook
then the eps figures don't display in either acroread or xpdf; there is the correct space reserved for them, but it is just blank. If I use latex->dvips->ps2pdf then acroread displays them correctly but not xpdf. Does anyone have any ideas on that one? Tom On 0, Tom Cook <[EMAIL

Re: Color black not defined

2002-05-20 Thread Tom Cook
r information should I > give ..I use Gnome Sawfish window manager and use > Woody , Xfree86 server, > I have most of the font packages > xfonts-base, 75,100dpi,xfongs-scalable.. Is black defined in /etc/X11/rgb.txt? Tom -- Tom Cook Information Technology Services, The University of A

Re: Emacs and shell variables

2002-05-21 Thread Tom Cook
e exported there). > But Emacs only knows about them if I start Emacs from a bash. If I > however use a function key I have defined with fvwm, then Emacs doesn't > start with the shell as parent and therefore hasn't the variables set. > And I'd like Emacs to have those variables

Re: Serious "Bug" in most major Linux distros.

2002-05-21 Thread Tom Cook
> statically-linked binary, myself. After all, how many root shells do > you expect to have running at one time? One for every cron or at job... at least. Tom -- Tom Cook Information Technology Services, The University of Adelaide "Beware of computer programmers that carry screwdriv

Re: OT: debian-beer (was Re: wrapping [was: Re: disable paragraph flows in mozilla?])

2002-05-22 Thread Tom Cook
esn't have bits floating in it, it's just cold, clean, smooth and refreshing. Next, the Germans are very capable beer makers. After that the whole world really goes to hell, with the French-speakers only not coming last because the Americans do. As a certain comedy team pointed out, it&

Re: OT: debian-beer (was Re: wrapping [was: Re: disable paragraph flows in mozilla?])

2002-05-22 Thread Tom Cook
rink Australian beer from a can, it's just not worth it. In fact don't drink *any* beer from a can (except possibly Caffrey's Ale). > You're right about American beers, especially the three largest > brewers. Are we the only ones that produce a light beer? No, I hear Fosters

Re: OT: debian-beer (was Re: wrapping [was: Re: disable paragraph flows in mozilla?])

2002-05-23 Thread Tom Cook
Ah, well, now you get down to the point of it all... On 0, Gary Turner <[EMAIL PROTECTED]> wrote: > On Thu, 23 May 2002 08:56:05 +0930, Tom Cook wrote: [snip] > >be impartial here, we Australians do a damn good beer. It's not > > OK. I won't judge by Foster

Re: OT: debian-beer (was Re: wrapping [was: Re: disable paragraph flows in mozilla?])

2002-05-23 Thread Tom Cook
: > > Title: "How to speak Australian" > > Pictures of surfers. Underwater shot of a shark. > Voiceover: "Guppy" > > Picture of a can of Foster's. > Voiceover: "Beer" > > Cut to the Foster's logo. > Voiceover: "Fos

Re: General Java question

2002-05-26 Thread Tom Cook
> > 4) Some other cause? Sorry, Kent, my psychic function is a bit on the blink at the moment. Which browser are you using? Which Java do you have installed? Kaffe? Blackdown? Sun? 1.2? 1.3? 1.1.x? 1.3.1? What features are the websites trying to use (Swing? AWT?) Wich version

Re: What's the meaning of "echo $@"?

2002-05-26 Thread Tom Cook
t has 'echo $@' in it, then it is functionally equivalent to 'echo' (except doesn't have the command line options, obviously). Note that if you 'shift' the arguments then that cuts the front one off what $@ reports. Tom -- Tom Cook Information Technology Services, The Unive

Re: About Shell proggramming.

2002-05-27 Thread Tom Cook
y file:/instmnt dists/woody/Release > > > what's the meaning of the above program,especial of "echo "${m}_$4"|sed > 's/\//_/g"? sed 's/\//_/g' means replace all occurences of '/' with '_'. So in the invocation above the r

<    1   2   3   4   >