Re: [gentoo-user] Which cd player plays copy-controlled cd's?

2006-07-17 Thread Harald Arnesen
Mike Williams [EMAIL PROTECTED] writes:

 On Sunday 16 July 2006 09:46, Harald Arnesen wrote:
  Does someone know which of the dozens of cd-players for gentoo
  is able to play copy-controlled cd's (the cd's that install a
  player first under Windows).
  My discman can play them, my home audioset can play them so
  i guess there must be a cdplayer for gentoo that can do it.
  Xmms and xine won't.

 cdparanoia and cdrdao can rip most of these non-CDs, so you can burn
 working copy..

 Yep, just turn down, or off, the error checking (or paranoia level).
 Copy protected CDs are just CDs with errors intentionally put in. Ignore the 
 errors, get the music.

That is rarely necessary, I find that most copy-protected CDs can be
ripped with full error checking. Not that I have tried with that many, I
won't buy them.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Which cd player plays copy-controlled cd's?

2006-07-16 Thread Harald Arnesen
Hans de Hartog [EMAIL PROTECTED] writes:

 Does someone know which of the dozens of cd-players for gentoo
 is able to play copy-controlled cd's (the cd's that install a
 player first under Windows).
 My discman can play them, my home audioset can play them so
 i guess there must be a cdplayer for gentoo that can do it.
 Xmms and xine won't.

cdparanoia and cdrdao can rip most of these non-CDs, so you can burn
working copy..
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] graphical ssh-enabled file system browser?

2006-06-25 Thread Harald Arnesen
Mark Knecht [EMAIL PROTECTED] writes:


If you install FUSE and SSHFS, you can use any file browser - or even
the command line, using the normal commands (ls, cp,...)
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [SPAM] - [gentoo-user] Getting BC not to truncate at the decimal point? - Bayesian Filter detected spam

2006-05-24 Thread Harald Arnesen
Mike Huber [EMAIL PROTECTED] writes:

 Hi,
   I'm just trying to do some quick calculations using bc, but the version
 installed through portage truncates on multiplication/division.  It didn't
 used to do this 2 years ago when I was taking number theory, and there are
 no USE flags available for sys-devel/bc to change this.  From the manpage:

$ bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
101/3
33

$ bc -l
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
101/3
33.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] App/plugin to play CD?

