how to reject all connections? [was: Re: IP's]
On Tuesday, February 18, 2003 13:44, John F. wrote: > I would like to tell my firewall to deny all connections from any IP > address. What would I put as the IP to be blocked? Would it not be easier to set the default target to DENY or REJECT? If you needed to specify the network address of all hosts, it would take the form 0.0.0.0/0.0.0.0, which I believe can be written as 0.0.0.0/0 for short (please confirm this before using it). Hope this helps -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: emacs color problem
On Wednesday, February 19, 2003 11:09, Tom Montroy wrote: > I been having a bit of a problem with changing the text colors > in emacs. I've tried using .Xdefaults and .Xresources files. Have you ensured that your settings in .Xresources are in fact being loaded? I think the command to try is: $ xrdb ~/.Xresources Then reload Emacs. Hope this helps -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: emacs color problem
On Wednesday, February 19, 2003 11:09, Tom Montroy wrote: > My emacs customization looks like this > > emacs*Background: DarkSlateGray > emacs*Foreground: Wheat > emacs*pointerColor: Orchid > emacs*cursorColor: Orchid > emacs*bitmapIcon: on > emacs*font: fixed > emacs.geometry: 80x25 > > I've tried various colors for the emacs*Foreground variable > (which according to the man page should change the color of hte > text). The results is always that the text itself is black and > surrounded with a white background (not the whole background, just > where the text is or where the cursor has moved). What color is the area where there is no text? Is it gray (DarkSlateGray)? Is it possible that you're just setting the wrong resource? -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: emacs color problem
On Wednesday, February 19, 2003 11:09, Tom Montroy wrote: > I been having a bit of a problem with changing the text colors > in emacs. I've tried using .Xdefaults and .Xresources files. > > My emacs customization looks like this > > emacs*Background: DarkSlateGray > emacs*Foreground: Wheat > emacs*pointerColor: Orchid > emacs*cursorColor: Orchid > emacs*bitmapIcon: on > emacs*font: fixed > emacs.geometry: 80x25 Sorry for all my hasty replies. I can confirm that this setting has the desired effect on Emacs 21.2.1 on Red Hat Linux 8.0.92 i386. I have tried changing the values of emacs*font and font-lock-mode, but the colors still appear the way you want them to on my system. Are there possibly any other resources or Emacs preferences you are changing that could cause the font colors to not be as you want? -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: emacs color problem
On Wednesday, February 19, 2003 12:07, Tom Montroy wrote: > I don't think this is an .Xresource problem, but maybe some default > thing is weird. I have 2 computers which have this same issue. Perhaps you could post your Emacs configuration file (~/.emacs). -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Emacs and shell display
On Wednesday, February 19, 2003 12:30, [EMAIL PROTECTED] wrote: > When I run a shell in emacs shell > > I get this garbled output... > > [mbfurry@EULER:~$ lss If this only occurred for ls, I'd suggest telling us what "lss" is an alias for, however control characters (as shown by the box character) are even appearing in your prompt. The control characters look like they're trying to color the prompt and file names. This sort of colorization only works in some extended terminals such as xterm-color and rxvt. Highly likely: Perhaps your prompt or shell is configured incorrectly to use color. Have a look at the values of $PS1 and $PROMPT_COMMAND. Somewhat likely: Perhaps your terminal type is set incorrectly. Have a look at the value of $TERM. Less likely: Perhaps your locale or language settings are causing problems. Have a look at the value of $LOCALE and $LANG. Also: If you are using "ls --color", you should use "ls --color=auto" rather than "ls --color=always". Hope this helps -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: File systems -- reiser vs. ext3
On Wednesday, February 19, 2003 13:23, Daniel B. wrote: > Paul Johnson wrote: > > ... > > My pick of ext3 was the fact that all the tools that work with ext2 > > work just as readily with ext3. I was also able to convert within > > a few minutes from ext2 on the command line. > > What do you use to convert? This has got to be a FAQ somewhere. I think the command is: # tune2fs -j example: # tune2fs -j /dev/hda1 -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Group ID
On Thursday, February 20, 2003 01:05, Russell Shaw wrote: > When a program access a config file, does it use the group ID of the > programs own binary, or can it be set differently from within the > program? If the SGID bit is not set on the executable (normal), the program inherits the permissions of the user who invoked the executable, and so the permissions of the user's primary group. If the SGID bit is set on the executable (abnormal), the program inherits the permissions of the group that owns the executable file. A process can access a file using a different group by first calling setgid() or setegid() if it has the necessary permissions. Inside a program, you can test what permissions you have by using calls such as access() and stat(). If you are unable to edit and recompile the program, you could try watching what calls it makes with strace. Hope this helps -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Group ID
On Thursday, February 20, 2003 03:04, Russell Shaw wrote: > If i had to regenerate a config file that a program uses, is it > possible to detect what GID the program uses if it is set from within > the program? I think the easiest way(s) would be: 1. read the documentation 2. look at that config file on another machine that does have that file If the process runs for a little while, you could also run "top" or "ls" and see what user it's running as. (Hardly perfect, but it might be enough information to get it working.) -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Where to find Debian 2.2/2.4?
On Wednesday, February 19, 2003 18:13, Dieter Schoppitsch wrote: > I wonder where to find Debian 2.2 and 2.4. > On archive.debian.org I only found Debian up to 2.1. The past few Debian releases have been: 2.1 - slink 2.2 - potato 3.0 - woody thus there was no Debian 2.4. See the Brief History of Debian [1] for more information. Debian 2.2 and greater can be obtained from the main section of your nearest Debian mirror. LINKS [1] <http://www.debian.org/doc/manuals/project-history/ch-releases.html> -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Group ID
On Thursday, February 20, 2003 08:14, Russell Shaw wrote: > Colin Watson wrote: > >On Thu, Feb 20, 2003 at 03:04:25AM +1100, Russell Shaw wrote: > >>If i had to regenerate a config file that a program uses, is it > >> possible to detect what GID the program uses if it is set from > >> within the program? > > > >Any particular reason it can't just be root:root -rw-r--r-- (if it's > > in /etc) or owned by you (if it's in your home directory)? That's > > what most configuration files are. > > I set them all to my own user:group, but mozilla seems to have > some 'stuck' settings. I found a useful command is: > ps -eo pid,user,euser,fuser,group,egroup,fgroup,cmd Ah! So you're trying to set the correct permissions on the Mozilla configuration files! The first thing to learn is it's best not to change permissions on files you didn't create. ;-) Why not start a new Mozilla session with "mozilla -ProfileManager", create a new profile, and compare permissions? -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord image
On Thursday, February 20, 2003 10:07, Curtis Vaughan wrote: > In order to write files to a burner I issue the following command: > mkisofs -R -J /directory/with/files | cdrecord dev=0,0,0 -v - > > However, I can't figure out how to issue the command to write an *iso > image to a writable CD. Can anyone help me? You could always read the man pages for mkisofs and cdrecord. :-P To create a CD image using mkisofs, add the -o option (example: mkisofs -R -J -o cdimage.iso /directory) To write a CD image using cdrecord, just specify the file name (example: cdrecord -dev=0,0,0 -v- cdimage.iso) I'm not too sure how reliable it is to use a pipe between the two; I would be worried that using a pipe would make a buffer underrun more likely. -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: procmail dilemma ?!?!
On Friday, February 21, 2003 14:49, Michael D. Schleif wrote: > I have a problem with procmail processing one source of my emails. [...] > :0 > * ^From:.+\ *[<]Brian_Tracy_Newsletters@braintracy\.com[>] > companies/t/brian_tracy/current/ > > :0 > * ^Return-path:\ [<]Brian_Tracy_Newsletters@briantracy\.com[>] > companies/t/brian_tracy/current/ Why not just: * ^(From|Return-path):.*brian_tracy_newsletters@briantracy\.com companies/t/brian_tracy/current/ or even: * ^From:.*brian_tracy_newsletters@briantracy\.com companies/t/brian_tracy/current/ which would also now match both examples. -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /var/log/messages
On Friday, February 21, 2003 13:39, Richard Beri wrote: > My /var/log/messages and messages.0 are getting very large. messages > alone is almost 500 meg. Is is safe to delete these files (I don't > need to read any back error messages). My syslog is also reaching > 500 meg ais that safe to be deleted. Will they be auto-created again? For next time, you might like to discover a utility called logrotate. It will regularly archive and/or delete old log files and set up new empty ones in their place. I think you can empty a file (while preserving its permissions) by overwriting it with the empty string: # echo "" > /var/log/messages Hope this helps -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: procmail dilemma ?!?!
On Friday, February 21, 2003 16:12, Michael D. Schleif wrote: > Also sprach Michael Wardle (Fri 21 Feb 02003 at 03:16:51PM +1100): > > On Friday, February 21, 2003 14:49, Michael D. Schleif wrote: > > > I have a problem with procmail processing one source of my > > > emails. [...] > > * ^From:.*brian_tracy_newsletters@briantracy\.com > > companies/t/brian_tracy/current/ > > For some reason, even your suggestions do *NOT* process the > NOT-variety of message! Ah! Notice that the NOT variety has no colon after the "From" header. I recently read that the From header is not guaranteed to be proceeded by a colon, so this may be a bad assumption on my part. Try removing the colon after the "From" in the rule/expression I provided. -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: "label=" option in fstab in Debian??? (newbie question)
On Tue, 4 Mar 2003 09:55 am, Jeff Hahn wrote: > I like to use the "LABEL=usr /usr" format in fstab so that re-arranging > scsi and/or ide drives doesn't necessarily require changes to /etc/fstab. > > I don't recall exactly, but the error message during boot was something > like "Special device LABEL=usr not found" Is it possible that the device's label is not "usr", but perhaps something subtly different such as "/usr"? Try running "e2label" on the disk partition to find out its correct e2fs label. -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: image viewer that refreshes?
On Wednesday, March 12, 2003 01:48, Benjamin Rutt wrote: > I have a .jpg image that keeps changing (from a webcam). Is there an > image viewer in debian's packages that will display the image and > automatically refresh the image when it has changed? I think both gThumb and kuickshow use the file monitoring features of FAM, so either should automatically refresh when the file changes. Hope this helps -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [possibly OT] change in behavior of terminal windows after upgrade to GNOME 2.2
On Wednesday, March 12, 2003 01:52, Ron Johnson wrote: > Specifically, this regards "window blanking" in "full screen" curses > apps (like man(1), less(1) & vi(1), but not more(1)). > > When I was running GNOME 1.4 from sarge, the "screen" would not blank > when I exited these type of apps; i.e., the last remaining bit of the > app would still be on the "screen". This was a good and helpful thing. You can make less behave the way you want by running it with -X or setting $LESS to an option string including "X". When less is installed, it is used as the manual pager, so this change should get man pages working the way you want for free. I thought vi did actually clear the screen by default, and I'm not aware of a way to change this. If my recollection is incorrect, you might like to ensure that you're running nvi as vi. You could also run vim and see if there's an option to not clear or initialize the screen. Hope this helps -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [possibly OT] change in behavior of terminal windows after upgrade to GNOME 2.2
On Wednesday, March 12, 2003 12:14, Ron Johnson wrote: > On Tue, 2003-03-11 at 16:11, Michael Wardle wrote: > > On Wednesday, March 12, 2003 01:52, Ron Johnson wrote: > > > Specifically, this regards "window blanking" in "full screen" curses > > > apps (like man(1), less(1) & vi(1), but not more(1)). > > > > > > When I was running GNOME 1.4 from sarge, the "screen" would not blank > > > when I exited these type of apps; i.e., the last remaining bit of the > > > app would still be on the "screen". This was a good and helpful thing. [...] > Vim is my vi, and I looked in the man page, but didn't see any such > option, but shall keep looking. When I invoked vim with various terminal settings such as: $ vim -T dumb $ vim -T vt100 $ vim -T xterm $ vim I noticed different behaviors. I'd suggest trying various settings to see which works as you want it to. It could just be that vim doesn't treat gnome-terminal or konsole the same as an xterm, whether by design or by omission. -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: nvidia geforce4... help...
On Wednesday, March 12, 2003 14:35, Jeremy Cheng wrote: > I have successfully built the nvidia drivers and Gnome is looking great. > However, when I logout of X and return to console, my monitor displays a > box that says "Monitor is working, out of scan range, change PC settings" > It also happens when I do ctrl-alt-F* into any other terminals from X. I had similar problems when I was running the framebuffer console driver with the proprietary X drivers. If you're in a similar situation, it might be best to revert to the standard text mode console drivers. -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why people use `find ... |env -i xargs rm -f' instead of `find ...| xargs rm -f'?
On Wednesday, March 12, 2003 14:45, Dai Yuwen wrote: > Why people want to clean the environment variables before rm files? Some systems have an alias for "rm" that invokes "rm -i". It's possible that running with env -i ensures that the true, unaliased command is run. -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: using diff command
On Tue, 18 Mar 2003 14:55:26 -0800 Curtis Vaughan <[EMAIL PROTECTED]> wrote: > I must be really stupid, so forgive me, but I can't figure out for the > > life of me how to use the diff command. I've read the man pages and > looked at some stuff on the internet, but I can't get it to do what I > want it to do. But then maybe it doesn't do what I want it to do. > > Basically, the issue is this, I have 2 files: File1 File2 > > Both are text files. File1 was File2 a day ago. Since then File2 has > had additional information tagged on to it (it's a log file). All I > want to see is what information has been added since yesterday. So, I > would think that "diff File2 File1" should provide me with that > information. But all I ever get is a message that the files differ. I > have tried with various arguments, but no luck. As your comments imply, you suspect diff is treating at least one of these files as a binary file, in which case diff will only tell you whether they are different. To override any defaults or automatic file detection, you can use the "-a" flag to diff to force it to treat both files as text. Manual pages are wonderful things. :-P To find out the root cause of the problem, you might like to run the "file" utility on each of the files you are attempting to compare: perhaps one of the really is (or does look like) a binary file. Hope this helps -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: default editor
On Thu, 20 Mar 2003 00:20:39 +0100 "Marco d'Itri" <[EMAIL PROTECTED]> wrote: > On Mar 19, Will Yardley <[EMAIL PROTECTED]> wrote: > > >Yes, but mutt (normally) obeys VISUAL if present - it's only the > >Debian package which seems not to. > Maybe you think this because the debian package is a 1.5 snaphost, and > handling of $EDITOR and $VISUAL has changed since 1.4 (something else > needed to be fixed, maybe this broken something too...). > > I will *not* further discuss this with the mutt upstream unless > somebody will provide reference to authoritative documentation about > the correct semantics of $EDITOR and $VISUAL (I could not find any) > and a patch implementing this. The first relevant document I found was the tcsh manual page[1], which states that: EDITOR The pathname to a default editor. See also the VISUAL environment variable and the run-fg-editor editor command. VISUAL The pathname to a default full-screen editor. See also the EDITOR environment variable and the run-fg-editor editor com- mand. It is also my experience and belief that VISUAL takes precedence over EDITOR for interactive editing. I will have a quick look to see if there's anything else that agrees with this point of view. LINKS [1] tcsh manual page <http://www.freebsd.org/cgi/man.cgi?query=tcsh&apropos=0&sektion=0&manp ath=FreeBSD+5.0-current&format=html> -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: default editor
On Thu, 20 Mar 2003 00:20:39 +0100 "Marco d'Itri" <[EMAIL PROTECTED]> wrote: > On Mar 19, Will Yardley <[EMAIL PROTECTED]> wrote: > >Yes, but mutt (normally) obeys VISUAL if present - it's only the > >Debian package which seems not to. > Maybe you think this because the debian package is a 1.5 snaphost, and > handling of $EDITOR and $VISUAL has changed since 1.4 (something else > needed to be fixed, maybe this broken something too...). > > I will *not* further discuss this with the mutt upstream unless > somebody will provide reference to authoritative documentation about > the correct semantics of $EDITOR and $VISUAL (I could not find any) > and a patch implementing this. The Debian Policy Manual[1] states: every program that launches an editor or pager must use the EDITOR or PAGER environment variable to determine the editor or pager the user wishes to use. If these variables are not set, the programs /usr/bin/editor and /usr/bin/pager should be used, respectively. ... A program may also use the VISUAL environment variable to determine the user's choice of editor. If it exists, it should take precedence over EDITOR. This is in fact what /usr/bin/sensible-editor does. This topic also appears to have been discussed on a few Debian mailing lists in the past, with most people suggesting that it should be $VISUAL then $EDITOR then /usr/bin/editor, but with no obvious conclusion to the thread. I usually have $VISUAL set but $EDITOR unset (it is expected that $VISUAL will be set to a full screen editor (something like vi) and that $EDITOR will be set to a line editor (something like ed), and I don't really want to use a line editor) so would prefer the behavior suggested here that $VISUAL is inspected before $EDITOR. LINKS [1] Debian Policy Manual - Customized Programs http://www.debian.org/doc/debian-policy/ch-customized-programs.html -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Evolution
On Fri, 2003-03-21 at 07:49, Oki DZ wrote: > I'd like to install Evolution, but strangely, apt-get wanted to remove > Galeon. I think the output below suggests that Galeon depends on libgtkhtml1.1-1, while Evolution depends on libgtkhtml1.1-3. libgtkhtml1.1-3 will obsolete libgtkhtml1.1-1. I've noticed a lot of this nonsense in Debian Unstable, and am becoming quite annoyed with it. Basically, you'll have to wait for the Galeon maintainer to update the Galeon package dependencies until you can upgrade to the latest version of Evolution. Are you running Unstable or a different distribution (Testing or Stable)? You might be able to work around this by searching for a slightly older version of the Evolution package. I think packages appear in the pool directory on Debian mirrors. -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: making 'su' keep user environment?
On Fri, 2003-03-21 at 11:56, Randall Hansen wrote: > Folks ~ > > When I 'su' to root on my machine, my bash user environment > (aliases, path, etc.) gets replaced by root's login environment. > How can I change this so my user environment remains only for 'su' > while leaving root's login environment alone? I think "su -m" might do what you want. See the su(1) man page. -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: kill with regex?
On Mon, 2003-01-20 at 02:40, Hugh Saunders wrote: > ps x gives a list of xine's which i would like to kill My preferred method is: $ kill `ps -C xine -o pid=` OR $ ps -C xine -o pid= | xargs kill This is subtly different from the other suggestions (such as "killall xine"), as it kills anything beginning with xine. This is very useful for killing evolution and its components when a major error occurs. -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: kill with regex?
On Mon, 2003-01-20 at 10:41, Hugh Saunders wrote: > On Mon, Jan 20, 2003 at 10:22:13AM +1100, Michael Wardle wrote: > > On Mon, 2003-01-20 at 02:40, Hugh Saunders wrote: > > > ps x gives a list of xine's which i would like to kill > > > > My preferred method is: > > $ kill `ps -C xine -o pid=` > > OR > > $ ps -C xine -o pid= | xargs kill > > > that makes sense, this is my understanding: > -C means command name, -o defines the desired format > of the ps output and xargs uses whatever is piped to it as the > argument for kill? Yes, "-C" matches processes named "xine" (and apparently any process whose name begins with "xine"), "-o pid=" means show a list of process IDs without a header line, the backquotes insert the output of the shell command, and xargs passes its arguments read from the pipe to the command named as its first parameter. (Just like you said.) I don't like using sed or awk unless I have to. :-) -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: regexp help
On Friday, January 24, 2003 06:09, Dave W wrote: > I'm using animail and spamassassin on my mail now, with -some- success > on spam, but need help with animail's ~/.animail/filter file. It can be > filled with regexps for mail blocking, but I'm a regexp newbie and can't > find how the heck to do an "and" in a regexp. "or" is easy, but _is_ > there an "and" function for regexps? What you actually want is (I think) commonly called the "alternate" operator. Try something like: ^Subject:.*(term1|term2) This certainly works for filtering with procmail. Some systems also have a regexp manual page that may be of some use. Also, if you find SpamAssassin is not filtering (nearly) all your spam, you might consider checking that it is configured correctly and that your threshold is set high enough. I find SA does a great job on its own, and only use mail filtering to place my mail in the appropriate folder. HTH -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Switching groups - not working
On Tue, 2003-01-28 at 14:08, Ian Melnick wrote: > I want certain users to be able to switch into different groups. So I > did a usermod -g/-G on them and checked the group file to make sure it > did it right (and it looks like it did). So then I try out the sg and > newgrp commands. Problem is, these groups don't have passwords. In the > group file, the password field is an 'x', and in the group shadow file > it's a '*'. But when I just press return at the switch group password > prompt, it doesn't accept it. I had a similar issue when trying to debug a script that was trying to perform a newgrp to the user's primary group. It turned out the user needed the group listed in his/her additional groups as well. For example, do: usermod -g foo -G foo,bar,baz example rather than: usermod -g foo -G bar,baz example Hope this helps -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Migrate from RedHat to Debian
On Wed, 2003-01-29 at 00:44, Jimbo De La Fuente wrote: > I've been using RedHat for a couple of years. Now, as a result of their > change in EOL (only untill the end of year for the latest release RedHat > 8.0) I want to switch to another distro. My preference goes to Debian. I do > have some doubts before really switching. The little I heard about this last week, it seemed Red Hat was supporting the final stable version of each major release, meaning 6.2, 7.3, 8.?, and so on will continue to be supported for a long while. This seemed like a good idea to me, as it encourages users and administrators to upgrade to the final stable release (usually .2 or .3) , as Red Hat's .0 releases can be somewhat buggy (7.0 was notoriously bad, but 8.0 seems quite usable, if a little incomplete). It also reduces their support costs. Don't let me stop you switching, but I'd suggest rereading the support details before you make the decision. -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: if you could have just one dead tree book
On Fri, 2003-01-31 at 04:57, Dan Hunt wrote: > Oh fellow debian-users, if you could have just one dead tree book > what would you ask for? Here's a few of my favorites: - Advanced Programming in the UNIX Environment - Stevens - Programming Perl - Wall - Red Hat Linux Survival Guide - Kabir Of course, the Debian and Red Hat online documentation is very good too. -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
list delay
Hi I've only recently subscribed to debian-user, and I notice that I receive messages sent to the list 4 or 5 hours after they have been sent. Among other things, this typically results in several identical responses to a question, as subscribers are unaware that somebody has already responded. I do not notice this on any other mailing lists. I suspect this issue has been raised previously, but I can't find any mention of it in a FAQ or in recent list posting. Is this a known problem, and is there anything that can be done to improve the speed of the Debian mailing lists? Thanks -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Recursively export NFS file systems
On Monday, February 3, 2003 03:28, Aaron Isotton wrote: > I want to export the whole file system of "zarathustra" via NFS to > "osiris". This sounds like a job for autofs. I'd recommend you consult the autofs manual page, the automount manual page, the autofs home page, the Linux networking HOWTO, and so on for accurate details, but if you want a brief idea, keep reading... Some implementations of autofs allow you to simply add a map entry similar to: /net -hosts to your autofs configuration file (typically /etc/auto.master) on the client, then do "ls /net/osiris" on zarathustra to see what's on osiris. If this doesn't work, you could create an NIS map such as auto.net containing the exports and the mount points and add a map entry similar to: /net auto.net If you don't want to make any changes on the client, most systems will also read the auto.master map from the server by default (provided autofs is enabled), so you could add the auto.net entry to auto.master on the server, then create NIS maps of both for the client to access. Naturally, you'll need to list all desired disk partitions (/ /usr /var /boot ...) in /etc/exports on zarathustra. You might also like to investigate the BSD automounter, amd, which seems slightly more powerful to me, but is not supported on most other Unixes. Hope this helps -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: libfam0c102 kills 182 KDE3 packages
On Tuesday, February 4, 2003 10:45, Victor Torrico wrote: > Running KDE3 woody debian packages downloaded from kde site. Works great. > > In order to run nautilus and yelp in gnome2 I need libgnomevfs2-0 and > libgnomevfs2-common which depends on libfam0c102. > > When I execute "apt-get install libfam0c102 libgnomevfs2-0 > libgnomevfs2-common" these would all install OK however they would also > remove all 182 kde3 packages. > > How can I keep kde3 installed and still run nautilus and yelp? Wassup? I notice that the libfam package name was recently changed (I think from libfam0 to libfam0cxxx). I suspect that your KDE 3 packages depend on the old package name (libfam0) and the GNOME 2 packages depend on the new package name (libfam0c102). I also suspect that the new package superseeds or obsoletes (or whatever the Debian package term is) the old one, so installing libfam0c102 is attempting to remove libfam0. If this is the case, you might like to see if there's a flag you can use to dpkg or apt-get to make it install them side-by-side (of course this is not an ideal solution). You should probably confirm whether what I have stated is correct and then inform the maintainer of the KDE packages that the dependency name has changed. I'm CCing the Debian FAM package maintainer to see if he knows what's going on and how to resolve this problem. HTH -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: CD Player no sound
On Tuesday, February 4, 2003 11:31, Sean Burlington wrote: > for some reason win XP doesn't use the audio cable... Some recent CD playing software defaults to reading the CD audio using digital mode rather than analog mode (a telltale is if the CD drive light goes on in bursts rather than staying on solid). Digital mode does not use the CD audio cable. -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Unreal Tournament
On Tuesday, February 4, 2003 14:10, Sergey A. Ovchar wrote: > Can someone help me adjust, and run Unreal Tournament under Linux. > Wiex didn' help me :-( Assuming you mean Wine or Winex (Windows emulators), there's a better approach: just download the native Linux binaries from <http://www.lokigames.com/products/ut/> It runs very well if you have an nVidia video card with the official nVidia Linux drivers, and should also perform well on any hardware that has a decent OpenGL implementation (that is to say not Mesa). Hope this helps -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: list delay
On Friday, January 31, 2003 11:15, Michael Wardle wrote: > I've only recently subscribed to debian-user, and I notice that I > receive messages sent to the list 4 or 5 hours after they have been > sent. As Nathan and others pointed out, there was an unusually high amount of Internet traffic around that time, probably due to the Slammer worm. It seems odd that other lists were not so badly affected, but anyway, list response times are now much better (around 30 minutes). Thanks to all who replied -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Demand PPP
On Wednesday, February 5, 2003 03:47, David Raeker-Jordan wrote: > I know that this question has been asked recently, but I obviously must be > missing something because I cannot get PPP to work on demand. I recently set up something similar on my home firewall box. Are you able to dial out using something like: # pppd call provider In my case, changing the script line from something like: connect "/usr/sbin/chat -v -f /etc/chatscripts/provider" to something like: connect "/etc/chatscripts/provider" made it work, however I think I'm currently using a modified wvdial script. I also had to add an entry: user to make PAP authentication with my ISP work. Do the messages in /var/log/messages suggest that you have a firewall enabled? Sorry I don't have my exact configuration handy here. I might be able to get it and mail it to you later. Feel free to post most information, questions, or answers here, and I'll try to help. -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Woody installer
On Wednesday, February 12, 2003 00:57, Kesav Tadimeti wrote: > I am thinking of installing Debian. I do not, however, want to spend too > much time doing that. I have installed FreeBSD 4.3 before, so I'd like to > know if Debian (Woody) installation is as easy/difficult as FreeBSD. They're a little different, but they're both text console (dialog/curses) menu-based, and are fairly straightforward once you've spent a short time familiarizing yourself. Debian's installer has a bad reputation, however I think this reputation was based on previous installer versions: I find Woody's installer much better, because the questions it asks are so much better worded than before, and the default options are almost always the correct (or at least safe) ones. Most people I've talked to recommend using tasksel (to select groups of packages) rather than dselect (to select individual packages) at install time, then using a tool such as apt-get to install new packages and keep the system up-to-date after the system is installed. Once your system is properly installed, you're unlikely to want or need to return to the installer. It's interesting that both FreeBSD (libh) and Debian (debian-installer) are both working on a new installer. > Second, are most of the application packages (.DEB) contained within the > 7-CD set? Or do I have to connect to the internet to have them installed. > (like FreeBSD's ports. In case of FreeBSD Only some apps are available as > packages, the others have to built from ports). Almost all are available on the 7 CD set. There are a select few packages which must be built from source for copyright reasons, but these are non-critical packages, and I suspect they are all in the "non-free" Debian distribution. As the 1st CD contains enough for a decent GNU/Linux installation plus the core parts of the KDE and GNOME desktops, I usually recommend getting just the 1st CD and downloading any extra packages from your nearest Debian mirror. Hope this helps -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian unstable: problems during migration from gnome 1.4 to gnome 2.2
Sorry for replying at the wrong point in the thread. I deleted Jerome's message, and am therefore unable to reply to it instead... On Sun, Feb 02, 2003 at 04:11:21PM +0100, Jerome Lacoste (Frisurf) wrote: > I migrated from gnome 1.4 to gnome 2.2 (*) yesterday and here are the > problems I encountered. I am willing to report the problems but I am not > sure to which package they pertain. If you got ideas how to fix the > remaining ones, please do contact me :) > > [Some problems were related to the fact that I was using wmaker, which > is not a 'pure' Gnome Window Manager.] > > - I lost my default window manager at startup (wmaker). I fixed the > problem by adding a window manager in the session applications to > startup but I am not sure it is the correct fix. Should I put it > elsewhere? I didn't find any gnome panel to change my window manager > settings as I used to have in Gnome 1.4. Sawfish seems to be the only > supported WM. On a default gnome.org GNOME Desktop 2.2 install, Metacity (rather than Sawfish) is in fact supposed to be the default window manager. You need only set the WINDOW_MANAGER environment variable to the path of your preferred window manager to change this. Many other settings which are not obviously modifiable can be accessed using the gconf-editor tool. -- Michael Wardle Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Webmin revisited
On Fri, 2003-03-28 at 23:30, Mark Annandale wrote: > I'm forgetting something really simple here. When trying to connect to > https://localhost:1 I am getting the error message 'cannot connect to > loachost (port 1), whereas webmin uses the default port of 1. Webmin does not enable https by default. You need to connect using http and enable SSL access. -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [~OT] tax program for linux
On Mon, 2003-03-31 at 13:25, Nori Heikkinen wrote: > My dad, who has graciously done my taxes for me every year up until > now, has finally shuffled them off to me. When i ask him how to do > them, he keeps telling me to get TurboTax for windoze. I keep > reminding him I run linux, but he keeps forgetting. Is there an > equivalent linux program that anyone here knows about / uses? The most well-known programs are: - GnuCash - Kapital - MoneyDance Debian packages seem to be in the Utils section. A Google search suggested these sites might be a good starting point: - linux.org - librenix.com - freshmeat.net I haven't used any of them, so can't advise which is most appropriate for taxation purposes. Hope this helps -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Image thumbnailer
> On Sun, 2003-01-12 at 10:42, Trey Sizemore wrote: > > I have a lot of photos (jpeg's) that I would like to be able to batch > > thumbnail & possibly rename. Any suggestions for a program to 'easily' > > do this? I will explore all the functionality of Gimp at some point, > > but wanted to know of alternatives. Thanks. Sorry for replying out of order, I only just subscribed. I find "gthumb"[1] -- a GNOME image viewer -- to be quite good, and it does include a batch renamer. You could also use shell command to rename the files. For instance: $ for f in *.jpg; do mv $f vacation${f#xyz}; done would rename xyz*.jpg to vacation*.jpg. see the "Parameter Expansion" section of the bash(1) manual page for more information. There is also a utility called "mmv"[2] which might be of interest. I hope this helps. LINKS [1] <http://packages.debian.org/stable/graphics/gthumb.html> [2] <http://packages.debian.org/stable/utils/mmv.html> -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Software that can be used with MSN
If you're looking for an instant messaging client that you can use to chat with MSN users, try these: * MSN Messenger for Linux - no plugin required - most similar to MSN Messenger - <http://amsn.sourceforge.net> * GAIM - use the MSN plugin - most popular - <http://gaim.sourceforge.net> * Everybuddy - no extra plugins required AFAIK - supports file transfers - <http://www.everybuddy.com> * Gabber - find a server supporting the MSN transport - most interoperable - <http://www.gabber.org> Go to <http://www.debian.org/distrib/packages> and perform a search to see which are available as a Debian package. -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to maintain /var on a debian system
Hi Nick On Wed, 2003-01-15 at 15:06, nick lidakis wrote: > I'm trying to apt-get dist-upgrade my laptop and it's telling me I dont > have enough space to hold all the debs. df shows 92% used out a 300MB > partition. /var seems to be slowly filling up, but what can I safely > delete from var to trim it down? To get some idea of what's using your disk space, try something like "du -ks /var/*" or "du --kilobytes --max-depth=1 /var/". You might also like to pipe the output of "du" to "sort -nr". apt-get stores downloaded packages in /var/cache/apt/archives. you can clean these out using "apt-get clean". I don't know whether apt-get will automatically clean out its cached packages when it need the space; perhaps your upgrade simply requires more than 300 MB. Hope this helps -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Non-US characters in mutt summaries
On Thu, 2003-01-16 at 08:53, Dave Sherohman wrote: > To make matters even more fun, I have some older > messages from this same person in which mutt displays the non-US > characters properly in all places; his User-Agent headers are > identical before and after the change, but viewing the raw message > (in elvis) shows that the ones which work have it encoded as > "=?iso-8859-1?B?Q..." instead of "=?iso-8859-1?q?B=F6=F0...". I > don't really know the significance of each version, but it is obvious > that the encoding scheme did change and mutt likes the old one more > than the new one. I'm no mail expert, but the second encoding looks like it's related to "quoted-printable". -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: galeon "personal security manager" needed?
On Fri, 2003-01-17 at 10:55, will trillich wrote: > when i click on a link, in galeon (using potato/gnome), that > tries an https:// connection a dialog greets me saying > > This document cannot be displayed unless you install the > Personal Security Manager (PSM). Download and install PSM > and try again, or contact your system administrator. You probably need "mozilla-psm". -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: need some dhcp help
On Fri, 2003-01-17 at 11:48, Rob Benton wrote: > OK I've tried pump, dhcp-client, dhcp3-client, and udhcpc and can't seem > to get any of them to request a hostname from my dhcp server either on > bootup or calling them from the command line. I could use some pointers > from someone who's successfully done this. I'm more familiar with dhclient, however the "-H" option to dhcpcd or the "--lookup-hostname" option to pump may be what you need. Hope this helps -- Michael Wardle <[EMAIL PROTECTED]> Adacel Technologies -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [off topic] about terminology
raphael calvelli wrote: > - "free software" is confusing because "free" is "freedom" and "zero > costing" together; > > So, what about use of the term "libre software" ? It is already > working in italian "libero", french "libre" and spanish "libre". "gratis software" would be a good term, since gratis is already an accepted English word meaning free (of charge). -- MICHAEL WARDLEbegin:vcard n:Wardle;Michael tel;cell:+61 419 814107 tel;fax:+61 2 6024 3288 tel;work:+61 2 6024 2699 x-mozilla-html:FALSE url:http://www.adacel.com/ org:Adacel Technologies Limited;Global Software Engineering adr:;;19 Stanley Street;Wodonga;Victoria;3690;Australia version:2.1 email;internet:[EMAIL PROTECTED] title:Trainee Software Engineer fn:Michael Wardle end:vcard
Re: [off topic] about terminology
Michael Wardle wrote: > > raphael calvelli wrote: > > - "free software" is confusing because "free" is "freedom" and "zero > > costing" together; > > > > So, what about use of the term "libre software" ? It is already > > working in italian "libero", french "libre" and spanish "libre". > > "gratis software" would be a good term, since gratis is already an > accepted English word meaning free (of charge). > Sorry, I should have qualified that. I meant this in context of software which is available for $0, regardless of whether the source is openly available. This would mean that Microsoft Internet Explorer (for instance) is also gratis. -- MICHAEL WARDLE
Re: [off topic] about terminology
Ethan Benson wrote: > > On Mon, May 07, 2001 at 09:06:30AM +1000, Michael Wardle wrote: > > raphael calvelli wrote: > > > - "free software" is confusing because "free" is "freedom" and "zero > > > costing" together; > > > > > > So, what about use of the term "libre software" ? It is already > > > working in italian "libero", french "libre" and spanish "libre". > > > > "gratis software" would be a good term, since gratis is already an > > accepted English word meaning free (of charge). > > you have completly missed the point. Free Software has nothing > whatsoever to do with cost. it is about Freedom. I was trying to clarify the _other_ meaning of "free", so that we might contrast libre and gratis (rather than calling either "free"). -- MICHAEL WARDLE