Sawfish and gnome-menu
I thought the package 'gnome-menu would give me an apps-menu that resembles the Gnome2 Menu Bar, but it doesn't, why? :( /M -- Magnus Therning mailto:[EMAIL PROTECTED] +31-40-2745179 http://pww.innersource.philips.com/magnus/ OpenPGP:0x4FBB2C40 Technology lies on the leading edge of life. -- Rush signature.asc Description: Digital signature
Gnome2: Pleasantly surprised
I have started to get used to having Gnome2 related things change everytime I run 'apt-get upgrade' on my 'unstable' machine. Things change sometimes for the better and sometimes for the worse, but things NEVER break! Thank you for that! I was very pleasantly surprised to see the Gnome2 splash being replaced by a Debian one. Nice! /M -- Magnus Therning mailto:[EMAIL PROTECTED] +31-40-2745179 http://pww.innersource.philips.com/magnus/ OpenPGP:0x4FBB2C40 The right to search for truth implies also a duty; one must not conceal any part of what one has recognized to be true. -- Albert Einstein signature.asc Description: Digital signature
Re: Woody and miscellaneous issues
On Sat, Oct 05, 2002 at 11:56:55AM -0700, Osamu Aoki wrote: > On Sat, Oct 05, 2002 at 07:36:59PM +0100, Paul Lewis wrote: [..] > > Next, on my old machine I was able to access a remote drive > > (NFS) on a redhat machine, how can I get this working again before > > upgrading to Woody I backed up my files to the server, I would like to > > get them back onto this machine. > > First > > # apt-get install nfs-kernel-server > > Set up /etc/exports. Also possibly play with /etc/hosts.allow and > /etc/hosts.deny This'll set your machine up as an NFS server. As I understand it you want to be a client of the NFS server running on the RH machine, right? Modify your /etc/fstab, it should contain a line that goes something like this: server:/usr/local/pub /pub nfs rsize=8192,wsize=8192,timeo=14,intr then run 'mount /pub' as root. Voila, you should have 'ls /pub' show the contents of /usr/local/pub on the servr (RH) machine. Consult the nfs manpage to find out more (man nfs). /M -- Magnus Therning(OpenPGP: 0x6A83A7DF) [EMAIL PROTECTED] http://www.lysator.liu.se/~magus/ Getting a SCSI chain working is perfectly simple if you remember that there must be exactly three terminations: one on one end of the cable, one on the far end, and the goat, terminated over the SCSI chain with a silver-handled knife whilst burning *black* candles. -- Anthony DeBoer msg05610/pgp0.pgp Description: PGP signature
Re: trusted keys in gpg
On Wed, Oct 09, 2002 at 10:07:16AM +0700, Oki DZ wrote: > Hi, > > I tried to send out an email using gpg (to other mine account), and in > the receiving end I had the following: > gpg: Signature made Wed Oct 9 10:03:59 2002 WIT using DSA key ID > 12ACBC0B > gpg: Good signature from "Oki DZ <[EMAIL PROTECTED]>" > gpg: WARNING: This key is not certified with a trusted signature! > gpg: There is no indication that the signature belongs to the > owner. > Primary key fingerprint: 4C74 27A3 EFB0 A9D5 F961 323F 43D1 FA7E 12AC > BC0B > > How do you turn a key into a trusted one? Well, what is the meaning of > "trusted" in this context? The answer to this is a bit too long to include on this list, I'd say, instead I would surf to the GnuPG home page (www.gnupg.org) and pick up the manual. It'll answer your question, annd more... /M -- Magnus Therning(OpenPGP: 0x6A83A7DF) [EMAIL PROTECTED] http://www.lysator.liu.se/~magus/ Use the "telephone test" for readability. - The Elements of Programming Style (Kernighan & Plaugher) msg06089/pgp0.pgp Description: PGP signature
Mozilla (Galeon) and gtk themes?
Is there any way of getting Mozilla to use the same gtk theme as the rest of my Gnome desktop? Currently my Galeon looks a little bit silly, since the web-page widget comes from Mozilla (which doesn't acknowledge my gtk theme) and the rest is from Galeon (which does acknowledge my gtk theme setting). /M -- Magnus Therning(OpenPGP: 0x6A83A7DF) [EMAIL PROTECTED] http://www.lysator.liu.se/~magus/ Unfortunately, the current generation of mail programs do not have checkers to see if the sender knows what he is talking about. -- A.S. Tanenbaum msg06100/pgp0.pgp Description: PGP signature
Re: Mozilla (Galeon) and gtk themes?
On Wed, Oct 09, 2002 at 05:34:42PM -0500, Mark Roach wrote: > On Wed, 2002-10-09 at 07:08, Henrik Enberg wrote: > > Magnus Therning <[EMAIL PROTECTED]> writes: > > > > > Is there any way of getting Mozilla to use the same gtk theme as the > > > rest of my Gnome desktop? > > > > No, according to the galeon dudes, Gecko doesn't expose the > > scrollbar enough to do that. > > one thing that you can do though that helps is find a mozilla theme that > fits a little better and > > cp ~/.mozilla/$USER/*/chrome/chrome.rdf ~/.galeon/mozilla/galeon/chrome/ > > This will let you have toolbars/buttons that match your selected theme > rather the rather ugly modern theme that galeon uses by default. Is there a step-like theme for mozilla? My current themes are as follow: gtk-step : gtk FinalStep : sawfish NeXTAmp2.4 : xmms The only thing that hurts my eyes is the ugly scrollbars in galeon (gecko)... :-) /M -- Magnus Therning(OpenPGP: 0x6A83A7DF) [EMAIL PROTECTED] http://www.lysator.liu.se/~magus/ Never trust a man who can count to 1,023 on his fingers. msg06370/pgp0.pgp Description: PGP signature
mutt and mixing local and imap mail folders?
Is there a way to have only folders declared as mailboxes and yet have easy access to folders on an imap server in mutt? Currently I have all folders on the imap server in mailboxes statements, but I don't want them checked for incomming mail, I just want easy access to them... basically I would like them to turn up in the folder viewer. /M -- Magnus Therning [EMAIL PROTECTED] (OpenPGP: 0xD3BC7468) (http://sourceforge.philips.com/wwwroot/bali/therning/pages/) In my opinion, shareware tends to combine the worst of commercial software (no sources) with the worst of free software (no finishing touches). I simply do not believe in the shareware market at all. -- Linus Torvalds -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: locales ....
On Tue, Oct 22, 2002 at 08:00:20PM +0200, Andrew Fowler wrote: > On Mon, 2002-10-21 at 15:19, Bijan Soleymani wrote: > > I used the language-env package to configure for French. It handles all > > shells and > > X windows too. I don't know about the howto's, I found information > > specific to > > French in the French Debian documentation. I don't know if there is similar > > documentation for German. > > Thanks, managed to get a little further with that. Still can't get Euro > or European language characters in terminal though. Did you ever get > that working ? Don't know if this'll help you, so here goes nothing... Don't know if you are using gdm to log in, but it took me quite some time to figure out that gdm sets the locale for you when you log in. It defaults to use the locale you used at your previous login and I kept on ending up with C no matter what I put in /etc/environment. All that was needed was to tell gdm to use another locale for one login, and voila! /M -- Magnus Therning ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Installing Gnome2, how?
I want to install Gnome2! I understand it's supposed to have hit unstable as of last Sunday, but I don't seem to be able to install it. I am running a stable/testing system, but with Sid pinned to 50. The usual command line doesn't seem to work: die:~# apt-get -t unstable install gnome Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: Sorry, but the following packages have unmet dependencies: gnome: Depends: gnome-utils (>= 1.106) but it is not going to be installed E: Sorry, broken packages How do I install Gnome2? (The Gnome2-in-Debian web page only says the it has hit Sid, not how to actually get it from there.) /M -- Magnus Therning ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: woody to testing
On Tue, Nov 05, 2002 at 09:17:00PM -0500, Matthew Daubenspeck wrote: > On Wed, Nov 06, 2002 at 01:19:00PM +1100, Joyce, Matthew wrote: > > I am running Woody stable, and would like to move to testing, I know there > > are some documents, but I'm not really clear on what actually happens during > > the process ? > > - edit /etc/apt/sources.list and change all instances of 'woody' > to 'sarge'. > - apt-get update > - apt-get -s dist-upgrade [-s does a dry-run] > - apt-get dist-upgrade > - apt-get upgrade I would rather ADD the sarge lines, since there are some packages that doesn't exist in testing that might be of use. Then you can add the following to /etc/apt/apt.conf: APT::Default-Release "testing"; /M -- Magnus Therning ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Upgrade exim -> exim4
My experience: I just made the transition yesterday. The configuration has changed in a major way, but the installation was relativvely smooth (Debian rocks on this sort of thing). The only problem was that since my system is on a local network it is invisible from the outside (firewall, masquerading). So, I had to do some rewriting on Sender:, once I found out that /etc/mail-addresses is the place to do that (I hope I am right) it was solved. /M On Tue, Aug 05, 2003 at 12:31:04AM +0200, [EMAIL PROTECTED] wrote: > Does anybody care to offer any tips in upgrading my exim to exim4? I've > looked through the exim documentation about it, but I'm kind of hoping that > debian will do a better job than they describe > > Is there some way to install exim4 without removing the version I currently > have? For "configuration testing" while the old one continues to run? > > David > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > -- Magnus Therning mailto:[EMAIL PROTECTED] PGP:0xD3BC7468 +31-40-2745179 http://pww.innersource.philips.com/magnus/ Don't bother just to be better than your contemporaries or predecessors. Try to be better than yourself. -- William Faulkner pgp0.pgp Description: PGP signature
Re: Upgrade exim -> exim4
On Wed, Aug 06, 2003 at 01:41:26AM +0200, David Corbin wrote: > I know the config has changed. Are you saying that debian > auto-converted your config, and it continued to work OK? In short: yupp! /M > On Tuesday 05 August 2003 05:50, Magnus Therning wrote: >> My experience: >> >> I just made the transition yesterday. The configuration has changed >> in a major way, but the installation was relativvely smooth (Debian >> rocks on this sort of thing). The only problem was that since my >> system is on a local network it is invisible from the outside >> (firewall, masquerading). So, I had to do some rewriting on Sender:, >> once I found out that /etc/mail-addresses is the place to do that (I >> hope I am right) it was solved. >> >> /M >> >> On Tue, Aug 05, 2003 at 12:31:04AM +0200, > [EMAIL PROTECTED] wrote: >>> Does anybody care to offer any tips in upgrading my exim to exim4? >>> I've looked through the exim documentation about it, but I'm kind of >>> hoping that debian will do a better job than they describe >>> >>> Is there some way to install exim4 without removing the version I >>> currently have? For "configuration testing" while the old one >>> continues to run? >>> >>> David >>> >>> >>> -- >>> To UNSUBSCRIBE, email to [EMAIL PROTECTED] >>> with a subject of "unsubscribe". Trouble? Contact >>> [EMAIL PROTECTED] > > -- Magnus Therning mailto:[EMAIL PROTECTED] PGP:0xD3BC7468 +31-40-2745179 http://pww.innersource.philips.com/magnus/ Long-range planning does not deal with future decisions, but with the future of present decisions. -- Peter F. Drucker pgp0.pgp Description: PGP signature
exim 4 configuration (rewriting outgoing email)
Is there a way to do rewriting for all users on a system without having to add a line in /etc/email-addresses for each user? E.g.: In /etc/email-addresses I currently have: therning: [EMAIL PROTECTED] Similar rewriting rules would be necessary for every user on the system. I would like to do the following translation: pc47168596.ddns.htc.nl.philips.com: philips.com /M -- Magnus Therning mailto:[EMAIL PROTECTED] PGP:0xD3BC7468 +31-40-2745179 http://pww.innersource.philips.com/magnus/ Discovery consists of seeing what everybody has seen and thinking what nobody has thought. -- Albert Szent-Gyorgyi pgp0.pgp Description: PGP signature
Re: OT: Why is C so popular?
On Wed, Aug 27, 2003 at 04:35:23AM -0700, Paul Johnson wrote: >On Wed, Aug 27, 2003 at 12:43:55PM +0200, Frank Gevaerts wrote: >> First convince me that object oriented programming results in >> maintainable and debuggable code, then convince me that C++ is a good >> implementation of OO, and then I might consider C++ instead of C. (I >> know not all the features of C++ are related to OO, but OO seems to be >> the main selling point of C++ vs C) > >I thought C was pretty object-oriented, unless I'm totally confused on >the concept. (If not, what does .o stand for if not Object?) Different kind of object! '.o' is the suffix to denote object code, cf. '.so' is shared object (also called DLL, or DLO). Any language can be used to program object oriented (to various degrees). Some languages have constructs and features to support that style of programming, hence people call them object oriented languages. C is not considered to be an object oriented language. /M -- Magnus Therning mailto:[EMAIL PROTECTED] PGP:0xD3BC7468 +31-40-2745179 http://pww.innersource.philips.com/magnus/ One, demonstrations always crash. And two, the probability of them crashing goes up exponentially with the number of people watching. -- Steve Jobs pgp0.pgp Description: PGP signature
ALSA and kernel 2.4.19
I am a bit confused here. I got alsa sound to work perfectly with the 2.4.18 kernel, but then I upgraded the kernel package (and the alsa-modules package) to the 2.4.19 variant, and all of a sudden I have no sound any more. This is what '/etc/init.d/alsa start' spits out: Warning: ignoring snd_major=116, no such parameter in this module Warning: ignoring snd_cards_limit=1, no such parameter in this module Warning: ignoring snd_device_mode=0660, no such parameter in this module Warning: ignoring snd_device_gid=29, no such parameter in this module Warning: ignoring snd_device_uid=0, no such parameter in this module Module snd loaded, with warnings Starting ALSA sound driver (version 0.9.0rc6): Warning: ignoring snd_major=116, no such parameter in this module Warning: ignoring snd_cards_limit=1, no such parameter in this module Warning: ignoring snd_device_mode=0660, no such parameter in this module Warning: ignoring snd_device_gid=29, no such parameter in this module Warning: ignoring snd_device_uid=0, no such parameter in this module Module snd loaded, with warnings (via686) 'depmod -a' also reveals the following: depmod: *** Unresolved symbols in /lib/modules/2.4.19-386/alsa/snd-vxp440.o depmod: *** Unresolved symbols in /lib/modules/2.4.19-386/alsa/snd-vxpocket.o I attached the contents of /etc/modutils/alsa. After all this I don't have any sound :-( All help is appreciated in explaining and fixing this. /M -- Magnus Therning ([EMAIL PROTECTED]) # ALSA alias char-major-116 snd alias snd-card-0 snd-via686 alias char-major-14 soundcore alias sound-slot-0 snd-card-0 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=29 snd_device_uid=0 #options snd-card-via686a snd_index=0 snd_id=CARD_0 snd_mpu_port=0x300 snd_joystick=0x300 snd_pbk_frame_size=4 snd_cap_frame_size=4 alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss
Re: ALSA and kernel 2.4.19
Thanks, it worked wonderfully! /M On Mon, Jan 06, 2003 at 10:09:27AM -0600, Jack O'Quin wrote: > Magnus Therning <[EMAIL PROTECTED]> writes: > > > I am a bit confused here. I got alsa sound to work perfectly with the > > 2.4.18 kernel, but then I upgraded the kernel package (and the > > alsa-modules package) to the 2.4.19 variant, and all of a sudden I have > > no sound any more. > > I think most, perhaps all, of your troubles are due to incompatible > changes introduced in recent ALSA release candidates... > > 1. The VIA 686 and 8233 drivers were combined into a single module, > snd-via82xx. > > 2. All module options were renamed by dropping the "snd_" prefix. > (Note the underbar -- do *not* change any "snd-" prefixes.) > > > > alias snd-card-0 snd-via686 > alias snd-card-0 snd-via82xx > > > options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=29 >snd_device_uid=0 > options snd major=116 cards_limit=1 device_mode=0660 device_gid=29 device_uid=0 > > That's probably all, good luck! > -- > Jack O'Quin > Austin, Texas, USA > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Magnus Therning ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: lightweight window manager - any sugegstions?
Try out ratpoison, it's light, and very spartan :-) /M On Thu, Jan 09, 2003 at 11:12:48AM +0530, Sandip P Deshmukh wrote: > hello all > > i am doing most of my work in console and was looking for a small and > fast window manager for some occasional work there. > > aesthetics, bells and whistles do not matter much. speed and overheads > matter a lot. > > i have heard about ratpoison and [black | flux]box. any feedback from > actual users is welcome. i am currently using windowmaker. > > -- > regards, > sandip p deshmukh > --*** > Persons attempting to find a motive in this narrative will be prosecuted; > persons attempting to find a moral in it will be banished; persons attempting > to find a plot in it will be shot. By Order of the Author > -- Mark Twain, "Tom Sawyer" > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Magnus Therning ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
dpkg/apt problem: /var/lib/dpkg/status bad!
Can I somehow recreate it? I get the following errors: # apt-get update [..] Reading Package Lists... Error! E: Dynamic MMap ran out of room E: Error occured while processing libgnomeprintui-0 (NewVersion1) E: Problem with MergeList /var/lib/dpkg/status E: The package lists or status file could not be parsed or opened. # ls -l /var/lib/dpkg/status -rw-r--r--1 root root 1198143 Jan 15 22:38 /var/lib/dpkg/status HELP! /M -- Magnus Therning ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: dpkg/apt problem: /var/lib/dpkg/status bad!
On Wed, Jan 15, 2003 at 11:31:14PM +0100, Ing. Vladimir M. Kerka wrote: > NO! Nate's advice is not for good. > This is definitely so called Dynamic MMap error, this week mentioned at > least thrice in this list, find solution in archive. > Hint: in your /etc/apt/apt.conf fill in: APT::Cache-Limit 25165824; that > solves the problem. Wonderful. It took away all the badness :-) Any particular reason for the number? I suppose this will keep on hitting me every now and then as Debian grows ever bigger, anyone fixing it properly? There are two related bugs: 172777 172726 Could be nice for future refernece :-) /M > On Wed, 2003-01-15 at 23:00, nate wrote: > > Magnus Therning said: > > > Can I somehow recreate it? I get the following errors: > > > > > > # apt-get update > > > [..] > > > Reading Package Lists... Error! > > > E: Dynamic MMap ran out of room > > > E: Error occured while processing libgnomeprintui-0 (NewVersion1) > > > E: Problem with MergeList /var/lib/dpkg/status > > > E: The package lists or status file could not be parsed or opened. # ls -l > > > /var/lib/dpkg/status > > > -rw-r--r--1 root root 1198143 Jan 15 22:38 > > > /var/lib/dpkg/status > > > > > > 1) backup the status file > > 2) open the status file in the text editor of your choice > > 3) find the portion of the file that deals with libgnomeprintui-0 and > > see if there is anything unusual there, compare with other entries maybe > > theres a curropt line or missing some data or something. worst case is > > I would delete the traces of that package from the status file and reinstall > > that package. perhaps first finding what files belong to that package(via > > packages.debian.org) and deleting those first before reinstalling(I've never > > had this particular problem) > > > > debian also keeps a backup of the status file itself status-old, you > > can try to overwrite the status file with status-old and see if that helps. > > I reccomend again backing up the status file first. > > > > nate > > > -- > Ing. Vladimir M. Kerka <[EMAIL PROTECTED]> -- Magnus Therning ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: The Real Problem With Debian
Couldn't help but comment... and in fact this is my first post to this list :-) On Wed, Oct 02, 2002 at 02:46:27AM +0200, Alex de Landgraaf wrote: [..] > You are perfectly right that Debian has a learning curve that is steeper than > your regular RH/MDK-distro, but for some people other things matter, like > stability, control and flexibility. Well, the steep-ness is located differently, I would say... I have Debian on my desktop at work, but I also have to administrate a RH box. Debian forces me to use an editor for configuration, but all the locations make sense; are logical. The GUI tools of RH takes me only halfway, the rest takes at least a magnitude more time than the whole thing on Debian. I switched from Mandrake to Debian... it seems to be a trend that people 'end up' here ;-) /M -- Magnus Therning(OpenPGP: 0x6A83A7DF) [EMAIL PROTECTED] http://www.lysator.liu.se/~magus/ Diamondback, the University of Maryland student newspaper, of Tuesday, 3/10/87: One disadvantage of the Univac system is that it does not use Unix, a recently developed program which translates from one computer language to another and has a built-in editing system which identifies errors in the original program. msg04854/pgp0.pgp Description: PGP signature
zsh completion for CVS
The command line completion for CVS in zsh seems to be broken: the completion for 'cvs add' doesn't provide completion for file names :-( Any one else experiencing the same? Is it only my local configuration that is screwed up? Any solutions? /M -- Magnus Therning mailto:[EMAIL PROTECTED] +31-40-2745179 http://pww.innersource.philips.com/magnus/ OpenPGP:0x4FBB2C40 If all else fails, show pretty pictures and animated videos, and don't talk about performance. -- David Bailey signature.asc Description: Digital signature
Re: zsh completion for CVS
On Sun, Nov 23, 2003 at 12:55:36PM +0900, Vincent Lefevre wrote: >On 2003-11-18 09:31:42 +0100, Magnus Therning wrote: >> The command line completion for CVS in zsh seems to be broken: the >> completion for 'cvs add' doesn't provide completion for file names >> :-( > >It depends on the filenames. It won't try to complete on files that are >already added or are normally ignored (e.g. with a .o extension). Yes, I know. I still remember the good old days when I had a working CVS completion in zsh. I am trying to add not-previously-added C-files :( /M -- Magnus Therning mailto:[EMAIL PROTECTED] +31-40-2745179 http://pww.innersource.philips.com/magnus/ OpenPGP:0x4FBB2C40 I have the simplest tastes. I am always satisfied with the best. -- Oscar Wilde signature.asc Description: Digital signature
Re: zsh completion for CVS
On Thu, Nov 27, 2003 at 12:18:31PM +0100, Vincent Lefevre wrote: >On 2003-11-27 10:04:43 +0100, Magnus Therning wrote: >> Yes, I know. I still remember the good old days when I had a working CVS >> completion in zsh. I am trying to add not-previously-added C-files :( > >I have no problem here, with zsh 4.0.7-16 (unstable). >You can try something like: > >greux:~> zsh -f >greux% autoload -U compinit >greux% compinit >greux% cd >greux% touch foo.c >greux% cvs add [TAB] No luck :( Absolutely noting happened after hitting TAB. Some other place I should check, like some regular expression or something that might be bad? /M -- Magnus Therning mailto:[EMAIL PROTECTED] +31-40-2745179 http://pww.innersource.philips.com/magnus/ OpenPGP:0x4FBB2C40 Finagle's Second Law: Always keep a record of data -- it indicates you've been working. signature.asc Description: Digital signature
Re: VNC server desktop environment?
On Mon, Nov 22, 2004 at 12:23:42PM -0600, Eric Scott wrote: >On Monday 22 November 2004 10:18 am, Stephen Patterson wrote: >> On Mon, 22 Nov 2004 13:00:18 +0100, Jon Dowland wrote: >> > it might be reading ~/.xinitrc or ~/.xsession. Put the KDE window >> > manager binary path into that. I can'tremember what it's called, but >> > for another window manager (say, pwm) you'd have >> > /usr/bin/pwm >> >> VNC reads ~/.vnc/xstartup IIRC > >When I start the VNC server it says it's "starting applications >specified in /etc/X11/Xsession" >I don't have a ~/.vnc/xstartup file or whatever... if I create one is >VNC likely to still read from it? I think it depends on what VNC server you have installed. I recently switched from vncserver to vnc4server, and it seems it then switched from using /etc/X11/Xsession (and ~/.Xsession) to ~/.vnc/xstartup. The default ~/.vnc/xstartup uses x-window-manager, and you can change that using update-alternatives. Otherwise just edit ~/.vnc/xstartup yourself to get it to start whatever window environment you want. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Si hoc non legere potes tu asinus es. (If you can't read this you are an ass.) signature.asc Description: Digital signature
Re: How can I change the locale setting?
On Wed, Dec 01, 2004 at 04:42:08PM -0500, Thomas H. George wrote: >I must have missed something very elementary. I can't find out how to >change the locale setting from POSIX to en_US. > >locale -a shows both are available. apropos locale provides a long >list of locale programs including setlocale. The man page for >setlocale specifies the header to use in a C program. I am not able to >whip up a C program at the drop of a hat though I can work one out if >forced. Still there must be a trivially simple way to change the >locale setting though I can't find one in my reference books. > >I would appreciate it if someone could take a moment to point me in the >right direction. Hmm, is /etc/environment related to the locale setting? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Tragedy purges the mind of trivia. -- George Gilder signature.asc Description: Digital signature
problems compiling with R0.93
When I try to compile my own "hello world" program I get these error messages: gcc -g -o hello -L/usr/X11R6/lib hello.o -lXaw -lXt -lX11 ld: Output file requires shared library `libc.so.4' gcc: Internal compiler error: program ld got fatal signal 6 make: *** [hello] Error 1 Compiling the program with: gcc -g -c hello.c works fine, but the linking part just won't work. It's funny because I've successfully compiled the 'xli' package on my machine. And I have checked, I do have the libc.so.4 library in the /lib directory. _______ Magnus Therning ([EMAIL PROTECTED])
Turning on file system attributes
I can't seem to turn on the extended attributs of my file system :-( ACL does work, though. I've tried two things: mount -o user_xattr,remount tune2fs -o user_xattr Both of these ways work when it comes to turning on ACL... I'd really like to have both things turned on at the same time. Any pointers? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Found in comp.lang.scheme: > What's so great about the lambda calculus? In a profession plagued by, "when all you have is a hammer, everything looks like a nail," we get really excited when someone is able to come along and prove that everything really *is* a nail if lambda is the hammer. -- [EMAIL PROTECTED] signature.asc Description: Digital signature
Running jobs at shutdown
Currently I have a few jobs I run at boot time using @reboot in my crontab. I would really like to be able to run some jobs just before shutting down as well (alternatively when I log out of GNOME). How can I do that? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ I'd doubt that it represents a threat to anything but the notion that you can sell bad code by refusing to let anyone see what's in the box. -- Amy Wohl on Linux and Open Source signature.asc Description: Digital signature
Re: Running jobs at shutdown
On Wed, Oct 20, 2004 at 02:19:05PM +0100, Karl E. Jorgensen wrote: >On Wed, Oct 20, 2004 at 12:50:18AM +0200, Magnus Therning wrote: >> Currently I have a few jobs I run at boot time using @reboot in my >> crontab. I would really like to be able to run some jobs just before >> shutting down as well (alternatively when I log out of GNOME). How can I >> do that? > >To run them when you log out, you can put them in your ~/.xsession > >#!/bin/sh >gnome-session >~/bin/job-to-run-after-logout 1 >~/bin/job-to-run-after-logout 2 > >This will run the jobs after you log out of gnome. The jobs will still >ahve access to the X display - but there won't be any window manager at >this stage. > >The display manager won't return until the jobs are finished (unless >you start the jobs in the background, and then they cannot rely on >access to the the X display). > >PS: This assume that you actually use ~/.xsession - iirc you can tell >GDM to login as "X session" rather than the default gnome-session. Hmm, this was a really good suggestion. I didn't do it exactly like this, instead I decided to put GDM to use. I added the following lines to /etc/gdm/PostSession/Default : if [ -x ${HOME}/.Xpost_session ]; then su - ${USER} --command=${HOME}/.Xpost_session fi The I put an executable script called .Xpost_session in my home directory. It basically has the following format: #! /bin/zsh job1 &>| ~/.Xpost_session.err job2 &>>| ~/.Xpost_session.err It all works wonderfully. Can it be done better, or more efficient? /M > >Hope this helps >-- >Karl E. Jørgensen >[EMAIL PROTECTED] http://karl.jorgensen.com > Today's fortune: >There's no saint like a reformed sinner. -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ The corporation as we know it, which is now 120 years old, is unlikely to survive the next 25 years. Legally and financially yes, but not stucturally and economically. -- Peter Drucker signature.asc Description: Digital signature
Re: aptitude keeps trying to replace my vim-gtk and ftpd
On Wed, Nov 03, 2004 at 02:35:49PM -0500, Wayne Topa wrote: >Well it struck me a bit odd that I had bluefish runing an edit of my >web page and aptitude was somehow informed that it wasn't being used. > >In the two weeks I've been trying to get back to where I was, apitiude >has removed then installed then removed over 50 Meg of packages. >Thank God most were on the CD set! > >Thanks for your reply. I think I'll just remove aptitude and keep >doing the dselsct update ; apt-get dist-upgrade. Seems a bit more >understandable then what I have seen from aptitude. Hmmm, I haven't taken the time to get into aptitude yet (the first time I used it was a few weeks ago in order to get Gnome2.8 installed). Except for the odd experimental package (where aptitude behaves rather well) I mostly use apt-get and debfoster. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Two rules to success in life: 1. Don't tell people everything you know. -- Sassan Tat signature.asc Description: Digital signature
Re: fast, tabbed, gnome/wm- compliant terminal
On Wed, Jun 30, 2004 at 09:46:13PM -0700, Marc Wilson wrote: >On Thu, Jul 01, 2004 at 01:01:32PM +1000, Zenaan Harkness wrote: >> Does this exist? >> Will gnome-terminal ever return to being performant? >> Am I the only one going crazy just trying to edit files? > >And you don't just use xterm (instead of the disaster that is >gnome-terminal) because...? I guess xterm still isn't tabbed, is it? I'd love to swap gnome-terminal for xterm, but I can't live without tabs... /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Advice is what we ask for when we already know the answer but wish we didn't. -- Erica Jong signature.asc Description: Digital signature
Re: why does mutt ignore /etc/mailcap??
Try using the command view-mailcap (defaults to 'm' in the attachment view). /M On Sun, Jul 04, 2004 at 02:52:25PM +0200, Bruno Boettcher wrote: >Hello! > >since some time now i notice that i can't anymore open images send by >mail directly from mutt, not so bothersome since this doesn't happen very >often, but still annoying... > >the images have the correct mime-type in the mail, corresponding lines >are in /etc/mailcap and ~/.mailcap even, but still, mutt claims for >unrecognized type, displaying as text > >in /etc/mailcap are a lot of lines for e.g. image/jpeg but that >shouldn't trouble the thing, doesn't it? > >can it be that mutt doesn't find anymore the mailcap files?? > >funny thing... writing up the problem, also give a clue for the >problem... >seems that was indeed the problem... >adding: >set mailcap_path="~/.mailcap:/etc/mailcap" >to my muttrc solved the problem... > >but why are those settings no more a default??? > >-- >ciao bboett >== >[EMAIL PROTECTED] >http://inforezo.u-strasbg.fr/~bboett >=== > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ What is wanted is not the will to believe, but the will to find out, which is the exact opposite. -- Bertrand Russel signature.asc Description: Digital signature
Re: Mozilla/Firefox "PostScript/default" security problems
On Sun, Jul 11, 2004 at 07:28:56PM -0500, Brad Sims wrote: >On Saturday 10 July 2004 11:29 pm, Marc Wilson wrote: >> The numerous bugs that have been filed, and the way they've been dealt >> with, would seem to indicate that he's not interested in participating. > >Indeed, his entire argument consists of "Me, Debian Developer. you, user." >"Me make decision; you no make decision." > >I will simply roll my own packages and he can go masturbate his ego in >his own little corner of the net. Will you put those packages somewhere where others can reach them as well? /M > >-- >"If you choke a smurf, what color does it turn?" > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to build bigger and better idiots. So far, the Universe is winning... signature.asc Description: Digital signature
Re: Mozilla/Firefox "PostScript/default" security problems
On Mon, Jul 12, 2004 at 05:48:32PM -0500, Brad Sims wrote: >On Monday 12 July 2004 2:33 am, Magnus Therning wrote: >> Will you put those packages somewhere where others can reach them as >> well? > >Hrm, I need more webspace, my ISP only gives me about 10M > >If you roll your own, read the new developer how-to to learn how to >make the debs version -99 that way apt won't try to replace them . > >BTW is there a painless way to set up a apt repository? IE turn it >loose on a directory of debs and it does the rest? Also online manuals >would be nice... Take a look here: http://small.dropbear.id.au/docs/aptarchive.html I put up a minimal apt-repo (only one package in it :-) using it as a guide. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Linux means never having to delete your love mail. -- Don Marti signature.asc Description: Digital signature
Re: Changing hostname
On Mon, Jul 12, 2004 at 05:57:16PM -0400, * Tong* wrote: >Hi, > >Quick question how to change hostname under debian? > >I changed my /etc/hosts >from >127.0.0.1 cxmr localhost >to >127.0.0.1 cxmr.dyndns.org localhost > >but why my hostname is still reporting merely 'cxmr'? How to fix it? >(Surely I've rebooted). Run 'hostname -fqdn' and see if you FQDN is what you actually want :-) Also, I would have modified the line to say the following: 127.0.0.1 cxmr.dyndns.org cxmr localhost Maybe that's unnecessary, I don't know. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Intellectual property (IP) has been driving the species for some five million years. In the past 100 or so years, it's increasingly been saddled with the chore of lining the pockets of middlemen and parasites who, sans this lining, would lack sufficient intellect to open a can of beer. -- Tom Matrullo signature.asc Description: Digital signature
Re: How to configure Gnome app color
On Mon, Jul 12, 2004 at 06:38:02PM -0400, * Tong* wrote: >A silly question, How to configure the bg/fg color for Gnome/gtk >applications? I think I could previously, but I can't find where to do >it now. Isn't this part of the theme you are using? I suspect you'd have to start modifying the theme definition. You might be able to use ~/.gtkrc.mine to override settings in the theme, but I can't quite figure out how. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ The right to search for truth implies also a duty; one must not conceal any part of what one has recognized to be true. -- Albert Einstein signature.asc Description: Digital signature
Re: recommendation for digital camera -=> Shameless Nikon plug
On Mon, Jul 19, 2004 at 11:16:33PM -0700, [EMAIL PROTECTED] wrote: > >> I am using Nikon 4300 with linux and I am able to access it as mass >> storage without any problem. I just have to mount the camera as usb mass >> storage and copy the image files to my hdd. If any body is interested in >> having more info, kindly let me know. > >Yeah, Me! > >I have a 5700 and will eventually be using it with Linux. But I sort >of figured I would end up running the Nikon package under Windows via >VMware under Linux. Getting Windows out of the picture completely is a >good idea. What you're doing wouldn't get me any of the features of >the Nikon software, though (not that I'm *using* any of them yet, mind >you, but...) - for that, I'd need the Nikon software to run directly >under Linux?. Just out of curiosity, what does that SW offer? >I'm sure my 5700 will hook up the same way as the 4300... maybe you >could post the mount command you're using. Did you have to load >anything special as far as USB drivers goes, in order to support the >camera? Any information I get, I will capture in a file for Future >Use... I don't own a Nikon camera, but I access mine as a USB mass storage device as well. I added the following two lines to /etc/modules: usb-storage uhci-hcd I also configured udev to automatically create a device whenever I plug in the camera (/etc/udev/rules.d/local.rules): BUS="usb", SYSFS{idProduct}="4015", SYSFS{idVendor}="0686", KERNEL="sd?1", NAME="%k", SYMLINK="camera usb/cam" I used [1] to find out how to add rules to udev. /M 1. http://www.reactivated.net/udevrules.php -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ The cracked ones let in the light. -- Tom Peters signature.asc Description: Digital signature
Re: Resize partitions urgent help
I don't know if parted (package: parted) would suffice in this situation. I've used it and never had any problems with it. /M On Tue, Aug 03, 2004 at 11:44:48AM +, Vijaya S wrote: >Vijaya S wrote: > >> Hi all, >> I have a server with the following structure. >> >> # df -hT >> FilesystemTypeSize Used Avail Use% Mounted on >> /dev/hda2 unknown8.3G 399M 7.5G 5% / >> tmpfstmpfs252M 0 252M 0% /dev/shm >> /dev/hda3 ext3 19G 1.8G 16G 11% /usr >> /dev/hda5 ext39.2G 1.9G 6.9G 22% /var >> /dev/hda6 ext3 12G 1.4G 9.1G 13% /home >> /dev/hda7 ext3 19G 19G 0 100% /debian >> /dev/hda8 ext36.9G 33M 6.6G 1% /work >> >> The /dev/hda7 has been utilized 100% so i would like to increase it to >> 22GB and /work to 2.6GB >> Is it possible? If so how do i do it without data loss or >> undestructively? > >Its a debian machine > >> >> >> Regards, >> Vijaya > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Storing is like eating. You can eat cheaper, but you can't not eat. -- Colin Ferenbach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: kill process by name
On Tue, Aug 03, 2004 at 07:58:02PM +0100, Oliver Elphick wrote: >On Tue, 2004-08-03 at 19:29, Muratorio, Diego wrote: >> Hello Rick, I am looking for the same, did you find something about >> kill process by name? >> > >You want killall, from the psmisc package. Or 'pkill'. I've recently fallen in love with it, and it's cousin 'pgrep'. Both are in the package procps. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ The right to search for truth implies also a duty; one must not conceal any part of what one has recognized to be true. -- Albert Einstein signature.asc Description: Digital signature
Re: how to manage services ?
On Wed, Aug 04, 2004 at 10:02:07AM +0500, [EMAIL PROTECTED] wrote: >Hi, > >I am new to debina. I have certain services running like lpd rpc etc. >In RedHat there is a command chkconfig with which i can start/ top >services for certain run levels or completely stop it from running. > >Can someone suggest how to do it in debian. I'd guess what you are looking for is '/usr/sbin/update-rc.d'. Of course it probably isn't as flashy as RedHat's tool. The following might be of use as well (in case you don't know of them yet): runlevel - shows previous and current runlevel /etc/init.d/* - all the init scripts for different services /etc/rc?.d - links into /etc/init.d/, one dir for each runlevel /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Quidquid latine dictum sit, altum videtur. (Whatever is said in latin sounds profound.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sid kernel 2.6.0-1 kernel panic
For people using GRUB and 'update-grub' you can make sure you have the following line amonng your "kernel options for automagic boot options": # kopt_2_6_0=ramdisk_size=8192 root=/dev/hda7 ro and then re-run 'update-grub'. /M On Thu, Jan 08, 2004 at 07:08:20PM -0300, Toshiro wrote: >> Hello, >> I tried to upgrade from 2.4 to this 2.6 package and I get a kernel panic >> with the following message: >> RAMDISK cramfs filesystem found 4184kb image too big (it wants 4096 or >> something like that) >> then I get the VFS cannot open root device .. >> I was thus wondering if there was a way to get around the image too big >> problem (i am using the k7-smp flavor) >> Thanks in advance >> Xavier Leoncini > >1. add this line to lilo.conf: > append="ramdisk_size=8192" >2. run lilo > >Regards, >Toshiro. > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- --- Magnus Therning Philips Research Laboratories Eindhoven Phone: +31 40 2745179 (OpenPGP: 0x4FBB2C40) Microsoft is after all our entertainment technologies. It is an assault on so many fronts it is easy to lose track. -- David Strom signature.asc Description: Digital signature
viewcvs and subversion?
I have managed to get apache2 up and running with viewcvs to share my CVS repositories. Now, I wanted to share my subversion repositories as well, but I run into the following: An Exception Has Occurred Python Traceback Traceback (most recent call last): File "/usr/lib/python2.2/viewcvs/viewcvs.py", line 3067, in main run_viewcvs(server) File "/usr/lib/python2.2/viewcvs/viewcvs.py", line 2954, in run_viewcvs request = Request(server) File "/usr/lib/python2.2/viewcvs/viewcvs.py", line 252, in __init__ import vclib.svn File "/usr/lib/python2.2/viewcvs/__init__.py", line 26, in ? ImportError: No module named svn Anyone who knows what the problem is? /M -- Magnus Therning mailto:[EMAIL PROTECTED] PGP:0xD3BC7468 +31-40-2745179 http://pww.innersource.philips.com/magnus/ Computers pose no threat to humans beyond Microsoft's blue screen of death and fatal error messages. -- George Gilder pgp0.pgp Description: PGP signature
viewcvs + svn for Debian unstable
Hi, I had some problems getting the version of viewcvs that is available in Debian unstable with the python2.2-subversion package that is in there too... The attachment contains a diff of the changes that I made... It seems to work except for the fs.FileDiff on line 116 in vclib/svn/__init.py__, I am not sure what to replace it with and it seems that the CVS HEAD of viewcvs still uses it... Any help would be most useful. /M -- Magnus Therning mailto:[EMAIL PROTECTED] PGP:0xD3BC7468 +31-40-2745179 http://pww.innersource.philips.com/magnus/ There is no such thing as sleep deprivation, only caffeine deficiency. -- Simmons --- __init__.py_old 2003-06-17 08:04:45.0 +0200 +++ __init__.py 2003-06-25 13:29:29.0 +0200 @@ -23,7 +23,7 @@ import string # Subversion swig libs -from svn import fs, repos, util +from svn import fs, repos, core # Subversion filesystem paths are '/'-delimited, regardless of OS. def fs_path_join(base, relative): @@ -33,21 +33,21 @@ def _datestr_to_date(datestr, pool): - return util.svn_time_from_cstring(datestr, pool) / 100 + return core.svn_time_from_cstring(datestr, pool) / 100 def _fs_rev_props(fsptr, rev, pool): - author = fs.revision_prop(fsptr, rev, util.SVN_PROP_REVISION_AUTHOR, pool) - msg = fs.revision_prop(fsptr, rev, util.SVN_PROP_REVISION_LOG, pool) - date = fs.revision_prop(fsptr, rev, util.SVN_PROP_REVISION_DATE, pool) + author = fs.svn_fs_revision_prop(fsptr, rev, core.SVN_PROP_REVISION_AUTHOR, pool) + msg = fs.svn_fs_revision_prop(fsptr, rev, core.SVN_PROP_REVISION_LOG, pool) + date = fs.svn_fs_revision_prop(fsptr, rev, core.SVN_PROP_REVISION_DATE, pool) return date, author, msg def date_from_rev(svnrepos, rev): - if (rev < 0) or (rev > fs.youngest_rev(svnrepos.fs_ptr, svnrepos.pool)): + if (rev < 0) or (rev > fs.svn_fs_youngest_rev(svnrepos.fs_ptr, svnrepos.pool)): raise vclib.InvalidRevision(rev); - datestr = fs.revision_prop(svnrepos.fs_ptr, rev, - util.SVN_PROP_REVISION_DATE, svnrepos.pool) + datestr = fs.svn_fs_revision_prop(svnrepos.fs_ptr, rev, + core.SVN_PROP_REVISION_DATE, svnrepos.pool) return _datestr_to_date(datestr, svnrepos.pool) @@ -80,7 +80,7 @@ } for file in files: path = fs_path_join(full_name, file) -rev = fs.node_created_rev(svnrepos.fsroot, path, svnrepos.pool) +rev = fs.svn_fs_node_created_rev(svnrepos.fsroot, path, svnrepos.pool) datestr, author, msg = _fs_rev_props(svnrepos.fs_ptr, rev, svnrepos.pool) date = _datestr_to_date(datestr, svnrepos.pool) new_entry = LogEntry(rev, date, author, msg) @@ -97,7 +97,7 @@ } if which_rev is not None: if (which_rev < 0) \ - or (which_rev > fs.youngest_rev(svnrepos.fs_ptr, svnrepos.pool)): + or (which_rev > fs.svn_fs_youngest_rev(svnrepos.fs_ptr, svnrepos.pool)): raise vclib.InvalidRevision(which_rev); datestr, author, msg = _fs_rev_props(svnrepos.fs_ptr, @@ -111,8 +111,8 @@ def do_diff(svnrepos, path, rev1, rev2, diffoptions): - root1 = fs.revision_root(svnrepos.fs_ptr, rev1, svnrepos.pool) - root2 = fs.revision_root(svnrepos.fs_ptr, rev2, svnrepos.pool) + root1 = fs.svn_fs_revision_root(svnrepos.fs_ptr, rev1, svnrepos.pool) + root2 = fs.svn_fs_revision_root(svnrepos.fs_ptr, rev2, svnrepos.pool) return fs.FileDiff(root1, path, root2, path, svnrepos.pool, diffoptions) @@ -122,26 +122,26 @@ self._eof = 0 def read(self, len): -chunk = util.svn_stream_read(self._stream, len) +chunk = core.svn_stream_read(self._stream, len) if not chunk: self._eof = 1 return chunk def readline(self): -chunk = util.svn_stream_readline(self._stream) +chunk = core.svn_stream_readline(self._stream) if not chunk: self._eof = 1 return chunk def close(self): -return util.svn_stream_close(self._stream) +return core.svn_stream_close(self._stream) def eof(self): return self._eof def get_file_contents(svnrepos, path): - # len = fs.file_length(svnrepos.fsroot, path, svnrepos.pool) - stream = fs.file_contents(svnrepos.fsroot, path, svnrepos.pool) + # len = fs.svn_fs_file_length(svnrepos.fsroot, path, svnrepos.pool) + stream = fs.svn_fs_file_contents(svnrepos.fsroot, path, svnrepos.pool) return StreamPipe(stream) @@ -149,23 +149,24 @@ def __init__(self, name, rootpath, rev=None): if not os.path.isdir(rootpath): raise vclib.ReposNotFound(name) -util.apr_initialize() -self.pool = util.svn_pool_create(None) +core.apr_initialize() +self.pool = core.svn_pool_create(None) self.repos = repos.svn_repos_open(rootpath, self.pool) self.name = name self.rootpath = rootpath self.fs_ptr = repos.svn_repos_fs(self.repos) self.rev = rev -youngest = fs.youngest_rev(self.fs_ptr, self.pool); +#youngest = fs.svn_fs_youn
Mozilla history (completion)
Ever since I switched from using Galeon to Mozilla I have lived with no history, and of course no history completion due to that :( After installing a Debian system recently I noticed that history on that system _did_ work. So, now I wonder what the reason might be that I have no history in Mozilla. Anyone with an idea? /M P.S. Do note that I already have the history completion turned on, but since there doesn't seem to be any history, there isn't anything to complete :( -- Magnus Therning mailto:[EMAIL PROTECTED] PGP:0xD3BC7468 +31-40-2745179 http://pww.innersource.philips.com/magnus/ Basically, avoid comments. If your code needs a comment to be understood, it would be better to rewrite it so it's easier to understand. -- Rob Pike pgp0.pgp Description: PGP signature
Re: Mozilla history (completion)
Hmm, I've been using sid all along, and noticed that version 1.4 just made it in... but despite the recent upgrade I still had no completion. However, after following your advise and first removing mozilla and the turn around and installing it again seemed to work... irritating to not know the reason though :( /M On Wed, Jul 09, 2003 at 10:59:53AM +0200, [EMAIL PROTECTED] wrote: > Magnus Therning <[EMAIL PROTECTED]> [2003-07-09 10:44]: > > After installing a Debian system recently I noticed that history on that > > system _did_ work. So, now I wonder what the reason might be that I have > > no history in Mozilla. Anyone with an idea? > > > > I've had a similar problem until recently when I had to re-install > vanilla mozilla. For this reason, I purged the old installation and > installed the latest found in sid. Ever since, completion and all the > nice features have been working again. > > wbr, > Lukas > -- > Lukas Ruf | Wanna know anything about raw | > <http://www.lpr.ch> | IP? <http://www.rawip.org> | > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > -- Magnus Therning mailto:[EMAIL PROTECTED] PGP:0xD3BC7468 +31-40-2745179 http://pww.innersource.philips.com/magnus/ C++ is to C, as lung cancer is to lung. pgp0.pgp Description: PGP signature
Re: apt-get and proxy setting
On Tue, Jul 15, 2003 at 04:18:07PM +0200, [EMAIL PROTECTED] wrote: > Hello, > > I am facing some problems in getting apt-get to retrieve files through > http proxy setting. I tried the following: > >1. Set the environment variable as > > export HTTP_PROXY="http://203.195.221.129:3128"; > > Still when I give apt-get update, I get messages telling that > connection is refused from the hosts (www.debian.org, > marillat.free.fr, et al.) > >2. Created /etc/apt.conf as below: > > APT { > Acquire { > http { >Proxy "http://203.195.221.129:3128";; > }; > }; > }; > > Still the same result. > > Browsing the docs threw up the second solution. > > My question is how can I make apt-get to retrieve the files with the > above setting? FWIW, I am able to download files using wget by putting > the above setting in /etc/wgetrc. AFAIK you also have to make sure that the sources.list contains repositories with the correct fetch method, i.e. http. /M -- Magnus Therning mailto:[EMAIL PROTECTED] PGP:0xD3BC7468 +31-40-2745179 http://pww.innersource.philips.com/magnus/ The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it. -- Michelangelo pgp0.pgp Description: PGP signature
Re: LaTeX vs. lout
On Tue, Jul 15, 2003 at 06:50:25PM +0200, [EMAIL PROTECTED] wrote: > Vittorio [debian-user] <15/07/03 18:12 +>: > > Has anyone of you debianists used the two typesetting systems? > > > > What are your impressions? > > > > Ciao > > Vittorio > > > > Sorry friends, I restate my question: > > I've been using latex and the likes (ConTeXt, LyX) satifactorily for a > couple of years. Could you please contrast it with lout that I don't > know at all? Any special advantage in using it? It was quite some time that I used lout, but I thought I'd answer this anyway ;) (La)TeX has nicer fonts in general, especially for mathematical formulae. It is however possible to use the TeX fonts with lout. I think lout is more free than LaTeX since the main documentation is free, this is a big plus point for a poor student. The free LaTeX documentation that is available is pretty good, and it is sufficient for most people I would guess, but if you need to make your own styles it becomes more difficult to get by with it. One nice thing with lout is that it uses postscript as its default output format. All this said I have to confess that by now I have converted totally to LaTeX, I bought two books and use it whenever I need to write something. /M -- Magnus Therning mailto:[EMAIL PROTECTED] PGP:0xD3BC7468 +31-40-2745179 http://pww.innersource.philips.com/magnus/ Nearly every electrical engineer believes deep in his heart that he is a better at writing computer programs than any computer programmer, and can show as proof the fact that he has written a number of small applications, each of which was done quickly, easily, and exactly met his needs. pgp0.pgp Description: PGP signature
Re: apt-get and proxy setting
Hmm, I wonder if there might be a problem with the apt.conf file after all. I have pasted mine below, note that Acquire is on the top level and not under APT! Acquire { http { Proxy "http://pixs.htc.nl.philips.com:8080";; }; }; APT { Default-Release "unstable"; Get::Purge "true"; Cache-Limit 25165824; }; Hope it helps. /M On Wed, Jul 16, 2003 at 11:15:34AM +0200, [EMAIL PROTECTED] wrote: > On Wed, Jul 16, 2003 at 09:56:47AM +0200, Magnus Therning wrote: >> On Tue, Jul 15, 2003 at 04:18:07PM +0200, [EMAIL PROTECTED] wrote: >> > Hello, >> > >> > I am facing some problems in getting apt-get to retrieve files through >> > http proxy setting. I tried the following: >> > >> >1. Set the environment variable as >> > >> > export HTTP_PROXY="http://203.195.221.129:3128"; >> > >> > Still when I give apt-get update, I get messages telling that >> > connection is refused from the hosts (www.debian.org, >> > marillat.free.fr, et al.) >> > >> >2. Created /etc/apt.conf as below: >> > >> > APT { >> > Acquire { >> > http { >> >Proxy "http://203.195.221.129:3128";; >> > }; >> > }; >> > }; >> > >> > Still the same result. >> > >> > Browsing the docs threw up the second solution. >> > >> > My question is how can I make apt-get to retrieve the files with the >> > above setting? FWIW, I am able to download files using wget by putting >> > the above setting in /etc/wgetrc. >> >> AFAIK you also have to make sure that the sources.list contains >> repositories with the correct fetch method, i.e. http. >> > I do have them. In fact, I wan not facing any problems with apt-get. One > fine day, browsers, wget et al. stopped working and on enquiry came to > know that the isp had introduced the proxy server. It is from that point > of time, I am getting this error. OK, here is the snippet from my > sources.list: > >deb http://ftp.debian.org/debian testing main contrib non-free > ># Security updates for woody >deb http://security.debian.org/ woody/updates main contrib non-free > ># MPlayer >deb http://marillat.free.fr/ testing main > > Here is the output: > brahman:~# apt-get update > Err http://marillat.free.fr testing/main Packages > Could not connect to marillat.free.fr:80 (212.27.35.5). - \ > connect (111 Connection refused) [IP: 212.27.35.5 80] > Err http://marillat.free.fr testing/main Release > Could not connect to marillat.free.fr:80 (212.27.35.5). - \ > connect (111 Connection refused) [IP: 212.27.35.5 80] > ... > > Regards, > > -- > Sridhar M.A. > > Enjoy your life; be pleasant and gay, like the birds in May. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > -- Magnus Therning mailto:[EMAIL PROTECTED] PGP:0xD3BC7468 +31-40-2745179 http://pww.innersource.philips.com/magnus/ Humans are unreliable, computers are non-deterministically reliable. pgp0.pgp Description: PGP signature
Signing emails on the list [Was Re: Is there a *console* screen capture]
On Fri, Aug 01, 2003 at 10:57:25AM +0200, [EMAIL PROTECTED] wrote: > > From [EMAIL PROTECTED] Fri Aug 1 01:30:57 2003 > > > > > > * Alan Connor <[EMAIL PROTECTED]> [030801 14:17]: > > > > > > Please don't clutter your posts with pgp signatures. > > > > Clutter? Says he with the five line signature! > > Yes. You are partly right and I have corrected my sig. Thank you. > > But you are also partly wrong, because my sig at least conveys > potentially useful information. Useful? I don't know, it conveys your opinion, of course I could argue that that isn't even potentially useful ;-) > > > Most of us don't have the software to interpret them > > > > Speak for yourself. > > Well, very few people use pgp signatures on the list. > > Some may HAVE the software, but have the good taste not to use it when > there is no point. You are right there. Are you equally bothered if the signature ends up in an attachment? I can't help thinking of something Phil Zimmermann mentioned in some text I read (I think he was the author). Some governments re trying to ban electronic encryption that they don't have a back door to so he encouraged everyone to use it, simply due to the practical difficulties with prohibiting something that everyone is doing. One might see signing emails as taking a stand for strong, cheap electronic encryption available to the masses. /M -- Magnus Therning mailto:[EMAIL PROTECTED] PGP:0xD3BC7468 +31-40-2745179 http://pww.innersource.philips.com/magnus/ Time is an illusion. Lunchtime doubly so. -- Douglas Adams pgp0.pgp Description: PGP signature
hotplug messing with my (GNOME) sound
Ever since I installed udev+hotplug my GNOME sound won't work :-( It seems that hotplug insists on loading the oss module for my sound card, despite the fact that I've listed it in /etc/hotplug/blacklist. Is there a solution? I searched the mailing lists and found out about the blacklist trick, but it doesn't work that well for me. Alsa sound does work, I can play tunes in XMMS with the alsa output plugin. As far as I understand it esound needs the oss compatibility modules for alsa, and it probably is screwed up due to there now being two oss modules for my sound card--esd chooses the wrong one I guess. Extra info: $ lsmod|grep via snd_via82xx26464 0 snd_ac97_codec 64324 1 snd_via82xx gameport4736 1 snd_via82xx snd_mpu401_uart 7872 1 snd_via82xx via_agp 7616 1 agpgart34280 1 via_agp snd_pcm97828 3 snd_via82xx,snd_usb_audio,snd_pcm_oss snd_page_alloc 11332 2 snd_via82xx,snd_pcm snd55972 10 snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_usb_audio,snd_rawmidi,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer via82cxxx 14108 1 ide_core 148896 5 ide_cd,usb_storage,ide_disk,ide_generic,via82cxxx $ grep via /etc/hotplug/blacklist via82cxxx /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Long-range planning does not deal with future decisions, but with the future of present decisions. -- Peter F. Drucker signature.asc Description: Digital signature
Re: e-mail from local host
On Mon, May 24, 2004 at 11:56:56PM -0300, Juan Nin wrote: >From: "Luis Finotti" <[EMAIL PROTECTED]> > >> [EMAIL PROTECTED] >> SMTP error from remote mailer after RCPT >> TO:<[EMAIL PROTECTED]>: >> host mailv.math.ucsb.edu [128.111.88.21]: 504 >> : >> Helo command rejected: need fully-qualified >> hostname > >you should have a FQDN hostname (fully-qualified domain name) >the remote SMTP server rejects you connection, because your machine >identifies itslef as "debian" which is not an existent hostname > >change your hostname so as to have an FQDN hostname (host.domain.tld) If you don't like the name your ISP gives you, you might even be given a different name every time you re-connect, you might be interested in the ez-ipupdate package. It will automate the updating of your IP with several free DNS services. Register a nice name with one of these services, install ez-ipupdate, and then make sure that your FQDN is proper (/etc/hosts is the file to modify). /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ In my opinion, shareware tends to combine the worst of commercial software (no sources) with the worst of free software (no finishing touches). I simply do not believe in the shareware market at all. -- Linus Torvalds signature.asc Description: Digital signature
Magic for OpenOffice (file)
A quick search in Google didn't reveal any solution (only found one reference, in Japanese). $ file -i file.sxw file.sxw: application/x-zip It would be really nice if 'file' could give proper the correct type for OpenOffice documents. Anyone who has an entry for /etc/magic that make sit happen? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Technology lies on the leading edge of life. -- Rush signature.asc Description: Digital signature
Re: Magic for OpenOffice (file)
On Tue, May 25, 2004 at 10:17:33AM -0500, Jacob S. wrote: >On Tue, 25 May 2004 07:56:28 -0700 >[EMAIL PROTECTED] (Keith Nasman) wrote: > >> On Tue, May 25, 2004 at 09:47:16AM -0400, Gregory Seidman wrote: >> > On Tue, May 25, 2004 at 08:33:19AM +0200, Magnus Therning wrote: >> > } A quick search in Google didn't reveal any solution (only found >> > one} reference, in Japanese). >> > } >> > } $ file -i file.sxw >> > } file.sxw: application/x-zip >> > } >> > } It would be really nice if 'file' could give proper the correct >> > type for} OpenOffice documents. Anyone who has an entry for >> > /etc/magic that make} sit happen? >> > >> > This is a deeper problem than just OOorg. There has been >> > dissatisfaction with file's reporting for >> > compressed/gzipped/bzipped/zipped files for a good long time, and >> > the idea of having file actually decompress some of the data to get >> > a more accurate result has come up in the past. > >> > >> > Ultimately, I'd love to see it done, and I encourage you to get >> > programming. >> >> What's kind of ironic is that the first line of the files states the >> MIME type in ASCII. >> >> [EMAIL PROTECTED]:~/docs$ strings test.sxw | head -n1 >> mimetypeapplication/vnd.sun.xml.writerPK >> [EMAIL PROTECTED]:~/docs$ strings test.sxc | head -n1 >> mimetypeapplication/vnd.sun.xml.calcPK > >Actually, only OO.org 1.1 declares its MIME type. Doing a strings >test.sxw | head -n1 on a file created by OO.org 1.0 simply returns >"content.xml". > >That said though, I _prefer_ file showing it as a compressed file. After >all, if I wanted to read the content, I would first need to uncompress >it, or use a utility that will decompress text on the fly (zless comes >to mind). Then there's also the fact that it's not just a single file >compressed in a zip archive. If you run unzip on a OO.org 1.1 file, it >extracts the following files: > >mimetype >content.xml >styles.xml >meta.xml >settings.xml >META-INF/manifest.xml > >Running unzip on a OO.org 1.0 file returns much the same results, >_except_ it does not have the mimetype file in it. > >I suppose there might be room to expand the information file returns, >such as what type of file is inside the zip file, but if the zip file >has very many individual files in it, this could take forever, produce >a lot of output, etc. So, I think file accomplishes it's goal; I run >file to know what tool(s) I need to work with that file. The first tool >needed is a decompression utility. Then I can run file again on the >individual .xml files to see that they are "XML 1.0 document text". Well, in this particular case I really don't care about the archiving format of the file. To me a .sxw file is an OpenOffice.org file, not a zip-archive. Unzipping it won't allow me to work with the file, starting OO.o will. The source of all this is a small python script I wrote that saves files attached in incoming emails and replaces the attachment with a message/external-body attachment. (I get quite a lot of emails with attachments and many times it is more interesting to keep the email longer than the attachment.) In my attempts to get mutt to support external-body parts I thought of a script something like this: handleext: #! /bin/sh my_file=$1 metamail -b -c `file -ib ${my_file}` ${my_file} And then put an entry like this in my mailcap: ~/.mailcap: message/external-body; ${HOME}/bin/ext_test %{name};\ test=test %{access-type} = local-file This would let me utilize the already existing mailcap entries for files (I am quite happy with them, and use them extensively from mutt). The problem is that this simple setup won't work with OO.o. I have managed to get 'file' to recognise OO.o files, but it seems 'file' has a rather silly behaviour: 1. The first match is chosen, and /etc/magic is loaded last, meaning that /etc/magic doesn't override things in the default magic files (/usr/share/misc/file/). 2. Setting the MAGIC environment variable means that the default magic files won't be used at all. These deficiances can of course be worked around with some clever scripting. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ I'm still freaked out about all this. I just wrote a (bleeping) anthropology paper. -- Eric Raymond signature.asc Description: Digital signature
Strange problem with OO.o
I just noticed a rather strange thing with my OO.o Writer. The menus don't work. Neither do the drop-down boxes. :-( Drop-down boxes work in /usr/lib/openoffice/spadmin for root, but not in Writer for my regular user. Has anyone observed the same behaviour? Anyone with a solution? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ X-Windows: ...Putting new limits on productivity. signature.asc Description: Digital signature
Re: Strange problem with OO.o
On Wed, May 26, 2004 at 07:18:54AM -0500, Kent West wrote: >Magnus Therning wrote: > >>I just noticed a rather strange thing with my OO.o Writer. The menus don't >>work. Neither do the drop-down boxes. :-( Drop-down boxes work in >>/usr/lib/openoffice/spadmin for root, but not in Writer for my regular >>user. >> >>Has anyone observed the same behaviour? Anyone with a solution? >> >>/M >> >> >> >Do they work in Writer for root (or other users)? Never did try that. Seems that switching Gtk2 theme influenced it: Xfce-KDE2 - no menus in OO.o ThinIce - menus in OO.o Weird indeed. I'll be trying to reproduce it once I'm back at work tomorrow. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ The second oldest profession is book keeping. -- Craig Burton signature.asc Description: Digital signature
Default printer in XPrint/FireFox?
I have two network printers configured in CUPS: bern (CUPS default) escher FireFox finds both (through XPrint I guess), but it disregards the CUPS setting for what printer should be the default one. Can I somehow get XPrint or FireFox to use bern as its default? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Wade's Maxim: No one ever made money by typing. -- Wade Henessy signature.asc Description: Digital signature
CUPS + FireFox: printing with a2ps
I can't say I am very happy with the printing support in Firefox. It does find CUPS and XPrint printers (or maybe it's XPrint that finds the CUPS printers), but what I'd really like is to print two pages on each side (ala 'a2ps -2'). Anyone who knows how I can achieve that? I guess the available options would be 1. Make Firefox use a2ps. (This would be ideal actually.) 2. Somehow configure a CUPS printer that does it. (I can't find anything relating to this in the CUPS administrators manual.) 3. Configure XPrint. (This piece of software is a mystery to me. Looked for info but found very little in the way of configuration information.) System info: Debian Sid CUPS printers (raw ldp since there is a remote spooler): bern escher XPrint printers: escher@:64 bern@:64 xp_ps_spooldir_tmp_Xprintjobs@:64 xp_pdf_spooldir_tmp_Xprintjobs@:64 -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania. signature.asc Description: Digital signature
Re: Default printer in XPrint/FireFox?
Cool, missed that one entirely. Thanks! Any ideas of the best place to put it? For now it went into /etc/X11/Xsession.d/93xprint-default since I want it to be set whenever X is started. It seems to work :-) /M On Tue, Jun 08, 2004 at 05:54:00AM +0200, Roland Mainz wrote: >Magnus Therning wrote: >> I have two network printers configured in CUPS: >> >> bern (CUPS default) >> escher >> >> FireFox finds both (through XPrint I guess), but it disregards the CUPS >> setting for what printer should be the default one. Can I somehow get >> XPrint or FireFox to use bern as its default? > >>From the Xprint FAQ (http://xprint.mozdev.org/docs/Xprint_FAQ.html): >-- snip -- >How do I configure Xprint on the client side ? >A: There are two env vars which control Xprint on the client side: >[snip] >2. The env variable ${XPRINTER} defines the default printer used by > print applications. The syntax is either or > @ > >Examples: >a. > % export XPRINTER=ps003 >tells an application to look for the first printer named >"ps003" on all Xprt servers. >b. > % export XPRINTER="[EMAIL PROTECTED]:80" >tells an application to look for the printer "hplaser19" on >the Xprt display "littlecat:80". >Note: > If ${XPRINTER} is not set the applications will examine the values of > the ${PDPRINTER}, ${LPDEST}, and ${PRINTER} env vars (in that order). >-- snip -- > >You either set the ${XPRINTER} env var if you only want to affect Xprint >clients or use the Unix standard var ${LPDEST} ... > > > >Bye, >Roland > >-- > __ . . __ > (o.\ \/ /.o) [EMAIL PROTECTED] > \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer > /O /==\ O\ TEL +49 641 7950090 > (;O/ \/ \O;) > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ X-Windows: ...Japan's secret weapon. signature.asc Description: Digital signature
OT: Network question
First of all sorry for posting this on this mailing list. I don't know of any good list to post it on, and since this list seems to draw a very knowledgable crowd I thought it might be worth a shot ;-) I have a problem with the network connection at home, but only to certain (I have found two) sites: http://www.therning.org/ (a very shor silly page: "coming soon...") http://99kronor.com/ (the webhosting used for the domain above) DNS lookup works fine! Traceroute gives me about 15 hops before it runs into problems (it reports only stars until hop 30 when it stops, increasing the hop count doesn't improve the situation). Both of these sites are reachable from all other computers I've tried (work, 2 friends', my brother's, my ISP's helpdesk). The ISP helpdesk says this is a DNS problem, and that it will sort itself out in less than a week. As you understand my knowledge of networks is extremely limited, but something here doesn't smell right. If it were a DNS problem, why doesn't switching DNS have any influence? (I have tried 3 different ones, the default one from my ISP, an openly available one from 12move.nl, and one openly available from Chalmers in Sweden.) When comparing the hops observed by me and the ones observed by the ISP helpdesk they are the same (well, the first few aren't, but they quickly join) until the last one I note. After that it takes about 2 hops for the ISP helpdesk to reach the destination. Why do I get a slightly different route, which seems to land me in some black hole? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Anyone who creates his or her own cryptographic primitive is either a genius or a fool. Given the genius/fool ratio for our species, the odds aren't very good. -- Bruce Schneier, Secrets and Lies signature.asc Description: Digital signature
Re: Mouse Jumps/ Moves Erratically
I noticed similar behaviour. First the mouse wasn't noticed by X at all, actually. After a quick unload/load of the two mouse related kernel modules (mousedev, psmouse) I got that erratic behaviour. I rebooted, and that took care of it (for this time anyway). Does X (or rather the kernel module) complain about dropped bits? (I saw lots of complaints on dropping one or two bits.) /M On Sat, Jun 26, 2004 at 05:07:47PM -0400, Allen Williams wrote: >I'm not sure what you mean by the trapped moth syndrome, but I have tried >just about every protocol that XF86Config says it supports. Right now, >since I'm using my wndz machine to check the email and forums, I've got my >Linux machine shut down. I'll check the xset man page as soon as I boot it >up, but I don't think it's a speed issue. I try to "sneak" the mouse to, >for example, the title bar on the login window (as though I were going to >click on it to move the window), and the mouse moves closer... closer... >then jumps to the other side of the screen. This is just one example. It >does seem to work better when I move it slower, but still not right and we >are talking *real* slow here. > >Thanks;) > >> -Original Message- >> From: Thomas Adam [mailto:[EMAIL PROTECTED] >> Sent: Saturday, June 26, 2004 1:44 PM >> To: Allen Williams; [EMAIL PROTECTED] >> Subject: Re: Mouse Jumps/ Moves Erratically >> >> >> --- Allen Williams <[EMAIL PROTECTED]> wrote: >> >> > Is there any way to even debug this? I'd hate to find a situation where >> > WinDoze is more stable than Linux! Any help I could get solving this >> > problem would be greatly appreciated! >> >> When you say erratic, how do you mean? If you have the trapped moth >> syndrome, it is probable that you have a protocol issue with the mouse. If >> it is simply a speed issue, this can be fine-tuned using 'xset' (see the >> manpage). >> >> -- Thomas Adam >> >> = >> "The Linux Weekend Mechanic" -- http://linuxgazette.net >> "TAG Editor" -- http://linuxgazette.net >> >> " We'll just save up your sins, Thomas, and punish >> you for all of them at once when you get better. The >> experience will probably kill you. :)" >> >> -- Benjamin A. Okopnik (Linux Gazette Technical Editor) >> >> >> >> >> >> ___ALL-NEW >> Yahoo! Messenger - so many all-new ways to express yourself >> http://uk.messenger.yahoo.com > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ It doesn't matter who you are. Most of the smartest people work for somebody else. -- Bill Joy signature.asc Description: Digital signature
Gdk-WARNING **: locale not supported by Xlib
I used 'dpkg-reconfigure locales' to set the system locale to en_GB.ISO-8859-15. I then tell GDM to use the system default when I log in. It looks like this does what I expected! I kept getting Gdk warnings in X though :-( The file /usr/X11R6/lib/X11/locale/locale.alias is involved somehow I found out. Adding the following two lines (and restarting X) seems to fix it: en_GB.ISO-8859-15 en_GB.ISO8859-15 en_GB.ISO-8859-15: en_GB.ISO8859-15 Is this a bug that should be reported? I'd be even happier if I were able to use en_GB.utf8, but support seems to be lacking (in X at least). Or maybe I'm just missing some crucial package here? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Do not meddle in the affairs of Wizards, for they are subtle and quick to anger. -- J.R.R Tolkien signature.asc Description: Digital signature
Re: Obsessed with a clean system
On Thu, Aug 12, 2004 at 12:32:12AM +0300, Micha Feigin wrote: >On Wed, Aug 11, 2004 at 08:33:49AM -0700, William Ballard wrote: >>On Wed, Aug 11, 2004 at 10:28:24AM -0500, Kirk Strauser wrote: >>>On Tuesday 10 August 2004 22:04, Tong Sun wrote: >>>> Anybody here is as obsessed as I am for a clean system? >>>No. Drives are cheap, but my time is not. I have a ridiculous >>>number of packages installed (because Debian makes it cheap to >>>experiment and I don't get too worked up about removing the ones I >>>don't use often), and the total size of my system (excluding /home, >>>but including /usr/src and all of the kernel tarballs extracted in >>>there) is 5.2 GB. >>>That's roughly 5% of the size of a hard drive that I can buy for $60 >>>at the local office supply store, or $3 worth of space. Even if I >>>could cut that in half, I'd be saving about $1.50 worth of space at a >>>cost of hundreds of dollars of time. >>>I used to be obsessed with clean drives before I upgraded the 120MB >>>Connor in my Amiga. Since then, I haven't spent much time worrying >>>about it. >>But keeping it clean primarily saves time. Nobody cares about disk >>space. Why download upgrades to all those packages you never need? >>Why fight broken upgrades on things? >What I usually do is that when I look over the packages that are going >to be upgraded (I use the ncurses interface to aptitude) I either >remove packages I no longer need or mark those I am not sure about as >auto. I make use of debfoster to keep my system "clean". /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Si hoc legere scis nimium eruditionis habes. (If you can read this you are to highly educated.) signature.asc Description: Digital signature
CUPS (or Xprt) and psnup -2
Is there some way of making a virtual printer in CUPS (or Xprt maybe?) that allows me to print 2 pages on one (like 'psnup -2' does)? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ It is not the strongest of the species that survive, nor the most intelligent, but the one most responsive to change. -- John McFee signature.asc Description: Digital signature
Re: CUPS (or Xprt) and psnup -2
Sami Haahtinen wrote: >>Magnus Therning wrote: >> >>Is there some way of making a virtual printer in CUPS (or Xprt maybe?) >>that allows me to print 2 pages on one (like 'psnup -2' does)? >You should read the CUPS users manual: http://cups.org/sum.html#4_3_4 >There is a builtin feature for this. Hmm, that doesn't seem to work. Probably due to the setup I (am forced to) have. I use a lpd server to access the printers (URI: lpd://printer.server:515/name). The printer uses the 'raw' driver. The command: $ lp -o number-up=2 mozilla.ps has absolutely no effect at all. I guess that if the printer server were running CUPS (ipp) then it would work better. In LPRng I'd set up a "virtual" printer that first filters all its jobs through psnup and then sends it on to the printer server. Can I do something similar in CUPS? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Philips: putting 'backwards' in 'backwards compatible'! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: TCO - Windows vs Linux
On Sat, Aug 14, 2004 at 08:24:28AM -0400, Gregory Seidman wrote: >On Sat, Aug 14, 2004 at 08:14:58PM +0800, John Summerfield wrote: >} "Microsoft has long asked third party analysts for accurate assessments >} of the total cost of ownership of Microsoft Windows deployments, >} especially against the Linux deployments commonly going into all >} segments of the market. However, Immunity, Inc. as a third party >} assessment provider has, until now, not done a thorough analysis, using >} Immunity proprietary data to tell the true story about the costs of Open >} Source... >} >} http://linuxtoday.com/security/2004081302226OPSWNT >} >} Comments? > >Did you read the actual paper? It's mostly a joke, though >well-researched and -supported. That's Total Cost of 0wnership, spelled >with a zero, as in 0\/\/|\|ing the box. I had loads of fun reading it, as did a few of my colleagues. I have to admit I first dissmissed it due to its title, until I realised they spell ownership with 0 (zero). /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Maturity is when you quit blaming other people for your problems -- Craig Burton signature.asc Description: Digital signature
UML question
I am trying to get a user-mode-linux (UML) kernel running. However, the kernel won't boot. Just at the end of the boot sequence 'init' complains about the getty's respawning too fast and decides to pause them for 5 minutes. So, I never get to the login prompt... any ideas? hints? Linux kernel version 2.6.3 (with patch 2.6.3-rc2-1 applied). I've tried it with both a root file system I built myself (using debootstrap to get a Sid root_fs) and one I downloaded off the UML site (the Woody one). Both give me the same result :-( /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ All models are wrong. Some models are useful. -- George Box signature.asc Description: Digital signature
Printer instances in XPrint?
Using lp under CUPS I can do the following: $ lpoptions my_prt/2up -o number-up=2 $ lpoptions my_prt/4up -o number-up=4 And then I can easily print 2up and 4up from the command line. Can I do something similar in XPrint? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Science would be superfluous if the outward appearance and the essence of things directly conincided. -- Karl Marx -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: OT:Hardly any messages getthing through
On Mon, Aug 16, 2004 at 03:47:46PM +0100, Alan Chandler wrote: >I can only read replies to my previous post via the web site > >I am not receiving anything - but from the web site ... >From: Kevin Mark <[EMAIL PROTECTED]> >On Mon, Aug 16, 2004 at 08:50:06AM +0100, Alan Chandler wrote: >> Is there a load of mail held in a queue somewhere, or is there a >> problem with my registration? >> >> For the past two days, I have had about 3 messages from this list. >> Looking at the archive, there has been more than that - but not a >> significant amount and certainly not the normal volumes. I have experienced the same during the last few days. However, just now a few hundred emails dropped in, and from the looks of it that means I've caught up :-) /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ What is wanted is not the will to believe, but the will to find out, which is the exact opposite. -- Bertrand Russel signature.asc Description: Digital signature
Kernel compilation question
I have been trying to compile a custom kernel the last few days, and I noticed a phenomenon that's new to me. it seems that the first 'make menuconfig' uses /boot/config-2.6.8-1-k7 (the config for my currently running kernel) to get its defaults. Howcome? (Is it related to '.config support' being compiled into the standard Debian kernels?) How do prevent it from happening? (I unmounted /boot, but that that's less than elegant.) /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ The number of the beast - vi vi vi -- Delexa Jones signature.asc Description: Digital signature
Re: Kernel compilation question
On Tue, Aug 24, 2004 at 12:23:57PM +0100, Thomas Adam wrote: >On Tue, Aug 24, 2004 at 09:21:59AM +0200, Magnus Therning wrote: >> Howcome? (Is it related to '.config support' being compiled into the >> standard Debian kernels?) >> How do prevent it from happening? (I unmounted /boot, but that that's >> less than elegant.) > >You copy whatever config you want to /path/to/kernel/src/.config, and >'make oldconfig'. Well, that wasn't really what I was looking for. I don't have a '.config' I want to use, I want the defaults! This is what I do: $ cd /usr/src $ tar -x -j -f linux-source.tar.bz2 $ cd linux-2.6.7 $ make menuconfig And it pulls in /boot/config-2.6.8-1-k7 as my oldconfig. Why is this happening? How do I prevent it from happening? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Storing is like eating. You can eat cheaper, but you can't not eat. -- Colin Ferenbach signature.asc Description: Digital signature
UML and Sid, anyone?
I have successfully compiled UML (user mode linux) kernel and I want to use it with a Sid root file system. I have explored the following to paths: 1. debootstrap sid image My kernel won't boot it. This problem might be related to devfs, but I am not sure. I've tried configuring the kernel both with and without it, neither works, and they both fail in the same way: init complains about processes respawning to fast, and I don't get a login prompt. 2. Use a Woody root file system from the UML web pages I easily compile a kernel that boots with the root file system. When I dist-upgrade to Sid it seems that the new glibc version (with NPTL) screws things up and I can't spawn new processes at all anymore. Does anyone have any hints to solve either problem? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ The network is a stochastic synchronicity generator. -- Christopher Locke signature.asc Description: Digital signature
ALSA, snd_usb_audio, and hotplug
Hotplug insisted on loading snd_usb_audio, which screwed up my ALSA sound. I had to blacklist it. I just wonder what could possibly make hotplug think I need it? (It didn't do this a week ago, probably there's been an update in Sid sometime since then.) Is it a bug, or what? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Politicians are like diapers -- they need to be changed often, and for the same reason. signature.asc Description: Digital signature
Re: Procmail setup problem
On Thu, Aug 26, 2004 at 07:03:56PM +0200, Lorenzo Rossi wrote: >Hi, > >i was trying to setup procmail to store incoming e-mails to different >files in my home directory, but, procmail write all my incoming emails >to the same file, the "mbox" file. I can not understand why? > > >My procmail config file look like so: > >-- > >PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:. >MAILDIR=$HOME/Mail >DEFAULT=$MAILDIR/mbox >LOGFILE=$MAILDIR/Procmail_log_from >LOCKFILE=$HOME/.lockmail > > >cut > > > > >:0: # Anything from Bugtraq >* [EMAIL PROTECTED] >bugtraq I don't think that's a very good recipe, I'd change it to * ^To:[EMAIL PROTECTED] Or even better, use TO_: * [EMAIL PROTECTED] > > >cut > > >:0: >* ^To:.*debian-user >* Cc:.*debian-user >${HOME}/Mail/debian-user This will only match mails that have debian-user in *both* To and Cc. you might have more luck with * ^To:.debian-user|\ ^Cc:.debian-user >Any ideas?? I personally don't rely on To: TO_ or TO for my mailing list sorting. Most mailing lists add headers to all mails that pass through them, I've found it's much more reliable to use those for sorting. E.g. the following sorts debian-user: :0 : * ^List-Id:.* list.debian-user/ Hope it helps. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Tragedy purges the mind of trivia. -- George Gilder signature.asc Description: Digital signature
Re: ALSA
On Thu, Sep 02, 2004 at 03:29:26PM -0400, Rod MacPherson wrote: [..] >The first is /etc/hotplug/blacklist add a line with just the name of >the OSS version of the sound driver module for your soundcard/chipset. >(in my case, since mine is an AC97 compatible chipset it was >"i810_audio") The package alsa-base comes with the file /etc/hotplug/blacklist.d/alsa-base I guess that if that file doesn't take care of your problems with getting hotplug to leave out OSS modules then you should bug report. >The second is /etc/discover.conf add a skip line for your OSS module >(in my case it was "skip i810_audio") Ah, cool. I removed the discover package to get my ALSA working. This would have been a cleaner solution. >This should prevent the system from discovering it as well as prevent >hotplug from loading it later in the bootup process. These two packages seem to overlap, don't they? Hotplug is pulled in due to udev and seems to do a bit of discovery, what is left for discover to do? (My system seems to work just fine with only hotplug + udev.) Will there be more magic is both are installed? One other note. I recently had a problem with hotplug and ALSA, this was due to hotplug thinking that I needed the snd_usb_audio module inserted. I haven't got a clue why it all of a sudden started thinking that! Adding it to the blacklist took care of the problem. /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ "Sendmail" and "make" are two well known programs that are pretty widely regarded as being debugged into existence. That's why their command languages are so poorly thought out and difficult to learn. It's not just you -- everyone finds them troublesome. -- Peter van der Linden, Expert C Programming, p. 220 signature.asc Description: Digital signature
Recording the screen
I am preparing a presentation and I'd love to be able to make a movie out of a session at the computer, i.e. I'd like to capture the screen repetitively and then be able to play it back as a movie. Is there a ready solution for me? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Perpetual growth is the creed of the cancer cell. -- Edward Abbey signature.asc Description: Digital signature
Running Totem
I can't run totem more than a few seconds: $ totem (totem:28815): GnomeUI-WARNING **: While connecting to session manager: Could not open network socket. ** Message: XINE_META_INFO_SYSTEMLAYER: imagedmx The program 'totem' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 70 error_code 11 request_code 142 minor_code 19) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) I've done some googleing on this. I am now member of the following groups: therning cdrom floppy audio src video users crontab The video card is the following (reported by lspci): :01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF Any hints or ideas? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Microsoft is after all our entertainment technologies. It is an assault on so many fronts it is easy to lose track. -- David Strom signature.asc Description: Digital signature
Irritating error messages when booting 2.6.3
Could anyone shed some light on how to get rid of the following messages that I see flashing by when booting?? I get multiple of the following: /script: 1: rmmod: not found And these three lines: locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Simple greps in /etc hasn't turned up anything that might cause it :-( I am pretty sure I didn't see this before my upgrade to 2.6.3, i.e. 2.6.2 didn't do this. The behaviour is the same with both 686 and k7 kernels. /M -- ------- Magnus Therning Philips Research Laboratories Eindhoven Phone: +31 40 2745179 (OpenPGP: 0x4FBB2C40) X-Windows: ...The first fully modular software disaster. signature.asc Description: Digital signature
offlineimap + courier-imap, weirdness?
I am trying to use offlineimap and courier-imap together, but I keep on getting strange results. The people inhabiting the offlineimap mailing list are telling me that they've never seen the behaviour I am describing[1]. All I am wondering is if anyone else is trying to use the Debian packages of offlineimap and courier-imap, and whether that works as excpected or not. /M 1. http://lists.complete.org/[EMAIL PROTECTED]/2004/03/msg2.html.gz -- --- Magnus Therning Philips Research Laboratories Eindhoven Phone: +31 40 2745179 (OpenPGP: 0x4FBB2C40) Do not meddle in the affairs of Wizards, for they are subtle and quick to anger. -- J.R.R Tolkien signature.asc Description: Digital signature
sawfish and UTF-8??
I was playing sround with locale settings and noticed that my sawfish turned ugly (title bars contained one unreadable character for each readable one) when using en_GB.utf8. Did I miss something or doesn't sawfish support unicode (yet)? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ In the early days all I hoped was to make a living out of what I did best. But, since there's no real market for masturbation I had to fall back on my bass playing abilities. -- Les Claypool signature.asc Description: Digital signature
Mozilla FireFox and extensions
I was trying to update the RSS reader extension to my FireFox today[1], but ran into an error: XML Parsing Error: not well-formed Location: chrome:// mozapps/content/xpinstall/xpinstallConfirm.xul Line Number 1, Column 3: id="itmeList" flex="1" style="height" 16em; overflow; auto;"/> --^ /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ I'm convinced anybody who thinks RPM is A Good Thing really should reconsider how much crack they smoke in a day. 8:o) -- Paul Johnson (in a post to debian-user) signature.asc Description: Digital signature
Gnome terminal, switching profile w/o menu?
I realize this is slightly off topic here, but it seems a lot of REALLY knowledgable people inhabit this list :-) Is there a way of switching the profile of a running gnome-terminal, without using the menu? I am mostly interested of doing it from inside the terminal itself. I could imagine it being done via an escape sequence, or a call to an executable, e.g. gnome-terminal, that takes the profile name as an argument. Just as long as I don't need to use the mouse :-) /M -- --- Magnus Therning Philips Research Laboratories Eindhoven Phone: +31 40 2745179 (OpenPGP: 0x4FBB2C40) X-Windows: ...Dissatisfaction guaranteed. signature.asc Description: Digital signature
Re: Kernel 2.6.2 and mouse problems
Make sure that your configuration of X uses the proper device for the mouse. I got mine working (well, half working anyway) by using /dev/input/mice . /M On Wed, Feb 11, 2004 at 10:20:36PM -0300, Toshiro wrote: >> Has anyone else experienced mouse problems with Kernel 2.6.2? >> I just compiled with make-kpkg. Everything seems to work but >> I get synchonazation problems with psmouse.c and mouse does not >> function properly in either X or a console. Same problem. If >> I try to move the mouse it goes all over the place. I tried >> mdetect and gpmconfig. Nothing worked. It is a logitech Cordless >> Mouseman Optical. >> > >I'm also having problems with the mouse; I cannot start X because of this. >If you discover anything please post it here. > >Regards, >Toshiro. > > >ADSL-Para estar las 24 horas en internet >http://www.internet.com.uy Tel. 707.42.52 > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- --- Magnus Therning Philips Research Laboratories Eindhoven Phone: +31 40 2745179 (OpenPGP: 0x4FBB2C40) The real problem we face with the web is not understanding the anomalies, it's facing how deeply weird the ordinary is. -- David Weinberger signature.asc Description: Digital signature
Re: Gnome terminal, switching profile w/o menu?
On Mon, Feb 09, 2004 at 01:28:04PM -0500, David Clymer wrote: >On Mon, 2004-02-09 at 06:57, Magnus Therning wrote: >> I realize this is slightly off topic here, but it seems a lot of REALLY >> knowledgable people inhabit this list :-) >> > >Flattery will get you nowhere. Besides, I know you're not talking about >me ;o) > >> Is there a way of switching the profile of a running gnome-terminal, >> without using the menu? I am mostly interested of doing it from inside >> the terminal itself. >> >> I could imagine it being done via an escape sequence, or a call to an >> executable, e.g. gnome-terminal, that takes the profile name as an >> argument. Just as long as I don't need to use the mouse :-) >> > >Is there any particular reason you dont want to use the menus? In gnome >2.4 (I dont know what version you are using), I can easily switch >profiles from within gnome-terminal _using_ the menus but without a >mouse (Alt-T P, arrow keys). E.g. I have the following settings in my bash: PROMPT_COMMAND='echo -ne "\033]0;[EMAIL PROTECTED]: ${PWD}\007"' and a root chell executes in its bash configuration: printf "\033]0; ROOT SHELL \007" This results in XTerms containing a root shell quite visible. However, they would be even more visible if I could change the profile from within the configuration files to bash. /M -- --- Magnus Therning Philips Research Laboratories Eindhoven Phone: +31 40 2745179 (OpenPGP: 0x4FBB2C40) The only way to be truly creative is to never repeat yourself. -- Rob Breszny signature.asc Description: Digital signature
tclkit (and wikt) on Debian?
Does anyone know if tclkit[1] and wikit[2] are available as Debian packages somewhere? /M 1. http://www.equi4.com/tclkit.html 2. http://www.equi4.com/wikit.html -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ The only way to be truly creative is to never repeat yourself. -- Rob Breszny signature.asc Description: Digital signature
Re: tclkit (and wikt) on Debian?
On Sun, May 02, 2004 at 07:21:19PM +0800, Katipo wrote: >Magnus Therning wrote: > >>Does anyone know if tclkit[1] and wikit[2] are available as Debian >>packages somewhere? >> >>/M >> >>1. http://www.equi4.com/tclkit.html >>2. http://www.equi4.com/wikit.html >> >> >> >http://www.debian.org/distrib/packages#search_packages I'll take this answer as a 'no'! /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Finagle's Fifth Law: Always draw your curves, then plot your readings. signature.asc Description: Digital signature
zsh and command_not_found_handler?
This is pretty cool[1], but it seems to only work with bash. Does zsh have the ability to do something similar? /M [1]: https://wiki.ubuntu.com/CommandNotFoundMagic -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpoyFUWLefPY.pgp Description: PGP signature
Re: NVIDIA and Etch : WAS Re: Problems with GRUB and SATA
On Sun, Mar 25, 2007 at 18:44:30 +0100, ieb wrote: >Hello folks, [..] >I have rebuilt the 2.6.18-4-amd64 with the NVIDIA components, have >installed the nvidia-glx module, but whenever I let the >etc/X11/xorg.conf build with the nvidia configuration tool it builds >the 'conf' with a declaration for the driver to be nvidia, ...but ... X >wont start then, ... warns me that there is no device for NVIDIA 00:1:3 >(and/or if I manually change it to include 00:1:3) 00:13:0, and finally >stops with a grumble about the kernel kicking out an error 11. BUT, >... if I change xorg.conf to use the driver nv (rather than nvidia) X >(gdm) will start, does have the higher resolution set (1600x1200), but >has a significant 'pink' colour cast. I can't find a configuration tool >for the nvidia settings (such as Gamma etc). > >Question please... should the driver be 'nvidia' or 'nv', (if 'nvidia' >- any suggestions as to what I am missing?) ... if it's should be >'nv' in any event .. then can someone help me find the settings for >this to get the colours to be accurately displayed? It depends. IIRC 'nv' is the open source driver that comes with Xorg and 'nvidia' is the proprietary driver. Which one you use depends on what you want out of your card I suppose. Also note that there are two versions of the proprietary driver available in Debian (at least in Sid); the package names for the older one end with -legacy. On top of this there's a new version of the driver out, but it doesn't seem to have hit Sid yet AFAIU it removes support for some older cards. Sorry I can't help you out more than this... /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpkM6N6TpD9a.pgp Description: PGP signature
Re: resolv.conf wrongly gets Belkin router's address
On Sun, Jul 01, 2007 at 02:06:58 -0600, Bob Proulx wrote: >Kent West wrote: >> > auto eth0 >> > iface eth0 inet dhcp > >That looks fine to me. > >> That's the way it seems to me also, but when Belkin support told me >> that their router does NOT offer its own address as a DNS server, I >> figured I better double-check with other Debianistas before >> concluding that Belkin support doesn't know what they're talking >> about. They are clearly lying! My Beling router also offers itself as a DNS server. >> I don't find any such settings; here's a snapshot of the only relevant >> page on the Belkin setup that I can find: >> http://www.acu.edu/~westk/belkin.jpg > >That is what I expect to see but it does not explain why it is offering >itself as a DNS server. To me this is confirmation of the bug. I can only report that I have a Belkin router working just fine. It is offering itself as DNS but where your router configuration doesn't hold any IP addresses for my ISP's DNS mine does[1]. I'm not entirely sure how they ended up there :-) /M [1]: http://therning.org/magnus_files/belkin-setup.png -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgptvO7tUnG7G.pgp Description: PGP signature
Debugging symbol packages (4 questions)
More and more debug (-dbg) packages are popping up in the repositories. Is there an effort going to to make sure _all_ packages in Debian has a debug package? It seems that Ubuntu has .ddeb packages while the packages I've seen in Debian are regular .deb, but with -dbg in their names. Will it remain this way or will the two converge on one approach at some time? What I've noticed so far is that most GNOME packages have a -dbg package. I suppose one reason for this is to make sure users submit good bug reports to Debian and GNOME. However, expecting regular users to manually install debug symbols and reproduce the error is a bit too optimistic. Are there any plans for automating this? Is there a remote server that shares a folder that I could mount (e.g. using FUSE) and get all symbols without having to install all the packages myself? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpn0CVDV9EyS.pgp Description: PGP signature
Re: Debugging symbol packages (4 questions)
On Wed, Jul 11, 2007 at 14:13:49 +0530, Kumar Appaiah wrote: >On Wed, Jul 11, 2007 at 09:16:02AM +0100, Magnus Therning wrote: [..] >> Is there a remote server that shares a folder that I could mount >> (e.g. using FUSE) and get all symbols without having to install all >> the packages myself? > >I didn't understand this exactly. Is this related to the Debug >packages? Do you want to mount a repository and use the debug packages >without having to install them? How this actually works is that debug symbols are stripped from the executables and a new ELF section is put in that points to /usr/lib/debug/... When gdb loads an executable with that section it uses the pointer to find the debugging symbols. One thing that is nice about the Windows platform is remote symbol servers. Now, if someone would install _all_ debug packages on a machine on the internet, and export its /usr/lib/debug, then I can mount that export on my machine and gdb would be able to find debug symbols without my having to install a single debug package. Is someone exporting /usr/lib/debug in this way? Cheers, M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpxDhFzfABIb.pgp Description: PGP signature
Re: Tools to store account (password..) in encrypted format ?
On Thu, Jul 12, 2007 at 11:05:06 -0400, Roberto C. Sánchez wrote: >On Thu, Jul 12, 2007 at 12:28:33PM +, KLEIN Stéphane wrote: >> Hello, >> >> On my box, I use plain text to store my passwords but it isn't >> secure. What cli and/or web software can I use to store my password >> (account) in encrypted format ? What do you use ? >> >I would not go with web-based as it is far too insecure. I personally >like MyPasswordSafe, but it is Qt-based. I'm personally using KeySafe[1] (yes, shameless plug and yes I have a Debian package). Whether web-based is insecure or not depends very much on how the system is designed. Personally I consider storing a password encrypted by a master password on a server is secure enough as long as the master password never leaves my machine (which means encryption and decryption must happen locally). Implementing a pure JavaScript client would then allow me to access passwords in a browser anywhere in the world. At least if I trust the browser enough :-) /M [1]: http://therning.org/magnus/computer/keysafe -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpWoQj5uznCW.pgp Description: PGP signature
Re: new debian user. help :)
On Mon, Jul 23, 2007 at 09:07:45 -0700, Lorenas Bartkus wrote: >hi, >I'm new in debian and previosly i used windows xp. now i decided to try >debian for the first time. Welcome to Debian. I hope your stay will be long and enjoyable :-) >i have downloaded boot cd to install debian from network, in the >bigining everything gone well but when i was asked to choose the mirror >i can't. because it was said no version in this server (i have debian >4.0). my internet connection is pppoe. >i have read that pppoe is supported to install debian via network. >maybe i did somethig wrong? Yes, it should be supported. >by the way now it is installed only basical system of debian (i think) >i can just use terminal to make a commands. That's as it should be. The basic system for a network install is VERY minimal. Don't worry though, once you've got the basic configuration done you'll have access to more GUI bling than you can shake a stick at. >is there any way to configure my pppoe connection and upgrade the >system? what commands i shoud use? Do you have access to the web on another system? Then this page hopefully helps: http://users.pandora.be/Asterisk-PBX/PPPoE.htm Once your network is set up you need to do the basic configuration: http://www.debianhelp.co.uk/baseconfig.htm Then you can proceed to install packages. Please hold on for a little bit with this, I suspect that you'll get more answers to your email. Some may offer angles and solutions I haven't thought of. Apply own thought as required :-) /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpZKROim7PTO.pgp Description: PGP signature
Re: new debian user. help :)
On Mon, Jul 23, 2007 at 10:32:38 -0700, Lorenas Bartkus wrote: >hi again :) >finally i've used the command apt-get install pppoeconf and now i have >installed pppoeconf (i founded this command from ubuntu which i tried >before but i didn't like it) . is there any command to configure pppoe >i mean to provide the isp with user name and password? because in >windows on desktop i have icon by presing it i connect to the internet. >my modem is connected via lan. According to http://users.pandora.be/Asterisk-PBX/PPPoE.htm you should be asked about those details when installing pppoe and pppoeconf. The configuration of those two packages should also allow you to bring up the network connection automatically at boot time. My ADSL provider uses PPPoE, but I've never had to configure my computer to use it--my router takes care of PPPoE and my computers just use regular Ethernet/TCPIP/DHCP. Maybe if you tell us a little bit more about your network setup then we can help you more. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus As we enjoy great advantages from the inventions of others we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously. -- Benjamin Franklin pgpjV1SBGQLdk.pgp Description: PGP signature
Re: new debian user. help :)
On Tue, Jul 24, 2007 at 01:48:58 -0700, Lorenas Bartkus wrote: > >- Original Message >From: Magnus Therning <[EMAIL PROTECTED]> >To: Lorenas Bartkus <[EMAIL PROTECTED]> >Cc: Debian User >Sent: Tuesday, July 24, 2007 10:15:41 AM >Subject: Re: new debian user. help :) > >On Mon, Jul 23, 2007 at 10:32:38 -0700, Lorenas Bartkus wrote: >>hi again :) >>finally i've used the command apt-get install pppoeconf and now i have >>installed pppoeconf (i founded this command from ubuntu which i tried >>before but i didn't like it) . is there any command to configure pppoe >>i mean to provide the isp with user name and password? because in >>windows on desktop i have icon by presing it i connect to the internet. >>my modem is connected via lan. > >According to http://users.pandora.be/Asterisk-PBX/PPPoE.htm you should >be asked about those details when installing pppoe and pppoeconf. The >configuration of those two packages should also allow you to bring up >the network connection automatically at boot time. > >My ADSL provider uses PPPoE, but I've never had to configure my computer >to use it--my router takes care of PPPoE and my computers just use >regular Ethernet/TCPIP/DHCP. Maybe if you tell us a little bit more >about your network setup then we can help you more. > >>well for now i have configured my PPPoE, but i can't find what else >>to? how to download and install other packages for basic debian from >>internet? Hmmm, your quoting is seriously confusing! :-) Now that you have a working network the real adventure starts ;-) No, seriously it's not very complicated at all. Be aware though that since you've chosen to install Debian, and a basic system at that there is a bit of manual work. Not much, and it's a good learning experience for the future anyway. You need to configure the package manager (APT). You can find full documentation of how it works online, I think the APT HOWTO [1] is a good place to start. Since you downloaded pppoe you have a working configuration, but it's probably worth getting a little familiar with APT first (e.g. adding non-free). Once you have APT set up properly you can start installing packages. This is the route I usually follow for desktop machines I install (I've marked the steps that you should run as root with a *): 1. (*)Install and configure the package xserver-xorg 2. Test the xorg configuration that was created in the previous step running `startx`. You should see a rather ugly grey screen. 3. (*)Install your pick of desktop environment. The usual suspects have "meta packages" which makes it as easy as installing a single package. For GNOME install gnome. For KDE install kde. For XFCE install xfce4 4. (*)Install a desktop manager. Again there are a few to choose between, kdm, gdm, wdm, xdm. My suggestion is to install gdm if you use GNOME of XFCE and kdm if you use KDE. 5. (*)Start the desktop manager. You do that by executing its "init script" with the argument `start`. E.g. for gdm you execute `/etc/init.d/gdm start`. If you've gotten through all 5 steps without problems you should now have a shiny screen with a login prompt where you can log in. Since this is your first Debian install I'd suggest you document what you do (and as what user you do it, root or your regular user account). This will help a lot if you, heaven forbid, run into trouble. If you get stuck then don't hesitate to send an email to the mailing list. Be courteous and provide as much relevant information as you can. The more effort you spend on finding a solution yourself the better your chances are of receiving help on the mailing list. (Communicating on the mailing list is rather simple really, write emails that you would reply to if you knew the answer/solution. :-) /M [1]: http://www.debian.org/doc/manuals/apt-howto/index.en.html#contents -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus If you can explain how you do something, then you're very very bad at it. -- John Hopfield pgpSbGG7pjdiF.pgp Description: PGP signature
Re: searching for graphical torrent client
On Fri, Jul 27, 2007 at 13:07:17 +0300, Giorgos D. Pallas wrote: >I tried google but can't seem to find something that both looks decent >*and* is available for debian (testing) as a binary. For example I >tried qtorrent, but it is so minimal that I don't like it... Or to put >it in another way: Which client resembles most the windows utorrent? (I >also tried ktorrent for KDE and it crashes often...) Did you look at Deluge (package name: deluge-torrent)? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpUVZBQWd8iS.pgp Description: PGP signature
Re: Bookmark nicknames, and address drop down in Epiphany
On Wed, Aug 01, 2007 at 09:09:37 +0530, Kumar Appaiah wrote: >Dear Debian user, > >Could someone direct me on how/whether the "bookmark nicknames" support >which Galeon and Iceweasel have is available on Epiphany? What I mean >is, I should be able to set things up such that: > >wp Epiphany: Launches a search for "Epiphany" in Wikipedia >bug : goes to bugs.debian.org/ >etc. > >My searches on how to get this working were inconclusive. I did find >something related to GNOME deskbar which does this, but I don't have >GNOME and don't want to install it. Look at the Bookmark Shortcuts extension on this page: http://live.gnome.org/Epiphany/ThirdPartyExtensions >Also, in Iceweasel, if there's an address we have in the visited >locations which drops down when we type it, and we want to make a >change, we can select that and edit it. But that doesn't seem to be the >case in Epiphany. Is there a way to replicate that behaviour as well. IIRC that's a problem with the GTK+ widget. This question has been asked before in the epiphany mailing list. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgp0KU4WTwngn.pgp Description: PGP signature
Re: Bookmark nicknames, and address drop down in Epiphany
On Thu, Aug 02, 2007 at 00:23:07 +0200, Wolodja Wentland wrote: >On Wed, Aug 01, 2007 at 15:29 +0530, Kumar Appaiah wrote: >> On Wed, Aug 01, 2007 at 08:07:24AM +0100, Magnus Therning wrote: >> > >My searches on how to get this working were inconclusive. I did find >> > >something related to GNOME deskbar which does this, but I don't have >> > >GNOME and don't want to install it. >> > Look at the Bookmark Shortcuts extension on this page: >> > http://live.gnome.org/Epiphany/ThirdPartyExtensions >> Many thanks for the pointer. > >You do not need this, although it might be easier than the method >already available in vanilla epiphany. > >You can achieve the desired behaviour by adding a bookmark containing a >"%s" which will be filled with the entered string. > >So to add a search for debian bugs just add the following bookmark: > >http://bugs.debian.org/%s That won't result in the behaviour desired by the OP, not exactly. It is however an excellent substitute for the desired behaviour. One that I use myself :-) /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgpnJdedwiw4F.pgp Description: PGP signature
Re: Browser link
On Sat, Aug 11, 2007 at 19:06:45 +1200, Jeff wrote: >When i click on a web link in an email it opens the page in Epiphany >and not Iceweasel which i have set up as my prefered browser.(in >preferences) Can someone tell me how to make the webpages from an email >link open in Iceweasel. You probably should make sure both the GNOME preferred applications and Debian's "alternative" (x-www-browser) point to iceweasel. The former you change in System->Preferences->Preferred Applications the latter you use update-alternatives to change. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus pgphDCzNavQsJ.pgp Description: PGP signature
Re: How can I update the pkg lists on a non-networked debian?
On Wed, Nov 22, 2006 at 19:24:53 -0800, Jed R. Mallen wrote: >Hello, > >I have a non-networked debian box at home and a high-bandwidth XP box at work. > >I want to upgrade my Debian box. > >apt-zip says it can upgrade a non-networked box, but you have to have >an updated pkg list for this to work. You can manually download the package files and stick them in /var/lib/apt/lists. The easiest thing is of course to have a second machine that is networked. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want censorship by patent law on written works. When the people fear their government, there is tyranny; when the government fears the people, there is liberty. -- Thomas Jefferson pgpNUxG6SscYX.pgp Description: PGP signature
Re: How can I update the pkg lists on a non-networked debian?
On Fri, Nov 24, 2006 at 09:45:04 +0800, Jed R. Mallen wrote: >But all I want is to update my /var/lib/apt/lists/* so that I can >download only pkgs that *need* to be downloaded (via apt-get -qq >--print-uris install pkg) when I want to install a certain package. > >I guess there's no other way except downloading Packages.txts from the >Debian mirror sites (eg: http://ftp.us.debian.org/debian/dists/ ), >copying that to /var/lib/apt/lists/* and continuing with apt-get -qq >--print-uris install pkg to get a list of pkgs to download and putting >that in /var/cache/apt/archives/... With the currently available tools I think you're right, yes. There's always the option of writing a few dedicated tools that suit your situation. Something that'd let you take the list of already installed packages, stick it onto an XP box, running the tool would end up with downloaded packages that you then can copy onto a portable memory and bring over to the other machine. I doubt there's a lot of interest for such a set of tools though, but I may of course be wrong :-) /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want censorship by patent law on written works. Finagle's First Law: To study a subject best, understand it thoroughly before you start. pgpiN4UiI3A8a.pgp Description: PGP signature