2006-05-09 Thread Harald Arnesen
Daniel da Veiga [EMAIL PROTECTED] writes:

 You don't need the audio-cable to hear music from a cd - just the right
 application ;)

 Oh yeah, you really don`t need the cable, it just makes things easier,
 because it will work with all applications, won`t send data using the
 system bus neither process it using the CPU, the CD drive will do all
 the work and send output directly to the soundcard, the volume manager
 of the soundcard with the CD audio label will work and some other
 benefits.

 But that`s just me. I want my hardware to do the stuff it should.

With a cable, you will (at least with some/most sound cards) have a
digital-analog conversion in the drive, an analog-digital conversion in
the sound card, and another digital-analog conversion on output from the
sound card.

With digital extraction you will just have the last digital-analog
conversion. Guess what sounds best.

A third option: most drives have a digital output connector, and most
sound cards have a digital input connector.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - which X terminal do you use?

2006-05-09 Thread Harald Arnesen
Jeremy Olexa [EMAIL PROTECTED] writes:

 Neil Bothwick wrote:
 I am writing a comparative review of a number of X terminals, so I
 thought I'd draw on the collective wisdom of this list. which are your
 most/least favourite X terminals, and why?
 
 Let's hope this generates some interesting comment before degenerating
 into a subset of the typical KDE/GNOME flamefest ;-/
 
 

 xterm and screen. Who needs tabs when you have screen?

And xterm is mostly compatible with a real VT100, which other terminal
emulators usually aren't.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [SPAM] - Re: [gentoo-user] App/plugin to play CD? - Bayesian Filter detected spam

2006-05-08 Thread Harald Arnesen
Mattias Merilai [EMAIL PROTECTED] writes:

 Daniel da Veiga wrote:

 Stéfan is right, you need an analog audio cable connecting your CD
 drive to your soundcard (or, if your soundcard support it, a digital
 one). Else the drive can't send audio to your speakers.

 The other o/s can send audio to the soundcard via the system bus.
 Anybody knows if and when is this going to happen on the good o/s too?

About 5 years ago :-)
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] App/plugin to play CD?

2006-05-08 Thread Harald Arnesen
Stefán István [EMAIL PROTECTED] writes:

 hétfő 08 május 2006 11.32 dátummal Walter Dnes ezt írta:
   I've been so used to playing mp3 files that I'm lost with real live
 audio CDs (not a data CD with mp3 files).  The XMMS docs aren't really
 helpful.  Do I need an additional plug-in?  mplayer is worse.
 mplayer /dev/cdrom tries to play a file by that name.  I emerged
 cdplay and cdplay -c -v gets the CD spinning and the output indicates
 that it is playing, but I get no sound.  I have unmuted the CD player
 and set its volume via alsactl.  One additional complication is that
 there is no headphone jack near the CD tray, so I assume I have to go
 via the soundcard.

 Has your CD player been connected with your sound card? If not, I think you 
 won't hear any sound.

You don't need a cable from the CD player to the sound card with xmms:

Options - Preferences - Audio I/O Plugins - Audio CD Reader -
Configure - Output - Read Digital CD Audio
-- 
Hilsen Harald.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Best Modem for Gentoo

2006-04-26 Thread Harald Arnesen
Michael Crute [EMAIL PROTECTED] writes:

 I am trying to setup a fax server using Gentoo, I tried using an Intel
 536ep chipset card with little success. After looking around the
 general consensus seems to be go with US Robotics. Can anyone provide
 the model and manufacture of a fax modem that is known to work with
 both Gentoo any Hylafax? Right now I am running the most recent
 gentoo-sources but I am not opposed to going back to the older 2.4
 sources. Any help would be greatly appreciated.

Almost any external modem should work.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dd if=/dev/dvd of=backup.iso

2006-03-15 Thread Harald Arnesen
Joseph [EMAIL PROTECTED] writes:

 On Tue, 2006-03-14 at 23:14 +, Neil Bothwick wrote:
 On Tue, 14 Mar 2006 15:00:08 -0700, Joseph wrote:
 
  If I use:
  dd if=/dev/dvd of=backup.iso 
  I only get about 2Gb file and it stops or freezes, the disk is bout
  4.3Gb
 
 Is it the same size every time? Is is the same with different discs? It
 could be a fault on the disc. I usually use cp /dev/dvd file.iso but dd
 has always worked for me in the past, albeit slightly slower (even with a
 larger block size).

 Yes, almost the same size.
 I know there is a file size limit on ext2 but I'm using ext3, so there
 shouldn't be a problem.
 If I try cp /dev/hdc file.iso I get an error:
 cp: reading /dev/hdc' : Input/output error

Have you verified that your file system supports files larger than 2GB?
Try the following:

$ dd if=/dev/zero of=largefile bs=1M count=5000
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] confused about suid

2006-01-28 Thread Harald Arnesen
Robert Persson [EMAIL PROTECTED] writes:

 I am trying to create a script so users can execute a certain command
 as root without entering a password. I thought suid was the way to do
 this, but I am not having any success.

 The command I want to execute as root is echo -n mem  /sys/power/status.

 I created a bash script (/usr/local/bin/suspendtoram) like so:

 #!/bin/bash
 echo -n mem  /sys/power/status

 then set owner and group to root:root and made the script suid.

 However this doesn't work. The error message goes:

 /usr/local/bin/suspendtoram: line 2: /sys/power/state: Permission denied


 I am still having to sudo echo -n mem  /sys/power/status and then
 to enter a password. What am I doing wrong?

suid shell-scripts are not allowed, for security reasons.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Building Kernel Modules with custom kernel trees

2006-01-25 Thread Harald Arnesen
Neil Bothwick [EMAIL PROTECTED] writes:

 On Wed, 25 Jan 2006 00:00:01 +, Alex Bennee wrote:

 There really is no need to force people to build as root under /usr/src
 so is it possible to educate portage to use the uname method to
 determine the root of the kernel tree for building kernel modules?

 Portage doesn't build the modules in /usr/src, but it uses
 the /usr/src/linux symlink to determine the kernel for which you wish to
 build the modules; which may not be the same as returned by uname -r.

And that is a bug, in my opinion.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [SPAM] - [gentoo-user] Re: A New Linux Way (This is a Joke, laff will ya?) - Bayesian Filter detected spam

2006-01-12 Thread Harald Arnesen
Devon Miller [EMAIL PROTECTED] writes:

 *Dear Gentoo-User,*

This can't be the real thing. You don't write the whole post in
capital letters.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] world file cheating

2006-01-06 Thread Harald Arnesen
Trenton Adams [EMAIL PROTECTED] writes:

 I just boot with a gentoo CD, tar up my entire system, and untar it on
 the new system.  If your new system boots with the gentoo CD as well,
 then you can pipe this over ssh.  Something like the following...


 cd /mnt/gentoo
 tar -cz ./ | ssh [EMAIL PROTECTED] 'cd /mnt/gentoo; tar -xz'

Won't you need tar xpz to preserve file ownership and permissions?
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Corel Draw for Gentoo linux

2005-12-24 Thread Harald Arnesen
Adrian [EMAIL PROTECTED] writes:

 In theory I suppose it does.  Has anyone gotten past the fact that when
 you try to install it returns:

  root $  ./install
 Log file name:/tmp/corel/Setup.log
 which: no dpkg in (/sbin:/bin:/usr/sbin:/usr/bin)
 which: no rpm in (/sbin:/bin:/usr/sbin:/usr/bin)

 Then exits the installation process.  I use to use Corel Photo Paint
 with my Mandrake system (RPM) based way back in the day, but since
 moving to Gentoo I can't get it running any more.

# emerge dpkg rpm
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VI

2005-12-24 Thread Harald Arnesen
Alexander Skwar [EMAIL PROTECTED] writes:

 Ivan Novick schrieb:

 Does anyone know if there is a gentoo package for normal VI, ie not vim??

 No, as there's no normal VI for Linux. There are just clones.

Sure there is. http://ex-vi.sourceforge.net/
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VI

2005-12-24 Thread Harald Arnesen
Ivan Novick [EMAIL PROTECTED] writes:

 Does anyone know if there is a gentoo package for normal VI, ie not vim??

There is no ebuild, but you can download and compile vi. It is at
http://ex-vi.sourceforge.net.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: dd isos

2005-12-15 Thread Harald Arnesen
Neil Bothwick [EMAIL PROTECTED] writes:

 On Wed, 14 Dec 2005 12:36:50 -0500, Boyd Stephen Smith Jr. wrote:


 I've read that dd actually has problems reading from cdroms and isos 
 produced with something like dd if=/dev/cdrom of=my.iso conv=noerror 
 would be invalid.  Can anyone confirm / deny, preferably with some sort 
 of reference or test.

 I've never tried with conv=noerror, but dd has worked fine for me on
 several occasions when extracting ISO images from data CDs and DVDs.

 I don't use it any more because it is slow, cp and cat give the same
 result and are faster.

dd is not slower than cp/cat if you increase the block size from the
default 512 bytes.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GCC only for priviliged users?

2005-12-09 Thread Harald Arnesen
Jesús García Crespo (aka Sevein) [EMAIL PROTECTED] writes:

 Hi! I thought that GCC could means a risk if all of the users of my
 system are able to run it! I talked this with a friend and he propossed
 to create a new group, compiler, for example, where all the users
 who will be able to run gcc must belong to it!

 Wouldn't be interesting to implement this into Gentoo gcc ebuild as an
 USE?

What stops the user from downloading the gcc source and install it on
her home partition?
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GCC only for priviliged users?

2005-12-09 Thread Harald Arnesen
Harald Arnesen [EMAIL PROTECTED] writes:

 Jesús García Crespo (aka Sevein) [EMAIL PROTECTED] writes:

 Hi! I thought that GCC could means a risk if all of the users of my
 system are able to run it! I talked this with a friend and he propossed
 to create a new group, compiler, for example, where all the users
 who will be able to run gcc must belong to it!

 Wouldn't be interesting to implement this into Gentoo gcc ebuild as an
 USE?

 What stops the user from downloading the gcc source and install it on
 her home partition?

I was a bit fast there. What i meant was:

What stops the user from downloading the gcc source to another
machine, compiling it there and installing the binary on her home
partition on your machine?
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GCC error

2005-11-03 Thread Harald Arnesen
赵光 [EMAIL PROTECTED] writes:

 2005/11/3, Hareesh Nagarajan [EMAIL PROTECTED]:
 Last night, I emerged some ATI drivers, emerged a new kernel (didn't
 compile it though) and emerged eselect.

 Today when I compile a C++ program I get the following error:

 /usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory


 look like not install kernel correctly
 did you run
 make modules_install
 to install the headerfile of kernel

The headers in /usr/include has nothing to do with the kernel you have
installed. They are part of sys-kernel/linux-headers.

$ equery belongs /usr/include/asm-generic/errno.h
[ Searching for file(s) /usr/include/asm-generic/errno.h in *... ]
sys-kernel/linux-headers-2.6.11-r2 (/usr/include/asm-generic/errno.h)
-- 
Hilsen Harald.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ext3: 10% non-contiguous

2005-11-01 Thread Harald Arnesen
Joshua Schmidlkofer [EMAIL PROTECTED] writes:

 For a more sustainable situation, switch to XFS [It involved a
 backup/format/restore by whatever means you want]

And if you do, make sure you have a good UPS.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] man ksh appears not to be about the korn shell

2005-10-04 Thread Harald Arnesen
Harry Putnam [EMAIL PROTECTED] writes:

 Has anyone else noticed that man ksh displays a page that at least
 appears not to be about ksh93 or the newer korn shell?

 The first three items:

   NAME
sh,  rsh, pfsh - shell, the standard/restricted command and
programming
language

Not here:

$ man ksh

KSH(1)  KSH(1)



NAME
   ksh,  rksh,  pfksh  - KornShell, a standard/restricted command and pro-
   gramming language

-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: man ksh appears not to be about the korn shell

2005-10-04 Thread Harald Arnesen
Harry Putnam [EMAIL PROTECTED] writes:

 Harald Arnesen [EMAIL PROTECTED] writes:

 Not here:

 $ man ksh

 KSH(1)  
 KSH(1)



 NAME
ksh,  rksh,  pfksh  - KornShell, a standard/restricted command and 
 pro-
gramming language


 Gack, what is the date on your man page?

 Here it is: 
  ls -l /usr/share/man/man1/ksh.1.gz
  -rw-r--r--  1 root root 42519 Mar 23  2005 \
   /usr/share/man/man1/ksh.1.gz

$ ls -l /usr/share/man/man1/ksh.1.gz 
-rw-r--r--  1 root root 42679 May  3 16:03 /usr/share/man/man1/ksh.1.gz
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suspend2 and hibernate problem.

2005-09-10 Thread Harald Arnesen
Paweł Madej [EMAIL PROTECTED] writes:
 Hibernating and resuming works flawlessly but one thing.
 When i do:

 # hibernate
 i got everything stopped but there is no power off on my laptop. Thing
 is a bit weird because when i do:
 # halt it turns off power

 i also got emerged hibernate-script and under it is part of hibernate.conf:
 ### suspend2 (for Software Suspend 2)
 UseSuspend2 yes
 ## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for
...
 poweroff
 # PowerdownMethod 5

Try uncommenting this line.
-- 
Hilsen Harald.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Out of order install - grub first

2005-09-07 Thread Harald Arnesen
Nick Rout [EMAIL PROTECTED] writes:

 On Tue, 6 Sep 2005 14:15:56 -0700
 Mark Knecht wrote:

 Hi,
From experience I don't see this as a problem but I thought I'd ask.
 
 1) I just installed Win XP
 
 2) I'm going to install Gentoo
 
 3) I plan to use grub to dual-boot
 
Any reason I cannot install grub at the start of the Gentoo install
 process instead of at the end? This would allow me to check that
 Windows is still booting before I spend hours building the machine up
 with Gentoo only to run into some sort of an issue with the way I've
 got Windows on the box.
 
 you'll need to get to the point where you can compile grub - ie up to
 stage 3 probably.

Not really. It can be installed from a live CD.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-02 Thread Harald Arnesen
Holly Bostick [EMAIL PROTECTED] writes:

 Ben Blount schreef:
 MBR is probably damaged, hence why it won't boot. I would run
 grub-install just to be sure.
 
 You could also mount your old disk and the new disk, then use
  cp -R /mnt/olddisk/* /mnt/newdisk/
 (putting in the appriopriate mount locations of course)
 
 Ben Blount
 

 Wouldn't rsync -a be better for this, or would cp -R preserve ownership
 and permissions as well?

cp -a would preserve all file attributes. rsync would probably be
better.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Filesystem wars - ReiserFS 3.6 vs. JFS

2005-06-21 Thread Harald Arnesen
Colin [EMAIL PROTECTED] writes:

 I might go with ReiserFS again, because no filesystem is perfect,
 but Reiser comes very close to it despite this latest problem. I'm
 also considering JFS, but I can't find any comments about it. Has
 anyone on this list had any experience with JFS as a general-purpose
 file system, and would you recommend it over ReiserFS 3.6?

I use JFS on my laptop (it's an IBM ThinkPad, so why not use an
IBM-made file system?). It has worked great for a long time. I have
never lost a file after a crash (I use all the latest kernels, so
crashes happen sometimes).

I have lost files to ReiserFS on the same machine, but it's been a
long time since I used that fs. It could be better now.

If you want to be safe, go for ext3.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage keywords

2005-06-18 Thread Harald Arnesen
Holly Bostick [EMAIL PROTECTED] writes:

 Harald Arnesen schreef:
 Holly Bostick [EMAIL PROTECTED] writes:

 But the
2.6.12 final release is now in Portage
 
 
 How can 2.6.12 be in portage when the latest versions on kernel.org
 are 2.6.11.12 and 2.6.12-rc6 ?

 Sorry, my mistake --misread both the eix output *and* the kernel.org
 page. I'll just be quiet now 

Well, 2.6.12 is out now. Compiling it as I write. Probably not long
before it is in portage either.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage keywords

2005-06-17 Thread Harald Arnesen
Holly Bostick [EMAIL PROTECTED] writes:

 Martins Steinbergs schreef:
ATI has a policy of not supporting -rc or
unreleased/unstable kernels. 
 
 
 i tried with vanilla 2.6.12-rc6 - no luck. fglrx wont compile.

 Yes, that's what I said-- ATI does not support -rc kernels. But the
 2.6.12 final release is now in Portage, and it might compile against
 that, as the support might have been included at the last minute. I
 haven't been to the Rage3d forums to check, and I'm not yet upgrading to
 2.6.12, so I don't know for sure.

How can 2.6.12 be in portage when the latest versions on kernel.org
are 2.6.11.12 and 2.6.12-rc6 ?
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: which FS (ext3,reiserfs,xfs,jfs)?

2005-04-18 Thread Harald Arnesen
Ciaran McCreesh [EMAIL PROTECTED] writes:

 On Sun, 17 Apr 2005 18:17:33 +0200 Jarry [EMAIL PROTECTED] wrote:
 | Up to now I always used ext2, but now I want to try some
 | journaling fs for my 2x160GB ata-disks, fully in raid1
 | (partitions: / /boot /var /tmp /usr /opt /home and swap).

 If you care about your data, use ext3.

Amen.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list