Re: mp3 player with adjustable speed and pitch correction

2008-06-30 Thread Cédric Lucantis
A quick search through the man > page does find a filter which compensates for the pitch as well, but I > didn't test it. > alsaplayer does it too, even allowing negative speeds for your satanic parties :) -- Cédric Lucantis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: emacs: renaming files in a programming project

2008-06-27 Thread Cédric Lucantis
macs. Any idea? If it helps, I am using ctags. > The tags-query-replace command is just done for that. -- Cédric Lucantis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: installing X libraries?? -- need your help!

2007-05-07 Thread Cédric Lucantis
d useful informations in the file config.log like which test program failed and what was the error message. -- Cédric Lucantis

Re: How to create boost libraries for cross compile?

2007-05-04 Thread Cédric Lucantis
nd use it as is. I think cygwin provides that. -- Cédric Lucantis

Re: How to cross compile Debian -> Windows ???

2007-05-03 Thread Cédric Lucantis
gnore for now. I'm not sure this is the conventional way of doing it, but it works for me. -- Cédric Lucantis

Re: kernel recompile compile

2007-05-02 Thread Cédric Lucantis
o much and do it, it's much easier than it might seem... Enjoy, -- Cédric Lucantis

Re: GCC compiler

2007-04-29 Thread Cédric Lucantis
ikely to get what you expect with := , because it's closer to what happens with other scripting languages. It's true that the = syntax can be quite tricky and is often the cause of hard to find bugs, but it's also often useful. This is documented in the make info page, under section 6.5 "How to use variables/Setting". I don't know if this is specific to gnu make or not. -- Cédric Lucantis

Re: GCC compiler

2007-04-29 Thread Cédric Lucantis
at is this quantizacao file ? It doesn't appear in the makefile. > > > > HYPERLINK > > "mailto:[EMAIL PROTECTED]:~/mat056/AULA28.03.07$"[EMAIL > > PROTECTED]:~/mat056/AULA28. > >03. 07$ > > > > I can see it’s missing the im.h of my gcc lib. Does anyone know how to > > solve this problem? Even apt-get any lib that has im.h? > > what is im.h supposed to be a part of? If you don't know, than where did > you get the code and what's its intent? Good question ;) Maybe are you looking for libimlib ? (an image manipulation lib, replacement for libxpm) > > There is no debian package that contains im.h or libim.a or libim.so > Only reference I found is national language support for AIX which is a > proprietary UNIX by IBM > > > Regards, > > > > iuri sampaio -- Cédric Lucantis

Re: sed command spanning multiple lines

2007-04-11 Thread Cédric Lucantis
> > sed -e 's/\.//g' > -e 's/\,//g' > -e 's/\\//g' "$1" ... but also note that this can be done with a single command (escaping is useless here) : 's/[,/.]//g' -- Cédric Lucantis

Re: sed command spanning multiple lines

2007-04-11 Thread Cédric Lucantis
oo > > and be able to add additional lines such as: > > -e 's/[0-9]//g' bash simply accepts something like this: sed /tmp/file -e ' s,h,,g s,o,,g' or you can put your commands in a separate file (one by line) and use -f command-file instead of -e in both cases, you can put several commands on the same line by separating them with a ';' -- Cédric Lucantis

Re: [OT] Graphics programming

2007-04-05 Thread Cédric Lucantis
or both of these. I think C (or C++) is a good choice for what you want to do if you want good performances. If you don't really care about it, some scripting language like python may be better (they all generally provide an image manipulation module). -- Cédric Lucantis

Re: Accessing windows partition through debian etch

2007-04-01 Thread Cédric Lucantis
ht to write on it, preventing some disasters :) and shortname is required to keep the file names case. You can also make this permanent by adding a line in your fstab file (see man mount and fstab for more infos). And no, reinstalling windows shouldn't touch the debian's partitions, u

Re: keeping tar quiet in script

