Re: [gentoo-user] OT: Good NFS for laptop?
Hi folks, beeing tired of synchronizing configfiles, browser's bookmarks and several other folders between various boxes in my LAN I came up with the idea to store my homedirectory remotely on my fileserver (a quite powerful Debian Woody box, XFS filesystem, recent kernel). So far, so good. If I had only desktops in my LAN, this wouldn't be much of a problem, perhaps Sun's NFS would be the choice (easy to set up, security concerns are not that important in my private LAN), or Samba, as I have experience with both of those two filesystems. But having a laptop I do pretty much work on I need something that allows disconnected operation, that is: Caching the files accessed while network is unavailable and even having some files cached sticky, like .dotfiles and similar stuff. This is important so I can work with the laptop if I'm not at home. After reconnection to the server, things should be synchronized again. As it turns out, rsync is quite a useful tool for this, although it's obviously not a filesystem. In my ~/.bashrc: alias home-up=rsync -avz -e ssh --exclude downloads/ ~/ master:~/ alias home-down=rsync -avz -e ssh --delete --exclude downloads/ --exclude ogg/ music/ master:~/ ~/ I type 'home-down' when I'm taking my laptop away, and 'home-up' when I bring it back to sync with other things. I don't care to have a bunch of stuff cluttering up my laptop so I exclude a few directories when downloading. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] konquerror strange behaviour
On Wednesday 30 July 2003 03:26, Alberto Bert wrote: Hi all, I just re-configured the gentoo-network for a dinamic IP network. It was some time that I didn't emerge anything, so I checked what's new and I installed libsdtc++ gcc and glibc while installing glibc konquerror started to don't work, it cannot reach any host: An error occured while loading http://www.gentoo.org: Unknown host www.gentoo.org for any site. Note that mozilla is ok. Any one know what's happening? alb Check the proxy settings in both maybe? -- Tom Wesley pgp0.pgp Description: signature
Re: [gentoo-user] Anyone using syslog-ng..?
On Thu, 31 Jul 2003, Stroller wrote: I'm sure it's possible to have a default logrotate.d file for the default syslog-ng file. I have to say I'm not really clear why I need logrotate for syslog-ng, when I didn;t need it for sysklogd. sysklogd, I believe, has all the filenames for the log files hardcoded into it. (It's been a while since I've used it, so I could be misremembering.) And it has some helper programs, which list the files that are supposed to be rotated daily and weekly, and rotate the listed programs. The first rotation is always .0, and never compressed, the second is .1.gz and always compressed. You don't get much say in the matter. Which is why I prefer the more versatile but harder to configure option of syslog-ng and logrotate. -- And the earth becomes my throne, I adapt to the unknown Under wandering stars I've grown, by myself but not alone -- [EMAIL PROTECTED] mailing list
[gentoo-user] process refuses to die
Hi all, I just wanted to ask what to do if a process refuses to die. For example I want to kill dctc with a pid of 16371. So I type in kill 16371 and I can do this continually and the process refuses to die and still shows up in top. What can I do to kill it for real? Thx, Simon -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] process refuses to die
On Wednesday 30 July 2003 11:05 pm, Simon Mushi wrote: I just wanted to ask what to do if a process refuses to die. For example I want to kill dctc with a pid of 16371. So I type in kill 16371 and I can do this continually and the process refuses to die and still shows up in top. What can I do to kill it for real? kill signals the app or the kernel to do something. If you don't specify a signal, SIGTERM is the default. My suggestion is that the process you are trying to kill either does not obey a SIGTERM or is in conflict about what to do when receiving a SIGTERM. The following translates to: Tell the kernel to kill process 16371 with extreme prejudice. kill -9 16371 It is the kill of last resort. If this signal to the kernel does not work, I guess the next level would be a reboot. The only time I've seen this fail is when there were kernel problems. man term -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] process refuses to die
On Thu, 31 Jul 2003 03:05:58 + (DST) Simon Mushi [EMAIL PROTECTED] wrote: I just wanted to ask what to do if a process refuses to die. For example I want to kill dctc with a pid of 16371. So I type in kill 16371 and I can do this continually and the process refuses to die and still shows up in top. What can I do to kill it for real? Try a kill -9. The normal kill tries to play nice, but it doesn't always get the job done. If kill -9 doesn't do the trick, then you might need to reboot. For example when I have an nfs mount go sour or a usb drive's action get hung up then sometimes a kill -9 won't take care of it. At that point, I just reboot... maybe there's a better way, though. -- Shane Hickey [EMAIL PROTECTED]: Nerd http://www.nerddiary.org GPG KeyID: 777CBF3F Key fingerprint: 254F B2AC 9939 C715 278C DA95 4109 9F69 777C BF3F Listening to: Tom Waits - Fish Bird -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: Convert ext3 to reiserfs
On 30 Jul 2003 17:00:21 -0400 Paul K. Dickson [EMAIL PROTECTED] wrote: I run reiserfs on my laptop and have for over a year. I suspend every day, and on monday, my laptop is dead because I never plugged it in/used it. Thats every weekend this past year plus some. Monday morning I power up, every thing is peachy. Just for shits and giggles I ran reiserfsck on the fs from the gentoo cd. no problems found anywhere. Stick that in your pipe and smoke it mr. ext3 man;) I have to admit .. I'm very much a reiserfs puppy. I used to run a cvs/file/mail server for a game development company in south africa on a 60gig drive with reiserfs and I messed it up running reiserfsck on it while it was mounted .. dropped everything badly .. went onto reiser list .. grabed the latest recovery tools .. took a few hours to rebuild everything and lost nothing at all. I'm not going to switch to any other FS anytime soon -- Henti Smith [EMAIL PROTECTED] Senior Administrator The Computer-Smith Networking http://www.tcsn.co.za -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] process refuses to die
On Thu, Jul 31, 2003 at 03:05:58AM +, Simon Mushi wrote: Hi all, I just wanted to ask what to do if a process refuses to die. For example I want to kill dctc with a pid of 16371. So I type in kill 16371 and I can do this continually and the process refuses to die and still shows up in top. Try: $ kill -9 16371 That should kill it -- unless you don't have the right permissions. - PK What can I do to kill it for real? Thx, Simon -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] process refuses to die
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 31 Jul 2003 8:25 am, Shane Hickey wrote: On Thu, 31 Jul 2003 03:05:58 + (DST) Simon Mushi [EMAIL PROTECTED] wrote: I just wanted to ask what to do if a process refuses to die. For example I want to kill dctc with a pid of 16371. So I type in kill 16371 and I can do this continually and the process refuses to die and still shows up in top. What can I do to kill it for real? Try a kill -9. The normal kill tries to play nice, but it doesn't always get the job done. If kill -9 doesn't do the trick, then you might need to reboot. For example when I have an nfs mount go sour or a usb drive's action get hung up then sometimes a kill -9 won't take care of it. At that point, I just reboot... maybe there's a better way, though. kill -9 pid does normally work, if however it doesnt then the process is probably a zombie. In which case, do a pstree and kill the parent process. This extra step has fixed the problem for me on every occasion so far. - -- Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/KNsEzrmqzOOQUj8RAhAoAKCdym1jKQyolHo7OfnLnOHH5hhcYQCfcx48 nYkb0b2tloqBaA+Rq2bdeJs= =acu8 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] vi arrow keys
Hi, Anyone knows how to get the arrow keys to work in vi? If I'm in 'insert-mode' and I press '-' I get a screen refresh and I get back to command mode so I have to press 'i' to get back to insert mode. The arrow keys do the right thing in command mode, though. My old RH box allows the arrows keys to be used in insert mode, so iknow it can be done /A -- [EMAIL PROTECTED] mailing list
[gentoo-user] Network (kernel ?) problem : 'No buffer space available' error message.
Hello, I have recently installed xmule, which is great by the way. However, I get this error increasingly often 'no buffer space available', when, for example I try to ping a website or even the loopback interface. From whatever information I could gather from the Net, the error seems to be linked to my kernel. I think I need to allow the kernel to have more buffer space for network connections. But I have no clue as to where to do that ! Any help appreciated, Thanks in advance, Jonathan. -- Most people can't understand how others can blow their noses differently than they do. -- Turgenev pgp0.pgp Description: PGP signature
Re: [gentoo-user] vi arrow keys
Isn't that a feature of vim (a close relative of VI) ?? From: Anders Eriksson [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [gentoo-user] vi arrow keys Date: Thu, 31 Jul 2003 11:46:00 +0200 MIME-Version: 1.0 Received: from gentoo.org ([204.126.2.42]) by mc1-f8.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 31 Jul 2003 02:44:35 -0700 Received: (qmail 26653 invoked by uid 1002); 31 Jul 2003 09:44:24 - Received: (qmail 23698 invoked from network); 31 Jul 2003 09:44:24 - X-Message-Info: JGTYoYF78jEHjJx36Oi8+YDSEg8qKPPD Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Post: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] List-Id: Gentoo Linux mail gentoo-user.gentoo.org X-BeenThere: [EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Message-Id: [EMAIL PROTECTED] X-Mailer: exmh version 2.6.3_20030406 04/06/2003 with nmh-1.0.4 X-image-url: http://free.hostdepartment.com/aer/zorro.gif Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 31 Jul 2003 09:44:35.0658 (UTC) FILETIME=[5A0D2AA0:01C35748] Hi, Anyone knows how to get the arrow keys to work in vi? If I'm in 'insert-mode' and I press '-' I get a screen refresh and I get back to command mode so I have to press 'i' to get back to insert mode. The arrow keys do the right thing in command mode, though. My old RH box allows the arrows keys to be used in insert mode, so iknow it can be done /A -- [EMAIL PROTECTED] mailing list _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] vi arrow keys
Anders Eriksson wrote: Anyone knows how to get the arrow keys to work in vi? If I'm in 'insert-mode' and I press '-' I get a screen refresh and I get back to command mode so I have to press 'i' to get back to insert mode. The arrow keys do the right thing in command mode, though. My old RH box allows the arrows keys to be used in insert mode, so iknow it can be done Which vi do you have, and how are you running it (terminal / over ssh / gui / something else)? I had this problem when a terminal was sending the wrong key codes to Vim -- the solution for me was to change the keypad settings from Esc[n~ to Linux. Regards, -- Ciaran McCreesh mail: ciaranm*firedrop#org#uk -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] vi arrow keys
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Donnerstag, 31. Juli 2003 11:46, Anders Eriksson wrote: Hi, Anyone knows how to get the arrow keys to work in vi? Are u using a true vi? Or vim/elvis/nvi/...? Katl-Heinz - -- Karl-Heinz Zimmer, Senior Software Engineer, Klarälvdalens Datakonsult AB mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED] For every complex problem there is an answer that is clear, simple, and wrong. H. L. Mencken, 1880 - 1956 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/KPlMCcaVnbvggDcRAjAQAJ9PDFN43fXB8qj9xTozGhbBymtE1wCfbuRo nJcBrB/OvVoh697dxiq5+HY= =R0kd -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] how to szie an image so it fits on One sheet of paper (command line)
Hello, What I wanted to do was to scan a sheet of paper, and reproduce it on my printer, sort of a command-line copier. Since my printer is at 300 dpi, I thought it would be simple: scan the paper at 300 dpi, and enter: lpr scanned-paper. Hovever this gives the result of enlarging the image, so it now occupies 4 or 5 pages. So the question is, how do I estimate the resolution so that it will occupy only one page. or is there another commandline based solution? Thanks, Henk, -- [EMAIL PROTECTED] mailing list
[gentoo-user] Maildirs packing
Hi, my MTA is qmail, so every e-mail message is one file ... I have some thousends of e-mails in gentoo-user directory. If searching for something grep is still the best choice, but it's not very comfortable to follow the tread. So a tool, which makes from all messages in one thread one multipart message would be super... because a lot of space on disk will be saved as well (one average message occupy less then 1/2 of block). Does anyone know about such tool ? Thanks, noro -- [EMAIL PROTECTED] mailing list
[gentoo-user] Can anyone tell me what's going wrong with this emerge sync?
emerge sync ... snip ... x11-wm/fvwm/ChangeLog 2904 100%0.00kB/s0:00:00 x11-wm/fvwm/Manifest 847 100%0.00kB/s0:00:00 x11-wm/fvwm/fvwm-2.5.7.ebuild 2750 100%0.00kB/s0:00:00 readlink dev-perl/HTML-Masan: No such file or directory readlink dev-perl/Stor: No such file or directory rsync[1465] (receiver) heap statistics: arena:7860728 (bytes from sbrk) ordblks: 760 (chunks not in use) smblks: 2 hblks: 1 (chunks from mmap) hblkhd:258048 (bytes from mmap) usmblks:0 fsmblks: 40 uordblks: 6970376 (bytes used) fordblks: 890352 (bytes free) keepcost: 68280 (bytes in releasable chunk) Number of files: 55721 Number of files transferred: 62 Total file size: 43521922 bytes Total transferred file size: 83654 bytes Literal data: 34694 bytes Matched data: 48960 bytes File list size: 1326344 Total bytes written: 1990 Total bytes read: 1345794 wrote 1990 bytes read 1345794 bytes 62687.63 bytes/sec total size is 43521922 speedup is 32.29 rsync error: some files could not be transferred (code 23) at main.c(1045) Starting retry 1 of 3 Killed -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Clarifying meaning of x86 and ~x86
begin quote On Thu, 31 Jul 2003 14:06:00 +1000 Jonathan Kelly [EMAIL PROTECTED] wrote: Yeah, of course. But I have to make a judgement about whether to do whatemerge -pu world is telling me. Yep, you always have to in fact. (No, I never use emerge -u world. Ever.) as far as I am aware gimp-print should be ok, but on the other hand, I do not own any printer so its darn difficult to even test. But, the builds haven't broken at least... //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end pgp0.pgp Description: PGP signature
Re: [gentoo-user] vi arrow keys
It turned out I was indeed using vi (and not vim, as I was in the RH box). emerging vim now, and we'll see what happens... Thanks for the pointer... /A -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] CoreUtils - Emerge Problem
begin quote On Wed, 30 Jul 2003 18:53:58 -0600 collins [EMAIL PROTECTED] wrote: I've never encountered this, but this situation comes up all the time. sanbox+coreutils or sanbox breakage? Two different things. What is the real problem, and why can't it be fixed permanently? Had you checked bug 21766 as mentioned earlier in the thread, You'd have seen this: quote To fix, I added the posix implementation of getcwd() (from glibc cvs) that do not need the system call. We use the default getcwd() function via a wrapper (egetcwd), and then lstat the returned path. /quote The bug is in sandbox in combination to glibc' implementation of getcwd. //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end pgp0.pgp Description: PGP signature
Re: [gentoo-user] winex dont run
i dont need notepad i wanna run diablo 2 game... but i get it work i get source from cvs tree and compile it and its work fine =) thanks - Original Message - From: collins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 9:20 PM Subject: Re: [gentoo-user] winex dont run Dhruba Bandopadhyay wrote: Fellipe Weno wrote: All I merged winex and install him with success, but if i try run any app with and using the winex it doesnt works for example: notepad :O Why, oh why, are you lusting after notepad on Linux? If it's only notepad you lust after, google for tknotepad (a simple tk/tcl clone of notepad). I love it. -- Collins -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] preventing users from escaping their home dirs
Hi all, some users on my server have SSH access to the machine, but I don't want them to be able to leave their home directories (ee. /home/userXYZ). What is the best way to implement this, does anybody know? Greetings and TIA, Matthias -- Matthias F. Brandstetter [mailto:[EMAIL PROTECTED] now playing Groove Salad: a nicely chilled plate of ambient beats and grooves. [SomaFM] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: Good NFS for laptop?
This sounds like a job for CODA, but people may say that's overkill. I haven't yet used it myself but I should definitely do some exploring I think. Barry MacMahon Develops Web applications for Chiltern International at Head Office, Slough, UK Tel: +44 1753 216674 Ext: 274 donnie berkholz [EMAIL PROTECTED]To: [EMAIL PROTECTED] .orgcc: Subject: Re: [gentoo-user] OT: Good NFS for laptop? 31-07-2003 07:23 Please respond to gentoo-user Hi folks, beeing tired of synchronizing configfiles, browser's bookmarks and several other folders between various boxes in my LAN I came up with the idea to store my homedirectory remotely on my fileserver (a quite powerful Debian Woody box, XFS filesystem, recent kernel). So far, so good. If I had only desktops in my LAN, this wouldn't be much of a problem, perhaps Sun's NFS would be the choice (easy to set up, security concerns are not that important in my private LAN), or Samba, as I have experience with both of those two filesystems. But having a laptop I do pretty much work on I need something that allows disconnected operation, that is: Caching the files accessed while network is unavailable and even having some files cached sticky, like .dotfiles and similar stuff. This is important so I can work with the laptop if I'm not at home. After reconnection to the server, things should be synchronized again. As it turns out, rsync is quite a useful tool for this, although it's obviously not a filesystem. In my ~/.bashrc: alias home-up=rsync -avz -e ssh --exclude downloads/ ~/ master:~/ alias home-down=rsync -avz -e ssh --delete --exclude downloads/ --exclude ogg/ music/ master:~/ ~/ I type 'home-down' when I'm taking my laptop away, and 'home-up' when I bring it back to sync with other things. I don't care to have a bunch of stuff cluttering up my laptop so I exclude a few directories when downloading. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] vi arrow keys
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Donnerstag, 31. Juli 2003 13:53, Anders Eriksson wrote: It turned out I was indeed using vi (and not vim, as I was in the RH box). strange. Where did you get the vi from? I thought the vi is a commercial product and not freely available... (but I might be wrong, of course) Karl-Heinz - -- Karl-Heinz Zimmer, Senior Software Engineer, Klarälvdalens Datakonsult AB mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED] For every complex problem there is an answer that is clear, simple, and wrong. H. L. Mencken, 1880 - 1956 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/KROuCcaVnbvggDcRAtoXAKCtnoH5c1x0BfmP2qjzCAT7KamyIwCg+pqm 9vV6/CdfdQUtdlrGr1Rqwgg= =rF7Y -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] vi arrow keys
[EMAIL PROTECTED] said: strange. Where did you get the vi from? I thought the vi is a commercial product and not freely available... /usr/portage/app-editors/vi emerge unmerge vi emerge vim did the trick. vim includes a /usr/bin/vi - vim symlink. How would emerge react if I hadn't unmerged vi first? /A -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: Good NFS for laptop?
I don't know about any good network file systems other than the few you have listed, but, have you considered that this kind of functionality isn't really what the nfs should be doing? Usually, this stuff relies on a set of tools that use nfs as a transport method. My only suggestion would be to use automount, which will auto unmount should the detination become unavailable, then run something that will occationally check for the sync destination to exist, and run a sync at a time interval you specify, on laptop resume, etc etc. I've attached a script that I wrote to check for the presence of my PDA on the usb port. Perhaps you can modify it to fit your needs. Cron it, whatever. It does, if I remember correctly, loop every 5 sec, so that will most likely need to be adjusted. If you come up with any solutions, I'd be pleased to hear:) I currently just backup my laptop by tar.gzing the home folder once every couple weeks, but I'd like to have it automated every time I plug in;) Paul K. Dickson On Wed, 2003-07-30 at 22:19, Jens Mayer wrote: Hi folks, beeing tired of synchronizing configfiles, browser's bookmarks and several other folders between various boxes in my LAN I came up with the idea to store my homedirectory remotely on my fileserver (a quite powerful Debian Woody box, XFS filesystem, recent kernel). So far, so good. If I had only desktops in my LAN, this wouldn't be much of a problem, perhaps Sun's NFS would be the choice (easy to set up, security concerns are not that important in my private LAN), or Samba, as I have experience with both of those two filesystems. But having a laptop I do pretty much work on I need something that allows disconnected operation, that is: Caching the files accessed while network is unavailable and even having some files cached sticky, like .dotfiles and similar stuff. This is important so I can work with the laptop if I'm not at home. After reconnection to the server, things should be synchronized again. Filesystems that come in mind to offer that functionality are Coda[1] and Intermezzo[2]. All in all they seem to be pretty experimental, maybe Coda a bit less than Intermezzo. I'm not really sure how intensely these FS are developed: Intermezzo's last News entry on the homepage is dated over a year ago. Some folks on usenet say Coda is kinda dead since the developers itself think it's overloaded with features. OpenAFS[3] seems to have some sort of disconnected operation feature in it's TODO-list[4], but I haven't found much about this. I don't want to start a flamewar about NFS, AFS or other network filesystems. If anyone here has some experience with Coda or Intermezzo (or another NFS that could suit my needs), I'd like to hear. Bad news and good news. Mainly, there are two Gentoo Linux Clients I want to serve. I also have some SGI Indigos running IRIX and one NeXTstation running OpenSTEP, but I do not expect them to run any actual NFS. TIA, Jens Footnotes: -- [1] http://www.coda.cs.cmu.edu/ [2] http://www.inter-mezzo.org/ [3] http://www.openafs.org/ [4] http://www.openafs.org/frameless/projects.html #!/bin/bash # Test for PDA's presense and launch gpilotd if PDA exists. Repeat every 5 sec. # don't relaunch or kill gpilotd, untill the pda has disconnected/stoped syncing. # *NOTE* this script requires 'pgrep' to function correctly. usbdev=/dev/usb/tts/1 keepgoing=1 while [ $keepgoing -gt 0 ] #keep the script going like a deamon baby! do pilotdrun=`pgrep gpilotd`# get gpilotd proc ID if running if [ -z $pilotdrun ] # check if gpilotd isn't running, else, kill it. then filler=1 else killall gpilotd fi sleep 5 # cause script to wait 5 sec before checking for the USB device. if [ -e $usbdev ]# does the palm exist then palmsyncing=1# set the palm syncing status to 'true/yes/on/1' gnome-terminal -x gpilotd#palm did exist, sync up in a separate window for status baby! while [ $palmsyncing -gt 0 ]#keep loop active until palm doesn't exist so gpilotd won't be killed. do if [ -e $usbdev ]#test to see if palm exists/is done syncing then sleep 1 else palmsyncing=0 # USB palm device test failed, syncing must be done, set status to 0 # to exit status loop fi done fi done exit -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: Good NFS for laptop?
Or hell, just schedule an rsync push/pull based on time intervals and system events. forget the whole nfs deal. On Thu, 2003-07-31 at 09:06, Paul K. Dickson wrote: I don't know about any good network file systems other than the few you have listed, but, have you considered that this kind of functionality isn't really what the nfs should be doing? Usually, this stuff relies on a set of tools that use nfs as a transport method. My only suggestion would be to use automount, which will auto unmount should the detination become unavailable, then run something that will occationally check for the sync destination to exist, and run a sync at a time interval you specify, on laptop resume, etc etc. I've attached a script that I wrote to check for the presence of my PDA on the usb port. Perhaps you can modify it to fit your needs. Cron it, whatever. It does, if I remember correctly, loop every 5 sec, so that will most likely need to be adjusted. If you come up with any solutions, I'd be pleased to hear:) I currently just backup my laptop by tar.gzing the home folder once every couple weeks, but I'd like to have it automated every time I plug in;) Paul K. Dickson On Wed, 2003-07-30 at 22:19, Jens Mayer wrote: Hi folks, beeing tired of synchronizing configfiles, browser's bookmarks and several other folders between various boxes in my LAN I came up with the idea to store my homedirectory remotely on my fileserver (a quite powerful Debian Woody box, XFS filesystem, recent kernel). So far, so good. If I had only desktops in my LAN, this wouldn't be much of a problem, perhaps Sun's NFS would be the choice (easy to set up, security concerns are not that important in my private LAN), or Samba, as I have experience with both of those two filesystems. But having a laptop I do pretty much work on I need something that allows disconnected operation, that is: Caching the files accessed while network is unavailable and even having some files cached sticky, like .dotfiles and similar stuff. This is important so I can work with the laptop if I'm not at home. After reconnection to the server, things should be synchronized again. Filesystems that come in mind to offer that functionality are Coda[1] and Intermezzo[2]. All in all they seem to be pretty experimental, maybe Coda a bit less than Intermezzo. I'm not really sure how intensely these FS are developed: Intermezzo's last News entry on the homepage is dated over a year ago. Some folks on usenet say Coda is kinda dead since the developers itself think it's overloaded with features. OpenAFS[3] seems to have some sort of disconnected operation feature in it's TODO-list[4], but I haven't found much about this. I don't want to start a flamewar about NFS, AFS or other network filesystems. If anyone here has some experience with Coda or Intermezzo (or another NFS that could suit my needs), I'd like to hear. Bad news and good news. Mainly, there are two Gentoo Linux Clients I want to serve. I also have some SGI Indigos running IRIX and one NeXTstation running OpenSTEP, but I do not expect them to run any actual NFS. TIA, Jens Footnotes: -- [1] http://www.coda.cs.cmu.edu/ [2] http://www.inter-mezzo.org/ [3] http://www.openafs.org/ [4] http://www.openafs.org/frameless/projects.html __ -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How to unmask gcc 3.3?
On Thu, 31 Jul 2003 14:45:08 +1000, Jonathan Kelly wrote: On Wed, 30 Jul 2003 17:26:49 +0200 Christian Aust [EMAIL PROTECTED] wrote: package.unmask only works for packages masked in /usr/portage/profiles/package.mask, not for ~arch masking. Actually, I think you've got this the wrong way around. No, he does not. I'm pretty sure from my testing it only unmasks ~x86 masking. Not at all. I can't get gcc-3.3 to unmask using /etc/portage/package.mask and it's masked in /etc/make.profile/packages. First off, gcc-3.3 is not masked in /etc/make.profile/packages, maybe you want to read the comments in that file to understand how it works? Also how do you *unmask* packages with *package.mask*? I *CAN* unmask gimp-1.3.17 using /etc/portage/package.mask and it ISN'T masked in /etc/make.profile/packages. Of course it's not there, please see above. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: Good NFS for laptop?
Filesystems that come in mind to offer that functionality are Coda[1] and Intermezzo[2]. Last time I tried Intermezzo (maybe 6 months ago or so), it wasn't working. The kernel didn't recognize the required filesystem type or something. Other users reported it being pretty buggy as well. Wes -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: Good NFS for laptop?
On 31 Jul 2003 at 9:20, Paul K. Dickson wrote: Or hell, just schedule an rsync push/pull based on time intervals and system events. forget the whole nfs deal. How about using unison ? I use it to sync my home dirs on my desktop and laptop and so far it's serving the purpose :) -- [EMAIL PROTECTED] mailing list
[gentoo-user] updating KDE - what will happen?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, probably in the near future there will be KDE 3.1.3 available for normal Gentoo users, right? I'm just curious: what will happen when I then call an emerge kde? Will all old settings be preserved, the old KDE sources+binaries be overwritten by the new KDE and the system be as stable as before? Or would it be better to use konstruct and get my new KDE source tree in a separate directory in ~? Karl-Heinz -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/KSElCcaVnbvggDcRArwjAJ9XzC6BE21VDTuZCC7I+W/y5SgHdgCg4Iuw eJ0BFIeWYZ7ltm0beqEydYs= =Fx5V -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: Good NFS for laptop?
You rule:) On Thu, 2003-07-31 at 09:55, R'twick Niceorgaw wrote: On 31 Jul 2003 at 9:20, Paul K. Dickson wrote: Or hell, just schedule an rsync push/pull based on time intervals and system events. forget the whole nfs deal. How about using unison ? I use it to sync my home dirs on my desktop and laptop and so far it's serving the purpose :) -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How to unmask gcc 3.3?
That's because gcc-3.3 does not have ~x86 in it's KEYWORDS in the ebuild. Check out where it says KEYWORDS=-* in there. That's what's wrong. On Wed, 2003-07-30 at 23:45, Jonathan Kelly wrote: On Wed, 30 Jul 2003 17:26:49 +0200 Christian Aust [EMAIL PROTECTED] wrote: Dhruba Bandopadhyay [EMAIL PROTECTED] wrote on Wed, 30 Jul 2003 16:14:29 +0100: In /etc/portage/package.unmask I have added: =sys-devel/gcc-3.3 However, gcc 3.3 is still masked. How to unmask it? *sigh* masking really seems to be an all-time-classic: Please see bug #25041, from where I've quoted this: package.unmask only works for packages masked in /usr/portage/profiles/package.mask, not for ~arch masking. Actually, I think you've got this the wrong way around. I'm pretty sure from my testing it only unmasks ~x86 masking. I can't get gcc-3.3 to unmask using /etc/portage/package.mask and it's masked in /etc/make.profile/packages. I *CAN* unmask gimp-1.3.17 using /etc/portage/package.mask and it ISN'T masked in /etc/make.profile/packages. Cheers. Jonathan. I'd really like to see the portage guys fix this odd behaviour. Best regards, - Christian -- Christian Aust mailto:[EMAIL PROTECTED] icq: 84500990 - Yahoo!: datenimperator - MSN: datenimperator PGP: A073 F9CD 2F23 25D2 EB95 E7A3 B9B4 2AF3 E103 DB5A -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] updating KDE - what will happen?
On Thursday 31 Jul 2003 15:01, Karl-Heinz Zimmer wrote: probably in the near future there will be KDE 3.1.3 available for normal Gentoo users, right? I'm just curious: what will happen when I then call an emerge kde? Will all old settings be preserved, the old KDE sources+binaries be overwritten by the new KDE and the system be as stable as before? Going on past experience, the new one will be installed in /usr/kde/3.1.3 and the current one will coexist. Don't worry about your personal settings - they will be preserved. Peter -- == Gentoo Linux: Gentoo Base System version 1.4.3.9 kernel-2.4.22_pre2-gss i686 AMD Athlon(tm) XP 1600+ == -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] updating KDE - what will happen?
Peter Ruskin wrote: On Thursday 31 Jul 2003 15:01, Karl-Heinz Zimmer wrote: probably in the near future there will be KDE 3.1.3 available for normal Gentoo users, right? I'm just curious: what will happen when I then call an emerge kde? Will all old settings be preserved, the old KDE sources+binaries be overwritten by the new KDE and the system be as stable as before? Going on past experience, the new one will be installed in /usr/kde/3.1.3 and the current one will coexist. Don't worry about your personal settings - they will be preserved. Peter All Versions of KDE 3.1 should be in /usr/kde/3.1. As these are mostly bigfixes it doesn't make any sense to have 3.1.2 and 3.1.3. The configs will normally not be changed by this update. The only problem I had was losing my saved session (I think the update form rc6 to 3.1). Christian -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] vi arrow keys
On Thursday 31 July 2003 08:03, Karl-Heinz Zimmer wrote: On Donnerstag, 31. Juli 2003 13:53, Anders Eriksson wrote: It turned out I was indeed using vi (and not vim, as I was in the RH box). strange. Where did you get the vi from? I thought the vi is a commercial product and not freely available... (but I might be wrong, of course) It was probably nvi. IIRC I think nvi is more true to the original vi. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Alsa stopped working...
Guys, For some reason, alsa sound stopped working. Xmms produces no sound output. Xawtv and mpg123 are working fine. Last night I was fiddling around with Mythtv, but I can't remember to have changed anything which could affect alsa. I re-emerged alsa-driver and alsa-xmms, but to no avail... Restarting alsasound seems to give some problems: bash-2.05b# /etc/init.d/alsasound restart * ALSA driver is already running. bash-2.05b# /etc/init.d/alsasound stop * ERROR: alsasound has not yet been started. bash-2.05b# /etc/init.d/alsasound start * ALSA driver is already running. lsmod shows: Module Size Used byNot tainted snd-pcm-oss39652 0 (autoclean) snd-mixer-oss 13752 0 (autoclean) [snd-pcm-oss] i2c-dev 4772 0 (unused) tuner 10144 1 (autoclean) tvaudio12892 0 (autoclean) (unused) msp340017036 1 (autoclean) bttv 69888 1 i2c-algo-bit8360 1 [bttv] radeon104392 2 agpgart14772 3 (autoclean) i2c-proc7472 0 i2c-core 16232 0 [i2c-dev tuner tvaudio msp3400 bttv i2c-algo-bit i2c-proc] snd-cs46xx 72252 1 snd-rawmidi15712 0 [snd-cs46xx] snd-seq-device 4420 0 [snd-rawmidi] snd-ac97-codec 42232 0 [snd-cs46xx] snd-pcm68512 0 [snd-pcm-oss snd-cs46xx] snd-page-alloc 7060 0 [snd-cs46xx snd-pcm] snd-timer 16900 0 [snd-pcm] snd34756 1 [snd-pcm-oss snd-mixer-oss snd-cs46xx snd-rawmidi snd-seq-device snd-ac97-codec snd-pcm snd-timer] soundcore 4580 6 [bttv snd] Relevant cat /proc/pci: Bus 0, device 9, function 0: Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 1). IRQ 5. Master Capable. Latency=32. Min Gnt=4.Max Lat=24. Non-prefetchable 32 bit memory at 0xef101000 [0xef101fff]. Non-prefetchable 32 bit memory at 0xef00 [0xef0f]. What could be the problem here ? Thanks Dick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] preventing users from escaping their home dirs
On Thursday 31 July 2003 09:21, R'twick Niceorgaw wrote: On 31 Jul 2003 at 14:51, Matthias F. Brandstetter wrote: Hi all, some users on my server have SSH access to the machine, but I don't want them to be able to leave their home directories (ee. /home/userXYZ). What is the best way to implement this, does anybody know? Greetings and TIA, Matthias chroot ssh ? As far as I know chrooting a user in their home directory would not be a good thing under normal systems. If a user is chrooted to their home directory, they will not be able to use their shell, ls or any other command because they would be outside the chroot environment. The way around this (I think?) would be to copy all the commands and needed libraries for the commands somewhere under /home (i.e. /home/chroot/bin and /home/chroot/lib), then create the directories ./bin and ./lib under each users home directory, next make hardlinks for each command and library from /home/chroot/bin and /home/chroot/lib to to each users ./bin and ./lib directories, and finally set the ownership to root.root and permissions to 0755 for each hardlink. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] preventing users from escaping their home dirs
some users on my server have SSH access to the machine, but I don't want them to be able to leave their home directories (ee. /home/userXYZ). What is the best way to implement this, does anybody know? Greetings and TIA, Matthias # adduser luser # ln -s /bin/bash /bin/rbash # echo /bin/rbash /etc/shells # chsh -s /bin/rbash luser # cd ~luser # su luser $ and then: $ cd / rbash: cd: restricted Does that accomplish what you are looking for? Christopher Fisk -- Bender: Is he dumb or just ugly? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Alsa stopped working...
On Thu, 31 Jul 2003, D.J. Bolderman wrote: bash-2.05b# /etc/init.d/alsasound restart * ALSA driver is already running. bash-2.05b# /etc/init.d/alsasound stop * ERROR: alsasound has not yet been started. bash-2.05b# /etc/init.d/alsasound start * ALSA driver is already running. I am not sure what is causing your problems, but you can do a /etc/init.d/alsasound zap to clear the above situation. John -- [EMAIL PROTECTED] mailing list
[gentoo-user] make.conf -j?
If I have hyper threading enable and I am showing 4 processors (2 actual) when I cat /proc/cpuinfo can I set the make.conf variable to -j5 rather then -j3? -j3 is because I have dual 3.0ghz processors and the way I understand it is I can modify this to # of processors plus 1. -- Bobby R. Cox Linux Systems Administrator Project Mutual Telephone [EMAIL PROTECTED] 208.434.7185 The mosquito exists to keep the mighty humble. -- [EMAIL PROTECTED] mailing list
[gentoo-user] make.conf -j?
If I have hyper threading enable and I am showing 4 processors (2 actual) when I cat /proc/cpuinfo can I set the make.conf variable to -j5 rather then -j3? -j3 is because I have dual 3.0ghz processors and the way I understand it is I can modify this to # of processors plus 1. -- Bobby R. Cox Linux Systems Administrator Project Mutual Telephone [EMAIL PROTECTED] 208.434.7185 The mosquito exists to keep the mighty humble. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] make.conf -j?
Bobby R. Cox wrote: If I have hyper threading enable and I am showing 4 processors (2 actual) when I cat /proc/cpuinfo can I set the make.conf variable to -j5 rather then -j3? -j3 is because I have dual 3.0ghz processors and the way I understand it is I can modify this to # of processors plus 1. It's the number of 'virtual CPUs' you have, not the number of physical CPUs, so go for -j5. Regards, -- Ciaran McCreesh mail: ciaranm*firedrop#org#uk -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] preventing users from escaping their home dirs
some users on my server have SSH access to the machine, but I don't want them to be able to leave their home directories (ee. /home/userXYZ). What is the best way to implement this, does anybody know? Greetings and TIA, Matthias # adduser luser # ln -s /bin/bash /bin/rbash # echo /bin/rbash /etc/shells # chsh -s /bin/rbash luser # cd ~luser # su luser $ and then: $ cd / rbash: cd: restricted Does that accomplish what you are looking for? Although I don't have a better idea, I don't think that's what he's looking for since luser won't be able to navigate through his/her home-directory at all (according to bash's man-page, search for rbash). Patrick Börjesson -- Public key id: 4C5AB0BF Public key available at search.keyserver.net[:11371] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] preventing users from escaping their home dirs
Ok, everyone. ext[23] has POSIX ACL support. Why not ACL some group out of any dir off of / they don't need, and only give them execute on /bin, /usr, /usr/bin, etc etc. Or something to that effect. ACLs are great for all kinds of mischief, but they can be difficult to maintain if you don't design things well before you start changing things. Also, you might want to make sure either tar, cpio, or whatever other backup tool support these things. I don't know if ACLs are currently supported through some sort of EAs or what. Just a thought. On Thu, 2003-07-31 at 11:24, Patrick Brjesson wrote: some users on my server have SSH access to the machine, but I don't want them to be able to leave their home directories (ee. /home/userXYZ). What is the best way to implement this, does anybody know? Greetings and TIA, Matthias # adduser luser # ln -s /bin/bash /bin/rbash # echo /bin/rbash /etc/shells # chsh -s /bin/rbash luser # cd ~luser # su luser $ and then: $ cd / rbash: cd: restricted Does that accomplish what you are looking for? Although I don't have a better idea, I don't think that's what he's looking for since luser won't be able to navigate through his/her home-directory at all (according to bash's man-page, search for rbash). Patrick Brjesson -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] preventing users from escaping their home dirs
On Thu, 31 Jul 2003, Patrick [ISO-8859-1] Börjesson wrote: Does that accomplish what you are looking for? Although I don't have a better idea, I don't think that's what he's looking for since luser won't be able to navigate through his/her home-directory at all (according to bash's man-page, search for rbash). In that case chrsh might be what he is looking for. He will have to copy things like ls, bash, ps, etc into the chroot area, but that would restrict him down pretty good as well. http://www.aarongifford.com/computers/chrsh.html Was developed under FreeBSD, but I've got it working on Gentoo right now on my home machine that I gave someone a completely separate chroot'd area to work in. Christopher Fisk -- Homer: Well, the evening began at the Gentleman's Club, where we were discussing Wittgenstein over a game of backgammon. Scully: Mr. Simpson, it's a felony to lie to the FBI. Homer: We were sitting in Barney's car eating packets of mustard. Ya happy? The Springfield Files -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Good code editor (with colors) for X (no GTK orQT)
Steven [EMAIL PROTECTED] writes: It's to anyone's advantage to learn both emacs and vi. 1) As mentioned, vi is on everything *n?x. If ever in a bind, vi will be there. Except when you install Gentoo :-) -- Hilsen Harald. -- [EMAIL PROTECTED] mailing list
[gentoo-user] List of all emerged packages
Hi all, I've been playing for a few days on my new gentoo box, and have been unable to find a way to list all packages that have been emerged. In /var/cache/ebd/world is a list, but only of packages I explicitly emerged, without all dependencies that emerge automatically placed on my system. Is there some other way? Thanks, -- Javier Gostling D. [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] preventing users from escaping their home dirs
-- quoting Matthias F. Brandstetter -- Hi all, some users on my server have SSH access to the machine, but I don't want them to be able to leave their home directories (ee. /home/userXYZ). What is the best way to implement this, does anybody know? Greetings and TIA, Matthias Ok, thanks for all your input. I already found this solution with rbash (or bash -r). If I copy important stuff like ls etc. to home dirs, then users are able to use them as well. Thanks again and greetings, Matthias -- Matthias F. Brandstetter [mailto:[EMAIL PROTECTED] now playing Groove Salad: a nicely chilled plate of ambient beats and grooves. [SomaFM] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] List of all emerged packages
On Thu, Jul 31, 2003 at 01:20:38PM -0400, Javier Gostling wrote: Hi all, I've been playing for a few days on my new gentoo box, and have been unable to find a way to list all packages that have been emerged. In /var/cache/ebd/world is a list, but only of packages I explicitly emerged, without all dependencies that emerge automatically placed on my system. Is there some other way? If it's not emerged already emerge gentoolkit, then use qpkg for this. I believe it's something like qpkg -I alan -- Alan [EMAIL PROTECTED] - http://arcterex.net There are only 3 real sports: bull-fighting, car racing and mountain climbing. All the others are mere games.-- Hemingway -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] List of all emerged packages
Javier Gostling [EMAIL PROTECTED] wrote: (07/31/2003 10:20) Hi all, I've been playing for a few days on my new gentoo box, and have been unable to find a way to list all packages that have been emerged. In /var/cache/ebd/world is a list, but only of packages I explicitly emerged, without all dependencies that emerge automatically placed on my system. Is there some other way? emerge -pD --emptytree world Fred Van Andel [EMAIL PROTECTED] GPG KeyID: 76526AD599455482 GPG fingerprint: 64E4 4BAB 9C99 D565 3E3C F5D0 7652 6AD5 9945 5482 -- [EMAIL PROTECTED] mailing list
[gentoo-user] new install
hello, i just insatlled gentoo, and i want to browse the net; i know i'm online ,cos i can ping stuff, but i cant seem to download or browse any site or web page, it does not seen to have any browser. does it have a broswer so i can download the GUI, and X thx _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] new install
if your in a console, using links or lynx, see that your proxy is set export http_proxy=proxy.myisp.com do the same in mozilla etc On Thu, 2003-07-31 at 19:39, Fiifi Markin wrote: hello, i just insatlled gentoo, and i want to browse the net; i know i'm online ,cos i can ping stuff, but i cant seem to download or browse any site or web page, it does not seen to have any browser. does it have a broswer so i can download the GUI, and X thx _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- [EMAIL PROTECTED] mailing list -- .:|:. Linux! May the Open Source be with you! |o o| http://www.menteb.org /. V .\ |/| |\| \W W/ DON'T PANIC! GnuPG key http://www.menteb.org/bram.gpg Key ID: 2F307829 @ http://pgp.mit.edu/ Fingerprint CAE0 F924 9590 4D99 7EB5 0A12 D0C7 63C2 2F30 7829 -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] new install
Check this out: http://www.gentoo.org/doc/en/desktop.xml .. .. ian... .. www.ianneubert.com -Original Message- From: Fiifi Markin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 10:39 AM To: [EMAIL PROTECTED] Subject: [gentoo-user] new install hello, i just insatlled gentoo, and i want to browse the net; i know i'm online ,cos i can ping stuff, but i cant seem to download or browse any site or web page, it does not seen to have any browser. does it have a broswer so i can download the GUI, and X thx _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] List of all emerged packages
On Thursday 31 July 2003 17:20, Javier Gostling wrote: Hi all, I've been playing for a few days on my new gentoo box, and have been unable to find a way to list all packages that have been emerged. In /var/cache/ebd/world is a list, but only of packages I explicitly emerged, without all dependencies that emerge automatically placed on my system. Is there some other way? According to Alan, `qpkg -I' would do the trick, but you may want to use `find /var/db/pkg -mindepth 2 -maxdepth 2', which is much faster. -- No excellent soul is exempt from a mixture of madness. -- Aristotle -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] List of all emerged packages
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 31 July 2003 12:20, Javier Gostling wrote: Hi all, I've been playing for a few days on my new gentoo box, and have been unable to find a way to list all packages that have been emerged. In /var/cache/ebd/world is a list, but only of packages I explicitly emerged, without all dependencies that emerge automatically placed on my system. Is there some other way? Thanks, And another... for i in `ls -d /var/db/pkg/*/*` ; do basename ${i} ; done -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/KVsYXVaO67S1rtsRAp2oAKCmWTaMqZiQgixiJL/BXkFETbPQxgCgudpn 2GRpzdWsgldw6ju1VCv3PYw= =3VHF -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] livecd consolefont and splash image
Alberto. wrote: Hi everyone, I would like to set the same consolefont of the livecd (I like it very much ;-) ). Someone of you knows how to do it ? There's a way, also, to set a splash image ? Thanks in advance, Albe'. P.S.: I'm a newbie, so, let me understand what you could say ;-) --- My father, He was a union man very proud and out-spoken They came, and took him, when I was young I will fight, 'till his work is done (Steve Van Zandt, aka Little Steven, Bitter Fruit) --- -- [EMAIL PROTECTED] mailing list http://forums.gentoo.org/viewtopic.php?t=49036 -- [EMAIL PROTECTED] mailing list
[gentoo-user] NFS problems
Hey guys, Minor problem. I rum showmount on a system (we'll call fanny) showmount fanny --exports Export list for fanny: /vol/data/home (everyone) /vol/vol0/vintro topaz Now I would assume the (everyone) means what it says, everyone can access it. However when I do: mount fanny:/vol/data/home /mnt/home I get: mount: RPC: Authentication error; why = Client credential too weak Are there settings that might be misconfigured or something that I need to change anywhere? -- Christopher In 1968 it took the computing power of 2 C-64's to fly a rocket to the moon. Now, in 1998 it takes the Power of a Pentium 200 to run Microsoft Windows 95. Something must have gone wrong. signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Good code editor (with colors) for X (no GTK or QT)
On Thursday 31 July 2003 09:58, Harald Arnesen wrote: Steven [EMAIL PROTECTED] writes: It's to anyone's advantage to learn both emacs and vi. 1) As mentioned, vi is on everything *n?x. If ever in a bind, vi will be there. Except when you install Gentoo :-) Oh yeah that's right I forgot! LOL. That was a bit odd the first time I installed Gentoo! I totally understand though. I think the *n?x world would have been a much nicer place if nano had been available as widely as vi. I can't tell you how many people have used vi to exemplify the user-hostility of command line *n?x! Still, the power of vi[m] / emacs indeed merits appreciation. Steven -- Know your neighbor. Discover independent media: http://www.thislife.org/ - This American Life - documenting everyday life in the US. http://www.humanmedia.org/ - Promoting compassion, service, generosity and equality. http://www.worldlinktv.org/ - a global perspective on news, current events and culture -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Good code editor (with colors) for X (no GTK or QT)
Nathaniel McCallum [EMAIL PROTECTED] wrote: (07/21/2003 15:33) Anyone know of a good code editor for X that doesn't use GTK or QT? I would like something that displays colors (like for variables, etc). I also don't want to use vi or any deritive or any console based editor. Any thoughts? You might want to consider fte. They have a version for X (xfte), text mode (sfte) and for a virtual console (vfte) Fred Van Andel [EMAIL PROTECTED] GPG KeyID: 76526AD599455482 GPG fingerprint: 64E4 4BAB 9C99 D565 3E3C F5D0 7652 6AD5 9945 5482 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] new install
i already tried lynx and links, they r both not present The days of life, the days of death; the days that come and the days that go; the days r the same as u must know; however the day goes, is that which u chose From: R'twick Niceorgaw [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] new install Date: Thu, 31 Jul 2003 13:51:23 -0400 On 31 Jul 2003 at 17:39, Fiifi Markin wrote: hello, i just insatlled gentoo, and i want to browse the net; i know i'm online ,cos i can ping stuff, but i cant seem to download or browse any site or web page, it does not seen to have any browser. does it have a broswer so i can download the GUI, and X thx lynx ? links ? -- [EMAIL PROTECTED] mailing list _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: Good NFS for laptop?
Hi donnie, Am Donnerstag, 31. Juli 2003 08:23 schrieb donnie berkholz: [...] As it turns out, rsync is quite a useful tool for this, although it's obviously not a filesystem. In my ~/.bashrc: alias home-up=rsync -avz -e ssh --exclude downloads/ ~/ master:~/ alias home-down=rsync -avz -e ssh --delete --exclude downloads/ --exclude ogg/ music/ master:~/ ~/ I type 'home-down' when I'm taking my laptop away, and 'home-up' when I bring it back to sync with other things. I don't care to have a bunch of stuff cluttering up my laptop so I exclude a few directories when downloading. did you know unison? You should take a look! /CrPy -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] new install
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 31 July 2003 13:53, Fiifi Markin wrote: From: R'twick Niceorgaw [EMAIL PROTECTED] snip On 31 Jul 2003 at 17:39, Fiifi Markin wrote: hello, i just insatlled gentoo, and i want to browse the net; i know i'm online ,cos i can ping stuff, but i cant seem to download or browse any site or web page, it does not seen to have any browser. does it have a broswer so i can download the GUI, and X thx lynx ? links ? i already tried lynx and links, they r both not present Probably because you haven't emerged them yet. (At least one of them should be present on the LiveCD outside of the chroot, btw.) Assuming you're on x86, check out the installation guide[1] and desktop configuration guide[2] for more info on how to get networking and X. The FAQs[3,4] are useful resources as well. 1. http://www.gentoo.org/doc/en/gentoo-x86-install.xml 2. http://www.gentoo.org/doc/en/desktop.xml 3. http://www.gentoo.org/doc/en/faq.xml 4. http://forums.gentoo.org/viewforum.php?f=40 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/KWhlXVaO67S1rtsRAtcPAKD6n0pw5TpOhnzApC/UKijlOHEmFwCg400Z qhX+ULlj54CIPRTak6vS8bw= =f5RA -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] new install
On Thu, 31 Jul 2003 18:53:53 + Fiifi Markin [EMAIL PROTECTED] wrote: i already tried lynx and links, they r both not present I am not sure where you are in the process, but if you can ping IPs but not URLs, then look to your /etc/resolv.conf file and make sure that it contains the proper DNS servers for your ISP. If that is all right, then try emerge lynx -p. That will tell you whether you have lynx installed. If not, remove the -p and it will be downloaded and installed for you. If you want X and a browser, then you should be able to do something like emerge mozilla -p. This will list a long group of packages to be emerged, including X. This assumes that you want to use mozilla of course. You can see what other browsers are available in portage by looking in the /usr/portage/net-www directory. HTH. -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] vi arrow keys
Anders Eriksson wrote: [EMAIL PROTECTED] said: strange. Where did you get the vi from? I thought the vi is a commercial product and not freely available... /usr/portage/app-editors/vi emerge unmerge vi emerge vim did the trick. vim includes a /usr/bin/vi - vim symlink. How would emerge react if I hadn't unmerged vi first? I emerged vim without unmerging vi first. It ist the same result as if I'd unmerged vi first. Maybe emerge unmerged vi automaticly(I can't remember what exactly happened-It was a few month ago) MfG Michael /A -- [EMAIL PROTECTED] mailing list -- /* These are the most dangerous and useful defines. They do printk() during * the interrupt processing routine(s), so if you manage to get flooded by * irq's, start thinking about the Power off/on button... */ 2.2.16 /usr/src/linux/drivers/sbus/char/aurora.h -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Alsa stopped working...
Hello, did you compile a new kernel? If yes, then you need to reemerge alsa-driver after 'make modules_install'. To start alsa you can switch between the different states with '/etc/init.d/alsasound zap'. Hope this helps MfG Michael D.J. Bolderman wrote: Guys, For some reason, alsa sound stopped working. Xmms produces no sound output. Xawtv and mpg123 are working fine. Last night I was fiddling around with Mythtv, but I can't remember to have changed anything which could affect alsa. I re-emerged alsa-driver and alsa-xmms, but to no avail... Restarting alsasound seems to give some problems: bash-2.05b# /etc/init.d/alsasound restart * ALSA driver is already running. bash-2.05b# /etc/init.d/alsasound stop * ERROR: alsasound has not yet been started. bash-2.05b# /etc/init.d/alsasound start * ALSA driver is already running. lsmod shows: Module Size Used byNot tainted snd-pcm-oss39652 0 (autoclean) snd-mixer-oss 13752 0 (autoclean) [snd-pcm-oss] i2c-dev 4772 0 (unused) tuner 10144 1 (autoclean) tvaudio12892 0 (autoclean) (unused) msp340017036 1 (autoclean) bttv 69888 1 i2c-algo-bit8360 1 [bttv] radeon104392 2 agpgart14772 3 (autoclean) i2c-proc7472 0 i2c-core 16232 0 [i2c-dev tuner tvaudio msp3400 bttv i2c-algo-bit i2c-proc] snd-cs46xx 72252 1 snd-rawmidi15712 0 [snd-cs46xx] snd-seq-device 4420 0 [snd-rawmidi] snd-ac97-codec 42232 0 [snd-cs46xx] snd-pcm68512 0 [snd-pcm-oss snd-cs46xx] snd-page-alloc 7060 0 [snd-cs46xx snd-pcm] snd-timer 16900 0 [snd-pcm] snd34756 1 [snd-pcm-oss snd-mixer-oss snd-cs46xx snd-rawmidi snd-seq-device snd-ac97-codec snd-pcm snd-timer] soundcore 4580 6 [bttv snd] Relevant cat /proc/pci: Bus 0, device 9, function 0: Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 1). IRQ 5. Master Capable. Latency=32. Min Gnt=4.Max Lat=24. Non-prefetchable 32 bit memory at 0xef101000 [0xef101fff]. Non-prefetchable 32 bit memory at 0xef00 [0xef0f]. What could be the problem here ? Thanks Dick -- [EMAIL PROTECTED] mailing list -- /* These are the most dangerous and useful defines. They do printk() during * the interrupt processing routine(s), so if you manage to get flooded by * irq's, start thinking about the Power off/on button... */ 2.2.16 /usr/src/linux/drivers/sbus/char/aurora.h -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] List of all emerged packages
Hi, Thanks you all very much for your answers. I should have seen there would be several answers to the same problem (it's linux after all :) Cheers, -- Javier Gostling D. [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Clarifying meaning of x86 and ~x86
begin quote On Thu, 31 Jul 2003 19:22:51 +0100 Dhruba Bandopadhyay [EMAIL PROTECTED] wrote: Spider wrote: Yep, you always have to in fact. (No, I never use emerge -u world. Ever.) Don't do emerge -u world? Why not? Because, on my two dev machines i run ~x86, And applying -u world daily there could be bad for health I -always- check the updates, and stay clear of glibc/system stuff unless I'm ready to do the updates. And a kernel update could fill my disks if I'm not careful. On my stable systems, all are production things, and I stay clear of updating unless theres a good reason to do so. Frankly, CPUpower is valued, and the few packs that go in are only applied after the originals are backed up (packages) and I have rescue possibilities. Better safe than sorry. Other reasons for this behaviour is my partial hacked util-linux to have loop-aes and encrypted drives. This makes a mistake with emerge util-linux in the wrong place a fatal mistake. Frankly, I see no reason to update kdelibs as soon as its released, since I seldom use it. I update packs I have use for, the rest will wait until I have time and CPU power to burn. //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end pgp0.pgp Description: PGP signature
Re: [gentoo-user] new install
On Thu, 2003-07-31 at 11:53, Fiifi Markin wrote: i already tried lynx and links, they r both not present Have you tried emergeing them? emerge lynx Jayson Garrell -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] process refuses to die
Wow, Thanks for the huge response. I know it was pretty simple and knowing me I probably did use the -9 switch a couple of times long ago, but the man page didn't get those bells ringing quite soon enuf. Best Simon On Thu, 31 Jul 2003, Mark Fisher wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 31 Jul 2003 8:25 am, Shane Hickey wrote: On Thu, 31 Jul 2003 03:05:58 + (DST) Simon Mushi [EMAIL PROTECTED] wrote: I just wanted to ask what to do if a process refuses to die. For example I want to kill dctc with a pid of 16371. So I type in kill 16371 and I can do this continually and the process refuses to die and still shows up in top. What can I do to kill it for real? Try a kill -9. The normal kill tries to play nice, but it doesn't always get the job done. If kill -9 doesn't do the trick, then you might need to reboot. For example when I have an nfs mount go sour or a usb drive's action get hung up then sometimes a kill -9 won't take care of it. At that point, I just reboot... maybe there's a better way, though. kill -9 pid does normally work, if however it doesnt then the process is probably a zombie. In which case, do a pstree and kill the parent process. This extra step has fixed the problem for me on every occasion so far. - -- Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/KNsEzrmqzOOQUj8RAhAoAKCdym1jKQyolHo7OfnLnOHH5hhcYQCfcx48 nYkb0b2tloqBaA+Rq2bdeJs= =acu8 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] OpenOffice templates/wizards
Does OpenOffice have the equivelant of Word's Resume Wizard? If not by default, is there a place I can get templates and wizards for OO? -- Andrew Gaffney -- [EMAIL PROTECTED] mailing list
[gentoo-user] qt-3.1.2-r4 depending on kdelibs?
Hi, I upgraded qt to qt-3.1.2-r4 today. To my suprise it also installed kdelibs (running only plain old Fluxbox). Checking dependencies with qpkg -q kdelibs shows this: kde-base/kdelibs-3.1.2-r1 * DEPENDED ON BY: x11-libs/qt-3.1.2-r4 Why? I guess it's a bug. Regards, -- Anders Hasselqvist -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Network Card Problems
Just thought I'd post this in case others have the same problem. I got my network working finally by installing the vanilla sources. I didn't have to edit or do anything else once the vanilla-sources where compiled and installed. For some reason the gentoo-sources would not work with this card (3Com 3cSOHO100-TX). Jason On Tue, 2003-07-29 at 19:35, Jason Giangrande wrote: This seems a bit odd. I'm installing gentoo on a box that has a 3Com 3cSOHO100-TX network card. The card works fine when booting off the CD and seems to use the 3c59x module, but after the install, using the same module, the card does not work. I've double checked the kernel and all settings seem correct. I've checked the /etc/conf.d/net file and everything is fine there (the system is setup to use DHCP but it also doesn't work when I give it a static IP either). The module loads during boot up but the system hangs when it gets to the network card , and finally times out. Has anyone had any success using one of these cards before? I have two systems running perfectly using the 3Com 3c905C-TX cards with exactly the same settings. Anyone have any ideas as to what might be wrong? Regards, Jason Giangrande -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Alsa stopped working...
On do, 31 jul 2003, Michael Gruetzner wrote: Hello, did you compile a new kernel? If yes, then you need to reemerge alsa-driver after 'make modules_install'. To start alsa you can switch between the different states with '/etc/init.d/alsasound zap'. Yes, I did compile a new kernel, but I also re-emerged alsa-driver after that. The alsasound zap command seems to work, but I don't get any sound yet :( Any more suggestions ? Thanks, Dick D.J. Bolderman wrote: Guys, For some reason, alsa sound stopped working. Xmms produces no sound output. Xawtv and mpg123 are working fine. Last night I was fiddling around with Mythtv, but I can't remember to have changed anything which could affect alsa. I re-emerged alsa-driver and alsa-xmms, but to no avail... Restarting alsasound seems to give some problems: bash-2.05b# /etc/init.d/alsasound restart * ALSA driver is already running. bash-2.05b# /etc/init.d/alsasound stop * ERROR: alsasound has not yet been started. bash-2.05b# /etc/init.d/alsasound start * ALSA driver is already running. lsmod shows: Module Size Used byNot tainted snd-pcm-oss39652 0 (autoclean) snd-mixer-oss 13752 0 (autoclean) [snd-pcm-oss] i2c-dev 4772 0 (unused) tuner 10144 1 (autoclean) tvaudio12892 0 (autoclean) (unused) msp340017036 1 (autoclean) bttv 69888 1 i2c-algo-bit8360 1 [bttv] radeon104392 2 agpgart14772 3 (autoclean) i2c-proc7472 0 i2c-core 16232 0 [i2c-dev tuner tvaudio msp3400 bttv i2c-algo-bit i2c-proc] snd-cs46xx 72252 1 snd-rawmidi15712 0 [snd-cs46xx] snd-seq-device 4420 0 [snd-rawmidi] snd-ac97-codec 42232 0 [snd-cs46xx] snd-pcm68512 0 [snd-pcm-oss snd-cs46xx] snd-page-alloc 7060 0 [snd-cs46xx snd-pcm] snd-timer 16900 0 [snd-pcm] snd34756 1 [snd-pcm-oss snd-mixer-oss snd-cs46xx snd-rawmidi snd-seq-device snd-ac97-codec snd-pcm snd-timer] soundcore 4580 6 [bttv snd] Relevant cat /proc/pci: Bus 0, device 9, function 0: Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 1). IRQ 5. Master Capable. Latency=32. Min Gnt=4.Max Lat=24. Non-prefetchable 32 bit memory at 0xef101000 [0xef101fff]. Non-prefetchable 32 bit memory at 0xef00 [0xef0f]. What could be the problem here ? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] preventing users from escaping their home dirs
Christopher Fisk wrote: some users on my server have SSH access to the machine, but I don't want them to be able to leave their home directories (ee. /home/userXYZ). What is the best way to implement this, does anybody know? Greetings and TIA, Matthias # adduser luser # ln -s /bin/bash /bin/rbash # echo /bin/rbash /etc/shells # chsh -s /bin/rbash luser # cd ~luser # su luser $ and then: $ cd / rbash: cd: restricted rbash is NOT working for me on Gentoo ... (on RH 7.3 it worx) I have done everything as above, but rbash worx normally/without any restrictions ... is it a bug or something else should be done ? noro -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] preventing users from escaping their home dirs
rbash is NOT working for me on Gentoo ... (on RH 7.3 it worx) I have done everything as above, but rbash worx normally/without any restrictions ... is it a bug or something else should be done ? noro If rbash does not work for you, then check bash -r. Mikhail. -- [EMAIL PROTECTED] mailing list -- Q: What do Bill Gates and Bill Clinton have in common? A: Their ratings climb whenever they do something unethical. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Good code editor (with colors) for X (no GTK orQT)
Fred Van Andel wrote: Nathaniel McCallum [EMAIL PROTECTED] wrote: (07/21/2003 15:33) Anyone know of a good code editor for X that doesn't use GTK or QT? I would like something that displays colors (like for variables, etc). I also don't want to use vi or any deritive or any console based editor. Any thoughts? You might want to consider fte. They have a version for X (xfte), text mode (sfte) and for a virtual console (vfte) The only text editor for X that I know of that does not use any other library is xedit... It's really lacking in terms of features and style... it plain sucks in my opinion ;) Might I suggest nedit (http://www.nedit.org). It does not use GTK nor QT but OpenMosix.. It's full of features and quick to start. - Bering -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Good code editor (with colors) for X (no GTK orQT)
On 07/31/03 Bering wrote: The only text editor for X that I know of that does not use any other library is xedit... It's really lacking in terms of features and style... it plain sucks in my opinion ;) Might I suggest nedit (http://www.nedit.org). It does not use GTK nor QT but OpenMosix.. It's full of features and quick to start. Ehm, you're not confusing OpenMosix with OpenMotif ? But a clustered editor might be a nice idea ;-) Marius -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: Alsa stopped working...
On Fri, 01 Aug 2003, D.J. Bolderman wrote: On do, 31 jul 2003, Michael Gruetzner wrote: Hello, did you compile a new kernel? If yes, then you need to reemerge alsa-driver after 'make modules_install'. To start alsa you can switch between the different states with '/etc/init.d/alsasound zap'. Yes, I did compile a new kernel, but I also re-emerged alsa-driver after that. The alsasound zap command seems to work, but I don't get any sound yet :( Any more suggestions ? Thanks, Dick Hi, first, off the top of my head, is the linux symlink in /usr/src pointing to the right kernel (the one you are using): alsa uses this symlink to determine where it should install its modules. I had a problem just like yours a while ago. Here's my debug procedure for alsa (it's kind of a works for me solution, but worth a try, it's not designed to actually solve anything, but to acquire enough onformation to pinpoint the problem) : 1) If you are using any kind of xdm disable them (they tend to call for the modules, hence load them and do not resort to the alsasound script). 2) Remove the startup script (alsasound) from the boot runlevel. 3) reboot the machine. 4) run alsasound by hand : 4.1) Does it complain that the modules are already loaded ? If so, another app needs sound and insmods the modules before you lauched the script, and possibly before the script is run when in the runlevel. Check that, and ask the app to be launched after the script 4.2) If script runs flawlessly, start X and xmms. If any sound server is enabled, disable it (we are tryong to have as few interfering sound app as possible), and restart X. Do not forget to check in the alsamixer if the channels are unmuted. Run xmms, load the alsa plugin. Does xmms output sound ? If not, make sure that the snd-pcm-oss and snd-mixer-oss modules are present, and try the oss plugin, does it work ? (make sure that you did NOT compile any oss support inside the kernel !!). 5) If the above did not work, try insmoding the modules by hand, and playing sound from xmms. 6) Try the esd or arts plugins from gnome or kde. You should now have enough information to pinpoint the problem. If not, could you send any unexpected output you got. One last thing, it can help to launch xmms from a console in order to get the debug messages. HTH, good luck, Jonathan D.J. Bolderman wrote: Guys, For some reason, alsa sound stopped working. Xmms produces no sound output. Xawtv and mpg123 are working fine. Last night I was fiddling around with Mythtv, but I can't remember to have changed anything which could affect alsa. I re-emerged alsa-driver and alsa-xmms, but to no avail... Restarting alsasound seems to give some problems: bash-2.05b# /etc/init.d/alsasound restart * ALSA driver is already running. bash-2.05b# /etc/init.d/alsasound stop * ERROR: alsasound has not yet been started. bash-2.05b# /etc/init.d/alsasound start * ALSA driver is already running. lsmod shows: Module Size Used byNot tainted snd-pcm-oss39652 0 (autoclean) snd-mixer-oss 13752 0 (autoclean) [snd-pcm-oss] i2c-dev 4772 0 (unused) tuner 10144 1 (autoclean) tvaudio12892 0 (autoclean) (unused) msp340017036 1 (autoclean) bttv 69888 1 i2c-algo-bit8360 1 [bttv] radeon104392 2 agpgart14772 3 (autoclean) i2c-proc7472 0 i2c-core 16232 0 [i2c-dev tuner tvaudio msp3400 bttv i2c-algo-bit i2c-proc] snd-cs46xx 72252 1 snd-rawmidi15712 0 [snd-cs46xx] snd-seq-device 4420 0 [snd-rawmidi] snd-ac97-codec 42232 0 [snd-cs46xx] snd-pcm68512 0 [snd-pcm-oss snd-cs46xx] snd-page-alloc 7060 0 [snd-cs46xx snd-pcm] snd-timer 16900 0 [snd-pcm] snd34756 1 [snd-pcm-oss snd-mixer-oss snd-cs46xx snd-rawmidi snd-seq-device snd-ac97-codec snd-pcm snd-timer] soundcore 4580 6 [bttv snd] Relevant cat /proc/pci: Bus 0, device 9, function 0: Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 1). IRQ 5. Master Capable. Latency=32. Min Gnt=4.Max Lat=24. Non-prefetchable 32 bit memory at 0xef101000 [0xef101fff]. Non-prefetchable 32 bit memory at 0xef00 [0xef0f]. What could be the problem here ? -- [EMAIL PROTECTED] mailing list -- You now have Asian Flu. pgp0.pgp Description: PGP signature
Re: [gentoo-user] How to unmask gcc 3.3?
Ok, I made a mistake. cheers Jonathan. if you don't understand the context of this message, get a thread-capable mail reader (or just ignore it). -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] how to szie an image so it fits on One sheet of paper (command line)
On Thu, Jul 31, 2003 at 01:25:11PM +0200, Henk Abma wrote: What I wanted to do was to scan a sheet of paper, and reproduce it on my printer, sort of a command-line copier. Since my printer is at 300 dpi, I thought it would be simple: scan the paper at 300 dpi, and enter: lpr scanned-paper. Hovever this gives the result of enlarging the image, so it now occupies 4 or 5 pages. So the question is, how do I estimate the resolution so that it will occupy only one page. or is there another commandline based solution? Well, by default, pnmtops in the netpbm package will convert a Portable aNyMap to Postscript, and always reduce it to fit on one page. (You can do 'pnmtops -scale 0.25 input |lpr' to explicitly scale it down; by default it will enlarge the image four times to change a 72dpi image to a 300dpi image, then reduce the result if it's too big for the page.) Nice thing about the netpbm programs is they all take standard input and output, so they can be used as chained filters and easily used for batch jobs. Might be useful if you gave us a better idea of what you were doing now, what programs you were using (including which print filters) and what intermediate formats. As another note, what you're doing doesn't necessarily produce the results you might expect: 300dpi for a scanner means you can still get 16-bit or more shades of grey in that one pixel; 300dpi for a printer normally means that the pixel is strictly either black or white. (Things like HP's 'Resolution Enhancement Technology' modify this, giving you a couple of levels of black by varying the size of the ink droplet.) Net result is that when you pass the printer a 300dpi greyscale image, it's still going to have to go through the usual pixel dithering to approximate greys. And a lot of printers of the 300dpi era use a fairly large 'halftone screen' by default, so the dithering will be noticeable. Of course, if what you're copying is straight text or the like and you're scanning purely on monochrome, that's not a problem. ---+--- Bryan Feir VA3GBF|Every man has somewhere in the back of his head Home:[EMAIL PROTECTED] | the wreck of a thing which he calls his | education. -- Stephen Leacock ---+--- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Good code editor (with colors) for X (no GTK orQT)
Marius Mauch wrote: On 07/31/03 Bering wrote: The only text editor for X that I know of that does not use any other library is xedit... It's really lacking in terms of features and style... it plain sucks in my opinion ;) Might I suggest nedit (http://www.nedit.org). It does not use GTK nor QT but OpenMosix.. It's full of features and quick to start. Ehm, you're not confusing OpenMosix with OpenMotif ? But a clustered editor might be a nice idea ;-) Err... DOH! ;) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Alsa stopped working...
On Thu, 2003-07-31 at 15:05, D.J. Bolderman wrote: On do, 31 jul 2003, Michael Gruetzner wrote: Hello, did you compile a new kernel? If yes, then you need to reemerge alsa-driver after 'make modules_install'. To start alsa you can switch between the different states with '/etc/init.d/alsasound zap'. Yes, I did compile a new kernel, but I also re-emerged alsa-driver after that. The alsasound zap command seems to work, but I don't get any sound yet :( Any more suggestions ? Thanks, Dick D.J., Did you remove any existing asound.state file in /etc and rerun alaamixer to unmute any muted channels? (This presumes that your hardware has a mixer. It may not.) If alsamixer doesn't run then this suggestion doesn't make any difference. Good luck! Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] how to szie an image so it fits on One sheet of paper (command line)
On Thu, Jul 31, 2003 at 07:55:55PM -0400, Bryan Feir wrote: Well, by default, pnmtops in the netpbm package will convert a Portable aNyMap to Postscript, and always reduce it to fit on one page. (You can do 'pnmtops -scale 0.25 input |lpr' to explicitly scale it down; by default it will enlarge the image four times to change a 72dpi image to a 300dpi image, then reduce the result if it's too big for the page.) Nice thing about the netpbm programs is they all take standard input and output, so they can be used as chained filters and easily used for batch jobs. Might be useful if you gave us a better idea of what you were doing now, what programs you were using (including which print filters) and what intermediate formats. Thanks for the detailed answer. I have cups 1.19 installed, a hp deskjet 990c, and use the driver for hpijs obtained from linuxprinting.org. In the configuration menu i have set the printer to use 300-dpi color draft mode. For scanning I use scanimage from the sane package. The output was converted through ppmtojpeg like this: scanimage --mode=color -r 300 |ppmtojpeg -q 85 output.jpg identify from imagemagick tp;d ,e O jad 2532X35XX pixels, so to be safe I entered; convert -scale 2390 output.jpg output2.jpg finally: lpr output2.jpg with the result described earlier. In the cups documentation it is stated that cups supports jpegs 'out of the box', so I thought the procedure described was the logical thing to do. I'll give pnmtops a try tomorrow. Thanks again, Henk. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Alsa stopped working...
On vr, 01 aug 2003, Jonathan C. wrote: [...] Snip large troubleshooting guide :P Thanks Jonathan, I finally got it working, but I'm a bit confused: I followed your tip about the alsamixer, but master and pcm were not muted. Then I checked the alsa guide on the gentoo site, and executed the 'amixer set Master 100 unmute' and 'amixer set PCM 100 unmute' commands. All of a sudden sound was working again... Does this mean that amixer and alsamixer are 2 different things ? Anyway, thanks again ! Dick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] qt-3.1.2-r4 depending on kdelibs?
On Thu, 31 Jul 2003 23:33:46 +0200 Anders Hasselqvist [EMAIL PROTECTED] wrote: Hi, I upgraded qt to qt-3.1.2-r4 today. To my suprise it also installed kdelibs (running only plain old Fluxbox). Checking dependencies with qpkg -q kdelibs shows this: kde-base/kdelibs-3.1.2-r1 * DEPENDED ON BY: x11-libs/qt-3.1.2-r4 Why? I guess it's a bug. Regards, -- Anders Hasselqvist -- [EMAIL PROTECTED] mailing list Try to make USE=-* in /etc/make.conf and recompile. Maybe this will help. But you can allways emerge -C kdelibs. __ Meka[ni] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Alsa stopped working...
On Thu, 2003-07-31 at 18:24, D.J. Bolderman wrote: On vr, 01 aug 2003, Jonathan C. wrote: [...] Snip large troubleshooting guide :P Thanks Jonathan, I finally got it working, but I'm a bit confused: I followed your tip about the alsamixer, but master and pcm were not muted. Then I checked the alsa guide on the gentoo site, and executed the 'amixer set Master 100 unmute' and 'amixer set PCM 100 unmute' commands. All of a sudden sound was working again... Does this mean that amixer and alsamixer are 2 different things ? Anyway, thanks again ! Dick Yes, they are different programs that both operate on the sound hardware. I have not heard of this problem with alsamixer before. My suspicion, once again, was that the asound.state file that alsamixer and amixer use as a database was not valid after your recompile. I have definitely had problems when that file was wrong, but erasing it and letting Alsa remake it fixed things. This is what I think amixer did. Glad it's working. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Good code editor (with colors) for X (no GTK orQT)
begin quote On Mon, 21 Jul 2003 18:33:22 -0400 Nathaniel McCallum [EMAIL PROTECTED] wrote: Anyone know of a good code editor for X that doesn't use GTK or QT? I would like something that displays colors (like for variables, etc). I also don't want to use vi or any deritive or any console based editor. Any thoughts? You could give nedit a try, its quite nice in terms of features and doesn't use either QT or GTK+ (nirvana editor) //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end pgp0.pgp Description: PGP signature
Re: [gentoo-user] how to szie an image so it fits on One sheet of paper (command line)
On Fri, Aug 01, 2003 at 02:58:54AM +0200, Henk Abma wrote: In the cups documentation it is stated that cups supports jpegs 'out of the box', so I thought the procedure described was the logical thing to do. Well, obviously it does support jpegs out of the box, it just isn't doing quite what you were expecting it to do. I'm no expert on the internals of CUPS, but I'm guessing that, unless you specify otherwise somehow, it assumes that the JPEG file is at 72 DPI, much like pnmtops does; it just also automatically does a 'split large files over multiple pages' somewhere in the 'imagetoraster/imagetops' programs that it uses for data conversions. JPEG files do have flag in the header that tell what resolution the image is supposed to be at, but I'm not sure how it can be set in command line programs; none of the JPEG generators I've seen have an option for that. There's probably some option you can pass to lpr to disable the multiple page spreading, somewhere. As I said, I'm no expert on CUPS. ---+--- Bryan Feir VA3GBF|This Santa Claus business is played out. It's a Home:[EMAIL PROTECTED] | sneaking, underhand method, and the sooner it's | exposed the better. -- Stephen Leacock ---+--- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Good code editor (with colors) for X (no GTK or QT)
Bering wrote: Might I suggest nedit (http://www.nedit.org). It does not use GTK nor QT but OpenMosix.. It's full of features and quick to start. ^ Hmmm... talk about bloated software. At least Microsoft Word XP runs on UP boxes ;-) Norberto pgp0.pgp Description: signature
[gentoo-user] emerge error with PyQt
Sorry if this has been mentioned before. I just did a fairly big emerge -u and it ended with: g++ -c -pipe -w -O2 -D_REENTRANT -fPIC -DSIP_MAKE_MODULE_DLL -DQEXTSCINTILLA_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -I/usr/include/python2.2 -I/usr/qt/3/include -o qtexthuge0.o qtexthuge0.cpp sipqtextQPtrList.cpp: In member function `int sipQextScintilla::sipEmit_SCN_MODIFYATTEMPTRO(PyObject*)': sipqtextQPtrList.cpp:4878: `SCN_MODIFYATTEMPTRO' undeclared (first use this function) sipqtextQPtrList.cpp:4878: (Each undeclared identifier is reported only once for each function it appears in.) sipqtextQPtrList.cpp: In member function `int sipQextScintilla::sipEmit_modificationAttempted(PyObject*)': sipqtextQPtrList.cpp:5255: `modificationAttempted' undeclared (first use this function) make[1]: *** [qtexthuge0.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/PyQt-3.7/work/PyQt-x11-gpl-3.7/qtext' make: *** [sub-qtext] Error 2 !!! ERROR: dev-python/PyQt-3.7 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! (no error message) Any suggestions? -- Chris Bare [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
[gentoo-user] where is libpthread??
I am having some problems compiling quanta from cvs. And in the kde crash backtrace it says that its realated to libpthread. How do i go about updating( or downgrading) libpthread?? i can't seem to find anything associated with it in qpkg( unless i'm searching with it wrong which is extremely possible ;) ). SO any information or help would be greatly appreciated. Thanks in advance, bryce -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Good code editor (with colors) for X (no GTK or QT)
On Fri, Aug 01, 2003 at 04:05:53AM +0200, Spider wrote: You could give nedit a try, its quite nice in terms of features and doesn't use either QT or GTK+ Just curious. I've not seen anyone with a prejudice against QT and Gtk before. They're attractive, relatively fast, and have lots of nice usability improvements over Motif (which I hate with a passion). I really love the Gtk completion in its file selection boxes and the way you can specify keyboard hot keys on menus for everything! - I wish the Mozilla developers would see the incredible value in these features. From where does this negative opinion of these GUI toolkits come? - richard -- Richard Kilgore [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OpenOffice templates/wizards
On Thu, 2003-07-31 at 14:24, Andrew Gaffney wrote: Does OpenOffice have the equivelant of Word's Resume Wizard? If not by default, is there a place I can get templates and wizards for OO? Templates are here: http://documentation.openoffice.org/Samples_Templates/User/template/ -- Best regards, Klaus - Gentoo-Linux = the better choice! -- [EMAIL PROTECTED] mailing list
[gentoo-user] Live CD is very buggy
The shell prompt for the live cd is messed up. the rotating wheel is always there, the terminal is not set up properly and the cursor(the rotating wheel) keeps scrolling on each line. I can't even find any older possibly more stable releases of gentoo on the web site. I was told that Gentoo is a very clean compile, but I can't even get past unpacking without errors. I hope with a fix for the display the installation will not be such an annoyance. Hopefully someone can give me a quick fix for this otherwise frankly there are too many other distributions with easier, quicker and more reliable installations for me to tinker with this anymore than I have. 1 -- [EMAIL PROTECTED] mailing list