Re: EPSON LQ100 Printer
On Tue, 4 Apr 2000, maths wrote: hello everybody i have only a aged printer, its a Epson Lq 100 (esc/p2).when i use it to print ps files, it often make little mistakes.for example: #gs -dSAFER -dNOPAUSE -sDEVICE=epson -sOutputFile=\|lpr love_C.ps then 1/3 of the width will disappear if #gs -dSAFER -dNOPAUSE -sDEVICE=epsonc -sOutputFile=\|lpr love_C.ps then many errors appear, especially when printting the tables i think the argument -sDEVICE=spsonc is wrong, but what DEVICE i shall set? many thanks! if possible, also mailto: [EMAIL PROTECTED] ** zhang xiaolei Department of mathematics GuangZhou Normal University mailto: [EMAIL PROTECTED] ** epson should work ok, try to add -r180 switch (or -r360x180) or try to use uniprint driver * uniprint Unified printer driver -- Configurable Color ESC/P-, ESC/P2-, HP-RTL/PCL mono/color driver OK
Re: C and system calls
On Mon, 3 Apr 2000, Bart Friederichs wrote: Hi, Are there any system calls to move or copy files? I know I can do it with system() but i don't like that solution. Bart rename(2), unlink(2) etc OK
Re: Threads under linux
Hi, Micha On Mon, 27 Mar 2000, Keith G. Murphy wrote: Micha Feigin wrote: I am looking to use threads for programing under linux. Is there any tutorial on the subject, or can anyone recomand me a book, or pointers to the library rutines so I have place to start? ( I have previous exprience with threads under windows, so I don't need something to start me from scrach). send me private e-mail, i have some stuff on hands... I saw the pthread_... function calls. Are these the native calls for lynux? they are not. The native call (syscall) is called clone. pthread_... is in userspace library and this library implements POSIX threading interface. Also, if someone can tell me, are these kernel level threads or user level thread? that is, will calling locking system calls (read, write etc) lock up the entire system like in sunOS or does it perform like in windows where only the thread blocks? linux uses kernel threads, 1:1 mapping. Only one thread will block on read/write/whatever. What are the locking fasilities? is, mutex, semaphore, critical section etc. evailable under linux? yes, mutexes, semaphores and conditional variables are here. Do not know what the critical section is Is there a library that emulates the sunOS LWP (lightweight process ) library? if you're looking for thr_... emulation the answer i believe is no. I wan't to develop for the sunOS at home on my linux machine (I need to write an exercise for university, and i don't feel like sitting in the computer room for that). I don't know much about that stuff, but you *do* know you can download Solaris for your PC for free now, right? :-) free? it is $75 i believe and no sources yet. OK
Re: C++
On Fri, 24 Mar 2000, Bart Friederichs wrote: Date: Fri, 24 Mar 2000 12:08:22 -0800 From: Bart Friederichs [EMAIL PROTECTED] To: Debian userlist debian-user@lists.debian.org Subject: C++ Resent-Date: Fri, 24 Mar 2000 20:05:22 + Resent-From: debian-user@lists.debian.org Resent-cc: recipient list not shown: ; Hi, I am writing a C++ program and I really need info on how to overload operators (especially + and ) and info on streams. Does anybody know a URL where this kind of info can be found? http://webstore.ansi.org/ TIA Bart OK
Re: transfering to new HDD
On Thu, 2 Mar 2000 kmself@ix.netcom.com wrote: Files and directories are identified under most Linux-like fileystems (e2fs, minix fs, UFS, etc., but *not* msdos, vfat), by inodes. An inode is essentially a database entry in a table giving storage location, name, and values of several attributes (read/write/execute/suid), etc. ^^ name? Files are nameless in UNIX. Read about hard links for example And from inode you should get storage, attirbutes, times (creation, access) and reference counter. lost+found inode is 11 for ext2fs. Do: ls -id /lost+found hmm... i thought there is no special inode for /lost+found. Any reason the inode should be special? As I said, limited understand. You're right, file name is referenced only in the directory entry itself, which links an inode to a name. Renaming myself Luke and using the source shows the structures. ok I don't find the lost+found inode definition though. Anyone? ** ** /usr/include/linux/ext2_fs.h ** ** [...] /* * Special inodes numbers */ #define EXT2_BAD_INO 1 /* Bad blocks inode */ #define EXT2_ROOT_INO2 /* Root inode */ #define EXT2_ACL_IDX_INO 3 /* ACL inode */ #define EXT2_ACL_DATA_INO4 /* ACL inode */ #define EXT2_BOOT_LOADER_INO 5 /* Boot loader inode */ #define EXT2_UNDEL_DIR_INO 6 /* Undelete directory inode */ /* First non-reserved inode for old ext2 filesystems */ #define EXT2_GOOD_OLD_FIRST_INO 11 ah.. see? /lost+found is first free inode, nothing special. So you could just recreate it anytime you want i believe in ext3 (==ext+jounaling) journal inode would be special but too lazy to check regards OK
Re: transfering to new HDD
On Thu, 2 Mar 2000, Oleg Krivosheev wrote: On Thu, 2 Mar 2000 kmself@ix.netcom.com wrote: Files and directories are identified under most Linux-like fileystems (e2fs, minix fs, UFS, etc., but *not* msdos, vfat), by inodes. An inode is essentially a database entry in a table giving storage location, name, and values of several attributes (read/write/execute/suid), etc. ^^ name? Files are nameless in UNIX. Read about hard links for example And from inode you should get storage, attirbutes, times (creation, access) and reference counter. lost+found inode is 11 for ext2fs. Do: ls -id /lost+found hmm... i thought there is no special inode for /lost+found. Any reason the inode should be special? As I said, limited understand. You're right, file name is referenced only in the directory entry itself, which links an inode to a name. Renaming myself Luke and using the source shows the structures. ok I don't find the lost+found inode definition though. Anyone? ** ** /usr/include/linux/ext2_fs.h ** ** [...] /* * Special inodes numbers */ #define EXT2_BAD_INO 1 /* Bad blocks inode */ #define EXT2_ROOT_INO2 /* Root inode */ #define EXT2_ACL_IDX_INO 3 /* ACL inode */ #define EXT2_ACL_DATA_INO4 /* ACL inode */ #define EXT2_BOOT_LOADER_INO 5 /* Boot loader inode */ #define EXT2_UNDEL_DIR_INO 6 /* Undelete directory inode */ /* First non-reserved inode for old ext2 filesystems */ #define EXT2_GOOD_OLD_FIRST_INO 11 ah.. see? /lost+found is first free inode, nothing special. So you could just recreate it anytime you want reply to myself - usually the reason to have special inode is when you want nameless file - file without {name,inode} association in some directory entry but with refcounter0 and all other features. /lost+found is named and should not require special inode i believe in ext3 (==ext+jounaling) journal inode would be special but too lazy to check i told it is since 0.03 regards OK OK
Re: transfering to new HDD
On Wed, 1 Mar 2000, Mary Honeycutt wrote: I bought a larger hard-drive for my potato box and want to transfer my system to it (preserving permissions, symlinks, etc). I thought I saw a thread about this, but couldn't find it. Can anyone tell me what FM to read to get this going? just did it 1. install new hd in the system 2. partition it and mke2fs 3. mount it to /mnt 4. execute find / -xdev | cpio -vdump /mnt 5. repeat 2,3,4 for any other partition you want to copy - say if you have separate /var /home ... 6. make rescue/root disks from .bin files. Note that if you use modern e2fs tools they would create ext2 with sparse superblock on and you will not be able to use slink rescue. I used potato rescue... 7. put new disk into permanent position 8. reboot, load with rescue disk and tell where the root is: rescue root=/dev/hda1 for example 9. edit /etc/lilo.conf and rerun lilo 10. remove floppy and reboot - you should be able to boot from new HD now good luck OK PS: backup !!!
Re: transfering to new HDD
On Thu, 2 Mar 2000 kmself@ix.netcom.com wrote: On Thu, Mar 02, 2000 at 10:19:40AM -0500, Allan M. Wind wrote: On 2000-03-01 23:42:37, kmself@ix.netcom.com wrote: On Wed, Mar 01, 2000 at 07:05:04PM -0500, Allan M. Wind wrote: On 2000-03-01 23:42:21, Mary Honeycutt wrote: tar cf - source | ( cd /target; tar xpf - ) Yes, that would be more like it. Thought so. I'd hate for someone to find out the hard way There's a utility to recreate the lost+found directory if you do manage to overwrite it -- it needs to sit on a specific inode for the filesystem to be able to recover lost clusters properly. RTFM, it's there somewhere. Isn't lost+found created by mkfs? Yes, it is (or mke2fs, or whatever). My understanding of this is somewhat limited, but here goes. Files and directories are identified under most Linux-like fileystems (e2fs, minix fs, UFS, etc., but *not* msdos, vfat), by inodes. An inode is essentially a database entry in a table giving storage location, name, and values of several attributes (read/write/execute/suid), etc. ^^ name? Files are nameless in UNIX. Read about hard links for example And from inode you should get storage, attirbutes, times (creation, access) and reference counter. regards OK
Re: IBM NetFinity 7000
On Wed, 1 Mar 2000, Paulo Henrique Baptista de Oliveira wrote: Hi all, I have a client that bought two IBM NetFinity 7000 with a external storage. He wants that the two computers access the HD as it was from each computer. He says to me that NT has a solution for this: MCSS. How I can do this with Linux? hmm... probably with nbd? just a guess Thanks. OK
win98 on top of linux - consequences?
Hi, All i have disk with three linux partition and some free space. I asked to install win98 and have simple question - what should i avoid and how not to destroy linux installation? thank you OK
Re: Netscape 4.72 Where to get?
On Tue, 22 Feb 2000, aphro wrote: 4.7/128bit. its not available on FTP because of export controls(maybe its changed since that new law passed..) im running 4.7/128bit for glibc and it works pretty good. 4.72 for win* i think has bee out for a while but havent seen it for linux nate there is directory ftp://lvftp.netscape.com/pub/communicator/english/4.72 unfortunately, looks like it is broken link or something OK
Re: IP MASQ
On Tue, 22 Feb 2000, Timothy C. Phan wrote: Hi, Could someone show me where can I get information on how to build the IP MASQ into the kernel (potato 2.2.14)? TIA! --- tcp install ipmasq package and check the docs inside - there is IP MASQ url with info. Related question: to my surprise i did not found example rules in ipmasq package for what i think is the most common case: ethernet 192.168.0.x network connected to outside world via PPP with static IP. Could someone tell/send me this rules? thank you Oleg
Re: SMP
On Mon, 21 Feb 2000, Oki DZ wrote: On Fri, 18 Feb 2000, Sean Johnson wrote: Phil Brutsche wrote: it's one of two ways Linux can use Intel-based SMP systems (the other is IO-APIC used on PIIs on up, and maybe PPros). Seems to be on the PPros too Intel MultiProcessor Specification v1.1 Virtual Wire compatibility mode. OEM ID: OEM0 Product ID: PROD APIC at: 0xFEE0 Processor #0 Pentium(tm) Pro APIC version 17 Processor #1 Pentium(tm) Pro APIC version 17 I/O APIC #2 Version 17 at 0xFEC0. Processors: 2 mapped APIC to e000 (fee0) mapped IOAPIC to d000 (fec0) So, basically you've been running SMP on your dual PPro machine... hmm... what is interesting - from my syslog (dual P90) ... Feb 20 17:40:43 stas kernel: Processor #0 Pentium(tm) APIC version 16 Feb 20 17:40:43 stas kernel: Processor #1 Pentium(tm) APIC version 16 Feb 20 17:40:43 stas kernel: I/O APIC #2 Version 17 at 0xFEC0. Feb 20 17:40:43 stas kernel: Processors: 3 Feb 20 17:40:43 stas kernel: mapped APIC to e000 (fee0) Feb 20 17:40:43 stas kernel: mapped IOAPIC to d000 (fec0) Feb 20 17:40:43 stas kernel: mapped IOAPIC to c000 (fec0) ... note the number of CPUs ... the above being snipped from my dmesg My dmesg says: Linux version 2.2.13 ([EMAIL PROTECTED]) (gcc version 2.95.2 19991109 (Debian GNU/Linux)) #6 SMP Mon Feb 14 16:22:26 JAVT 2000 mapped APIC to e000 (00229000) mapped IOAPIC to d000 (0022a000) I need a simple explanation (ie: layman's terms). Does this mapped thing mean that the multi-processor board is detected? yes, i think so what did you get in /proc/interrupts ? Oki OK
Re: SMP
Hi, On Thu, 17 Feb 2000, Phil Brutsche wrote: A long time ago, in a galaxy far, far way, someone said... On Wed, 16 Feb 2000, aphro wrote: you sure that MB supports dual processors? it seems as if linux doesn't say its a SMP capable MB at all. Well, the machine (AcerAltos) has two slots for CPU daughterboards. can linux run on SMP 486s ? never heard of anyone who ever ran a dual cpu 486, although ive heard of their existance.. What's so special about 486s so that they couldn't run in parallel? In order to run parallel, processors need special wiring and circuitry to handle the 'bus protocol' for synchronizing bus accesses and what not. Not all processors have that; it's possible that 486s don't. That would explain why Linux doesn't see the motherboard as dual capable - the necessary circuitry isn't there. The necessary circuitry would then be provided by the second CPU card. This is why AMDs K6, K6-II, and K6-III (iirc[1]) don't do SMP - they lack the necessary circuitry. Another reason why Linux doesn't see the computer as dual capable just dawned on me: in pre-Pentium systems (and even some early Pentium systems) there was no unified 'standard' method for the operating system to detect and initialize the additional CPUs. i believe Intel MPI specs predates Pentium and were used for 486 boards. Therefore Linux should work on 486 SMP systems OK
strange mke2fs problem - SOLVED
Hi, All thanks for all the advices indeed, it was sparse superblock feature which prevents partition mounting with slink rescue. thank you OK
strange mke2fs problem
Hi, All found strange problem with mke2fs on potato: 1. set new 20gig disk as /dev/hdb and created 2gig linux partition as /dev/hdb1 2. running potato with kernel 2.2.14 on /dev/hda 3. run mke2fs on /dev/hdb1 mke2fs -c -m 0 /dev/hdb1 and it finished ok 4. was able to mount /dev/hdb1 on /mnt and copy files to adn from it 5. rebooted with debian 2.1 (slink) rescue disk rescue root=/dev/hda1 AND WAS UNABLE TO MOUNT /dev/hdb1 ! mount printed something like Unable to mount:bad fs superblock, bad mount options or already mounted 6. ok, rebooted again with rescue floppy, go to Execute shell and run mke2fs on /dev/hdb1 from floppy. All went ok and now i'm able to mount /dev/hdb1 while booting from disk and from rescue. Looks like mke2fs/mount/ext2 incompatible changed while moving from slink to potato (or from kernel 2.0 to kernel 2.2). Is there known bug(s)? Should i report it to kernel folks? any ideas/help are greatly appreciated OK
Re: .gz in Netscape
On Wed, 2 Feb 2000, Paul J. Keenan wrote: On Wed, Feb 02, 2000 at 12:12:58PM -0600, Oleg Krivosheev wrote: Hi, All stupid question: what i have to do in order to prevent Netscape from expanding .gz files? thank you OK Shift + Left-Click saves the link insteading of displaying the contents. Is this what you mean ? looks like Netscape decompress the file while i'm doing shift+b1. So instead of aaa.diff.gz i'm getting aaa.diff -- Regards, Paul OK
Re: .gz in Netscape
On Wed, 2 Feb 2000, Gary Hennigan wrote: Oleg Krivosheev [EMAIL PROTECTED] writes: stupid question: what i have to do in order to prevent Netscape from expanding .gz files? Just hold down the shift key when you click on it. That seems to do the trick. no, it doesn't i'm getting aaa.diff instead of aaa.diff.gz Gary OK
Re: .gz in Netscape
On Thu, 3 Feb 2000, Colin Telmer wrote: On Thu, 3 Feb 2000, Oleg Krivosheev wrote: looks like Netscape decompress the file while i'm doing shift+b1. So instead of aaa.diff.gz i'm getting aaa.diff Actually, it doesn't decompress it strangely enough. It just removes the .gz extension. I've always experienced this. Bizzare. really? wondering where the difference is... just tried both ftp://ftp.debian.org/debian/dists/potato/main/source/text/ http://ftp.debian.org/debian/dists/potato/main/source/text/ downloading less_346-6.diff.gz, listed length 10 Kb shift+b1 both times i got less_346-6.diff, length around 30 kB and apparently it is decompressed basically it prevents from d/l and rebuilding the package - i have to compress them myself and remade .dsc file with md5sum and such regards OK
Re: .gz in Netscape
On Thu, 3 Feb 2000, paul wrote: On Thu, 3 Feb 2000, Oleg Krivosheev wrote: looks like Netscape decompress the file while i'm doing shift+b1. So instead of aaa.diff.gz i'm getting aaa.diff Actually, it doesn't decompress it strangely enough. It just removes the .gz extension. I've always experienced this. Bizzare. -- I find this behavior rather odd, as my netscape 4.7 does not strip the .gz when I SHIFT-leftclick. Are you sure its not something in your settings? well, that was/is my question: what should i set/unset to get .gz downloading properly. Any ideas? -ptw OK
Re: reading rtf files: I shouldn't talk nonsense.
On Thu, 3 Feb 2000, Paul Huygen wrote: Paul Huygen [EMAIL PROTECTED] wrote: As far as I know, at least Ghostview can read [rtf files]. Sorry, I should not talk nonsense. I mistook rtf for PDF. Paul Huygen try to get abiword.*.deb from www.abisource.com looks like it is able to read and display RTF works for me(tm) OK
.gz in Netscape
Hi, All stupid question: what i have to do in order to prevent Netscape from expanding .gz files? thank you OK
Re: Batch rename files
On Sun, 23 Jan 2000, Arcady Genkin wrote: What would be the easiest way to rename a bunch of files foo-[0-9]-bar-[0-9][0-9].txt into blah-[0-9]-[0-9][0-9].txt Note, that all of the files have identical portions `foo-', `-bar-', and `.txt' in the filenames. Different are two numerical parts. For example: , | group-1-member-01.txt | group-1-member-02.txt | ... | group-2-member-01.txt | ... ` The resulting files should have an identical portion `blah', and retain the original numerical parts. , | result-1-01.txt | result-1-02.txt | ... | result-2-01.txt | ... ` Thanks for any suggestions! -- Arcady Genkin http://www.thpoon.com Nostalgia isn't what it used to be. check for mmv OK
Re: icewm problems ! - SOLVED
Hi, All moved to potato icewm-1.0 and found strange problems: i cannot swith to another workplace! Any keyboard (Ctrl-Alt-- etc) or mouse command will swith to next workplace but icewm immediately switch it back to workplace 1. i run mostly potato stuff on intel. Any ideas/advices? thank you OK Hi, All just noticed, that when i removed xruskb from .xsession, workplace switching is back to normal ! Looks like xruskb and icewm do not like each other OK PS should i file bug? And how to define who is buggy - icewm or xruskb? -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: non-US
On Thu, 20 Jan 2000, Konstantin Kivi wrote: ??? ??? ? sources.lst ??? potato ??? non-us? ??? ? ?? ?? ? ? deb ftp://non-us.debian.org/debian-non-US unstable non-US/main non-US/contrib non-US/non-free -- Sincerely yours, Konstantin Kivi [EMAIL PROTECTED] OK
500meg free partition, how to use?
Hi, All after getting new disk i found that 500meg partition on old disk is free. i'm running mostly potato in workstation regime - not a lot logs and from light to moderate load. what this partitino is good for? i'm thinking about setting it to /var, but is there better choice? maybe /usr/share ? or /tmp? any ideas are greatly appreciated OK
icewm problems !
Hi, All moved to potato icewm-1.0 and found strange problems: i cannot swith to another workplace! Any keyboard (Ctrl-Alt-- etc) or mouse command will swith to next workplace but icewm immediately switch it back to workplace 1. i run mostly potato stuff on intel. Any ideas/advices? thank you OK
Re: RIVA128 (nVidia) card works, but loses cursor in emacs ...
On Wed, 24 Nov 1999, Jinsong Zhao wrote: I tried XF86 3.3.5 deb. The XF86_SVGA does not support Riva128 yet. huh!?! it works quite well with my Viper 330, no 3D acceleration of course So I was still using the one downloaded from nVidia, which is 3.3.3. No clue ... Jinsong 3.3.5 works for me without any cursor/emacs problems OK
Re: presentation graphics
On Tue, 23 Nov 1999, Russell Coker wrote: I want to produce some simple bar charts showing the difference between different products. Gnuplot doesn't seem to be able to do what I want (just nice clean bars with numbers at the tops and descriptions at the bottom). Is there a good program to do this easily? xfig Preferrably something I can run from a makefile... hmm... latex troff/pic (check http://www.bitkeeper.com/history/history.pic) Thanks. OK
RE: kerneld won't go away!
just out of curiousity, why are you trying to kill kerneld? are you trying to set kmod properly? if yes, could someone provide sample docs/configuration for kmod? The only info i was able to find is 1K file in kernel sources thank you OK On Sat, 20 Nov 1999, Brendon Baumgartner wrote: I added a line noauto in /etc/modules file -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stuart Ballard Sent: Saturday, November 20, 1999 1:57 PM To: debian-user@lists.debian.org Subject: kerneld won't go away! Why is it that, even after religiously running update-rc.d -f kerneld remove and /etc/init.d/kerneld stop, kerneld keeps coming back every time the modutils package is upgraded? I get a warning that I almost certainly shouldn't be running it, and then it starts it back up and installs it back into rc.d. How do I make kerneld go away? Thanks, Stuart. PS does *anyone* know what's up with mozilla? Will debian ever get M11? -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null Oleg Krivosheev, MS 220, BD/Physics, Fermi National Accelerator Laboratory, P.O.Box 500, Batavia, Illinois, 60510 phone: (630) 840 8460 FAX : (630) 840 6039 Email: [EMAIL PROTECTED]
Re: shared library not found
On Thu, 18 Nov 1999, Alex V. Toropov wrote: Hi all I'm trying to run WordPerfect for linux from Corel It stops with error libXpm.so.4 not found when I try ldd xwp it shows among rest lines: libXpm.so.4 = not found when I try ldconfig -p it shows among rest lines: libXpm.so.4 (libc6) = /usr/X11R6/lib/libXpm.so.4 what is the problem? Why ldconfig shows libXpm in cache and ldd (ld.so as well) cann't find them ? grab libc5 libXpm and all would be ok OK
Re: modem firmware update: cu, seyon, minicom?
On Tue, 16 Nov 1999, Jameson Burt wrote: I wish to both interactively type commands to my modem and send files to it via xmodem or zmodem. (I do not want to dial some phone number as I communicate with my modem) I didn't see how to really do this with cu; seyon and minicom want to dial phone numbers but not just the modem. I want to do the following for my USRobotics V.everything courier modem, AT~X! #starts an xmodem or zmodem session. send a file to the modem, replacing its firmware. WHAT SOFTWARE MIGHT I USE FOR THIS DIRECT COMMUNICATION WITH THE MODEM? Why do I want to do this? Getting this modem last week, I ran pppconfig, then I altered the resulting scripts. I added the second line below to /etc/chatscripts/provider ATZ ATI11 Notice that I forgot a space after and should have had ATI11 After making this mistake and starting ppp, my modem ran rapidly through its lights and sent clicks galore. Then cu -l ttyS0 responded MODEM FIRMWARE IS CORRUPTED. FIRMWARE DOWNLOAD IS NECESSARY So, perhaps a missing space in ppp configuration destroyed my modem. USRobotics said they offer no support for Linux, though their ftp site hinted that an appropriate serial communication package would work on any operating system. I haven't been able to do this on Linux, and USRobotics Microsoft approach fails on NT since their approach needs pure DOS. i do not think altering ppp is the right idea i once used minicom with X modem protocol to update Zyxel modem and all went fine. regards OK
Re: What Port Does Ping Use?
On Tue, 9 Nov 1999, Art Lemasters wrote: Which port number does ping use in Debian Linux? I searched /etc/services and /etc/inetd.conf but did not find any icmp port. it is ICMP it doesn't need port Art OK
Re: ip-up.d
Hi, On Tue, 19 Oct 1999, Ben Lutgens wrote: I am having a stubborn ip-up.d. I have some scripts in there that I would like run when I connect to isp. here are the perms: -rwxr-xr-x 1 root dip34 Oct 19 09:49 mailer.sh -rwxr-xr-x 1 root dip34 Oct 14 16:59 ntpdate the mailer.sh is as follows #!/bin/sh su allegro -c fetchmail and ntpdate is as follows #!/bin/bash ntpdate ns.scruz.net did you try to put full command names into the script? /usr/sbin/netdate for example just a thought... OK
Re: ip-up.d
On Tue, 19 Oct 1999, Ben Lutgens wrote: On Wed, Oct 20, 1999 at 11:23:47AM +0800, Lindsay Allen wrote: show the problem - no script with a . in its filename will run. Nothing I did worked, I changed the name as I learned the run-p?rts thing before I recieved you message. Still no avail. I think it had something to do with the fact that I was connecting as a user. I wrote another sript to start/stop pppd and fetchmail with a click from wmmmnn anyway. as they say There's more than one way to killa cat Thanx for the respons though. another thought: put something like /usr/bin/touch /tmp/fetchmail and then check tmp directory OK
Re: writting a Daemon in c
On Wed, 20 Oct 1999, Evan Moore wrote: I am writting a Daemon in c, I need to know how to disconnect the program from the terminal so that if that terminal is destoyed it will not cause my server to shutdown. I have done this with perl scripts, but can't not figure it out with c. Thanks in advance Evan. man daemon DAEMON(3) Linux Programmer's Manual DAEMON(3) NAME daemon - run in the background SYNOPSIS #include unistd.h int daemon (int nochdir, int noclose); DESCRIPTION The daemon() function is for programs wishing to detach themselves from the controlling terminal and run in the background as system daemons. that's from potato OK
XML tools/info in Debian ?
Hi, All are there packaged docs/info/tools in Debian in order to start learning XML and related technologies? any help/links/advices are greatly appreciated thank you OK
Re: where are the word processor debs
On Sat, 16 Oct 1999, Charles Lewis wrote: Date: Sat, 16 Oct 1999 15:51:35 -0500 From: Charles Lewis [EMAIL PROTECTED] To: debian-user debian-user@lists.DEBIAN.org Subject: where are the word processor debs Resent-Date: Sat, 16 Oct 1999 20:52:30 + Resent-From: debian-user@lists.DEBIAN.org Resent-cc: recipient list not shown: ; Does anyone have a url for a nice wordprocessor? I've got an ftp url for kde in my sources.list, but I don't have koffice in my package list. I tried corel's website but they don't have a .deb to download. try www.abisource.com for abiword debs === Charles Lewis, Director of Administrative Computing Southwestern Adventist University, Keene, TX (817)556-4720 [EMAIL PROTECTED] FAX (360)397-7952 === OK
Re: udma66 ...
On Fri, 15 Oct 1999, Jean-Yves BARBIER wrote: hi, Hi all, I installed a 2.2.12 kernel and the hedridck patch for udma66; I had: append=mem=127M ide2=0x1e8,0x3ee,11 in /etc/lilo.conf, but I still have problems; detection is well done BUT not for the good drive: PIIX4: IDE controller on PCI bus 00 dev 39 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio HPT366: onboard version of chipset, pin1=1 pin2=2 PCI: HPT366: Fixing interrupt 11 pin 2 to ZERO HPT366: IDE controller on PCI bus 00 dev 98 HPT366: not 100% native mode: will probe irqs later ide3: BM-DMA at 0xbc00-0xbc07, BIOS settings: hdg:DMA, hdh:pio hda: Maxtor 91728D8, ATA DISK drive hdc: Maxtor 91080D5, ATA DISK drive hdg: IBM-DJNA-351520, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 ide3 at 0xb400-0xb407,0xb802 on irq 11 hda: Maxtor 91728D8, 16479MB w/512kB Cache, CHS=2232/240/63, UDMA(33) hdc: Maxtor 91080D5, 10300MB w/512kB Cache, CHS=20928/16/63, UDMA(33) hdg: IBM-DJNA-351520, 14664MB w/430kB Cache, CHS=29795/16/63, UDMA(66) Floppy drive(s): fd0 is 1.44M Why does the 3rd HD's on /dev/hdg, instead of /dev/hde? because hdchdd are for two disks on first IDE ontroller, hdehdf are for two disks on second IDE controller and hdg is what is left for you ;) what is the problem anyway? just put the right drive into fstab and forget about it and why does the speed (hdparm -t ..) still the same than under udma33? (and I'm sure that udma66 is Ok on this drive, through the dos utility). Are you sure that all the bells are on? though i'm yet to meet drive which could saturate even UDMA(33) So, at this point, I must say: AArrggH @@^|[{^#!!, Thanks in advance, JY -- Jean-Yves F. Barbier [EMAIL PROTECTED] [FORTRAN] will persist for some time -- probably for at least the next decade. -- T. Cheatham OK
Re: udma66 ...
On Fri, 15 Oct 1999, Jean-Yves BARBIER wrote: On Fri, Oct 15, 1999 at 04:20:18PM -0500, Oleg Krivosheev wrote: Why does the 3rd HD's on /dev/hdg, instead of /dev/hde? because hdchdd are for two disks on first IDE ontroller, hdehdf are for two disks on second IDE controller and hdg is what is left for you ;) I forgot to say that all of the HDz are on primaries I/F, so ide0:0 = /dev/hda ide1:0 = /dev/hdc and, logicaly; /dev/hde for ide2:0 umm... that looks strange maybe master/slave settings? what is the problem anyway? That's what I'm asking myself :) just put the right drive into fstab and forget about it I'm not that sure it is a smart idea. OK
Re: html, and a file manager.
On Thu, 14 Oct 1999, Keith G. Murphy wrote: tf wrote: Hey guys, I'm on a roll. Those of you who write html for a living, what do you use? I have, but have not tried, asWedit, amaya, and (ahem) wordperfect. I hate to plug a windows app, but notetab pro is great. Sure would be nice if someone would make a clone for linux. I take it you want a text editor rather than a GUI. If so, vim (the one I use) and Emacs (reportedly) both have great HTML syntax coloring, etc. And you can use vim quite nicely both under X windows and on the console or telnet. http://www.coffeecup.com/ OK
Re: GNU Emacs-20.4 debs
On Fri, 1 Oct 1999, Alexander Zhuckov wrote: Hi! Tell me, ple-e-e-e-ase, where I can find GNU Emacs 20.4 Debian packages? -- Alexander Zhuckov [EMAIL PROTECTED] 2:5030/518.50 search the mail list archive(s) - someone announced unofficial 20.4 debs about a week ago OK
Re: dselect unstable problem
On Wed, 29 Sep 1999, Adam Olejniczak wrote: Hello all I'm a fresh user of debian i was using redhat so far. so i was using dselect with unstable option and everything was working just fine till yesterday when i got following errors Hitt ftp://ftp.pl.debian.org unstable/main Packages Hit ftp://ftp.pl.debian.org unstable/main Release Hit ftp://ftp.pl.debian.org unstable/contrib Packages Hit ftp://ftp.pl.debian.org unstable/contrib Release Hit ftp://ftp.pl.debian.org unstable/non-free Packages Hit ftp://ftp.pl.debian.org unstable/non-free Release Reading Package Lists... Error! E: Malformed Priority line E: Error occured while processing aleph-dev (NewVersion1) E: Problem with MergeList /var/state/apt/lists/ftp.pl.debian.org_pub_debian_dists_unstable_main_binary-i3 86_Packages E: The package lists or status file could not be parsed or opened. when i'm doing Update when I'm using stable version everything is working just fine any ideas ? thanks for help Regards Adam Olejniczak exactly the same problem today morning only the server is http://ftp1.us.debian.org any help is greatly appreciated Oleg
OT: IBM Aptiva with Opti Viper mobo
Hi, all put my hands on computer (parts of it, actually) and thinking about adding CPU/memory and getting it up. it is/was IBM Aptiva with Opti Viper mobo. looks like it is socket 7 but i'm not sure Any ideas/links what is it and how is it working with Linux? thank you oleg
Re: two monitors
hi, Ok guys -- I have a second monitor, and wouldn't mind buying a second video card if it would allow me to use two monitors at the same time. I don't know where to start looking for information on this. as usual http://www.xfree86.org My current video card is an AGP ATI [EMAIL PROTECTED] I am running XFree86 Mach64 3.3.5-1. Do you guys have any suggestions for a second video card (I think it would need to be PCI... :) it is not yet in stable xfree release (3.3.5) but it is planned for Xfree 4.0 release. If you are brave enough you should buy Matrox PCI card, grab latest xfree snapshot (3.9.16) and try it. From 3.9.16 Release Notes: ... 2.5. Multi-head Some multi-head configurations are supported in this release, primarily with multiple PCI/AGP cards. However, this is an area that is still being worked on, and we expect that the range of configurations for which it works well will increase in future snapshots. A configuration that is known to work well in most cases is multiple (supported) Matrox cards. One of the main problems is with drivers not sufficiently initialising cards that were not initialised at boot time. Normally only the primary video card gets initialised at boot time. Some combinations can be made to work better by changing which card is the primary card (either by using a different PCI slot, or by changing the system BIOS's preference for the primary card). We are investigating options for ``soft-booting'' secondary video cards to deal with this problem, and we've had some very encouraging results. 2.6. Xinerama Xinerama is an X server extension that allows multiple physical screens to behave as a single screen. With traditional multi-head in X11, windows cannot span or cross physical screens. Xinerama removes this limitation. Xinerama does, however, require that the physical screens all have the same root depth, so it isn't possible, for example, to use an 8-bit screen together with a 16-bit screen in Xinerama mode. Xinerama is not enabled by default, and can be enabled with the +xinerama command line option for the X server. Xinerama was included with X11R6.4. The version included in this snapshot contains many bug fixes. This is an area that we are still working on, and we expect it to be improved further in future snapshots. Known problems: The Xinerama layout doesn't match the layout specified in the config file's ServerLayout section. It appears that there are still some bugs that cause unexpected behaviour from time to time. Most (all?) window managers are not Xinerama-aware, and so some operations like window placement and resizing might not behave in an ideal way. This is an issue that needs to be dealt with in the individual window managers, and isn't specifically an XFree86 problem. ... Or, should I just buy a new video card that can handle two video outputs? Do such things exist? (Can I afford them? :) have no idea Any hints you have would be appreciated. :) Thanks OK
Re: efax (won't dial modem)
On Mon, 20 Sep 1999, NatePuri wrote: Date: Mon, 20 Sep 1999 14:08:28 -0700 From: NatePuri [EMAIL PROTECTED] To: debian-user@lists.DEBIAN.org Subject: efax (won't dial modem) Resent-Date: Mon, 20 Sep 1999 21:04:03 + Resent-From: debian-user@lists.DEBIAN.org Resent-cc: recipient list not shown: ; Hi everyone! I just started to try and get efax to work. My modem is a 3Com Megahertz 56k Cellular modem (pcmcia) on /dev/ttyS2. When I try to run a test fax, efax gives me the following error host:/home/me# efax -d /dev/ttyS2 xxx testfax efax: Mon Sep 20 14:00:19 1999 efax v 0.8a (Debian release 08a-6) Copyright 1996 Ed Casas efax: 00:19 opened /dev/ttyS2 efax: 00:20 Error: wrong response after command: +FCLASS=2 efax: 00:20 Warning: wrong response after command: +FDCC=1,3,0,2,0,0,0,0 efax: 00:20 Warning: wrong response after command: +FLID= efax: 00:20 done, returning 3 What is this telling me? Is this modem incapable of sending faxes? looks like class 2 is not supported start minicom and check for result for the next queries: AT+FCLASS=1 AT+FCLASS=2 AT+FCLASS=2.0 OK
Re: Text processing under Linux - newbie question
On Wed, 1 Sep 1999, Alex V. Toropov wrote: Hi all ! Hi, Alex Please tell me (a new linux/Unix user) where to start learning about possble text processing apps under linux. I've heard such words as TeX, LaTeX, TeTeX, Emacs that should deal with subj. But where can i find some kind of introduction and feature description for this apps and general conception for using them. there is paper called Not so short introduction into LaTeX2e, it is in tetex-doc package and on potato system the file name is /usr/doc/texmf/latex/general/lshort.dvi.gz If you do prefer Russian translation, it could be found on http://xtalk.price.ru/tex/ regards OK
strange bug in useradd in potato ?!?
Hi, All i'm running potato and just tried to upgrated telnetd to 0.14-1 and this is what i got: Setting up telnetd (0.14-1) ... adduser: Warning: The home dir you specified already exists. Adding system user telnetd... Adding new group telnetd (101). Adding new user telnetd (101) with group telnetd. useradd: unknown group telnetd adduser: `useradd -d /usr/lib/telnetd -g telnetd -s /bin/false -u 101 telnetd' returned error code 1536. Aborting. Cleaning up. Removing user `telnetd'. userdel: user telnetd does not exist Removing group `telnetd'. groupdel: group telnetd does not exist dpkg: error processing telnetd (--configure): Any ideas why useradd died? What error 1536 means? thank you oleg
Re: DVD on Linux?
On Mon, 23 Aug 1999, Mark Brown wrote: On Sun, Aug 22, 1999 at 12:30:39AM -0700, Ramiel G. wrote: Does anyone know if there are any DVD players out there for Linux? Due to restrictions on the decoding algorithms and (I presume) the specs for chips used in hardware decoders there aren't any. hmm... i believe that is not true due to patents problem, it is impossible to have open-source software only DVD player. It is possible however to have: 1. closed source commercial software only DVD player - author pays royalty out of income selling decoder to you 2. hardware based DVD player with GPLed driver - hardware manufacturer pays royalty adding it to player cost i believe you can get hw DVD player with Linux driver (panasonic comes to mind ?) OK
Re: DVD on Linux?
On Tue, 24 Aug 1999, Kent West wrote: Mark Brown wrote: On Sun, Aug 22, 1999 at 12:30:39AM -0700, Ramiel G. wrote: Does anyone know if there are any DVD players out there for Linux? Due to restrictions on the decoding algorithms and (I presume) the specs for chips used in hardware decoders there aren't any. Oh Man! This means I've talked my sister into a Linux box for nothing; playing DVDs was an important issue for her. At least we're still in the planning stage. I guess it's back to her original plan of getting a blue-box G3 (at three times the cost). At least I'll be able to put LinuxPPC on it check http://linuxdvd.corepower.com and http://livid.on.openprojects.net OK
Re: c++ include problem (preprocessor directives)
On Sat, 7 Aug 1999, Micha Feigin wrote: Date: Sat, 07 Aug 1999 13:48:48 +0300 (GMT+0300) From: Micha Feigin [EMAIL PROTECTED] To: Debian-user Debian-user@lists.DEBIAN.org Subject: c++ include problem (preprocessor directives) Resent-Date: Sat, 07 Aug 1999 10:45:21 + Resent-From: debian-user@lists.DEBIAN.org Resent-cc: recipient list not shown: ; In my files the headers are included like this: #ifdef NEWCPPH #include iostream #else #include iostream.h #endif #include cassert #include cstring #include input.h only then i get an error that the functions declared inside input.h can't be found. The linker says: g++ -o main.o -Wall -pedantic -c main.cpp g++ main.o -o main main.o: In function `main': main.o(.text+0x16): undefined reference to `input(void)' main.o(.text+0x8a): undefined reference to `input(char const *)' collect2: ld returned 1 exit status make: *** [main] Error 1 what am i doing wrong? learn about C++ name mangling extern C is your friend thanx [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null Oleg Krivosheev, MS 220, BD/Physics, Fermi National Accelerator Laboratory, P.O.Box 500, Batavia, Illinois, 60510 phone: (630) 840 8460 FAX : (630) 840 6039 Email: [EMAIL PROTECTED]
Gnomeicu problems
Hi, All just installed gnomeicu and while trying to run it i got reboot ~ $ gnomeicu type = 0 exid = (null) ** CRITICAL **: file applet-widget.c: line 655 (gnome_panel_applet_corba_init): assertion `panel_client != ((void *)0)' failed. ** CRITICAL **: file applet-widget.c: line 699 (applet_widget_new): assertion `c orbadat!=NULL' failed. ** ERROR **: Can't create applet! aborting... Aborted Any ideas/advices? It's intel system with Debian potato thanks a lot in advance OK
Re: Good HTML editor for debian Linux?
On Wed, 21 Jul 1999, Andrei Ivanov wrote: XEmacs works for me, but if your system is low-memory (less than 16M), you might use something else. No idea what, though, since I never had that problem. Andrew www.coffeecup.com OK
Re: funny NFS (Linux and Solaris)
Hi, On Mon, 19 Jul 1999, Jinsong Zhao wrote: I exported one directory at my Linux to one Solaris 2.5.1 machine. On Solaris, I ran 'ln -s /tmp tmp', then ran 'file tmp', it says: readlink error: Invalid argument. However, when I 'ls -l' on the Linux, it is fine. Another problem is when I create a directory on Solaris and then want to cd into it, it complains that it is not directory. When I check that directory on Linux, everything is fine. There must be some funny things going on between Solaris and Linux over NFS. This kind of problem prevents me from building file system around Linux. The Solaris filesystem is using UFS, Linux is using ext2. Any suggestion? i believe you have to ask Sun for Solaris 2.5.1 NFS patch.. OK
Re: Fax
On Wed, 14 Jul 1999, Phillip Deackes wrote: = On Wed, 14 Jul 1999, Cuno Sonnemans wrote: = = Hi, = = I've installed efax, but I can only = fax asci text. Faxing from Linux works very well, but there is a steep learning curve compared to the Windows apps like WinFAX. hmm, learning curve? i set up efax and was able to fax almost immediately. Is there anything i forgot to learn? After a couple of years using Linux it has only been a few months since I cracked it. Basically, print from an application to a (postscript) file. Then enter the following: gs -q -sDEVICE=tiffg3 -dNOPAUSE -sOutputFile=letter.%03d input.file.ps /dev/null (all on one line) Change 'input.file.ps' to whatever you called your printed file. Then: efax -d /dev/ttyS1 -o1 -t T letter.001 use fax script. It's doing all the conversion for you fax phone num ps file works just fine for me Change XXX to the telephone number you wish to call. Change the serial port to match your own setup. You might need to make changes to the efax config file for your modem. I have to run this as root, so I add 'sudo' to the start. To print a fax: efix -ops -r600 -s1 letter.001 | lpr -Pprint_queue_name I use r600 because my laser printer is capable of this resolution. YMMV. you could probably save some toner using 300dpi resolution - fax tiffg3 has something like 96dpi in normal and 192dpi in fine resolution. If you use Applixware, I have a macro which will allow faxing directly from the app, just like with Windows. same for lyx. If you install efax just rerun lyx configuration and it will automatically detect fax capabilities Hope this helps. OK
Re: i'm dying here
On Tue, 13 Jul 1999, Wonko wrote: is there ANY way to setup my stb v4400 AGP card with x? i'm about to Isn't v4400 being one of the Riva chipset based card? Then it is supported by both XFree and NVidia and works fine... smash everything in my house calm down, relax, take a beer and check the card chipset OK
Re: Programming question: sizeof struct?
On Sun, 11 Jul 1999, Antti-Juhani Kaijanaho wrote: On Sat, Jul 10, 1999 at 11:26:19PM +1000, Hamish Moffatt wrote: Or even 8, since an int is 32 bits. int can be anything from 16 bits up. we do not have such architectures, i believe In fact, I believe we have architectures where int is 64 bits. well, that is not true either. I believe Linux follows LP64 model on 64bit hw, where long and pointer are 64bits while int is still 32bits Do *not* depend on the size of int! agreed OK
Re: Where did my disk space go?
On Sat, 10 Jul 1999, Alexander Kushnirenko wrote: Hi, how are you? I got a strange problem. I was running gimp processing quite big image, at some point I got impatient and killed the program. To manipulate with image GIMP has quite big buffers allocated on hard drive and now all that space is gone. Effectively du reports that my home area occupies 150 Mb of space, but if I sum up different files I can find only 20Mb of space. So 130 Mb are assigned to something which I can not find. Running e2fsck -f does not help. Any ideas? check ~/.gimp/tmp/ ? Thank you, Sasha. OK
Re: Programming question: sizeof struct?
Hi, Hi there, The upstream maintainer of one of my packages is having problems with his code. with his code? I thought it would be nice to use the debian mailing lists, to see if we can an answer on this. I will forward any solution to him. -- The reason why I have not released LogConv 1.54 for Linux is that I am having problems with packed structures that is causing some file formats to not be handled properly. Even though I specify -fpack_struct the generated code does not appear to actually do this. Structure fields are offset and the return from sizeof() returns a value that is not valid. what do you mean it is not valid? Read ANSI standard or any decent C book. It is quite valid - compiler may insert any padding between struct members... For instance, if the structure were: struct foo { char text[3]; int num; }; sizeof would return 6 and not 5. 6? Are you sure you're using Linux/gcc? The sizeof should be equal to 8 ! It would be 6 only on 16bit platform (MS DOS comes to mind...) So it's obvious that the compiler is placing a pad byte between text and num to align num. I want it to stop! --- Thanks for your attention. Joop from GCC info manual: Specifying Attributes of Variables == The keyword `__attribute__' allows you to specify special attributes of variables or structure fields. This keyword is followed by an attribute specification inside double parentheses. Eight attributes are currently defined for variables: `aligned', `mode', `nocommon', `packed', `section', `transparent_union', `unused', and `weak'. Other attributes are available for functions (*note Function Attributes::.) and for types (*note Type Attributes::.). You may also specify attributes with `__' preceding and following each keyword. This allows you to use them in header files without being concerned about a possible macro of the same name. For example, you may use `__aligned__' instead of `aligned'. ... `packed' The `packed' attribute specifies that a variable or structure field should have the smallest possible alignment--one byte for a variable, and one bit for a field, unless you specify a larger value with the `aligned' attribute. Here is a structure in which the field `x' is packed, so that it immediately follows `a': struct foo { char a; int x[2] __attribute__ ((packed)); }; But i advise to use gcc default padding - it is definitely more efficient and portable... IMO, you have problems with structs I/O. The UNIX paradigm is that files have no structure, they're just byte streams... And in order to be endian-neutral, choose some byte ordering - for example, lets keep network byte ordering in the file Provide two small functions like write_struct_foo( int fd, const struct foo* ptr ) { int tmp = htonl( ptr-num ); write( fd, ptr-name, 3 ); write( fd, tmp, sizeof(int) ); } read_struct_foo( int fd, struct foo* ptr ) { int tmp; read( fd, ptr-name, 3 ); read( fd, tmp, sizeof(int) ); ptr-num = ntohl( tmp ); } Of course, error checking and other stuff should be added but hope you got the idea. Just in case, some info from glibc doc: Byte Order Conversion - Different kinds of computers use different conventions for the ordering of bytes within a word. Some computers put the most significant byte within a word first (this is called big-endian order), and others put it last (little-endian order). So that machines with different byte order conventions can communicate, the Internet protocols specify a canonical byte order convention for data transmitted over the network. This is known as the network byte order. When establishing an Internet socket connection, you must make sure that the data in the `sin_port' and `sin_addr' members of the `sockaddr_in' structure are represented in the network byte order. If you are encoding integer data in the messages sent through the socket, you should convert this to network byte order too. If you don't do this, your program may fail when running on or talking to other kinds of machines. If you use `getservbyname' and `gethostbyname' or `inet_addr' to get the port number and host address, the values are already in the network byte order, and you can copy them directly into the `sockaddr_in' structure. Otherwise, you have to convert the values explicitly. Use `htons' and `ntohs' to convert values for the `sin_port' member. Use `htonl' and `ntohl' to convert IPv4 addresses for the `sin_addr' member. (Remember, `struct in_addr' is equivalent to `uint32_t'.) These functions are declared in `netinet/in.h'. - Function: uint16_t htons (uint16_t HOSTSHORT) This function converts the `uint16_t' integer
Re: Programming question: sizeof struct?
Hi, On Fri, 9 Jul 1999, Jason Gunthorpe wrote: On Fri, 9 Jul 1999, Oleg Krivosheev wrote: to not be handled properly. Even though I specify -fpack_struct the generated code does not appear to actually do this. Structure fields are offset and the return from sizeof() returns a value that is not valid. what do you mean it is not valid? Read ANSI standard or any decent C book. It is quite valid - compiler may insert any padding between struct members... He probably means it is not exactly what he wants : For instance, if the structure were: struct foo { char text[3]; int num; }; sizeof would return 6 and not 5. 6? Are you sure you're using Linux/gcc? Yes, 6, it will insert a single extra character at the end of text to place the alignment of num on a 4 byte boundry. Once again, sizeof(int) = 4 on Linux/ia32 and Linux/SPARC (that is what i can check), sizeof(text) is at least 3, therefore sizeof( struct foo ) should be at least 7 !!! With additional padding byte sizeof would be equal to 8. What platform/OS/compiler are you using? So it's obvious that the compiler is placing a pad byte between text and num to align num. I want it to stop! I always hated gcc __attribute__, I prefer the simpler and more common #pragma pack(1) struct {}; #pragma pack() Which forces the layout to be as you specified. i got an impression it doesn't work for the code... if i misinterpreted the original message, i'm sorry Using a command line option is a Bad Idea (tm) as it may corrupt glibc's structures Attributes have nothing in common with command line switches, they're just like pragmas From gcc info: The keyword `__attribute__' allows you to specify special attributes of variables or structure fields. Jason Anyway, i think better redesign and rewrite struct I/O stuff. pragma pack and __attribute__ is just gross hack OK
Re: x11amp still available?
hi On Fri, 9 Jul 1999 [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED] you wrote: On Mon, 5 Jul 1999 [EMAIL PROTECTED] wrote: I upgraded to xmms and I'd like to go back to x11amp. xmms uses about 30% of my 233cyrix's cycles. that looks like quite consistent number. On my cyrix-333 i usually got 18-19%. I installed the latest unstable xmms and cpu usage is reported as ~15% now, half of what it was. At 30% it noticably slowed down other processes on my 233. umm... interesting... using mpg123 i got around 18%, maybe a bit less. Splay numbers are about two points higher. Mpg123 claims to be fastest decoder and that claim is consistent with my observation. Thank you for the info, i'll try xmms and take a look at the load I don't think x11amp used more than a couple percent. i believe it was bug in x11amp - it reports CPU usage wrongly. It is probably fixed by now... Did it fool xosview as well? The utilities I used to monitor cpu usage all showed almost no load when only x11amp was running. I have no clue how accurate any of them are though. It's not a problem now anyhow. Xmms is a nice piece of work and I don't feel guilty about letting it run in the background all the time now. great... But i believe there are problems with utilities, especially dealing with MT programs. Aren't xmms heavely multithreaded? Frank OK
Re: g++ -lcrypt
Hi, On Tue, 6 Jul 1999, Jaycee wrote: linker, it says there are undefined references to char *crypt. This same program compiles perfectly under gcc. any suggestions? char* crypt is not declared extern C? OK
Re: x11amp still available?
hi On Mon, 5 Jul 1999 [EMAIL PROTECTED] wrote: I upgraded to xmms and I'd like to go back to x11amp. xmms uses about 30% of my 233cyrix's cycles. that looks like quite consistent number. On my cyrix-333 i usually got 18-19%. I don't think x11amp used more than a couple percent. i believe it was bug in x11amp - it reports CPU usage wrongly. It is probably fixed by now... Is there a deb of x11amp around still somewhere? I can't find it in the archive. d/l and check batch decoders like mpg123 and splay - they give me lowest CPU usage OK
Re: Getting Mpeg Trackname?
On Sat, 26 Jun 1999, Andrew Holmes wrote: Date: Sat, 26 Jun 1999 13:40:54 +0100 From: Andrew Holmes [EMAIL PROTECTED] To: Debian List debian-user@lists.DEBIAN.org Subject: Re: Getting Mpeg Trackname? Resent-Date: Sat, 26 Jun 1999 12:41:16 + Resent-From: debian-user@lists.DEBIAN.org Resent-cc: recipient list not shown: ; On Fri, Jun 25, 1999 at 10:52:50AM -0700, Greg Baker wrote: On Fri, 25 Jun 1999, Andrew Holmes wrote: I've looked through the man pages for splay and mpg123 but I can't find an option to output the trackname information from an mp3 file. Have a look at the 'mp3info' package (which gives you the command 'mp3info'). That should do everything you need. It can also set the title, artist, album, etc. for an mp3. Greg --- With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. --RFC-1925 Thanks Greg, mp3info seems to be just what I need, now all I need is a way for the computer id3ed is another mp3 header tool to automatically recognise when someone has typed the artist wrong in the header info :-) Is it Bryan Adams or Brian Adams? :-) Thanks again! -- Best Wishes, Andy Holmes [EMAIL PROTECTED] We are MicroSoft. You will be assimilated. Resistance is futile. -- Attributed to B.G., Gill Bates -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null Oleg Krivosheev, MS 220, BD/Physics, Fermi National Accelerator Laboratory, P.O.Box 500, Batavia, Illinois, 60510 phone: (630) 840 8460 FAX : (630) 840 6039 Email: [EMAIL PROTECTED]
Re: SVGA/NVidia patches (Re: Text cursor disappears in Emacs)
Andreas Voegele [EMAIL PROTECTED] writes: Since the last update of my systems the text cursor disappears in GNU Emacs 20.3-8 under X11. The problem maybe has something to do with the syntax highlighting. Above colored parts of the text the cursor is visible. I see this as well, since at least the xserver-svga 3.3.3.1-6 version (4 June), on my Diamond Viper 550 AGP card... it's truly, truly annoying; it may sound apocolyptic but I haven't been able to do any local work on this system--Emacs is pretty much unusable if you can't see the cursor! I've tried updating to each new server version, including the latest 3.3.3.1-9, but nothing helps. There were no followups to this note; does anyone have a solution? yep... downloaded compiled server from ftp.xfree86.org and replaced XF86_SVGA which came with .deb. Now it works just fine OK
Re: [Application] disassembler
On Tue, 22 Jun 1999, Nguyen Hai Ha wrote: Hi all, I'm wandering if there is any disassembler for x86 going around. Would anybody kindly give me some information about this. Thanks in advance. objdump in binutils OK
Re: SVGAlib and Riva TNT card?
Date: Sat, 12 Jun 1999 11:53:45 +0200 Resent-from: debian-user@lists.debian.org From: Frank Barknecht [EMAIL PROTECTED] Resent-sender: [EMAIL PROTECTED] Resent-cc: recipient list not shown: ; Precedence: list X-Envelope-Sender: [EMAIL PROTECTED] Mail-Followup-To: debian-user@lists.debian.org X-Mailing-List: debian-user@lists.debian.org archive/latest/52829 X-Loop: debian-user@lists.debian.org Content-Type: text/plain; charset=us-ascii Content-Length: 2254 Raymond A. Ingles hat gesagt: // Raymond A. Ingles wrote: I've got a Riva TNT card, and I'm using the X server and OpenGL lib from nVidia. Everything's fine in X, but SVGAlib has problems. I upgraded to SVGAlib 1.3.1 from unstable, but still there are issues. I sometimes run zgv and Maelstrom, but the main reason I want SVGAlib is to try to run GLQuake. The Quake-HOWTO says I need SVGAlib to get there. If I force VGA-only, everything's fine, but the resolutions and colors are, um, limited. If I force NV3 (Riva) mode, I get a blank screen. It still responds to keypresses and I can telnet in, but until I CNTRL-ALT-DEL the screen is hosed. I tried VESA mode this morning and ran Maelstrom. It came up and looked okay, but when I quit, my monitor complained that the signal was out of range: 28.something hsync, 60Hz vsync. Again, no screen until a reboot. Switching VC's does nothing. I have seen claims that SVGAlib will work with a TNT, but I haven't made it happen yet. Anyone have any suggestions? Correct me, but I don't think you can run hardware accelerated OpenGL quake with a Riva card under SVGAlib. The Riva GLX module only works if you are running X, I think. You will need SVGAlib if you want to run Quake with Glide on a Voodoo based card, though. Glide-Quake uses SVGAlib to manage access to the mouse and stuff, but soon after you typed glquake the Voodoo-Card takes control. I have a Riva 128 here, which is not very good supported by SVGAlib, but enough to start GLQuake on the console with my old Voodoo I card. The new Riva X-Server can start quake2 with the OpenGL-Renderer, but then the framerate is only about 1 frame every 70 seconds. I'll never frag anyone this way ;( 1/70 fps looks exactly like pure software rendering, something is wrong in your setup ____ Frank Barknecht __ __ trip\ \ / /wire __ OK
Re: Will PIII work?
The processor will work just fine, though as I discovered some other commonly used components on newer systems might give you some trouble so it pays to consider the whole system: http://www.zdnet.com/zdhelp/stories/main/0,5594,2218754,00.html i believe i saw Ingo Molnar P III patch which does two tihngs: 1. faster context save/restore during the switch (FXSAVE etc) 2. SSE stuff included into context check lk mailing list OK
Re: 8MB PCI 1600x1200@76Hz video card suggestion?
hi Kenneth Scharf wrote: I have a PCI Matrox Millenium 2 MB video card (2 years old) and now I find I really want 32 bit colour. I tried to find a Matrox Millenium G200 PCI 8 MB card, but only AGP ones are available (PCI is in back-order). Any suggestions for an 8MB card well-supported by XFree PCI that can do 32bit-colour at 1600x1200 and 76Hz? Is your Millenium card upgradeable? Yes, but (1) I couldn't find an upgrade for it a year ago, and (2) it uses WRAM and the 6 MB upgrade used to cost more than a newer G200 card anyway. I have the 8m version of the same card and it does the resolutions you want. (I paid about $60 for it because it was discontinued old stock at a computer show). Lucky! BTW have you tried to run linux svga doom on yours? It causes mine to lock up with no video and I have to reboot. Never tried. I use it at work. Thanks, Peter may recommend NVIDIA Riva card(s): Viper 330 PCI 8Meg with Riva 128 Viper 550 PCI 16Meg with Riva TNT now even accelerated openGL works OK
Re: OT: dual processor question
Is it true that two Pentium II 400 have to have a same number of some kind they should have the same stepping and that is Intel recomendation... to use them in dual mode. I'd intended to buy a dual board and add a new proc. to my 400 but someone told me that wouldn't work OK
Re: undefined symbol: _fxstat when using NAG FORTRAN with potato (only)
Date: Thu, 03 Jun 1999 18:13:34 -0400 Resent-from: debian-user@lists.DEBIAN.org From: David Gaudine [EMAIL PROTECTED] Resent-sender: [EMAIL PROTECTED] Resent-cc: recipient list not shown: ; Precedence: list X-Envelope-Sender: [EMAIL PROTECTED] X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Mailing-List: debian-user@lists.debian.org archive/latest/51660 X-Loop: debian-user@lists.debian.org X-Priority: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Length: 861 I have an application that runs fine on hamm and slink, but on potato it says undefined symbol: _fstat The application was compiled with NAG FORTRAN 95, and the symbol is referenced by a shared library that was provided with the compiler. I've verified that _fstat is a system routine of some sort, not a NAG routine. Does anyone know more specifically where it comes from, and in what way it has changed between slink and potato? (If indeed it has changed; I may just not be able to link with it.) After looking at some web pages that are way over my head, all I could determine is that it has something to do with gcc and/or libc6. I've reported my problem to NAG, but I expect better results here because it's Linux that's changed recently, not the compiler. libc6 FAQ 2.7.Looking through the shared libc file I haven't found the functions `stat', `lstat', `fstat', and `mknod' and while linking on my Linux system I get error messages. How is this supposed to work? {RM} Believe it or not, stat and lstat (and fstat, and mknod) are supposed to be undefined references in libc.so.6! Your problem is probably a missing or incorrect /usr/lib/libc.so file; note that this is a small text file now, not a symlink to libc.so.6. It should look something like this: GROUP ( libc.so.6 libc_nonshared.a ) OK
Re: X problems in Slink
Hi, Jim just tried your routine on my debian potato system and looks like it works: before toplevel2 0 after toplevel2 134544432 after form and some window appears, no segfaults lesstif 0.88.1 egcs1.1.2 mesa 3.0 OK Hi, I've been having problems with my system, It's a long story bugut to make it short I have a new mother board and have installed Slink on a freshly partioned drive. Every thing I've tested so far works except my routines that use Lesstif. I stripped the code to a minimun to demostrate the problem, compiled and run it on a Dec Alpha to verify it runs correctly, or at least OK. But on my Machine ( a K6=3 400, 256M of memory) it segfaults. Here are the details ( sorry for the length, I wanted to include enough so you can see what is happening) bash-2.01$ make test1 egcc -o test1 -I/usr/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lMesaGL -lXaw -lXt -lXm -lXext -l X11 -lm test1.c bash-2.01$ test1 before toplevel2 0 after toplevel2 134567448 Segmentation fault bash-2.01$ ldd test1 libMesaGL.so.3 = /usr/lib/libMesaGL.so.3 (0x4000f000) libXaw.so.6 = /usr/X11R6/lib/Xaw3d/libXaw.so.6 (0x400f4000) libXt.so.6 = /usr/X11R6/lib/libXt.so.6 (0x40149000) libXm.so.1 = /usr/X11R6/lib/libXm.so.1 (0x40191000) libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x4029f000) libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x402ab000) libm.so.6 = /lib/libm.so.6 (0x4034e000) libc.so.6 = /lib/libc.so.6 (0x40367000) libXmu.so.6 = /usr/X11R6/lib/libXmu.so.6 (0x4040c000) libSM.so.6 = /usr/X11R6/lib/libSM.so.6 (0x4041e000) libICE.so.6 = /usr/X11R6/lib/libICE.so.6 (0x40427000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) bash-2.01$ egcc -v Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/specs gcc version egcs-2.91.60 Debian 2.1 (egcs-1.1.1 release) bash-2.01$ cat test1.c /* * * * **/ #include stdio.h #include X11/Intrinsic.h #include Xm/Xm.h #include Xm/ArrowB.h #include Xm/Label.h #include Xm/BulletinB.h #include Xm/Form.h #include X11/Shell.h int main(int argc, char *argv[]) { XtAppContext app; Widget toplevel, toplevel2, form, label, vtk; Arg args[4]; int c,n; toplevel = XtVaAppInitialize(app, vis Window, NULL,0,argc, argv, NULL,NULL, 0); toplevel2 = 0; printf(before toplevel2 %d \n,toplevel2); toplevel2 = XtCreateManagedWidget(Display,topLevelShellWidgetClass, toplevel, NULL, 0); printf(after toplevel2 %d \n,toplevel2); form = XtVaCreateManagedWidget(form,xmFormWidgetClass, toplevel2, NULL); printf(after form\n); vtk = XtVaCreateManagedWidget( vtk, xmBulletinBoardWidgetClass, form, XmNwidth, 500, XmNheight, 500, NULL); label = XtVaCreateManagedWidget(label_text, xmLabelWidgetClass, vtk, XmNleftAttachment, XmATTACH_FORM, XmNtopAttachment, XmATTACH_FORM, NULL); XtRealizeWidget(toplevel); XtAppMainLoop(app); exit(0); }
Re: [DEBIAN] version of tar that does bzip2
Howdy, hi there is there a version of tar somewhere that will recognize bzip2 compression? I don't like untarring in two passes :-) huh !?! pipes are your friend bunzip2 -dc aaa.tar.bz2 | tar xvvf - Nico OK
Re: Mission critical Debian
On Wed, 2 Jun 1999, David N. Welton wrote: Date: Wed, 02 Jun 1999 18:34:33 -0700 From: David N. Welton [EMAIL PROTECTED] To: debian-user@lists.debian.org Subject: Mission critical Debian Resent-Date: Thu, 03 Jun 1999 01:35:56 + Resent-From: debian-user@lists.debian.org Resent-cc: recipient list not shown: ; [ please cc replies to me ] Surprisingly, I wasn't able to turn up any results when searching Debian's lists for this, but, to sum it up, my query is this: Is there any list of people using Debian for mission critical applications? i believe Debian was used on one of the shuttle mission to control bio experiment (?). OK
Re: OFFTOPIC: SDRAM PC100
On Thu, 3 Jun 1999, E.L. Meijer (Eric) wrote: On Wed, 2 Jun 1999 [EMAIL PROTECTED] wrote: The question is: if I buy a SDRAM PC100 chip, will it work on a computer with bus speed of 66Mhz ? Nope. I bought 2 128MB PC100 for my 66MHz ASUS, hoping that the dimms would still be usable when I get a new motherboard someday. I ran memtest86 for about 24 hours, no problems, and have been running fine ever since (several months). I started having problems recently (filesystem errors and signal 11) so I ran memtest86 again and one of the dimms has gone bad. I took it out and put back in an old regular 32MB dimm, and the two mixed togeter (160MB) ran memtest86 fine overnight, and seems OK after about a week. I don't know why the dimm went bad. I wouldn't think it's because the 100/66MHz issue. I would surprise me too. I also run PC100 memory at 66 MHz with future upgrades in mind. old SDRAM had 5V voltage, PC100 is 3.3V OK
Re: PCI modem
On Thu, 3 Jun 1999, Robert Rati wrote: Date: Thu, 03 Jun 1999 10:12:27 -0500 (EST) From: Robert Rati [EMAIL PROTECTED] To: debian-user@lists.debian.org Subject: PCI modem Resent-Date: Thu, 03 Jun 1999 15:23:43 + Resent-From: debian-user@lists.debian.org Resent-cc: recipient list not shown: ; I was just given a PCI modem by a friend of mine and he calims it's a PNP modem but not a winmodem. I hope he's right, but I don't know how to tell if it's a winmodem. Debian sees the modem when I cat /proc/pci and calls it a serial interface card (same thing windows calls it until you give it drivers) but can't figure out the maker of the device. It's a Rockwell modem and really gerneric so I don't find that too surprising. My BIOS sees the modem and says that the modem is on IRQ 9, which unfortunately is also where my sound card is. Can anyone help me out in getting this modem working in Linux? I had an isa pnp modem before that I got to work, but I don't know how to get a pci modem to work. Can anyone help me out? Thanks. there are several PCI modems usable under linux, i believe. Find below how to do it ***INSTALLATION OF V90 PCI LUCENT VENUS BASED MODEM*** I. After physically installing the modem, log into your Root account. II. To determine resource settings. Type the following command: cat /proc/pci An example of the outcome will look like this; 5.Non-prefetchable 32 bit memory at 0x. Bus 0, device 17, function 0: Communication controller: Unknown vendor Unknown device (rev 0). Vendor id=11c1. Device id=480. Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. No bursts. Min Gnt=252.Max Lat=14 Non-prefetchable 32 bit memory at 0xe400. I/O at 0x6400. I/O at 0x6800. I/O at 0x6c00. III. Take note of the IRQ, and FIRST I/O address, then type in this command; setserial /dev/modem uart 16550A port 0x6400 irq 11 NOTE: THE IRQ AND PORT MAY VARY, IT IS DEPENDANT UPON THE RESULTS FROM STEP II IV. To set Linux to configure the modem upon boot-up. There are several options. One method is going to the /etc/rc.d/ directory, and using an editing program such as jed edit the rc.local file, and insert setserial /dev/modem uart 16550A port 0x6400 irq 11 as the last line. OK
Re: OFFTOPIC: SDRAM PC100
On Thu, 3 Jun 1999, Rick Macdonald wrote: Date: Thu, 03 Jun 1999 10:21:55 -0600 (MDT) From: Rick Macdonald [EMAIL PROTECTED] To: Oleg Krivosheev [EMAIL PROTECTED] Cc: E.L. Meijer (Eric) [EMAIL PROTECTED], debian debian-user@lists.debian.org Subject: Re: OFFTOPIC: SDRAM PC100 On Thu, 3 Jun 1999, Oleg Krivosheev wrote: I don't know why the dimm went bad. I wouldn't think it's because the 100/66MHz issue. I would surprise me too. I also run PC100 memory at 66 MHz with future upgrades in mind. old SDRAM had 5V voltage, PC100 is 3.3V But the DIMMs have notches in them that prevent you from using the wrong type. huh !?! just upgraded from 5V SDRAM to 3.3V PC100 SDRAM - same slot used, had to change mobo jumpers to switch to 3.3V. regards OK
Re: Groups
hi On Wed, 2 Jun 1999 [EMAIL PROTECTED] wrote: Hi, How can I ad a user into the dip group ??? I've set etc/ppp to root dip When i ad a user to the dip group, can this user make a connection to the internet, using pon ??? type vigr at the command prompt. Scroll down to the dip group. After the colon write the users name. To add more just use commas. initially dip:shaleh then later dip:shaleh,bob,jane come on, that's not very good idea to edit groups manually just do adduser username dip OK
glibc 2.1, gdb 4.18 and MT debugging ?
Hi, All just tried to debug my MT stuff using latest potato stuff and did not succeed. Is MT debugging lost in transition? I was able to debug my stuff on slink with glibc 2.0.7 and gdb 4.17 What package to blame: gdb 4.18, glibc 2.1 or kernel 2.2? thanks a lot for any help regards OK
Re: Replacement for Netscape
hi - Even as a work station linux works fine on 486 hardware. Your basing your - argument on what you view as a workstation. Howeve, without X a - 486/66 does fine depending on it's purpose. You certainly don't need - pentium power to run vi, lynx, and elm. What else do you need? : While - I didn't try it, I'm guessing a 486 could be used as a slow, but viable, - devel system also. I am running slink on 5x86/100, 32 megs of RAM and I quite like it. I'd like to have 48 megs just because I run samba and NFS and wannna to have some services on it. I use netscape (4.6 now) and i had staroffice installed but i removed it cause i didn't like it... Now, the only one problem I have is - i can't play mp3's ;) 5x86/100 should play with CPU load around %70 (at least this is what i've been told ;)) OK
Re: Diamond Viper 550
Hi, I will get a Diamond Viper 550 graphics card, soon. Which is the best Xserver for it? SVGA Which X version do you recommend? 3.3.3.1 Armin OK
Re: Network and serial port
I've got my two desktop computers networked using 10base2 and they are working nicely, now I'd like to add my laptop into the system. I don't have a network pcmcia card, but I do have a null modem cable. I think I should be able to use it to network my little laptop into the system, can someone point me in the right direction to get it setup? NET3-HOWTO and PPP-HOWTO i believe OK
Re: Copying system to another disk
hi did it several times: 1. prepare rescue disk 2. put new disk into comp and mount it to /mnt 3. Go back to old disk and as root cd / find . -xdev | cpio -vdump /mnt 4. remove old disk from the system, reboot with rescue disk (rescue root=/dev/hdxxx) and fix /etc/fstab, /etc/lilo.conf, /etc/hostname, ... run lilo OK On Tue, 27 Apr 1999, Aaron Solochek wrote: I just tried doing this, and ran into an interesting problem. I think that it had to do with copying /lib over, but when it finished untarring the new system, it just gave me a login prompt. I logged in, got the message of the day, told me I had no mail, and then gave me the login prompt. when I tried to reboot with ctrl-alt-delete it asked for the administrator password for maintenance, which didn't seem to work. Basically I needed to hit the reset switch, and then install the system from scratch. So be careful. -Aaron Solochek [EMAIL PROTECTED] Micha Feigin wrote: I want to copy the whole system to another disk to run on another computer (after copy it i can take care of configuration). Seems to be easier and shorter then downloading about 300 megs. I was wondering how do i go abou doing this. If anyone knows the answear or can point me to an apropriate HOWTO. Another problem is that it will probably no longer be on drive C and would reside together with win95. Where is the information on setting this up? _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null Oleg Krivosheev, MS 220, BD/Physics, Fermi National Accelerator Laboratory, P.O.Box 500, Batavia, Illinois, 60510 phone: (630) 840 8460 FAX : (630) 840 6039 Email: [EMAIL PROTECTED]
Re: Basic networking info
Hi After a long delay I am finally ready to put together a small training network in my apartment. First I have some basic questions. There are 3 machines one AMD 586 133 /64 mg (my primary machine) and 2 Intel 486 66 /8 mg. All have ISA NE2000 cards 1. Can I live with 8 mg in the 486s? yep... probably no X though... have 386sx 20 / 8m with debian hamm and ISA NE2000 based network 2. How much of Debian/Gnu Linux do I actually need to install on the 486s? base system and maybe just few packages more. On 100meg disk i have about 50m filled and 16m swap For example only one machine in the network should have the MTA, or be a DNS server. But if I only install the bare minimum how is that differnt than just setting up a terminal. 3. Come to think of it how do you just set up mutiple terminals? why do you need terminals if network will do all what you need? Do I need special video cards? no, AFAIK 4. What is the best way to simulate user activity on a training network when there is really only one person? write app which simulate user pressing keys and doing something? just a guess... 5. I have a couple of other operatiing systems lying around.(Freebsd, Solaris7, win311, I could probably borrow 95 or NT) Can I mix and match them on the network. How do you do that? Any recommeded reading material is appreciated. Thanks for any help Ethernet-HOWTO and NET3-HOWTO Tom OK
Re: Old Unix 'compress' (.Z) utility?
On Wed, 28 Apr 1999, Raymond A. Ingles wrote: I can't seem to find a version of the old Unix 'compress' utility, that generates .Z files. I know that gzip provides better compression, and can uncompress .Z files, but it won't work for me. I'm exporting some files to Minix, and Minix doesn't have a gzip port for all versions. I seem to recall that the compress algorithm has some patent issues, but even so, I thought it was still allowed. A search on www.debian.org does not turn anything up, even in non-free. Any hope for a Debian package, or should I look elsewhere? non-free/utils/ncompress Sincerely, Ray Ingles (248) 377-7735 [EMAIL PROTECTED] [B]eing able to break security doesn't make you a hacker any more than being able to hotwire cars makes you an automotive engineer. - Eric Scott Raymond OK
Hit by virus !? Help, please...
Hi, All after my kid was playing games on win95 yesterday evening i was unable to boot into Linux - actually unable to boot into win95 also... Looks like some kind of virus destroyed boot sector with partition table. i can remember approximate partition sizes and order. Is there any way to recover partition table and the system as well ? thanks a lot in advance OK
sysinfo utility ?
hi, All is there good utility(ies) to measure FSB colck speed/chip clock speed and such? thanks a lot in advance OK
Re: [OT] Whitch adaptec SCSI card?
Thanx for the fast response, Dell is currently offering a PowerEdge 1300. 18Gb Ultra-2/LVD SCSI HD. Adaptec AIC-7890 Ultra-2/LVD SCSI Controller (inergrated) it should work i believe - penguincomputing is offering linux worktations with 789x controllers OK
Re: What are the Bogomips for a P166?
On Fri, 23 Apr 1999 [EMAIL PROTECTED] wrote: Date: Fri, 23 Apr 1999 12:14:46 -0400 (EDT) From: [EMAIL PROTECTED] To: Pedro Guerreiro [EMAIL PROTECTED] Cc: debian-user@lists.debian.org Subject: Re: What are the Bogomips for a P166? Resent-Date: Fri, 23 Apr 1999 16:08:14 + Resent-From: debian-user@lists.debian.org Resent-cc: recipient list not shown: ; Hi. I'm having a problem with a machine in the lab. It's a Pentium 166 with 32Mb, but the reported Bogomips are just 66.??. Somehow, this doesn't look to normal to me, since my Pentium 225 MMX is giving 447.?? Bogomips. My p75 here at work is 23 bogo mips. So a 150 would be around 50 - 60. One other thing is that since I've upgraded to Slink on that machine, X became unusable, since each time it needs to redisplay some part (or all) of the screen, I can actually see it redraw _each_ line, taking about 1 minute to redisplay the screen. from Bogomips mini-HOWTO: As a very approximate guide, the BogoMips can be calculated by: System BogoMips Comparison Intel 8088 clock * (0.004 plusminus 0.001)0.02 Intel/AMD 386SXclock * (0.14 plusminus 0.01) 0.8 Intel/AMD 386DXclock * (0.18 plusminus 0.01) 1(definition) Motorola 68030 clock * (0.25 plusminus 0.005)1.4 Cyrix/IBM 486 clock * (0.34 plusminus 0.065)1.8 Intel Pentium clock * (0.40 plusminus 0.035)2.2 Intel 486/AMD 5x86 clock * (0.50 plusminus 0.01) 2.8 Mips R4000/R4400 clock * (0.50 plusminus 0.015)2.3 Nexgen Nx586 clock * (0.75 plusminus 0.010)4.2 PowerPC 601clock * (0.84 plusminus 0.015)4.7 Alpha (all CPUs) clock * (0.99 plusminus 0.005)5.5 Intel Pentium Pro clock * (0.99 plusminus 0.005)5.5 Cyrix 5x86/6x86clock * (1.00 plusminus 0.005)5.6 Intel Pentium II clock * (1.00) 5.6 Mips R4600 clock * (1.00) 5.6 Alpha 21264clock * (1.99)11.1 AMD K5/K6 clock * (2.00 plusminus 0.010) 11.1 Pentium MMXclock * (2.00)11.1 Motorola 68060 clock * (2.01)11.2 66 for p166 and 447 for p225mmx seems to be fine OK
Re: MP3 encoder?
DOes anyone know of mp3 encoder for Linux? If yes, where would I be able to find one? TIA, Andrew http://home8.swipnet.se/~w-82625/ --- Andrei S. Ivanov [EMAIL PROTECTED] UIN 12402354 http://members.tripod.com/AnSIv --Little things for Linux. OK
Re: XWindows and Debian
Date: Sun, 28 Mar 1999 00:57:14 -0500 Resent-from: debian-user@lists.DEBIAN.org From: Jayson Baird [EMAIL PROTECTED] Resent-sender: [EMAIL PROTECTED] X-Sender: [EMAIL PROTECTED] Resent-cc: recipient list not shown: ; Precedence: list X-Envelope-Sender: [EMAIL PROTECTED] X-Mailing-List: debian-user@lists.debian.org archive/latest/42285 X-Loop: debian-user@lists.debian.org Content-Type: text/plain; charset=us-ascii Content-Length: 527 X-Status: Anyone ever had trouble with a Riva128 card running the SVGA Xserver? I try to start the server using startx and it seems to start and then it unloads say it's waiting for server to shut down. I'm using enlightenment as a window manager. and have xdm installed..any ideas? hi, find below XF86Config which works for me OK --- # File generated by xf86config. # # Copyright (c) 1995 by The XFree86 Project, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the Software), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # # Except as contained in this notice, the name of the XFree86 Project shall # not be used in advertising or otherwise to promote the sale, use or other # dealings in this Software without prior written authorization from the # XFree86 Project. # # ** # Refer to the XF86Config(4/5) man page for details about the format of # this file. # ** # ** # Files section. This allows default font and rgb paths to be set # ** Section Files # The location of the RGB database. Note, this is the name of the # file minus the extension (like .txt or .db). There is normally # no need to change the default. RgbPath /usr/X11R6/lib/X11/rgb # Multiple FontPath entries are allowed (which are concatenated together), # as well as specifying multiple comma-separated entries in one FontPath # command (or a combination of both methods) # # If you don't have a floating point coprocessor and emacs, Mosaic or other # programs take long to start up, try moving the Type1 and Speedo directory # to the end of this list (or comment them out). # FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/:unscaled FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/Speedo/ FontPath /usr/X11R6/lib/X11/fonts/cyr/ # For OSs that support Dynamically loaded modules, ModulePath can be # used to set a search path for the modules. This is currently supported # for Linux ELF, FreeBSD 2.x and NetBSD 1.x. The default path is shown # here. #ModulePath /usr/X11R6/lib/modules EndSection # ** # Module section -- this is an optional section which is used to specify # which dynamically loadable modules to load. Dynamically loadable # modules are currently supported only for Linux ELF, FreeBSD 2.x # and NetBSD 1.x. Currently, dynamically loadable modules are used # only for some extended input (XInput) device drivers. # ** # # Section Module # # This loads the module for the Joystick driver # # Load xf86Jstk.so # # EndSection # ** # Server flags section. # ** Section ServerFlags # Uncomment this to cause a core dump at the spot where a signal is # received. This may leave the console in an unusable state, but may # provide a better stack trace in the core dump to aid in debugging #NoTrapSignals # Uncomment this to disable the CrtlAltBS server abort sequence # This allows clients to receive this key event. #DontZap # Uncomment this to disable the
Re: fdformat missing
I am missing fdformat. Which package contains it? superformat in fdutils, i believe thanks -- Andrew [PGP5.0 Key ID 0x5EE61C37] OK
Re: K-Rad Debian?
hi 3) Is there an easy way to build ALL the packages in slink from source? i've heard about such idea(s) before. The real question is - do you need to rebuild ALL packages? I doubt rebuilding ls and such will do any difference. The only visible difference might be if you rebuild FEW critical packages/libs. Try to rebuild/reinstall K6 optimized: - kernel - glibc - X11 - netbase/netstd? after that i would be very grateful to hear about any speedup you discovered. OK
Re: Accelstar graphics card
Hi, If anybody uses Accelstar II graphics card could you tell me the right Xserver for this card ? Any other tips for X use wiould be appreciated TIA George 3dlabs server from xfree 3.3.3.1 works for me just fine if you're using slink it is enough to get binary server and put it inot the system as i did ftp://ftp.xfree86.org/pub/XFree86/3.3.3.1/binaries/Linux-ix86-glibc/Servers/X3DL.tgz regards OK
Re: win-printer??
On Tue, 16 Mar 1999, Mark Connolly wrote: Date: Tue, 16 Mar 1999 16:19:16 -0800 (PST) From: Mark Connolly [EMAIL PROTECTED] To: debian-user@lists.debian.org Subject: win-printer?? Resent-Date: Wed, 17 Mar 1999 00:21:43 + Resent-From: debian-user@lists.debian.org Resent-cc: recipient list not shown: ; Hello all. I have just recently successfully installed Debian 2.0 (Hamm) from the disks in a book bought at Borders. I have run into a problem with my HP Deskjet 722c printer, a printer I am very happy with on the dos/w95 side of my box. http://www.rpi.edu/~normat/technical/ppa/index.html OK
Re: Compaq Prosigna 500
On Thu, 11 Mar 1999, Fabrizio Polacco wrote: Hi all, anybody has a Compaq Prosigna 500, and can tell me what type of network card is there? that might be Thunderlan NIC module called tlan.o note, that it was included into kernel starting with version 2.0.35, so if you're trying to install hamm (2.0.34 i believe) you have to recompile the kernel regards OK
Re: Internet telephony?
Date: Sun, 07 Mar 1999 12:55:29 -0800 (PST) Resent-from: debian-user@lists.debian.org From: Paul Nathan Puri [EMAIL PROTECTED] Resent-sender: [EMAIL PROTECTED] X-Sender: [EMAIL PROTECTED] Resent-cc: recipient list not shown: ; Precedence: list X-Envelope-Sender: [EMAIL PROTECTED] X-Mailing-List: debian-user@lists.debian.org archive/latest/39581 X-Loop: debian-user@lists.debian.org Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Length: 414 Is anyone aware of internet telephony software that could run on debian? Preferable but not exclusively open source. In addition, what hardware + services would be needed to get it and keep it running? RAT might be what do you looking for... http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/ NatePuri Certified Law Student Debian GNU/Linux Monk McGeorge School of Law [EMAIL PROTECTED] http://ompages.com OK
Re: Color Depth [was: X Font Problem]
Ok, guys this is a call for help again. I solved my other problem for now. Blackbox was listed on the first line of my window-managers file. (yes, I'm very new to Linux in general). I changed that first like to Window Maker and now I'm able to get a window manager up. As for the subject line in this email, I'm having a but of a problem with severe dithering. I'm running a pretty typical (I think) video card / display. My video card is a Matrox Millennium 2MB PCI, and my display is an older Gateway 2000 Vivitron 17 Before I became a Debian user, I was running RedHat 5.2 (which was an extreme nightmare for me). Since I switched, I know now that I will never even think of going back to a RedHat system ever again. For one, my system isn't full of crap anymore. Anyway, back to the topic: I setup XFree86 manually, which I didn't have to do with RH 5.2. With RedHat my display looked great, no dithering; it looked like a typical 16 million color display etc..nice looking images etc. As it would appear in Win95 at 1024x768 in 16 bit color or 24 bit color. 2meg card? 1024x768 and 24bpp? hmm... i believe it is impossible and Win95 is lying to you Now, with the Debian system I have now, and the fact that I set up Xfree86 manually using xf86config, I am almost positive that I made a mistake, because I have seen it the way it is supposed to be when I was running RedHell..err Hat. So, does anyone out there in Debian land use a Matrox Millennium 2mb video card (and maybe the same monitor?) that would share their XF86Config file contents with me? Or, at least point me in the right direction? I don't know if I can live with the mess that I'm seeing on my display right now -- crappy colors. AFAIK, I'm running the SVGA server, in 1024x768. If someone can help, what would you need me to post here as far as my setup is concerned? you're probably running at 8bpp... try startx -- -bpp 16 and look what happens Many, many thanks - Brian OK
Re: CDROM
Date: Sun, 07 Mar 1999 13:56:02 -0600 Resent-from: debian-user@lists.debian.org From: Gordon von Miller [EMAIL PROTECTED] Resent-sender: [EMAIL PROTECTED] Resent-cc: recipient list not shown: ; Precedence: list X-Envelope-Sender: [EMAIL PROTECTED] X-EveryThing: Net-Tamer 1.10.1 Unregistered X-Mailing-List: debian-user@lists.debian.org archive/latest/39574 X-Loop: debian-user@lists.debian.org Content-Type: text Content-Length: 429 Hello, I tried to install Debian 2.0.2, and it would not recognize my cdrom which is a Nec cd-rom drive:260 ATAPI. Debian says that it is either a cdrom or a floppy, probably a floppy. The cdrom works in Dos and in a previous version of SuSE. Any ideas short of buying a new cdrom? try to set the CD in the BIOS to AUTO Thanks. Gordon OK
Re: size of kernel too big?
Hello everybody, hi I recently compiled kernel 2.2.1 (my 1st attempt), and everything seems to be going smoothly (except for playing .wav files, but that's another story...) Anyway, did not put anything into modules (is that bad?)... Now, when I look at my /var/log/messages, I see this... monkeyhouse kernel: Memory: 30616k/32768k available (1000k kernel code, 416k reserved, 629k data, 44k init)Feb25 more than 384k reserved? hmm... Is that saying that my kernel ids 1MB? If it is, is that too big? Will I make it faster, leaner, smoother, etc bu sticking sound (+anything else?) into modules? well, if you're going to use modules all the time, it will make kernel a bit bigger, not smaller. If you're going to put some stuff into modules and use them occationaly and unload them when job is done (manually or automatically via kerneld/kmod), better compile most stuff as modules. i usually compile into kernel only what is really for everysecond usage: ext2, psaux and ethernet. All other stuff - floppy, sound, all filesystems, ppp... - is compiled as modules and managed by kerneld Thanks, Rich OK on 32meg PC my numbers for 2.0.36+patches are Memory: 31168k/32768k available (496k kernel code, 384k reserved, 720k data