2007-04-01 Thread Cédric Lucantis
/dev/null. > redirecting stderr is good but will also discard other possibly helpful error messages if something goes wrong. You can simply avoid this particular one with something like this : tar -cf archive -C/ . another trick is to redirect the whole script to some log file (or /dev/null if you're fearless) by putting this at its beggining : LOGFILE=... exec > "$LOGFILE" 2>&1 -- Cédric Lucantis

Re: no /etc/mtab and mount bind

2007-03-22 Thread Cédric Lucantis
#x27;t know if it uses mtab or not. The same infos are in /proc/mount, but the bind option doesn't seem to appear there. The only solution I can see is to check for the device inode (stat -c '%d') of all your mount points, looking for duplicate ones, but there's probably simpler... -- Cédric Lucantis

Re: Home Directory on External Drive

2007-03-22 Thread Cédric Lucantis
ab entry like this: LABEL=NAME /home/masatran ext3defaults It will then be mounted automatically at boot time. -- Cédric Lucantis

Re: tar syntax and backing up

2007-03-19 Thread Cédric Lucantis
docs are in the man page but not in the info and vice versa, so it's probably a good idea to read them both. Enjoy :) -- Cédric Lucantis

Re: scripting

2007-03-16 Thread Cédric Lucantis
s also an online version which seems to be a little bit more up to date: http://www.tldp.org/LDP/abs/html -- Cédric Lucantis

Re: scripting

2007-03-16 Thread Cédric Lucantis
g 0 ;; esac You may also have a look at /lib/lsb/init-functions which contains some system functions often used in startup scripts. -- Cédric Lucantis

Re: Using quotes in bash script parameters

2007-03-14 Thread Cédric Lucantis
RNCMD > > oops, sorry, quotes are required here: > > eval "$WARNMSG | $WARNCMD" well, hum you see what I mean don't you? :) eval "echo $WARNMSG | $WARNCMD" sorry for the noise -- Cédric Lucantis

Re: Using quotes in bash script parameters

2007-03-13 Thread Cédric Lucantis
Le mercredi 14 mars 2007 02:07, Cédric Lucantis a écrit : > Le mercredi 14 mars 2007 01:04, Marco De Vitis a écrit : > > Hi, > > this is not strictly Debian-related, but I'm doing it on Etch, so... :) > > > > Let's say I'm writing a script like this: >

Re: Using quotes in bash script parameters

2007-03-13 Thread Cédric Lucantis
for a while. I usually find some > workaround, but I'm a bit tired now. An I suppose it should be some kind > of FAQ... although I couldn't find anything around. > > I already tried with single quotes, I tried escaping them, I tried > escaping the spaces in the subject... to no avail. > > Any clues? > Thanks. eval does the trick: SUBJECT="This is a test mail" WARNMSG="An error occurred" WARNCMD="mail -s \"${SUBJECT}\" root" echo "echo $WARNMSG | $WARNCMD" eval $WARNMSG | $WARNCMD -- Cédric Lucantis

Re: core dumps

2007-03-12 Thread Cédric Lucantis
gest using the 'file' command? > > $ baz > Segmentation fault (core dumped) > $ ls > baz core > $ file core > core: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), > SVR4-style, from 'baz' Strangely, it doesn't work on my system: [EMAIL PROTECTED]:~$ file core core: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style But gdb -batch did the trick, thanks! -- Cédric Lucantis

Re: debian charset howto help

2007-03-11 Thread Cédric Lucantis
une.en.html#s-l10n and also: man charsets man locale-gen man consolechars man loadkeys see the file /etc/console-tools/config -- Cédric Lucantis

Re: filename case

2007-03-11 Thread Cédric Lucantis
Le dimanche 11 mars 2007 18:10, L.V.Gandhi a écrit : > On 3/11/07, Cédric Lucantis <[EMAIL PROTECTED]> wrote: > > Le dimanche 11 mars 2007 14:43, L.V.Gandhi a écrit: > > > When I copy files to vfat drives , filenames case is changed to lower > > > > case. > &

Re: filename case

2007-03-11 Thread Cédric Lucantis
source -cf - . | ( cd /path/to/dest; tar -xf -; ) stupid me :) I never realized I could simply do this: tar -C /path/to/source -cf - . | tar -C /path/to/dest -xf - (you also have to add -h to the first tar if there are symlinks in your files) -- Cédric Lucantis

