Re: xemacs21
On Sat, Oct 12, 2002 at 07:34:27PM +1000, Rob Weir wrote: > On Fri, Oct 11, 2002 at 01:31:47PM +0000, Gerard Robin wrote: > > Hello, > > I upgraded from xemacs21-nomule version 21.1.10-4 to version 21.1.4-8 and > > evrything work fine except when I want to print a file: > > > > "File->Print file" doesn't work. I get: > > > > symbol's value as variable is void: coding-system-for-write > > > > However, > > "File->Pretty-Print file" works fine and after that, > > > > "File->Print file" works fine too. > > > > What shoud I change in the file ~/.xemacs/init.el ? > > I'm not sure, but the NEWS file should tell you if something has changed > that you need to care about. I looked at the file /usr/lib/xemacs-21.4.8/etc/NEWS but I didn't find the trick within it. (I looked at the file BETA btw) However I noticed that the package ps-print isn't loaded when xemacs boots. But if I do "Options->Advanced->Emacs" then ps-print is loaded and then, "File->Print file" works. It's a temporary solution... Thanks. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X hangs when trying to configure
On Sat, Sep 07, 2002 at 08:01:54PM -0400, Paul Galbraith wrote: > I've tried running xfree86cfg, and XFree86 -configure. Both cause my > screen to go blank, and after several minutes wait, nothing else > happens. I've tried hitting CTRL-ALT-F2 (F3/F4, etc), as well as > CTRL-ALT-BACKSPACE and CTRL-ALT-ESC to try to get to a terminal where I > can kill the configure process, but nothing seems to work. Things are > still running, because CTRL-ALT-DEL cleanly shuts down and restarts the > system. > > Is there some magic key combination I can use to kill the configuration > program so that I don't have to reboot my system every time this > happens? I had the same problem and "dpkg-reconfigure xserver-xfree86" solved my problem. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
autoscan
Hello, can someone explain to me why autoscan (version 2.53) sends this message: use of uninitialized value in concatenation (.) or string at /usr/bin/autoscan line 195 ? TIA. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord -scanbus examples, please.
On Sun, Sep 22, 2002 at 02:30:20PM +0200, Jesus Climent wrote: ... > Thus I would like some people to send me some "cdrecord -scanbus" ... Linux sg driver version: 3.1.22 Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling Using libscg version 'schily-0.5' scsibus0: 0,0,0 0) 'ASUS' 'DVD-ROM E616' 'Z.0 ' Removable CD-ROM 0,1,0 1) 'CD-RW ' 'CDR-2440MB ' '5SGA' Removable CD-ROM 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ext2 ext3 ?
Hello, I find that the thread of ext2, ext3, reiserf etc...,is interesting, but how can I change from ext2 to ext3 without breaking my actual installation and how to do this ? tia. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ext2 ext3 ?
On Sun, Sep 29, 2002 at 12:48:49AM -0700, Vineet Kumar wrote: > * Gerard Robin ([EMAIL PROTECTED]) [020929 00:44]: > > but how can I change from ext2 to ext3 without breaking my actual > > installation and how to do this ? > > tune2fs -j /dev/hda1 (for example.) tune2fs -j /dev/hdb3 worked fine for me (I use kernel-2.4.18...deb) but after that, I stopped badly my machine and when I rebooted, the time to clean /dev/hdb3 is about the same as before. Thanks to all who responded to me. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ext2 ext3 ?
On Mon, Sep 30, 2002 at 08:03:16AM -0500, Shyamal Prasad wrote: > "Gerard" == Gerard Robin <[EMAIL PROTECTED]> writes: > > Gerard> tune2fs -j /dev/hdb3 worked fine for me (I use > Gerard> kernel-2.4.18...deb) but after that, I stopped badly my > Gerard> machine and when I rebooted, the time to clean /dev/hdb3 > Gerard> is about the same as before. Thanks to all who responded > Gerard> to me. > > Besides the tune2fs command you need to update /etc/fstab and change > ext2 to ext3 at the appropriate places. If you are using the stock > 2.4.18 that should be all, but verify with 'cat /proc/mounts' that you > really do have ext3. 'cat /proc/mounts' : /dev/root.old /initrd cramfs rw 0 0 /dev/root / ext2 rw 0 0 proc /proc proc rw 0 0 devpts /dev/pts devpts rw 0 0 /dev/hdb1 /boot ext2 rw 0 0 /dev/hda4 /mnt ext2 rw 0 0 'cat /etc/fstab' : # /etc/fstab: static file system information. # # /dev/hdb3 / ext2defaults,errors=remount-ro 0 1 /dev/hdb2 noneswapsw 0 0 proc/proc procdefaults0 0 /dev/fd0/floppy autodefaults,user,noauto0 0 # /dev/cdrom/cdrom iso9660 defaults,ro,user,noauto 0 0 /dev/scd0 /cdrom iso9660 defaults,ro,user,noauto 0 0 # /dev/cdrw /cdrw iso9660 defaults,ro,user,noauto 0 0 /dev/scd1 /cdrw iso9660 defaults,ro,user,noauto 0 0 /dev/hdb1 /boot ext2 rw 0 2 there is not ext3 ? in "/boot/config-2.4.18-386" there is : CONFIG_EXT3_FS=m and 'modconf' gives : ext3 + but perhaps I have to recompile the kernel whith CONFIG_EXT3-FS=y ? -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ext2 ext3 ?
On Mon, Sep 30, 2002 at 04:36:43PM -0500, Jamin W. Collins wrote: > On Mon, 30 Sep 2002 23:24:49 +0000 Gerard Robin <[EMAIL PROTECTED]> wrote: > > > On Mon, Sep 30, 2002 at 08:03:16AM -0500, Shyamal Prasad wrote: > > > > > Besides the tune2fs command you need to update /etc/fstab and change > > > ext2 to ext3 at the appropriate places. If you are using the stock > > > 2.4.18 that should be all, but verify with 'cat /proc/mounts' that you > > > really do have ext3. > > > > 'cat /etc/fstab' : > > # /etc/fstab: static file system information. > > # > > # > > > /dev/hdb3 / ext2defaults,errors=remount-ro 0 1 > > /dev/hdb1 /boot ext2 rw 0 2 > > > > there is not ext3 ? > (snip) > > but perhaps I have to recompile the kernel whith CONFIG_EXT3-FS=y ? > > Nope, just need to change the above two "ext2" entries in your fstab to > ext3 and ensure that you've created the journal for both of them (as the > previous poster indicated) with: > > - tune2fs -j /dev/hdb3 > - tune2fs -j /dev/hdb1 thanks, now /proc/mounts contains: /dev/root / ext2 rw 0 0 instead /dev/root / ext3 rw 0 0 /dev/hdb1 /boot ext3 rw 0 0 (it's ok) I did 'mkinitrd /lib/modules/2.4.18-386' and I have got strange things on my screen but it doesn't work. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: CD R/W
On Tue, Oct 01, 2002 at 10:32:27PM +, Gerard Robin wrote: On Mon, Sep 30, 2002 at 10:58:27AM +0200, Olivier Esser wrote: > Hello! > > I've a CD burner which is identified by the kernel at boot time as something like >"ATAPI CD R/W". I have no idea how to use it to burn CD. Do I need a driver? a >software? if your CD-writer is ide you need: 1. the modules sg and ide-scsi installed in the kernel (with modconf or insmod) 2. the packages: cdrecord mkisofs for the CD-audio cdda2wav or cdparanoia 3. into lilo add this line: append = "apm=on apm=power-of idebus=N hdc=ide-scsi hdd=ide-scsi max_scsi_luns=1" ( N = 33 or 66 ...) don't forget to do /sbin/lilo 4. create the directory /cdrw 5. into the file fstab: /dev/scd0 /cdrom iso9660 defaults,ro,user,noauto 0 0 /dev/scd1 /cdrw iso9660 defaults,ro,user,noauto 0 0 6.create the synbolic link: ln -s /dev/hdc /dev/cdrom ln -s /dev/hdd /dev/cdrw 7. do cdrecord -scanbus to verify ... man cdrecord mkisofs cdda2wav cdparanoia hth. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ext2 ext3 ?
On Tue, Oct 01, 2002 at 05:32:11PM -0500, Shyamal Prasad wrote: > "Gerard" == Gerard Robin <[EMAIL PROTECTED]> writes:> > The reason you got the strange stuff is that you did not give mkinitrd > a '-o outfile' option, so it just wrote the cramfs file system to your > console! It actually worked fine! Oops..., sorry. I thank you for your advices, which are very useful for me. Now my root file system is ext3 and when I reboot after a crach it's faster than before. (with ext2) -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: CD R/W
On Wed, Oct 02, 2002 at 12:02:34AM +0100, Peter Whysall wrote: > On Wed, 2002-10-02 at 00:05, Gerard Robin wrote: > > On Tue, Oct 01, 2002 at 10:32:27PM +0000, Gerard Robin wrote: > > On Mon, Sep 30, 2002 at 10:58:27AM +0200, Olivier Esser wrote: > > append = "apm=on apm=power-of idebus=N hdc=ide-scsi hdd=ide-scsi max_scsi_luns=1" > > ( N = 33 or 66 ...) > > Well, that's interesting. I didn't have to do this. In fact, I didn't > change my grub config at all. And it worked. Sorry I use still the old friend lilo ... -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
pdftohtml
Hello, I have a few problems with pdftohtml (unstable) : with one pdf file I get a suitable html file but with another one I get an unreadable html file. I tried "pdftohtml -c -l 1 file.pdf" but the output is always unreadable and I get the message: free(): invalid pointer 0x80f02e0! Page-1 However xpdf (or gv) displays correctly this file.pdf. I guess that the problem comes out of the feature of this pdf file and I would like to know if it exists a remedy, despite of all, to get a suitable result. TIA -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xml viewer?
On Wed, Dec 15, 2004 at 05:47:42PM -0500, Matt Price wrote: > anyone have suggestions for an xml viewer? I get losti n xml very > fast and would love a gui tool that displays a tree-like structure of > xml documents... kxmleditor Description: XML Editor for KDE KXML Editor is simple program, that display and edit contents of XML file. Left side contain tree with XML document structure, right side contain list of attributes for selected XML element and its contents. hth -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xv
On Fri, Dec 17, 2004 at 06:15:46PM +0100, Ivan Glushkov wrote: > Hi list, > > I have a simple question: > Why xv is not any more supported by Debian? > > I mean, I googled for that, I saw some previous discussion about that, I > found even a package on: > > http://ftp.irb.hr/debian-archive/dists/hamm/non-free/binary-i386/graphics/xv_3.10a-16.deb > > , but of course it is not appropriate for my Sarge. I haven't seen > anything so simple and light for image viewing, but still with all tools > included for simple image editing... > Is there a way to have that program on my Debian? There : http://www.jw-stumpel.l/xv_3.10a-20_i386.deb is another one which runs fine on unstable. hth -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
cdparanoia
hello, the man page of cdda2wav explains how to copy an audio CD from a pipe. ok, the commands: cdda2wav dev=ATA:1,0,0 -vall cddb=0 -info-only cdda2wav dev=ATA:1,0,0 -no-infofile -B -Oraw - | \ cdrecord dev=ATA:1,1,0 -v -dao -audio -useinfo -text *.inf work fine. Is there someone who knows if it's possible to do the same with cdparanoia ? My trials are unsucessfull ;-) TIA -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pdftohtml
On Sun, Dec 19, 2004 at 01:39:49PM -0800, Karsten M. Self wrote: > on Wed, Dec 01, 2004 at 01:48:33AM +0100, Gerard Robin ([EMAIL PROTECTED]) > wrote: > > Hello, > > > > I have a few problems with pdftohtml (unstable) : > > > > with one pdf file I get a suitable html file but with another one I get an > > unreadable html file. > > > > I tried "pdftohtml -c -l 1 file.pdf" but the output is always unreadable > > and I get the message: > > > > free(): invalid pointer 0x80f02e0! > > Page-1 > > > > > > However xpdf (or gv) displays correctly this file.pdf. > > > > I guess that the problem comes out of the feature of this pdf file and > > I would like to know if it > > Note first that 'PDF' isn't a simple file format. Some PDFs are little > more than marked-up text, others are essentially large image files > (scanned in faxes from lawyers, such as are posted to Groklaw, are > infamous for this). > > There are also a few different versions of the PDF and PS formats. > > > If you can post or point to the file you're trying to convert, this > could be helpful. Knowing how that file was created and with what > tools, ditto. > > 'ps2ps' on a Postscript file sometimes works around bugs that stymie > some viewers (or printers). It's a roundabout way, but: > >pdf2ps file.pdf file.ps >ps2ps file.ps file-new.ps >ps2pdf file-new.ps file-new.pdf >pdftohtml file-new.pdf file-new.html > > ...might get you somewhere. Most likely, a really broken hash of a > file. > > > Alternatively, if the source of the PDF file is available, converting > *it* to HTML directly should provide far superior results. I have joined the pdftohtml-general list and I obtained part of the solution: We have to copy the file /etc/xpdf/xpdfrc in our home directoty (.xpdfrc)and add int it the line: unicodeMap Latin2 /usr/share/xpdf/latin2/Latin2.unicodeMap After that, we must launch the command: pdftohtml -enc Latin2 file.pdf Normaly we expected a file: file.html, but I obtained : segmentation fault ;-) I tried again pdftohtml -c -enc Latin2 file.pdf and then it works. The result was better than with the command: pdftohtml file.pdf, but it was not perfect yet: The accents are almost right except the è and the ê and the underline (image.png) which was not in the right place. The user of the list pdftohtml-general who helped me was surprised that the command: pdftohtml -enc Latin2 file.pdf gave me segmentation fault whereas for him this command worked fine. He wondered if it was my OS (unstable) which had problem ? There is the link where the pdf file (cobjet.pdf) that I use is located: http://perso.wanadoo.fr/aymeric.sabine/developpement/bibliotheque/c/libal.zip thanks. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
modem for potato
Hello, I installed potato on an old 486 for a friend. I can send and recieve mails, and browse the web. I used an extern "US ROBOTIC 56 FAX/MODEM", which is mine and I tried other modems for my friend and they don't work. Can someone advise me a type of extern modem, other than "US ROBOTIC 56 FAX/MODEM", which runs fine with potato (kernel 2.0.36) or a link which will give me the same informations. Thanks in advance. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: modem for potato
On Thu, Dec 30, 2004 at 10:01:27AM +0100, Dani Belz wrote: > * John Hasler <[EMAIL PROTECTED]> [04-12-30 01:03]: > > Any external modem that connects to the computer via a serial port will > > work. > > Unfortunately not true! Bought a Creative modem some time ago. This > didn't work. There really are modems that do not work with linux (at > least it isn't easy to set them up). Now I use my very old modem > again :) I agree with you, I tried a winmodem, after a few difficulties it worked very slowly, I tried a US ROBOTIC 33 ... wich did not work. I wonder if OLITEC works with linux (potato kernel 2.0.36) ? But what's your old modem ? Thanks. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: modem for potato
On Thu, Dec 30, 2004 at 08:01:36AM -0600, Kent West wrote: > Gerard Robin wrote: > > >On Thu, Dec 30, 2004 at 10:01:27AM +0100, Dani Belz wrote: > > > > > >>* John Hasler <[EMAIL PROTECTED]> [04-12-30 01:03]: > >> > >> > >>>Any external modem that connects to the computer via a serial port will > >>>work. > >>> > >>> > >>Unfortunately not true! Bought a Creative modem some time ago. This > >>didn't work. There really are modems that do not work with linux (at > >>least it isn't easy to set them up). Now I use my very old modem > >>again :) > >> > >> > > > >I agree with you, I tried a winmodem, after a few difficulties it worked > >very slowly, I tried a US ROBOTIC 33 ... wich did not work. > > > > > > This "winmodem"? It was an external device that connects to the serial > port? I was not aware of any external, serial-port-connecting, "winmodems". > In fact I tried four modems one internal and three externals and probably you are right, the internal was the winmodem, but between the three others only the US ROBOTIC 56 FAX/MODEM worked. (and works yet) When we buy a modem we get the driver for this modem but unfortunetly it is for windows not for linux. PS1 My problem for the moment is to find a second-hand modem which works fine with a 486 and potato.(i.e. such that potato contains the suitable driver) PS2 If I was able to write a driver or to find an US ROBOTIC 56 FAX/MODEM (second-hand) I wouldn't have disturb the list. Thanks. -- Gérard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: modem for potato
On Fri, Dec 31, 2004 at 12:52:26PM +0100, Dani Belz wrote: > * Gerard Robin <[EMAIL PROTECTED]> [04-12-30 00:03]: > > > Can someone advise me a type of extern modem, other than > > "US ROBOTIC 56 FAX/MODEM", which runs fine with potato (kernel 2.0.36) or a > > link which will give me the same informations. > > Hi, > > the years old modem I use (and which works fine) is a "Rockwell > V1456VQE". I never had problems with it. Many thanks. By the way happy new year to the list. -- Gérard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: modem for potato
On Thu, Dec 30, 2004 at 08:44:19PM -0600, John Hasler wrote: > Gérard writes: > > When we buy a modem we get the driver for this modem but unfortunetly it > > is for windows not for linux. > > External modems do not require drivers. > > > My problem for the moment is to find a second-hand modem which works fine > > with a 486 and potato.(i.e. such that potato contains the suitable > > driver) > > External modems do not require drivers. > > > If I was able to write a driver... > > External modems do not require drivers. They merely require appropriate > configuration. I suspect that the modems you were unable to get to work > had their internal registers loaded with wonky values so that they did not > respond properly. The fix for this is to connect to the modem with a > program such as minicom and reconfigure it. Many thanks for your explainations which are very helpful. I am an ignorant ;-) -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Configuring exim4 (for use with mutt)
On Thu, Jan 06, 2005 at 10:38:11PM +0100, Maurits van Rees wrote: > On Thu, Jan 06, 2005 at 07:44:39PM +, Felixk Karpfen wrote: > > Unfortunately this does not work on my setup because my login name on my > > computer and my login name on my ISP's computer are different. > > > > When "mutt" is used in conjunction with "sendmail" this can be fixed > > with the "set envelope_from" command. This does not work with exim4 - > > as shown by the following testrun: > > You may try the following in .muttrc: > > set from=your email address > set realname="your name" > set use_from=yes > > It doesn't do anything with envelopes, but might solve your > problem. At least it gives you a correct From line. In the case of my > ISP (xs4all.nl, who sponsor nl.debian.org) all works fine with those > settings. You may want to check what the headers of this mail look > like. Question: Does he need to complete his file /etc/email-addresses ? -- Gérard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
bash, perl, C
Hello, can someone explain to me if it is possible that the functions sleep of C and Perl work like the function sleep of bashin this scripts and program: Bash: #timerest1.sh #!/bin/bash echo "The processus will start in 5 seconds" echo i=0 for i in `seq 6`; do echo -ne "\e[0;46;31m $[ 6-$i ]\e[0m" ; sleep 1 echo -en "\r" done echo C: #timerest2.c #include #include int main() { unsigned i; printf("The processus will start in 5 seconds\n"); for (i = 0; i < 5; i++) { printf("\e[0;46;31m%d\e[0m", 5 - i); sleep(1); printf("\r"); } printf("...\n"); return 0; } Perl: #timeresr3.pl #!/usr/bin/perl use strict; use warnings; print "The processus will start in 5 seconds\n"; my $i= 0; print "\n"; while ( $i < 6 ) { print "\r"; # print " "x40; print "\e[0;46;31m",5 - $i,"\e[0m " ; sleep 1; $i++; } print "...\n"; tia -- Gérard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: bash, perl, C
On Fri, Jan 07, 2005 at 01:11:44PM -0500, Ben Bettin wrote: > Why not run it and find out? Seems a lot quicker than to wait for a > reply from a mailing list. It too me longer to write this email than > it'd take you to run those programs/scripts. > > Have a Nice Day. > > Ben Sorry have a good day too Thanks -- Gérard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: bash, perl, C
On Sat, Jan 08, 2005 at 10:32:57AM +1300, Andrew Walbran wrote: > On Sat, 08 Jan 2005 6:28 am, Gerard Robin wrote: > > Hello, > > can someone explain to me if it is possible that the functions sleep of C > > and Perl work like the function sleep of bashin this scripts and program: > > 'man 1 sleep' explains what sleep does in bash; 'man 3 sleep' explains what > sleep does in C. I think that my question was not very clear. timerest3.pl in fact is a subroutine in a little script Perl that I wrote myself ( I am not a student who expect that others do his work :-)) In that subroutine I wrote .. while ($i < 6) { print "\e[0;46;31m", 5-$i, "\e[0m"; `sleep 1`; # the sleep of the shell print "\r"; ... If i use the sleep of Perl there nothing is displayed at though with the sleep of the shell the numbers 5 4 3 2 1 0 are displayed as I want. And, I don't understand why the sleep of Perl doesn't work ? I think it is not coherent to use the sleep of the shell whereas Perl has such function. And I tried to write this function in C to rewrite my program in C . but the C function sleep in C works like in Perl ... But I accept that my problem is irrelevant with the list debian-user. I apologise for having disturb you. Thanks. -- Gérard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: bash, perl, C
On Sat, Jan 08, 2005 at 01:00:37AM +0100, Rabin Vincent wrote: > On Sat, 8 Jan 2005 00:18:33 +0100, Gerard Robin <[EMAIL PROTECTED]> wrote: > > If i use the sleep of Perl there nothing is displayed at though with the > > sleep > > of the shell the numbers 5 4 3 2 1 0 are displayed as I want. > > And, I don't understand why the sleep of Perl doesn't work ? > > The sleep function works, but the output that has been outputted with > print has not been flushed. To make Perl automatically flush after > every print statement, put this line in your script: > > $| = 1; > > This enables the OUTPUT_AUTOFLUSH. You only need to do this once in > the script. The name of the variable is just a pipe. Once you do this, > the script works just as it did with the shell's sleep. > > > I think it is not coherent to use the sleep of the shell whereas Perl has > > such > > function. And I tried to write this function in C to rewrite my program in > > C . but the C function sleep in C works like in Perl ... > > Same thing with C. To make it flush, call fflush(0) after each time > you call printf. > > Rabin Thanks to all it's OK :-) (exept in C fflush(0) fflush(output) gives a new line but now with man fflush ...) -- Gérard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
gog-guru.glade and gnumeric
Hello, I installed successfully gnumeric Version: 1.5.1-1 ( with dpkg -i ) "apt-get -f install" is ok However when I want to create a diagram I get the message: immpossible to open the file: /local/gnome/head/test/share/goffice/0.0.1/glade/gog-guru.glade Which package I have to installed to get the file gog-guru.glade ? TIA -- Gérard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: gog-guru.glade and gnumeric
On Fri, May 20, 2005 at 04:42:44AM -0400, Kevin Mark wrote: > On Thu, May 19, 2005 at 10:26:22AM +0200, Gerard Robin wrote: > > Hello, > > > > I installed successfully gnumeric Version: 1.5.1-1 ( with dpkg -i ) > > > > "apt-get -f install" is ok > > > > However when I want to create a diagram I get the message: > > > > immpossible to open the file: > > /local/gnome/head/test/share/goffice/0.0.1/glade/gog-guru.glade > > > > Which package I have to installed to get the file gog-guru.glade ? > 'apt-cache search goffice' found: > > libgoffice-1 - Document centric objects library - runtime files > libgoffice-1-common - Document centric objects library - common files > my guess is that you need: libgoffice-common and libgoffice-1. dpkg -l | grep goffice ii libgoffice-1 0.0.1-1Document centric objects library - runtime f ii libgoffice-1-c 0.0.1-1Document centric objects library - common fi I am silly, because, apt-cache search gog-guru.glade gives me: /usr/share/goffice/0.0.1/glade/gog-guru.glade so I created the directory /local/gnome/head/test/share/goffice/0.0.1/ and ln -s /usr/share/goffice/0.0.1/glade/ /local/gnome/head/test/share/goffice/0.0.1/ did the trick. Then "insert->diagram" gave me a nice dialog box but empty ;-) I think the graphics are not available yet in this gnumeric's version, but the remainder is very nice. Thanks. -- Gérard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
libgtk1.2 & libgtkxmhtml1
Hello, After getting this message : express: Depends: libgtk1.2 (>= 1.2.6-1) but it is not going to be installed Depends: libgtkxmhtml1 (>= 1.0.54-1) but it is not going to be installed I don't find this packages in testing. Can someone give me a clue to find them ? TIA - Gerard
perl gnuplot
Hello, I want to run a script perl which use gnuplot. this script gives statistics to a game named "loto", it consists to choose seven numbers among 49 [1 .. 49]. (seven balls among 49 balls) The script "loto2.pl", it works on the file of results named "loto15". ( in fact loto15 contains 3430 results not 15) The script is launched by : cat loto15 | ./loto2.pl The script loto2.pl runs almost fine as root but as user there is a problem of permission and the script doesn't work. Can someone help me to solve this problem ? I join the files that I used : loto2.pl loto15 and the errors : loto_root.log loto_user.log T.I.A. -- Gerard P.S.1 print PLOT qq{set term png color\n} (L42) don't works fine it change all the usual characters in strange characters. P.S.2 Without perl gnuplot works fine as user. No problem of permission, not error. However I don't think it is a problem with perl. #!/usr/bin/perl -w # loto2.pl use strict; use vars qw/@boule $i/; for($i=1;$i<=49;$i++) { $boule[$i]=0; } while(<>) { my $line=$_; my ($date,$tirage,$b1,$b2,$b3,$b4,$b5,$b6,$bc)=split(';',$line); chomp($b1,$b2,$b3,$b4,$b5,$b6,$bc); $boule[$b1]=$boule[$b1]+1; $boule[$b2]=$boule[$b2]+1; $boule[$b3]=$boule[$b3]+1; $boule[$b4]=$boule[$b4]+1; $boule[$b5]=$boule[$b5]+1; $boule[$b6]=$boule[$b6]+1; } # for($i=1;$i<=49;$i++){ # print "$boule[$i]:$i\n" # print "$i $boule[$i]\n" open(OUTPUT, ">/tmp/$$.loto") or die "impossible to create the file tmp"; for($i=1;$i<=49;$i++){ print OUTPUT "$i $boule[$i]\n"; } close(OUTPUT) or die "impossible to close the file tmp"; open(PLOT, "| gnuplot") or die "inpossible to launch gnuplot\n"; # print PLOT qq{set term png color\n}; print PLOT qq{set term linux\n}; print PLOT qq{set title "distribution of the balls"\n}; print PLOT qq{set xrange[-2:52]\n}; print PLOT qq{set xlabel "number of the balls"\n}; # print PLOT qq{set yrange[360:460]\n}; print PLOT qq{set yrange[0:10]\n}; print PLOT qq{set ylabel "number"\n}; print PLOT qq{plot "/tmp/$$.loto" with boxes 3\n}; close(PLOT) or die "impossible to close the pipe -> gnuplot"; 2001095;20011128;23;21;7;11;31;27;29;4;1432880.0;20; 2001095;20011128;36;25;31;29;32;37;17;2;6124665.0;4; 2001094;20011124;41;27;9;8;32;10;39;2;3851990.0;3; 2001094;20011124;24;16;27;1;37;25;13;0;0.0;9; 2001093;20011121;33;47;16;42;37;35;41;0;0.0;5; 2001093;20011121;35;4;5;49;3;2;46;2;2870735.0;1; 2001092;2007;28;36;31;34;7;2;40;4;3461440.0;7; 2001092;2007;4;6;10;39;31;21;23;2;3214700.0;6; 2001091;2004;6;44;9;45;37;41;27;2;13137290.0;10; 2001091;2004;5;45;34;31;28;37;3;0;0.0;5; 2001090;2000;34;41;11;44;5;47;28;1; 2001090;2000;1;27;18;26;16;14;24;1; 2001089;20011107;19;32;40;20;37;28;9;0;0.0;9; 2001089;20011107;31;24;22;46;35;37;29;4; 2001088;20011103;8;25;36;12;22;6;42;1; line 0: Linux terminal driver not available svgalib: S3: Unknown chip id 13e1 c20e2 int 0x10 is not in ram (:) No VESA bios detected! Try using vga_reset Using VGA driver. impossible to close the pipe -> gnuplot at ./loto2.pl line 45, <> chunk 3430. line 0: Linux terminal driver not available svgalib: Cannot get I/O permissions. inpossible to close the pipe -> gnuplot at ./loto2.pl line 45, <> chunk 3430.
login + passwd for 30 users
Hello, does any script exist, which creates 30 users automaticaly, with the list of 30 persons containing their name, christian name, etc... instead of using 30 times "adduser" ? tia -- Gerard
video card
Hello, I plan to buy a computer equipped with a processor AMD Athlon xp 1600+. My vendor suggest me to use the video card ATI expert 2000 with linux (my dist is potato 2.2r2 with xfree 3 ) There is a lot of drivers ATI in the list. Is it possible that one of these drivers matches the ATI expert 2000 card ? Can someone give me some advices. TIA -- Gerard
Re: video card
On Thu, Feb 07, 2002 at 11:46:34PM -0600, Adam Majer wrote: > On Thu, Feb 07, 2002 at 10:56:52PM +0000, Gerard Robin wrote: .. > > My vendor suggest me to use the video card ATI expert 2000 > > with linux (my dist is potato 2.2r2 with xfree 3 ) .. > I found ATI to be the best supported cards in X (for open source drivers > that is). I have ATI Radeon 64M DDR and I have great 3D performance. Better > than under Windows 2000 and onward. At work, I have 2 Debian workstations > with older ATI cards. One is Winboard and the other Rage 64 or something. > Both work great but no 3D accel. of course :) > > A friend of mine has NVideo GeForce 2 MX card and it seems to run fine with > NVidia's drivers. But the performance is a bit slower than with Radeon. But > NVidia seems to be a good choice for. Thanks all for your advices. I find that it is important to choose the best card, but if I want run linux, I have to choose the best card which have a good driver for linux and also its price don't exceed my purse :-) -- Gerard
486 SX
hello, I have the oppotunity to get hold of few omputers 486 SX (33Mz, 25Mz, hard disk = 89 Mb or 127 Mb) before they go to the rubbish. I wanted install the minimum of linux for the mail (exim, mutt, fetchmail, procmail, etc..) but my CD-ROM drive is ignored by the bios of these machines and so I must install linux with diskets 1.44, but I have two questions: is it possible to do it ? And if it's possible how can I do this. Can someone help me or point the documentation in this matter. TIA -- Gerard
Re: 486 SX
On Fri, Feb 15, 2002 at 02:54:47PM +, Gerard Robin wrote: > On Wed, Feb 13, 2002 at 06:45:59PM +0100, Johannes Franken wrote: > > On Wed, Feb 13, 2002 at 06:16:18PM +0000, Gerard Robin wrote: ... > > and so I must install linux with diskets 1.44, but I have two > > questions: is it possible to do it ? > Installing debian from floppy disks is no problem at all. > > And if it's possible how can I do this. > Get the 6 disk-images from your local debian mirror, e.g. > ftp://ftp.debian.org/pub/debian/dists/woody/main/disks-i386/current/images-1.44/*.bin > dd if=file.bin of=/dev/fd0 > smack the one that got rescue.bin into drive A:, reboot, and there you go. > -- > Johannes Franken > > Professional unix/network development > mailto:[EMAIL PROTECTED] > http://www.jfranken.de/ Thanks to all those who give me some advices. I downloaded the 6 diskets 1.44 driver1 2 and all worked fine until I get Next: install base system. I put driver1-bin in the floppy but I got this anser: wrong disk you need disk1 of series the base series. Where are the disks of the base series ? I have another question: I had created 3 partition : hda1: boot, 4 Mb hda2: swap, 4 Mb hda3: 81 Mb Confirme is what I have done is relatively suitable. I can put hda1=40 Mb and hda2=8 Mb for my disk is too small. -- Gerard PS. 4 Mb of RAM is not enough I had to put 8 Mb to make it work. Perhaps it's possible with slink but not with potato. (on my machine 486 SX daewoo) -- Gerard
486SX success whit slink.
Hello, Slink runs fine now on my old 486SX :hdd=89 Mb; CPU=25 Mz; RAM=16Mb I try to post this mail with it. Thanks. But I have a question off topic: Is it possible to clean the MBR of my hard disk after that I have put lilo into ? (I read that it was impossible but perhaps there is a trick ...?) TIA -- Gerard
ethernet
Hello, Sorry for this silly question, but I am newbie with the ethernet. I plan to make a network local with three machines: M1:pentium 166 with potato, M2: 486SX with slink, M3: 486SX with slink I have read the Howto Ethernet and the NET4-HOWTO and I installed a (old) card accton (ISA) and the drivers 8390 + ne on the machine M1. modprobe ne io=0x300 gives me: ne.c:v1-10 9/23/94 Donald Becker eth0:NE2000 found at 0x300, using IRQ 3 Now Y can't use my modem because it uses ttyS1 with IRQ 3. (ttyS0 with IRQ 4 is for my mouse) How can I use my modem now for that the three machines be connected to the internet ? TIA -- Gerard
Traxdata CDRW241040 plus
Hello, I put a Traxdata CDRW241040 plus in my box and I have 2 problems ( I read the CD writing HOWTO and the interesting posts of the list on the topic + the readme of xcdroast) (my box is ide not scsi) P1: I changed my files lilo.conf and fstab as recommended and I installed the modules sg and ide-scsi, but I dont't know which driver to choose with modconf in the part cdrom and when I launch xcdroast everything is ok except CD-Writer-Device is absent. P2: If I mount a CD containing the debian dist it's ok but with a CDRW (burn under windoze), mount give me: mount fs type udf not supported by kernel Can someone help me with this 2 problems. TIA -- Gerard
Traxdata CDRW241040 plus
Hello, I put a Traxdata CDRW241040 plus in my box and I have 2 problems ( I read the CD writing HOWTO and the interesting posts of the list on the topic + the readme of xcdroast) (my box is ide not scsi) P1: I changed my files lilo.conf and fstab as recommended and I installed the modules sg and ide-scsi, but I dont't know which driver to choose with modconf in the part cdrom and when I launch xcdroast everything is ok except CD-Writer-Device is absent. P2: If I mount a CD containing the debian dist it's ok but with a CDRW (burn under windoze), mount give me: mount fs type udf not supported by kernel Can someone help me with this 2 problems. TIA -- Gerard
Re: Traxdata CDRW241040 plus
On Sat, Mar 02, 2002 at 11:38:12PM +, Gerard Robin wrote: > > P1: > I changed my files lilo.conf and fstab as recommended and I > installed the modules sg and ide-scsi, but I dont't know which driver > to choose with modconf in the part cdrom and when I launch xcdroast > everything is ok except CD-Writer-Device is absent. Sorry for this stupid post I forgot to run lilo. I burned a CD-R correctly with xcdroast. I run potato 2.2r2 kernel 2.2.18pre21 and I didn't need to compile again my kernel. but I can't burn a CD-RW ? and now, cdcd don't work, play give me : No disc in drive. mount always complains : fs type udf not supported by kernel. I'll be grateful for your light of these 3 last points. -- Gerard
Re: configuring smtp
On Sun, Mar 03, 2002 at 11:25:50AM -0800, Xucaen wrote: > Where do I > set up smtp information? and how? I changed > exim.conf but still not able to send e-mail. perhaps you have to run eximconfig to change exim.conf ? edit the file /etc/email_addresses. and run pppconfig. good luck. -- Gerard
Re: Traxdata CDRW241040 plus
On Sun, Mar 03, 2002 at 09:40:42PM +0100, Sebastiaan wrote: > High, > > On Sun, 3 Mar 2002, Gerard Robin wrote: > > > On Sat, Mar 02, 2002 at 11:38:12PM +, Gerard Robin wrote: . > > and now, cdcd don't work, play give me : No disc in drive. > I think you are still trying to acces the ide drive. Now that you use > ide-scsi, the drive is not seen by the ide drivers anymore. So, if not > loaded already, you have to load the sr_mod.o module. Then your drive is > under /dev/scd0 or something. To make this your default, run as root: > > cd /dev > ln -s scd0 cdrom Many thanks cdcd works fine now. -- Gerard
libc6 > 2.2.3
hello, can someone point me where I can find the package libc6_2.2.4-4.deb ? TIA -- Gerard
mutt_1.3.27
Hello, I installed mutt_1.3.27 with succes and everything is ok except when I send a post to an user of my ISP. i.e. I send a message to [EMAIL PROTECTED], a copy of this message goes in outbox but the spool /var/spool/exim/input/ is empty What I am missing ? TIA -- Gerard
assembler and linux
hello, In the package "binutils" there are : "as" and "ld". I did man as, man ld, info as, info ld, but I need a tutorial or a book which contain examples of programs... (the programs write with tasm of borland don't works with as an ld) Can someone give me a link to find useful documentations. TIA. -- Gerard
Re: apt-get source
On Tue, Oct 16, 2001 at 03:34:10PM -0300, Alejandro Diego Garin wrote: > > hello! > > Could you tell me what is the deb-src link to download de source packages in > potato? deb-src http://http.us.debian.org/debian stable main contrib non-free deb-src http://non-us.debian.org/debian-non-US stable non-US hth -- Gerard
logout icewm
hello, I have a simple question to ask : my current xwindow manager is icewm, when I select Logout->Logout->ok which files are used to leave icewm ? I submit this question because I have upgraded potato2.2r2 ->woody. (partialy) All works fine except if I add in my .bashrc: export LANG=fr_FR.ISO--8859-1 in this case, startx launch icewm but it aborts at once. The problem doesn't arise with twm. TIA. -- Gerard
Re: video card detection
On Fri, Oct 26, 2001 at 11:26:11PM -0700, Cary Cherng wrote: > These are my first attempt at installing Debian. Both my laptop and pc seem > to have video cards that cannot be identified. Is this normal or am I missing > something? I guess that you have potato. do (as root): 1 apt-get install xserver-svga 2 XF86Setup 3 if your mouse doesn't work use tab to select the suitable device : ttyS0, ttyS1 if you see your video card in the list for example w32 : apt-get install xserver-w32 many card work fine (by default) with xserver-svga. hth -- Gerard
Re: video card detection
On Sat, Oct 27, 2001 at 04:32:34AM -0700, Karsten M. Self wrote: > on Fri, Oct 26, 2001 at 11:26:11PM -0700, Cary Cherng ([EMAIL PROTECTED]) > wrote: > > These are my first attempt at installing Debian. Both my laptop and pc > > seem to have video cards that cannot be identified. Is this normal or > > am I missing something? > > Install lspci: > > $ apt-get install lspci it doesn't work for me. you meant to say : apt-get install pciutils ? > Run it: > > $ /sbin/lspci it'works fine. Thanks for the tip. -- Gerard
modconf
Hello, I ran modconf, I gave it a non valid option and the installation of the module (sb) failed. How can I delete the previous option with modconf ? i.e. without editing /etc/modutils/sb and /etc/modules.conf ? TIA -- Gerard
woody
hello, I am connected to internet with a modem and to download a distribution potato or woody spents 130 hours ! In France potato exists on CD but woody not. Does woody exist on CD in a european country ? If yes, can someone give me the link. TIA -- Gerard
Re: woody
On Wed, Sep 05, 2001 at 05:57:06PM +0100, Brian Potkin wrote: > On Wed, Sep 05, 2001 at 05:13:20PM +0000, gerard robin wrote: > > > hello, > > I am connected to internet with a modem and to download > > a distribution potato or woody spents 130 hours ! > > In France potato exists on CD but woody not. > > This looks like you are downloading the whole distribution. If you have > potato already on your machine you could simply move to woody with > apt-get. Unless you have an existing large installation the time > involved should be a good deal less than 130 hours and it may end up a > cheaper method than buying CD's. > > > Does woody exist on CD in a european country ? > > If yes, can someone give me the link. > > Try Steve McIntyre in the UK. Follow the `Debian on CD' link on your > usual Debian site. > > Brian. Thanks, I have followed your advice and so I have upgraded the soft which I needed. However now (after upgrade) when I run a perl script I get this warning: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "fr_FR.ISO-8859.1" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). xemacs give the message: (1) (xim-xlib/warning) Can't set locale. Using C locale instead. With potato LC_ALL is unset but I don't have trouble. How can I set locale ? TIA. Thanks to you all who have helped me. -- Gerard
xserver-S3
hello, I have a video-card S3 Trio 3D/2X. It is in the card list and the package xserver-S3 exist in potato, but when I install this package I can set up correctly xwindow except the form of the pointer of the mouse. In the section Chipset I find s3virge but not s3trio 3D/2X. Can someone tell me if the package xserver-S3 of woody does have a chipset for s3trio 3D/2X. Or if I can find it anywhere. TIA -- Gerard
Re: xserver-S3
On Sun, Sep 09, 2001 at 06:46:44PM -0700, Bob Nielsen wrote: > On Sun, Sep 09, 2001 at 05:53:45PM -0700, Bob Nielsen wrote: > > On Mon, Sep 10, 2001 at 01:46:41AM +0000, gerard robin wrote: > > > hello, > > > I have a video-card S3 Trio 3D/2X. ... > > >From the www.xfree.org documentation for version 4.1.0 (which made into > > woody with today's update): > > > > Support (accelerated) for the ViRGE, ViRGE/VX, ViRGE/DX, > > ViRGE/GX, ViRGE/GX2, ViRGE/MX, ViRGE/MX+, Trio3D and Trio3D/2X > > is provided by the "s3virge" driver. Support (accelerated) for > > the Savage3D, Savage3D/MV, Savage4, and Savage2000, is provided > > by the "savage" driver. Support for the other S3 chipsets has > > not yet been ported. > > > > The same page mentions that xserver-svga in 3.3.6 also supports this > card. Many thanks for everybody's help. It's ok with the server-svga in 3.3.6. it's a good thing to know that. -- Gerard
Solidarity
Excuse me ,I am of topic with linux but all my thoughts are with the americains, specially the innocent victims. -- Gerard
Re: Accented characters
On Thu, Sep 13, 2001 at 03:27:32PM -0500, Darryl L. Pierce wrote: > How do I go about enabling accented characters in a terminal window? I'm a > member of an > Irish speaking mailing list and all emails come in with accented characters. > However, > when I read them via Mutt I only see ? where an accented character is in the > messages. > I though 8859-1 could handle extended characters... I use accents too and in ~/.bashrc I added : export LANG=fr_FR.ISO-8859-1 (with xfree4 ...) or export LANG=fr_FR.ISO-8859.1 (with xfree3...) replace fr_FR by your own locale. run : locale -a (and man locale) hth -- Gerard
Re: Lyx and ispell problems.
> I have recently installed the Lyx 1.1.6fix3 package from Debian/Unstable and > I am having some problems using the spellchecker feature. Whenever I try to > use the spellchecker from the "edit" menu I get an error message saying the > ispell-process has died and that I probably do not have the dictionary > installed. However, I do have the english ispell dictionary installed, and > the program works fine from the terminal. I have the most recent ispell > 3.1.20-15 packages from Debian/Unstable installed. Any help with this > problem > would be greatly appreciated. 1 apt-get install ibritish (or your language) 2 edit -> preferences(customize) -> Lang Opts -> Spell Checker Spell command: ispell use alternative language: british use personal dictionary : /usr/lib/ispell/british.hash 3 edit -> spellchecker -> Spellchecker Options use alternate language: british use alternate personal dictionary : /usr/lib/ispell/british.hash hth -- Gerard
pon
hello, sorry for this silly question, "pon" is a very simple script: exec /usr/sbin/pppd call ${1;-provider} I think that the script : exec /usr/sbin/pppd call provider would work too. can someone explain me the meaning of ${1;-provider} -- Gerard
Re: INIT:Entering runlevel:2 failed
On Sat, Sep 22, 2001 at 04:55:13PM -0500, Michael Heldebrant wrote: > On Sat, 2001-09-22 at 18:37, Robin Gerard wrote: > > > On Thu, Sep 20, 2001 at 10:18:27PM -0500, Michael Heldebrant wrote: > > > On Thu, 2001-09-20 at 20:09, Robin Gerard wrote: > > > > hello, > > > > I run potato 2.2r2 and have upgraded partially > > > > with woody. > > > > All ran fine, but after my system crashed, linux > > > > boot correctly until: > > > > ttyS00 . > > > > ttyS01 > > > > Desactiving swap...VM:do_try_to_free_pages failed for kswapd > > > > VM:do_try_to_free_pages failed for swapoff > > > > swapoff: /dev/hda2: cannot allocate memory > > .. > > > > is it possible that i repair my system ? > > > > > > I'd run memtest on that sytem ASAP. It sounds to me like you're running > > > > out of memory at boot. > > > > memtest gives : > > array a starts at 1075040264 > > found a total of 0 error > > > > but when I use my rescue diskett "rescue" gives : > > kernel panic: VFS: unable to mount root from 01:00 > > transaction block size = 512 > > > > rescue root=/dev/hda4 gives the previous result > > > > How can I solve this problem ? (i.e. mount root at the correct point) > > > > free gives : > > total > > Mem: 46192 (16+16+8+8) > > swap: 88352 (~= 2xMem) > > > > but swap is unable for swapon. > > > > What can I do except reinstall potato ? > > Try getting the system booted and make sure fdisk reports the swap disk > as a swap disk partition type and then mkswap the correct device. Then > try swapon -a assuming the swap partition is listed in fstab. > > That may allow swap to get running and therefore the rest of the system > normally once you reboot or change runlevel to 2. cfdisk: hda1 boot primary WIN95 FAT32 1159.77 hda2 primary linux swap 90.48 hda3 primary linux ext2 41.13 hda4 primary linux exte2 3085.13 mkswap /dev/hda2 : Setting up swap version1, size=90472448 bytes swapon -s : filename type size used priority /dev/hda2partition88348 59388 -1 swapon -a : swapon : /dec/hda2 : Device or resource busy swapoff -a : VM: do_try_to_free_pages failed for kswapd VM: do_try_to_free_pages failed for swapoff swapoff : /dev/hda2 : Cannot allocate memory Apparently the swap partition is used (59388) but swapon and swapoff cannot use it. I don't find kswapd in my system. I run dumpe2fs and I get : file system not clean. My system seemed not completly broken but if there is not solution never mind. I thank you for your help. -- Gerard
vim
Hello, By default, vim converts a file in html with white text and black background. Where can I find (in the doc) the way to change the color of the text and of the background when I convert a file in html ? tia. -- Gerard
passwd
Hello, I have written a script perl(not very perlich ;-)) which install n accounts but I have encountered few problems: 1 "useradd" works fine except for the password (not encrypted) 2 "mkpasswd" look nice but /etc/shadow doesn't like it's encrypted passwords ? 3 "makepasswd" create passwords accepted by /etc/shadow. Ouf!. I have spent a lot of time with this matter, can this message avoid others to spend time as well. A question: what is the use of "mkpasswd" in debian (potato-woody) ? -- Gerard
Re: passwd
On Thu, Jan 24, 2002 at 01:56:37AM +0100, martin f krafft wrote: > also sprach Gerard Robin <[EMAIL PROTECTED]> [2002.01.24.0138 +0100]: > > I have written a script perl(not very perlich ;-)) which install > > n accounts but I have encountered few problems: > > /usr/bin/newusers > > don't reinvent the wheel... > > > A question: what is the use of "mkpasswd" in debian (potato-woody) ? > > makepasswd | mkpasswd -H md5 --stdin > > that's compatible with /etc/shadow if you use md5 passwords, which i > think you are... Many thanks for your advices. "newusers" is very fast but we should write a script to put the file of data in the form of passwd otherwise write a file of data in the suitable form for 300 users(or +) may take a lot of time. "newusers" is not the entire whel :-) -- Gerard
partition /var is full
Hello, I have a problem with my partition /var which seems to be too small. When it is full my system deosn't work fine, for example: fetchmail can't download my messages in /var/mail/mylogin. To solve the problem temporarily, I have removed the biggest files in /var/log/. How can I solve this problem neatly ? Thinks in advance for your reply or for a link which gives me a hint for good solution ? "df -h" displays : Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur /dev/hda2 464M 139M 302M 32% / tmpfs 253M 0 253M 0% /dev/shm /dev/hda3 3,2G 1,7G 1,4G 55% /usr /dev/hda6 92M 22K 87M 1% /tmp /dev/hda7 464M 411M 29M 94% /var /dev/hda8 1,9G 530M 1,2G 31% /home /dev/fd0 1,4M 745K 679K 53% /floppy "du -hs /var" displays 89M /var 411M != 89M ? -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: partition /var is full
On Tue, Sep 28, 2004 at 11:28:31PM +0200, Frank Gevaerts wrote: > > On Tue, Sep 28, 2004 at 11:07:03PM +0100, Gerard Robin wrote: > > > > Hello, > > I have a problem with my partition /var which seems to be too small. > > When it is full my system deosn't work fine, for example: fetchmail can't > > download my messages in /var/mail/mylogin. > > To solve the problem temporarily, I have removed the biggest files in > > /var/log/. > > How can I solve this problem neatly ? > > Thinks in advance for your reply or for a link which gives me a hint > > for good solution ? > > > > "df -h" displays : > > > > Sys. de fich. Tail. Occ. Disp. %Occ. Mont? sur > > /dev/hda2 464M 139M 302M 32% / > > tmpfs 253M 0 253M 0% /dev/shm > > /dev/hda3 3,2G 1,7G 1,4G 55% /usr > > /dev/hda6 92M 22K 87M 1% /tmp > > /dev/hda7 464M 411M 29M 94% /var > > /dev/hda8 1,9G 530M 1,2G 31% /home > > /dev/fd0 1,4M 745K 679K 53% /floppy > > > > "du -hs /var" displays > > > > 89M /var > > > > 411M != 89M ? > > I guess there is a program running that still has some removed files > open. Try restarting sysklogd, or rebooting. > > Frank Thanks Frank, when I reboot it's ok: 89M = 89M :-). But I would like to know if I could get the same result by an other way. Thanks again. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
multisession on CD-RW with cdrecord
hello, with kernel-image 2.4.20, I burned a CD-RW in multisession mode. I use mkisofs 2.0+a38-1 + cdrecord 2.0+a38-1. My problem is that until the 19 th session all works fine, but at the 20 th session when I eject, I mount and I do: "cd /cdrw/Debsept04; ls" I get: Oct 4 12:44:09 mymachine kernel: scsi0: ERROR on channel 0, id 1, lun 0, CDB: Request Sense 00 00 00 40 00 Oct 4 12:44:09 mymachine kernel: Info fld=0x44d5f (nonstd), Current sd0b:01: sense key Medium Error Oct 4 12:44:09 mymachine kernel: Additional sense indicates Unrecovered read error Oct 4 12:44:09 mymachine kernel: I/O error: dev 0b:01, sector 1127804 And on 62 files (packages Debian) only 26 files are copied on the CD-RW. "isovfy /imgISO/image2.iso" displays: Root at extent 44d5c, 2048 bytes [0 0] No error found "cdrecord -dev=1,0 -msinfo" displays: 281920, 290135 "du -s /cdrw" displays: 283008 Is there a problem in mode multisession with cdrecord and CD-RW ? Thanks in advance for any help. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installation recommendation
On Tue, Oct 05, 2004 at 04:32:12PM +0545, Ritesh Raj Sarraf wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > I am planning to use the following partition structure: > > /boot -- 150mb > /home -- 10GB > /usr -- 15GB > /usr/local -- 5GB Have a look at http://kmself.home.netcom.com/Linux/FAQs/partition.html hth -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xcdroast stops working
On Mon, Oct 18, 2004 at 08:11:40PM +0100, Alan Chandler wrote: > On Monday 18 October 2004 01:51, Uwe Dippel wrote: > > Sitting on Sarge as-it-comes, daily updated. > > Suddenly xcdroast stops working today; last week it was okay. > > > > This is what I get: > > > > Calling: /usr/lib/xcdroast/bin/xcdrwrap CDRECORD dev= "ATAPI:0,1,0" > > gracetime=2 fs=4096k driveropts=burnfree -v -useinfo speed=24 -dao -eject > > -pad -data "/toast/track-01.iso" ... > > > > scsidev: 'ATAPI:0,1,0' > > devname: 'ATAPI' > > Not sure with xcdroast where the device name is held, but you should get > better results with dev=ATA > > That gives you dma write access. > > 2.6.8 requires you to run as root (as others have noted). I have been unable I use: kernel-image-2.6.8-1-386 ( Version 2.6.8-4 ) cdrecord ( Version 2.0+a38-1 ) mkisofs ( Version 2.0+a38-1 ) and when I have read : /usr/share/doc/cdrecord/README.ATAPI.setup and apply the part "kernel 2.6.*" cdrecord worked fine. ( (except for the multisession :-) ... ;-) ) (with kernel 2.4.20 ) I guess that it's xcdroast which has a problem with kernel 2.6.8 hth -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
how to see a .pps file with linux ?
Hello, I'v received a message with a .pps file as attached document. Is there a viewer (in linux) to see such file ? tia -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to see a .pps file with linux ?
> Jerome BENOIT wrote: > Hello, > > have you try OpenOffice.org ? > > hth, > Jerome > > Gerard Robin wrote: > >Hello, > >I'v received a message with a .pps file as attached document. > >Is there a viewer (in linux) to see such file ? > > > >tia > > No, but I will try. Thanks for your replies. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: regular expressions
On Sun, Oct 24, 2004 at 04:09:57AM +0100, Rui Silva wrote: > Hi people > > can anyone point me to a website that teaches me how to build regular > expressions... i need it from a school work anda i'm finding anything on > google. only found site with one or examples, need a full (or wide) > description of regular expressions http://www.cornerstonemag.com/sed/ hth -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
plugin with mozilla
Hello, first I am sorry to have sent 2 idiot messages on the list, it was an error on my part. I have a problem with mozilla-browser 1.7.3-5 : certain site (http://www.franceinter.com) asks me to install the plugin "flash". I donwloaded the tarball "install_flash_player_7_linux.tar.gz". My question is: can'I compile this file (in /usr/local/) and installed it without causing any damage to my system ? Thanks for any advice. -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: plugin with mozilla
On Fri, Oct 29, 2004 at 04:22:37PM -0700, Sergio Basurto wrote: > On Sat, 30 Oct 2004 01:07:14 +0100, Gerard Robin wrote: . > > I have a problem with mozilla-browser 1.7.3-5 : > > certain site (http://www.franceinter.com) asks me to > > install the plugin > > "flash". . > It is more easy if you do this way: > #apt-cache search swf-player > #apt-get install swf-player Thanks Sergio swf-player works fine with mozilla. ( Konqueror has the same problem that mozilla and swf-player doesn't help konqueror ... ) -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: plugin with mozilla
On Sat, Oct 30, 2004 at 09:17:22PM -0700, Ross Boylan wrote: > On Sat, Oct 30, 2004 at 01:07:14AM +0100, Gerard Robin wrote: ... > > I have a problem with mozilla-browser 1.7.3-5 : > > certain site (http://www.franceinter.com) asks me to install the plugin > > "flash". > > I donwloaded the tarball "install_flash_player_7_linux.tar.gz". > > > > My question is: can'I compile this file (in /usr/local/) and installed it > > without causing any damage to my system ? ... > It would probably be safer to use one of the Debian packages for flash > (try apt-cache search flash or apt-cache search shockwave), since the > conventions about file placement, ownership, etc, might be a bit > different from Debian. > > On the other hand, the file you have may just unwrap to a bunch of > files and instructions to move them to various places. > > I doubt you can compile it; it probably has a binary (closed source). > > Another possible point of confusion: flash (aka shockwave flash) is > available for Linux, but shockwave (aka director, I think) is not. So > even after installing flash, you may find some sites that won't work. You are right, the tarball contains the files: readme.txt flahsplayer-installer (a bash script) flashplayer.xpt libflashplayer.so Finaly Sergio gave me the trick with swf-player which works fine for me. (Warning, it is still alpha and perhaps it will not work fine for others users ). -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord & cdwriter
On Tue, Nov 02, 2004 at 04:34:42PM +0530, Vijaya S wrote: >... > but when i give cdrecord -scanbus dev=ATAPI >... > cdrecord -scanbus dev=ATAPI > Using libscg version 'schily-0.8'. > scsibus0: > 0,0,0 0) 'HL-DT-ST' 'CD-RW GCE-8525B ' '1.03' Removable > CD-ROM > 0,1,0 1) * > 0,2,0 2) * > 0,3,0 3) * > 0,4,0 4) * > 0,5,0 5) * > 0,6,0 6) * > 0,7,0 7) * > > dmesg | grep ATAPI > hdc: HL-DT-ST GCE-8525B, ATAPI CD/DVD-ROM drive > hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache > scsi0 : SCSI host adapter emulation for IDE ATAPI devices > > cat /etc/fstab > # /etc/fstab: static file system information. > # > # >... > /dev/scd0 /cdrom iso9660 ro,user,noauto,exec 0 0 >... > and i have added a line in /boot/grub/menu.lst as > > append "/dev/hdc=ide-scsi" > > > Wiht all these when i do eject i get the following as root and normal > user > #eject > > eject: unable to eject, last error: Inappropriate ioctl for device > > > mount /cdrom > mount: /dev/scd0 is not a valid block device I apply exactly what is said in /usr/share/doc/cdrecord/README.ATAPI.setup First I have undone all the things required by the kernel 2.4.x : - I disabled the module ide-scsi. ( then you must undo : append "/dev/hdc=ide-scsi" in your /boot/grub/menu.lst as ) - in fstab I changed /dev/scd0 in /dev/hdc and /dev/scd1 in /dev/hdd cdrecord -scanbus dev=ATA gave me : Using libscg version 'schily-0.8'. scsibus1: 1,0,0 100) 'SONY' 'DVD-ROM DDU1612 ' 'DYS1' Removable CD-ROM 1,1,0 101) 'LITE-ON ' 'LTR-52327S ' 'QS09' Removable CD-ROM then in /etc/default/cdrecord I have put: # CDR_DEVICE = yamaha ( I commented this line ) CDR_DEVICE = cdrw cdrw = ATA:1,1,0 ( for you is: cdrw = ATA:0,0,0 ) and now I do: cdrecord -dev=1,1,0 -speed=10 -v -eject image.iso and all works fine. hth -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord & cdwriter
On Tue, Nov 02, 2004 at 08:09:32PM -0500, Wayne Topa wrote: > Gerard Robin([EMAIL PROTECTED]) is reported to have said: > > On Tue, Nov 02, 2004 at 04:34:42PM +0530, Vijaya S wrote: > > >... > > > > > > First I have undone all the things required by the kernel 2.4.x : > > Do you mean kernel 2.6.X ?? ide-scsi worked in 2.4.x _not_ in 2.6.x. > > > > - I disabled the module ide-scsi. ( then you must undo : > > append "/dev/hdc=ide-scsi" in your /boot/grub/menu.lst as ) > > - in fstab I changed /dev/scd0 in /dev/hdc and /dev/scd1 in /dev/hdd > > > > cdrecord -scanbus dev=ATA gave me : > > > > Using libscg version 'schily-0.8'. > > > > scsibus1: > > 1,0,0 100) 'SONY' 'DVD-ROM DDU1612 ' 'DYS1' Removable CD-ROM > > 1,1,0 101) 'LITE-ON ' 'LTR-52327S ' 'QS09' Removable CD-ROM > > > > then in /etc/default/cdrecord I have put: > > > > # CDR_DEVICE = yamaha ( I commented this line ) > > CDR_DEVICE = cdrw > > cdrw = ATA:1,1,0 ( for you is: cdrw = ATA:0,0,0 ) > > > > and now I do: > > > > cdrecord -dev=1,1,0 -speed=10 -v -eject image.iso > > That does not work here but this does > cdrecord dev=ATA:1,1,0 speed=10 -v -eject image.iso > Note no^ - ^ no dash Sorry, YOU ARE RIGHT, but I wrote a little script which does this work and I didn't use directly the command "cdrecord dev=ATA:1,1,0 ." for a while and now I am confused between the style 2.4.x and the style 2.6.x ;-) P.S. I use the kernel 2.6.8-1-386 version 2.6.8-4 -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: kernel 2.8.x (was: cdrecord & cdwriter)
On Wed, Nov 03, 2004 at 12:25:15PM +0200, Martin Fluch wrote: > > >P.S. I use the kernel 2.6.8-1-386 version 2.6.8-4 > > There is some issue with the 2.6.8.1 kernel and cdwriting. The only > infromation I have about this is from k3b.org (in the news section): > > "Do not use Kernel 2.6.8 > > A patch that was introduced into the kernel shortly before the 2.6.8 > release makes K3b and also the dvd+rw-tools unusable on Linux (unless > run as root but that is not recommended). The very important GET > CONFIGURATION MMC command is rejected by the kernel for reasons I > cannot see and writing commands like MODE SELECT also fail (K3b cannot > detect CD writers without it) even when the device is opened O_RDWR. > Until this issue has been solved I strongly recommend to stick to > kernel version 2.6.7. > > Update: The kernel guys are currently fixing the problem so the next > kernel release should work again. :) > > Update 2: The problem is NOT fixed in 2.6.8.1 > > Update 3: Be aware that kernel 2.6.8 also contains the memory leak > which makes it impossible to write audio cds, even as root." > > I myself had no problem using k3b with 2.6.9 and 2.6.7 kernels (and k3b > uses cdrecord to burn CDs). Thanks for your advices. I have encountered problems with kernel 2.8.6 and xmms which worked fine as root but not as user. I posted a question about this to the list xmms-dev and their reply was: change the permission of /dev/hdc. The permission origine of /dev/hdc was 660, I put it to 644 and now xmms works fine for the users. It's a problem with gtk whilst cdcd have no problem. It works fine for the users with 660 for /dev/hdc. (and 4755 for cdcd) I tried to put 4755 to xmms but I received a protest of gtk. ( reason of security: http://www.gtk.org/setuid.html ) Now I have upgraded with kernel 2.9.1 and the problem of permission with xmms are identical. I wonder if I am messing my system in changing the permissions of /dev/hdc ? -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Can't burn CDs since kernel 2.6.7 - am I the only one?
On Tue, Nov 09, 2004 at 03:21:32PM -0600, Ron Johnson wrote: > On Tue, 2004-11-09 at 18:33 +, Alan Chandler wrote: > > Following my upgrading to linux 2.6.7 I have been unable to burn a CD. > > This > > cdrecord dev=ATA:1,0,0 blank=fast > > > > and (with a Rewriteable CD in the drive) it then preceeds to hang. .. > > Works for me. > > mkisofs -v -L -max-iso9660-filenames -R -relaxed-filenames ${dest} | \ > cdrecord -v -speed=8 -multi -dev=ATAPI:0,0,0 - > > # uname -r > 2.6.8 > > # mkisofs --version > mkisofs 2.01a34-unofficial-iconv (i686-pc-linux-gnu) > > # cdrecord --version > Cdrecord-Clone 2.01a38 (i686-pc-linux-gnu) Copyright (C) 1995-2004 \ >Jörg Schilling Works for me too. (2.6.9) and all the previous commands gives me the same outcome but the next > # zcat /proc/config.gz | grep IDECD > CONFIG_BLK_DEV_IDECD=y gives me: zcat: /proc/config.gz: No such file or directory lsmod | grep ide_cd gives me: ide_cd 38176 0 cdrom 35996 1 ide_cd ide_core 128112 5 ide_cd,usb_storage,ide_generic,ide_disk,amd74xx why /proc/config.gz does not exist for me ? TIA -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Can't burn CDs since kernel 2.6.7 - am I the only one?
On Wed, Nov 10, 2004 at 09:22:52AM +0800, Robert Vangel wrote: I did not compile myself the kernel 2.6.9, I used the package debian unstable. > When you config the kernel, there is an option for a copy of the kernel > config kept in /proc/config.gz, but the same thing is available in > /usr/src/linux-2.6.7/.config > > Gerard Robin wrote: > > >why /proc/config.gz does not exist for me ? -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
gcj and kaffe
Hello, I compiled the file: HelloWorldApp.java class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); } } gcj -C HelloWorldApp.java the compiler has generated the file: HelloWorldApp.class. Then, I ran, kaffe HelloWorldApp, and I got sometimes: Internal error: caught an unexpected exception. Please check your CLASSPATH and your installation. java/lang/NullPointerException Internal error: caught an unexpected exception. Please check your CLASSPATH and your installation. java/lang/NullPointerException or sometimes: Hello World! Can someone help me to understand what is wrong ? TIA P.S. I have found this example in "The java tutorial" at http://java.sun.com/ -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: gcj and kaffe (solved)
On Fri, Nov 12, 2004 at 10:08:36PM +, Gerard Robin wrote: > Hello, > I compiled the file: HelloWorldApp.java > > class HelloWorldApp { > public static void main(String[] args) { > System.out.println("Hello World!"); > } > } > > gcj -C HelloWorldApp.java > > the compiler has generated the file: HelloWorldApp.class. > > Then, I ran, kaffe HelloWorldApp, and I got sometimes: > > Internal error: caught an unexpected exception. > Please check your CLASSPATH and your installation. > java/lang/NullPointerException > Internal error: caught an unexpected exception. > Please check your CLASSPATH and your installation. > java/lang/NullPointerException > > or sometimes: > > Hello World! > > Can someone help me to understand what is wrong ? > I used the unstable version of gcj and kaffe and I guessed that was this version which did not works fine. I removed gcj and kaffe and reinstalled the woody packages and now all works fine. ;-) -- Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
fetchmail
Hello, in Bullseye (stable) fetchmail works fine, but in Bookworm (testing) I get: fetchmail: can't accept options while a background fetchmail is running. argc = 5, arg list: arg 1 = "-k" arg 2 = "--ssl" arg 3 = "--mda" arg 4 = "/usr/bin/procmail -d %T" No mail arrived since ps ax | grep fetchmail 1943 ?Ss 0:00 fetchmail --nodetach --daemon 300 4220 pts/1S+ 0:00 grep fetchmail how can i prevent the fetchmail daemon from running on startup in Bookworm ? TIA -- Gerard Created with Mutt 2.2.6-1 under Debian Linux BOOKWORM
fetchmail
Hello, in Bullseye (stable) fetchmail works fine, but in Bookworm (testing) I get: fetchmail: can't accept options while a background fetchmail is running. argc = 5, arg list: arg 1 = "-k" arg 2 = "--ssl" arg 3 = "--mda" arg 4 = "/usr/bin/procmail -d %T" No mail arrived since ps ax | grep fetchmail 1943 ?Ss 0:00 fetchmail --nodetach --daemon 300 4220 pts/1S+ 0:00 grep fetchmail how can I prevent the fetchmail daemon from running on startup in Bookworm ? TIA -- Gerard _ * Created with Mutt 2.0.5 under Debian Linux BULLSEYE *
Re: fetchmail
Le Sat, Sep 10, 2022 at 04:37:40PM -0500, Nate Bargmann a écrit : > Date: Sat, 10 Sep 2022 16:37:40 -0500 > From: Nate Bargmann > To: debian-user@lists.debian.org > Subject: Re: fetchmail > X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on bendel.debian.org > X-Spam-Level: > X-Spam-Status: No, score=-12.6 required=4.0 tests=DKIM_SIGNED,DKIM_VALID, > DKIM_VALID_AU,DKIM_VALID_EF,LDOSUBSCRIBER,LDO_WHITELIST,ONEWORD, > PGPSIGNATURE,SARE_BOUNDARY_LC,T_SCC_BODY_TEXT_LINE autolearn=unavailable > autolearn_force=no version=3.4.2 > > * On 2022 10 Sep 16:28 -0500, Gerard ROBIN wrote: > > Hello, > > in Bullseye (stable) fetchmail works fine, but in Bookworm (testing) I > > get: > > > > fetchmail: can't accept options while a background fetchmail is running. > > argc = 5, arg list: > > arg 1 = "-k" > > arg 2 = "--ssl" > > arg 3 = "--mda" > > arg 4 = "/usr/bin/procmail -d %T" > > > > No mail arrived since > > > > ps ax | grep fetchmail > > > > 1943 ?Ss 0:00 fetchmail --nodetach --daemon 300 > > 4220 pts/1S+ 0:00 grep fetchmail > > > > how can I prevent the fetchmail daemon from running on startup in > > Bookworm ? > > Perhaps you need to do something like (as root): > > systemctl stop fetchmail.service > systemctl disable fetchmail.service > > On a whim I checked what systemctl reports on this Bullseye system: > > $ systemctl status fetchmail.service > ● fetchmail.service - LSB: init-Script for system wide fetchmail daemon > Loaded: loaded (/etc/init.d/fetchmail; generated) > Active: active (exited) since Sat 2022-09-10 15:37:33 CDT; 52min ago >Docs: man:systemd-sysv-generator(8) > Process: 1790 ExecStart=/etc/init.d/fetchmail start (code=exited, > status=0/SUCCESS) > CPU: 6ms > > Now, I typically do not run fetchmail as a system wide service so I never > looked at this output but apparently it is harmless as I also see: > > $ ps ax | grep fetchmail > 10376 ?Ss 0:00 /usr/bin/fetchmail -aKd 60 --sslcertck > 10818 pts/0S+ 0:00 grep --color=auto fetchmail > > which I had just started a few minutes before reading your mail. I do > not find any kind of default configuration under /etc. Was one added in > Bookworm? > > - Nate Thank you for your reply. The commands systemctl stop fetchmail.service systemctl disable fetchmail.service doesn't work. I had tried them before sending my message. I had tried sudo kill -9 ... without success either. Finally I purged and reinstalled fetchmail and now : ps ax | grep fetchmail 3566 pts/0S+ 0:00 grep --color=auto fetchmail no more daemons in the background and I can load my posts with fetchmail. (in Bookworm) The problem is that I don't know how to fix the problem if it starts again without purging the package :( -- Gerard Created with Mutt 2.2.6-1 under Debian Linux BOOKWORM
Re: fetchmail
Le Sun, Sep 11, 2022 at 06:18:07AM +0200, to...@tuxteam.de a écrit : > Date: Sun, 11 Sep 2022 06:18:07 +0200 > From: to...@tuxteam.de > To: debian-user@lists.debian.org > Subject: Re: fetchmail > > On Sat, Sep 10, 2022 at 10:45:23PM +0200, Gerard ROBIN wrote: > > Hello, > > in Bullseye (stable) fetchmail works fine, but in Bookworm (testing) I > > get: > > > > fetchmail: can't accept options while a background fetchmail is running. > > argc = 5, arg list: > > arg 1 = "-k" > > arg 2 = "--ssl" > > arg 3 = "--mda" > > arg 4 = "/usr/bin/procmail -d %T" > > > > No mail arrived since > > > > ps ax | grep fetchmail > > > > 1943 ?Ss 0:00 fetchmail --nodetach --daemon 300 > > 4220 pts/1S+ 0:00 grep fetchmail > > > > how can i prevent the fetchmail daemon from running on startup in > > Bookworm ? > > What is starting it? What init system do you use? My problem is that I don't know what starts it. If I knew what started it I might be able to prevent it from starting. I never had this problem with bullseye. Debian Bookworm (and Bullseye too) use systemd. Thanks. -- Gerard _ * Created with Mutt 2.0.5 under Debian Linux BULLSEYE *
Re: fetchmail
Le Sun, Sep 11, 2022 at 09:24:27AM -0400, Greg Wooledge a écrit : > Date: Sun, 11 Sep 2022 09:24:27 -0400 > From: Greg Wooledge > To: debian-user@lists.debian.org > Subject: Re: fetchmail > X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on bendel.debian.org > X-Spam-Level: > X-Spam-Status: No, score=-7.7 required=4.0 > tests=LDOSUBSCRIBER,LDO_WHITELIST, ONEWORD,RDNS_NONE,T_SCC_BODY_TEXT_LINE > autolearn=unavailable autolearn_force=no version=3.4.2 > > On Sun, Sep 11, 2022 at 12:14:15PM +0200, Gerard ROBIN wrote: > > My problem is that I don't know what starts it. > > [...] > > Debian Bookworm (and Bullseye too) use systemd. > > It's too late now, because you already "solved" the problem by purging > and reinstalling the package. (Which is not a bad solution -- just not > one that enlightens.) Thank you for your reply. reinstalling fetchmail is not the solution because on the next start the problem comes back and (I must be stupid) because despite all the ideas you give me I cannot kill the background process of fetchmail. The solution: purge fetchmail and install getmail6. Getmail6 works well, without complications. Thanks again. Gerard Created with Mutt 2.2.6-1 under Debian Linux BOOKWORM
Re: fetchmail
Le Mon, Sep 12, 2022 at 09:06:08AM -, Bert Riding a écrit : > Date: Mon, 12 Sep 2022 09:06:08 - (UTC) > From: Bert Riding > To: debian-user@lists.debian.org > Subject: Re: fetchmail > > On Sat, 10 Sep 2022 22:50:01 +0200, Gerard ROBIN wrote: > > > Hello, > > in Bullseye (stable) fetchmail works fine, but in Bookworm (testing) I > > get: > > > > fetchmail: can't accept options while a background fetchmail is running. > > argc = 5, arg list: > > arg 1 = "-k" > > arg 2 = "--ssl" > > arg 3 = "--mda" > > arg 4 = "/usr/bin/procmail -d %T" > > > > No mail arrived since > > > > ps ax | grep fetchmail > > > > 1943 ?Ss 0:00 fetchmail --nodetach --daemon 300 > > 4220 pts/1S+ 0:00 grep fetchmail > > > > how can i prevent the fetchmail daemon from running on startup in > > Bookworm ? > > > Fetchmail can now run as a daemon, started by systemd. Ok good to know. > I think maybe the real > solution for this problem is > > systemctl --user stop fetchmail.service > systemctl --user disable fetchmail.service it works, just add --user option. I keep fetchmail. Thanks so much -- Gerard ___ *** Created with Mutt 2.2.7 under Debian Linux BOOKWORM ***
kernel unsigned
Hello, In my BULLSEYE box, when i make "apt upgrade" if a new kernel is installed it is a signed kernel that is installed, but on my machine it is an unsigned kernel that I chose to install. How can you force "apt" to install the unsigned kernel? For example: the kernel linux-image-5.2.0-2-amd64-unsigned is the kernel used. "apt upgrade" installs the kernel linux-image-5.2.0-3-amd64 (signed) TIA PS sorry but I'm not subscribed to the list for now. -- Gerard ** * Created with "mutt 1.10.1" * under Debian Linux BULLSEYE **
Re: kernel unsigned
On Thu, Oct 03, 2019 at 02:51:29PM +0200, Sven Joachim wrote: > Date: Thu, 03 Oct 2019 14:51:29 +0200 > From: Sven Joachim > To: Gerard ROBIN , debian-user@lists.debian.org > Subject: Re: kernel unsigned > User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) > X-Spam-Flag: NO > > On 2019-10-03 12:05 +0200, Gerard ROBIN wrote: > > > Hello, > > In my BULLSEYE box, when i make "apt upgrade" if a new kernel is installed > > it is a signed kernel that is installed, but on my machine it is an unsigned > > kernel that I chose to install. > > Why did you do that in the first place? because I bought my machine without OS and there is only linux on my machine. > > How can you force "apt" to install the unsigned kernel? > > For example: > > the kernel linux-image-5.2.0-2-amd64-unsigned is the kernel used. > > "apt upgrade" installs the kernel linux-image-5.2.0-3-amd64 (signed) > > You could install linux-image-5.2.0-3-amd64-unsigned manually, but then > you lose the linux-image-amd64 metapackage and will miss automatic > upgrades to newer kernels which is probably not what you want. I did not know that. > What exactly bugs you about the signed kernel? The kernel is so big > that the extra signatures hardly make a difference. I read somewhere that the signed kernel was for the "secure boot" of microsoft and I have nothing of microsoft on my machine, so that's why I installed the unsigned kernel. Thank you for your clarification. -- Gerard ** * Created with "mutt 1.10.1" * under Debian Linux BULLSEYE **
cpu frequence
Hello, the maximum frequency of my cpu is 2.8 GHz and under "bullseye" the frequency of my cpu is always higher than 2.7 GHz. If this is a bug how can we determine which package is affected ? With "buster" on the same machine the problem does not occur. The cpu frequency is between 900 MHz and 1.8 GHz cpu: intel i5-6200U Base frequency: 2.3 GHz Max Frequency: 2.8 GHz -- Gerard _ * * Created with "mutt 1.10.1-2.1" * under Debian Linux BUSTER 10.1 *
Re: cpu frequence
On Fri, Jan 31, 2020 at 12:11:49AM +0100, Linux-Fan wrote: > Date: Fri, 31 Jan 2020 00:11:49 +0100 > From: Linux-Fan > To: debian-user@lists.debian.org > Subject: Re: cpu frequence > > Gerard ROBIN writes: > > > Hello, > > the maximum frequency of my cpu is 2.8 GHz and under "bullseye" the > > frequency > > of my cpu is always higher than 2.7 GHz. If this is a bug how can we > > determine which package is affected ? > > Normally, modern CPUs go to high frequency only if they are "loaded". Thus, > I'd suggest to check if there is any process obviously taking a lot of CPU > time. `top` might be enough for a glance, but I normally like `htop` and > `atop` outputs more (`htop` is more "friendly", but `atop` is more > informative IMHO). atop (buster): PRC | sys0.31s | user 0.70s | #proc205 | #trun 1 | #tslpi 252 | #tslpu 0 | #zombie0 | #exit 6 | CPU | sys 2% | user 4% | irq 0% | idle393% | wait 0% | ipc notavail | curf 872MHz | curscal 31% | cpu | sys 0% | user 1% | irq 0% | idle 98% | cpu001 w 0% | ipc notavail | curf 851MHz | curscal 30% | cpu | sys 1% | user 2% | irq 0% | idle 98% | cpu000 w 0% | ipc notavail | curf 850MHz | curscal 30% | cpu | sys 1% | user 1% | irq 0% | idle 98% | cpu003 w 0% | ipc notavail | curf 881MHz | curscal 31% | cpu | sys 1% | user 1% | irq 0% | idle 98% | cpu002 w 0% | ipc notavail | curf 906MHz | curscal 32% | CPL | avg10.01 | avg50.15 | avg15 0.09 | | csw 9428 | intr4327 || numcpu 4 | MEM | tot 7.7G | free5.6G | cache 768.7M | buff 25.6M | slab 127.6M | shmem 57.2M | vmbal 0.0M | hptot 0.0M | SWP | tot 7.9G | free7.9G || | | | vmcom 2.5G | vmlim 11.8G | DSK | sda | busy 0% | read 0 | write 27 | KiB/w 5 | MBr/s0.0 | MBw/s0.0 | avio 0.59 ms | atop (bullseye): PRC | sys0.33s | user 0.63s | #proc189 | #trun 1 | #tslpi 260 | #tslpu 1 | #zombie0 | clones 6 | #exit 6 | CPU | sys 2% | user 4% | irq 0% | idle393% | wait 0% | ipc notavail | cycl unknown | curf 2.75GHz | curscal 98% | cpu | sys 1% | user 2% | irq 0% | idle 97% | cpu000 w 0% | ipc notavail | cycl unknown | curf 2.77GHz | curscal 98% | cpu | sys 0% | user 1% | irq 0% | idle 99% | cpu001 w 0% | ipc notavail | cycl unknown | curf 2.74GHz | curscal 97% | cpu | sys 0% | user 1% | irq 0% | idle 98% | cpu003 w 0% | ipc notavail | cycl unknown | curf 2.74GHz | curscal 98% | cpu | sys 1% | user 1% | irq 0% | idle 99% | cpu002 w 0% | ipc notavail | cycl unknown | curf 2.73GHz | curscal 97% | CPL | avg10.10 | avg50.11 | avg15 0.09 | | csw 14895 | | intr6027 | | numcpu 4 | MEM | tot 7.8G | free5.6G | cache 730.0M | buff 51.5M | slab 125.2M | shmem 105.2M | vmbal 0.0M | hptot 0.0M | hpuse 0.0M | SWP | tot 7.9G | free7.9G | | | | | | vmcom 2.9G | vmlim 11.8G | PSI | cs 0/0/0 | ms 0/0/0 | mf 0/0/0 | is 0/0/0 | if 0/0/0 | | | | | DSK | sdb | busy 0% | read 0 | write 1 | KiB/r 0 | KiB/w 28 | MBr/s0.0 | MBw/s0.0 | avio 4.00 ms | PID SYSCPU USRCPUVGROW RGROWRUID EUID ST EXC THRS CPUNR CPU CMD 1935 0.11s 0.26s -8K -372K root root -- - 10 S 3 4% Xorg 2302 0.06s 0.16s 0K 0K user user -- -7 S 2 2% xfwm4 3716 0.01s 0.04s 0K 0K user user -- -4 S 0 1% gnome-terminal 3656 0.01s 0.04s 0K 0K user user -- -4 S 0 1% panel-17-weath 3594 0.01s 0.02s 0K 0K user user -- -3 S 0 0% panel-25-cpugr > The other thing is: As long as it is always below or equal to 2.8 GHz, it > need not be wrong. However, most machines with U-processors (especially > notebooks) have a cooling system which does not permit them to sust
Re: cpu frequence
On Sat, Feb 01, 2020 at 04:04:29PM +0100, Jörg-Volker Peetz wrote: > Date: Sat, 1 Feb 2020 16:04:29 +0100 > From: Jörg-Volker Peetz > To: debian-user@lists.debian.org > Subject: Re: cpu frequence > X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on bendel.debian.org > X-Spam-Level: > X-Spam-Status: No, score=-10.5 required=4.0 > tests=FREEMAIL_FORGED_FROMDOMAIN, > FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,LDOSUBSCRIBER, LDO_WHITELIST > autolearn=unavailable autolearn_force=no version=3.4.2 > > what is the outcome of the following command: > > $ cat /sys/devices/system/cpu/cpufreq/policy?/scaling_governor performance performance performance performance > Regards, > Jörg. -- Gerard _ * Created with "mutt 1.13.2-1" under Debian Linux BULLSEYE *
Re: cpu frequence
On Sat, Feb 01, 2020 at 08:11:17PM +0100, Jörg-Volker Peetz wrote: > Date: Sat, 1 Feb 2020 20:11:17 +0100 > From: Jörg-Volker Peetz > To: debian-user@lists.debian.org > Subject: Re: cpu frequence > Then, take a look at the available governors: > > $ cat /sys/devices/system/cpu/cpufreq/policy?/scaling_available_governors > > or using cpupower, if available. As the name says, "powersave" would be the > better choice. > Take a look at https://wiki.debian.org/CpuFrequencyScaling as how to change > the > cpufreq governor permanently even when rebooting. I suppose, you somehow > changed > the default behavior. Thanks so much I selected performance powersave (I installed linux-cpupower) and now the frequency oscillates between 800 MHZ and 2.8 GHz. as with Buster. :) -- Gerard ___ *** Created with Mutt 1.13.2 under Debian Linux BULLSEYE ***
Re:[epilogue] cpu frequence
On Sat, Feb 01, 2020 at 10:37:55PM +0100, Gerard ROBIN wrote: > Date: Sat, 1 Feb 2020 22:37:55 +0100 > From: Gerard ROBIN > To: debian-user@lists.debian.org > Subject: Re: cpu frequence > On Sat, Feb 01, 2020 at 08:11:17PM +0100, Jörg-Volker Peetz wrote: > > Date: Sat, 1 Feb 2020 20:11:17 +0100 > > From: Jörg-Volker Peetz > > To: debian-user@lists.debian.org > > Subject: Re: cpu frequence > > > Then, take a look at the available governors: > > > > $ cat /sys/devices/system/cpu/cpufreq/policy?/scaling_available_governors > > > > or using cpupower, if available. As the name says, "powersave" would be the > > better choice. > > Take a look at https://wiki.debian.org/CpuFrequencyScaling as how to change > > the > > cpufreq governor permanently even when rebooting. I suppose, you somehow > > changed > > the default behavior. > > Thanks so much I selected performance powersave (I installed > linux-cpupower) and now the frequency oscillates between 800 MHZ > and 2.8 GHz. as with Buster. :) I answered too quickly: in fact when I restarted my laptop the problem returned. By reading the link https://wiki.debian.org/CpuFrequencyScaling more carefully I understood that the laptop-mode-tools package was concerned and I noticed that the laptop-mode-tools package is not installed in BUSTER and so I simply uninstalled it in BULLSEYE and now it's really OK. -- Gerard ___ *** Created with Mutt 1.13.2 under Debian Linux BULLSEYE ***
sound and twinkle
Hello, I know the bug #420138 (twinkle) but it's not fixed for me with a laptop acer aspire 5102wmli. My dist: unstable, kernel 2.6.18-4-amd64 apt-cache show twinkle | grep Vers: Version: 1:1.0.1-1 I encounter a problem when I launch twinkle, I get: Cannot access the ring tone device (ALSA: plughw:0,0) Cannot access the speaker (ALSA: plughw:0,0) Cannot access the microphone (ALSA: plughw:0,0) (by the way mocp doesn't work and vlc works but without sound) In the file /etc/esound/esd.conf there is by default : auto_spawn=0 and ps ax | grep esd gives: /usr/bin/esd -nobeeps If I put: auto_spawn=1 ps ax | grep esd gives: /usr/bin/esd -terminate -nobeeps -as 5 -spawnfd 23 and twinkle doesn't complain (and mocp and vlc work fine) I can call someone I hear him but he can't hear me in 99% of the cases and when I press "bye" twinkle freeze and the same sound is repeated continously. If I receive a call, when I answer, twinkle freezes. I have two questions: 1 Is it a good idea to set auto_spawn to 1 ? 2 Why twinkle seems to work fine for someone and not for me ? tia -- Gérard
alsa-source_1.0.14-1_all.deb error
Hello, after update, upgrade (unstable) m-a a-i alsa-source gives error with snd-hda-codec ... I solved the problem reinstalling the package alsa-modules-2.6.18-4-amd64_1.0.14~rc1-1+2.6.18.dfsg.1-12_amd64.deb hth -- Gérard
lost Applications -> Debian in the menus ?
Hello, I have lost Debian in the menu. update-menus, gives nothing. How can I regenerate in the menus: Debian -> ? (not manually) I run unstable on acer aspire 5102wlmi amd64 kernel: 2.6.18-4-amd64 (gnome metacity) thinks in advance for any help. -- Gérard
Re: lost Applications -> Debian in the menus ?
On Thu, Aug 02, 2007 at 11:35:24AM -0500, Manoj Srivastava wrote: From: Manoj Srivastava <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: lost Applications -> Debian in the menus ? This might be a result of the menu transition[0] and maybe worth a report, if there isn???t already one. I think this is by design; the GNOME folks seem to think that the Debian menu is bloated, confusing, and duplicates the neat , functional, ergonomic Gnome menu, so the default is to hide the ugly duckling. I agree with them, the menu Debian duplicates the general menu, but not entirely and now there are many tools missing. Anyway, I am putting them manually in the general menu ... Thanks. -- Gérard
aticonfig and xorg.conf
Hello, my box: acer aspire 51O2wlmi (amd64) dist: Debian unstable (gnome metacity) aticonfig --initial : Uninitialised file found, configuring. Using /etc/X11/xorg.conf Saved back-up to /etc/X11/xorg.conf.original-1 *** glibc detected *** aticonfig: munmap_chunk(): invalid pointer: 0x7fff29170f8a *** I know that there is a problem with the driver ATI and linux, but atconfig --initial remove /etc/X11/xorg.conf (and save it in /etc/X11/xorg.conf.original-1) and, witout /etc/X11/xorg.conf, startx launches xwindow like charm. What have I missing ? -- Gérard
Re: aticonfig and xorg.conf
On Wed, Aug 08, 2007 at 03:46:02PM -0400, Lic. Orestes leal wrote: From: "Lic. Orestes leal" <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: aticonfig and xorg.conf X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on murphy.debian.org X-Spam-Level: X-Spam-Status: No, score=-4.3 required=4.0 tests=AWL,FORGED_RCVD_HELO, LDOSUBSCRIBER,SPF_HELO_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.1.4 Organization: UnixCoder X-Mailer: Sylpheed 2.4.3 (GTK+ 2.10.11; i686-pc-linux-gnu) On Mon, 6 Aug 2007 12:42:05 +0200 Gerard Robin <[EMAIL PROTECTED]> wrote: Hello, my box: acer aspire 51O2wlmi (amd64) dist: Debian unstable (gnome metacity) aticonfig --initial : Uninitialised file found, configuring. Using /etc/X11/xorg.conf Saved back-up to /etc/X11/xorg.conf.original-1 *** glibc detected *** aticonfig: munmap_chunk(): invalid pointer: 0x7fff29170f8a *** I know that there is a problem with the driver ATI and linux, but atconfig --initial remove /etc/X11/xorg.conf (and save it in /etc/X11/xorg.conf.original-1) and, witout /etc/X11/xorg.conf, startx launches xwindow like charm. What have I missing ? -- Gérard Have you try the latest Drivers? 8.39.4? No. It is experimental and I thought that the problem was not solved. Finaly I installed the proprietary driver ATI and all work fine: aticonfig --initial created /etc/X11/xorg.conf and startx runs fine. fgl_glxgears runs fine. amdcccle runs fine. (not segmentation fault) But I would like to know, how, whitout the file /etc/X11/xorg.conf, startx launch xwindow ? I think that it's xserver-xorg-video-ati which works ...? But how ? I got the driver here: http://ati.amd.com/support/drivers/linux64/linux64-radeon.html I used a tuto locate here: http://www.nuxo.net/tutorial-37.html (It's in french language but the part in Debian language is clear) hth. -- Gérard
live Debian on USB stick
Hello, I installed knoppix on my USB stick and it runs fine but it's too big ~ 600 Mb. There are too many packages. Is there a Debian dist, not as big as knoppix, that I can put on my USB stick ? tia -- Gérard