Re: filename case

2007-03-11 Thread Cédric Lucantis
: tar -C /path/to/source -cf - . | ( cd /path/to/dest; tar -xf -; ) -- Cédric Lucantis

Re: Sarge to Etch upgrade report

2007-03-10 Thread Cédric Lucantis
rom previous > distributions? To its credit, aptitude handled the hotplug -> udev > transition correctly, I wonder what else it didn't handle... Try the cruft package > Well, overall, no major problems. I'm happy with the way the upgrade > turned out. Kudos to the developers!!! +1 :) -- Cédric Lucantis

Re: Groups, Permissions and /Share

2007-03-10 Thread Cédric Lucantis
er good source of infos about that and unix systems in general are the coreutils doc (info coreutils). You'll find a lot of useful tricks there. The section 'file permissions' explains all this in details, and 'changing files attributes' describes chmod and chown. -- Cédric Lucantis

Re: Empty crontab

2007-03-10 Thread Cédric Lucantis
it this file (sometime ago I read it is not recommended to edit > it directly)? You can edit it with any editor. If I remember well, this restriction exists on other systems but Debian is not concerned. -- Cédric Lucantis

core dumps

2007-03-09 Thread Cédric Lucantis
Hi, I'd like to know how to find which program produced a particular core dump file, any idea? thanks, -- Cédric Lucantis

Re: Question about using anacron with cron

2007-03-08 Thread Cédric Lucantis
in lexicographic order, so you just have to prepend their name with a number (01first_script, 02second_script...) to order them (see man run-parts) > > I can't answer your cron/anacron questions directly, but why not just > wrap your cron jobs in a script that runs them seque

Re: now the solution is nearer:

2007-03-08 Thread Cédric Lucantis
4.3.10-19_i386.deb > Proceso detenido por haber demasiados errores. > E: Sub-process /usr/bin/dpkg returned an error code (1) sorry, I don't speak castilian :) as Mathias said, you should send the output of something like LC_ALL=C apt-get upgrade but maybe you should first check that yo

Re: problems with apt-get update

2007-03-08 Thread Cédric Lucantis
it, but maybe APT::Cache-Limit inside APT{} is redundant and not understood by apt. Try either APT { Cache-Limit ... } or APT::Cache-Limit outside of the braces. -- Cédric Lucantis

Re: problems with apt-get update

2007-03-08 Thread Cédric Lucantis
ate try a higher value if it does not work, but I don't know what it means exactly so maybe there's a risk of breaking something -- Cédric Lucantis

Re: How do I list all users in a group?

2007-03-07 Thread Cédric Lucantis
x27;s the simplest I could find (call it with group name as first param) : list_group_users() { ( grep "^${1}:" /etc/group | awk -F ':' '{print $4}' | sed -e 's/,/\n/g'; grep "^${1}:" /etc/passwd | awk -F ':' '{print $1}'; ) | sort -u } sorry if I misunderstood what you want... -- Cédric Lucantis

Re: How do I list all users in a group?

2007-03-07 Thread Cédric Lucantis
Thank you all for any advice, I'd do this: group="group-name" grep "^${group}:" /etc/group | awk -F ':' '{print $4}' It produces a comma separated list of users -- Cédric Lucantis

Re: Where to put scripts

2007-03-06 Thread Cédric Lucantis
y to keep things more clear, say /usr/local/myscripts/bin and /usr/local/myscripts/sbin. -- Cédric Lucantis

Re: profiler

2007-03-06 Thread Cédric Lucantis
> I am looking for a profiler to easily profile a C program of mine > on my Etch box (amd64): any suggestions are welcome. Hi, I like gprof, part of the binutils package (I guess you're using gcc), but there are probably many other choices. See man gprof and gcc. -- Cédric Lucantis

Re: konqueror is slow

2007-02-27 Thread Cédric Lucantis
I add the same problem and two things helped me a lot: - add the following in your /etc/environment (create the file if you don't have one) : KDE_NO_IPV6=TRUE - install the nscd package and make sure it's running (installing it should be enough) and please, don't ask me why :) -- Cédric Lucantis