Re: [gentoo-user] Bash $VAR expansion escapes the dollar instead of expanding

2011-03-23 Thread Etaoin Shrdlu
On Wed, 23 Mar 2011 09:01:15 -0700 fe...@crowfix.com wrote: On Wed, Mar 23, 2011 at 10:55:05AM -0400, Willie Wong wrote: A possible culprit maybe the bash-completion package. Have you updated that recently? I haven't had bash-completion installed for years. I forget now what I didn't

Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread Etaoin Shrdlu
On Sat, 12 Feb 2011 12:25:20 +0100 meino.cra...@gmx.de wrote: Hi, I am trying to instruct sed to insert a line of text before a matched line. The whole command should fit into one physical (command) line. Is it possible? And how is it possible? sed 's/matchingline/insertedline\n/'

Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread Etaoin Shrdlu
On Sat, 12 Feb 2011 14:11:20 +0100 meino.cra...@gmx.de wrote: Alan McKinnon alan.mckin...@gmail.com [11-02-12 13:44]: Apparently, though unproven, at 13:25 on Saturday 12 February 2011, meino.cra...@gmx.de did opine thusly: Hi, I am trying to instruct sed to insert a line of

Re: [gentoo-user] Cloning a directory hierarchy, but not the content

2011-01-29 Thread Etaoin Shrdlu
On Sat, 29 Jan 2011 14:58:13 +0100 Alex Schuster wo...@wonkology.org wrote: Hi there! I am currently putting extra backups to old hard drives I do no longer need for other purposes. After that I send the putput out ls -lR and du -m to my log directory so I can check what files are on which

Re: [gentoo-user] Cloning a directory hierarchy, but not the content

2011-01-29 Thread Etaoin Shrdlu
On Sat, 29 Jan 2011 15:27:59 +0100 Alex Schuster wo...@wonkology.org wrote: I just wrote a little script that does this, but it does not do the sparse file thing yet, and would have problems with newline in file names. And I guess someone already wrote such a utility? IIUC, try

Re: [gentoo-user] [OT] find lines in text file by length

2011-01-29 Thread Etaoin Shrdlu
On Sat, 29 Jan 2011 10:01:02 -0500 Willie Wong ww...@math.princeton.edu wrote: This is way OT, but I hope someone here can give me a quick answer: I have a text-file. Individual lines of it run from 10 to several thousand characters in length. Is there a simple* command that allows me to

Re: [gentoo-user] [OT] find lines in text file by length

2011-01-29 Thread Etaoin Shrdlu
On Sat, 29 Jan 2011 14:57:28 + Etaoin Shrdlu shr...@unlimitedmail.org wrote: On Sat, 29 Jan 2011 10:01:02 -0500 Willie Wong ww...@math.princeton.edu wrote: This is way OT, but I hope someone here can give me a quick answer: I have a text-file. Individual lines of it run from 10

Re: [gentoo-user] Cloning a directory hierarchy, but not the content

2011-01-29 Thread Etaoin Shrdlu
On Sat, 29 Jan 2011 17:45:30 +0100 Alex Schuster wo...@wonkology.org wrote: Ah, now I get it. There's a -c missing after the sh command. Right, thans for spotting it. I should have added that, to do it safely, the target should reside higher than the source in the hierarchy, or it should

Re: [gentoo-user] Best way to copy /* ?

2010-12-27 Thread Etaoin Shrdlu
On Mon, 27 Dec 2010 16:20:55 +0100 Marc Blumentritt marc.blumentr...@arcor.de wrote: Hi, I have bought myself a Christmas present, a new shiny hard disk. Now I want to copy my old Gentoo system to my new disk like this: 1.) boot with gentoo boot cd 2.) mount my old system ind /old ( / in

Re: [gentoo-user] 'netstat -lp' oddities

2010-12-03 Thread Etaoin Shrdlu
On Fri, 3 Dec 2010 11:14:01 -0800 Grant emailgr...@gmail.com wrote: I ran 'netstat -lp' on a system of mine and found a couple of strange things. tcp0 0 1.2.3.4.st:https *:* LISTEN 2929/apache2 udp0 0 1.2.3.4.stat:ntp *:* 3203/ntpd

Re: [gentoo-user] 'netstat -lp' oddities

2010-12-03 Thread Etaoin Shrdlu
On Fri, 3 Dec 2010 13:18:54 -0800 Grant emailgr...@gmail.com wrote: Ah, so much better. Thank you. Still getting those warning, got bogus unix line. lines instead of UNIX sockets though. Google shows that this message is caused by netstat when some unix domain socket is changing while being

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Etaoin Shrdlu
On Fri, 12 Nov 2010 16:51:58 +0100 Stefan G. Weichinger li...@xunil.at wrote: Maybe stupid question: How to find out which physical NIC is for example eth0 ? If I have 2 NICs in the box, for example one e1000 and one from 3com, how to find out which one is eth0 ? I looked up

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Etaoin Shrdlu
On Fri, 12 Nov 2010 22:31:09 +0200 Fatih Tümen fthtmn+gen...@gmail.com wrote: On Fri, Nov 12, 2010 at 21:14, Stefan G. Weichinger li...@xunil.at wrote: I want to somehow find out the relation between loaded kernel-module and ethernet-devicefile. Without physical access ... In another

Re: [gentoo-user] which NIC is which?

2010-11-12 Thread Etaoin Shrdlu
On Fri, 12 Nov 2010 21:01:50 + Etaoin Shrdlu shr...@unlimitedmail.org wrote: Also modprobe -k I obviously meant lspci -k, though probably rereading the question, it's not what he wanted.

Re: [gentoo-user] Re: [OT] sudo in kernel config ?

2010-09-12 Thread Etaoin Shrdlu
On Sun, 12 Sep 2010 10:16:31 +0100 Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Sunday 12 September 2010 00:15:34 Etaoin Shrdlu wrote: But since you're not convinced, now it would be nice, for my own education, and perhaps someone else's, that you elaborated a bit more. What exactly

Re: [gentoo-user] sudo in kernel config ?

2010-09-11 Thread Etaoin Shrdlu
On Sat, 11 Sep 2010 15:35:58 -0500 Dale rdalek1...@gmail.com wrote: If they are accessible by a user, couldn't a user then edit or add something that would then cause a security problem? If they can edit them and no one know it, then root comes along and builds a shiney new kernel with a

Re: [gentoo-user] sudo in kernel config ?

2010-09-11 Thread Etaoin Shrdlu
On Sat, 11 Sep 2010 23:05:22 +0100 Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Saturday 11 September 2010 21:28:13 Etaoin Shrdlu wrote: This was actually a potential risk once upon a time: Sorry to drift from the topic, but would somebody please explain to me what a potential risk

[gentoo-user] Re: [OT] sudo in kernel config ?

2010-09-11 Thread Etaoin Shrdlu
On Sun, 12 Sep 2010 00:06:04 +0100 Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Saturday 11 September 2010 23:03:14 Etaoin Shrdlu wrote: Makes sense? Not convinced. Sorry. The Merriam-Webster gives this definition of potential: existing in possibility : capable of development

Re: [gentoo-user] Pipe Lines - A really basic question

2010-09-09 Thread Etaoin Shrdlu
On Thu, 9 Sep 2010 13:24:16 -0400 Matt Neimeyer m...@neimeyer.org wrote: My generic question is: When I'm using a pipe line series of commands do I use up more/less space than doing things in sequence? For example, I have a development Gentoo VM that has a hard drive that is too small... I

Re: [gentoo-user] Gentoos community communication rant

2010-09-06 Thread Etaoin Shrdlu
On Tue, 07 Sep 2010 08:42:40 +1000 Jake Moe jakesaddr...@gmail.com wrote: Everyone's got their preference; some like mailing lists and come here. Others like forums and go there. Still others prefer IRC. Also, a quick Google search of gentoo newsgroup showed me alt.os.linux.gentoo, and

Re: [gentoo-user] gawk and filefuncs

2010-09-04 Thread Etaoin Shrdlu
On Sat, 4 Sep 2010 00:25:32 +0200 Al oss.el...@googlemail.com wrote: Thank you very much. That is the best explanation a read to this. It should be deliverd with the sources. Still the procedure is unusual. They could apply a patch to extensions/ filefuncs.c and exclude it for vanilla.

Re: [gentoo-user] gawk and filefuncs

2010-09-03 Thread Etaoin Shrdlu
On Fri, 3 Sep 2010 22:31:01 +0200 Al oss.el...@googlemail.com wrote: Can anybody explain the Gentoo handling of filefuncs in the gawk package? Why isn't a simple patch used like in all other cases? gawk provides dynamic extension modules. This is explained here:

Re: [gentoo-user] Impossible question... Swithcing from no multilib to multilib

2010-07-22 Thread Etaoin Shrdlu
On Thu, 22 Jul 2010 11:56:50 +0200 Andrea Momesso momesso.and...@gmail.com wrote: That's impossible, isn't it? Swithcing profile and reemerging everithing isn't gonna work? Even from a chroot? Should I reinstall a new stage from scratch? Adobe stopped providing flash for linux 64 bit,

Re: [gentoo-user] bash blinking

2010-07-14 Thread Etaoin Shrdlu
On Wed, 14 Jul 2010 20:35:43 +0100 Jorge Almeida jjalme...@gmail.com wrote: How can I prevent bash of blinking when running ls -l on a directory with broken links? The thing gets in the way, and it is really unbearable if a directory contains lots of broken links. I didn't manage to google my

Re: [gentoo-user] current network traffic rate, in real time (in console)?

2010-07-07 Thread Etaoin Shrdlu
On Wed, 07 Jul 2010 19:37:37 +0200 Jarry mr.ja...@gmail.com wrote: Hi, I would like to see in console current network transfer rate for given interface, similar as I can see cpu-loading in [%] with top command. Just single overall value in [bytes/second] or similar unit would be enough

Re: [gentoo-user] /usr/bin/time is in what package?

2010-07-04 Thread Etaoin Shrdlu
On Sun, 04 Jul 2010 14:10:13 +0200 pk pete...@coolmail.se wrote: On 2010-07-04 11:57, Mick wrote: It's part of /bin/busybox I think so running qfile time will not show it up and which time won't get you closer either. I just got curious when the OP posted this so I tried to do a 'which

Re: [gentoo-user] Adobe Flash (10.1.53.64) Not Working

2010-06-27 Thread Etaoin Shrdlu
On Sunday 27 June 2010, dhk wrote: Adobe Flash use to work on my amd64 box, but after the last upgrade it stopped working. When I visit sites that use it I'm told that Adobe Flash is not installed or to download the plugin. In my /etc/make.conf I had to change ACCEPT_LICENSE to

Re: [gentoo-user] xargs and rm funkiness

2010-05-29 Thread Etaoin Shrdlu
On Saturday 29 May 2010, Daniel D Jones wrote: On Wednesday 26 May 2010 06:42:08 Joerg Schilling wrote: Patrick Holthaus patrick.holth...@uni-bielefeld.de wrote: You might try: find -name *.ext -print0 | xargs -0 rm But this is non-standard. In what way is this non-standard?

Re: [gentoo-user] [SOLVED] Phonon + PulseAudio Problem

2010-05-23 Thread Etaoin Shrdlu
On Sunday 23 May 2010, Fabian Köster wrote: I WANT TO UNSUBSCRIBE Maybe you should just do it and stop making noise: gentoo-user+unsubscr...@lists.gentoo.org It would be great if mailing list software could be configured so that only users who demonstrate they know how to unsubscribe

Re: [gentoo-user] [SOLVED] Phonon + PulseAudio Problem

2010-05-23 Thread Etaoin Shrdlu
On Sunday 23 May 2010, Indexer wrote: On 23/05/2010, at 8:51 PM, Etaoin Shrdlu wrote: On Sunday 23 May 2010, Fabian Köster wrote: I WANT TO UNSUBSCRIBE Maybe you should just do it and stop making noise: gentoo-user+unsubscr...@lists.gentoo.org It would be great if mailing list

Re: [gentoo-user] [SOLVED] Phonon + PulseAudio Problem

2010-05-23 Thread Etaoin Shrdlu
On Sunday 23 May 2010, Peter Humphrey wrote: On Sunday 23 May 2010 12:21:39 Etaoin Shrdlu wrote: It would be great if mailing list software could be configured so that only users who demonstrate they know how to unsubscribe could subscribe in the first place. Example: - user subscribes

Re: [gentoo-user] [SOLVED] Phonon + PulseAudio Problem

2010-05-23 Thread Etaoin Shrdlu
On Sunday 23 May 2010, Volker Armin Hemmann wrote: On Sonntag 23 Mai 2010, Peter Humphrey wrote: On Sunday 23 May 2010 12:21:39 Etaoin Shrdlu wrote: It would be great if mailing list software could be configured so that only users who demonstrate they know how to unsubscribe could

Re: [gentoo-user] Constraining X display resolutions

2010-04-30 Thread Etaoin Shrdlu
On Tuesday 27 April 2010, Mick wrote: I've had the same problem on a high resolution (1920x1080), small size screen (15.6). The characters are tiny and anything else but native resolution makes images and characters blurred. The solution was to increase the font size on the terminals and

Re: [gentoo-user] vmware-workstation from vmware overlay broken digest

2010-03-01 Thread Etaoin Shrdlu
On Monday 01 March 2010, Nikos Chantziaras wrote: If any dev from the vmware overlay reads this, please fix this one: Calculating dependencies / * Digest verification failed: * /var/lib/layman/vmware/app-emulation/vmware-workstation/vmware-workstation- 7.0.1.227600.ebuild * Reason: Failed

Re: [gentoo-user] Multi-file search replace of text

2010-02-28 Thread Etaoin Shrdlu
On Sunday 28 February 2010, Stroller wrote: If I want to automagically replace text in a file, I can use `sed`. I don't believe that `sed` can be invoked in such a way to change the file in place, therefore two commands are necessary: $ sed 's/Project Gutenberg/Wordsworth Classics/'

Re: [gentoo-user] Multi-file search replace of text

2010-02-28 Thread Etaoin Shrdlu
On Sunday 28 February 2010, Stroller wrote: A starting point could be (after you make a backup of the whole tree) find /basedir -type f -exec sed -i 's/foo/bar/g' {} + Many thanks - that looks great! My only concern is that it is unreliable enough that you state the need to backup

Re: [gentoo-user] Re: Who believes in cylinders?

2010-02-27 Thread Etaoin Shrdlu
On Saturday 27 February 2010, BRM wrote: Stage 1 focuses solely on loading Stage 2, and has historically been limited to a total size[1] to 512 bytes, It's actually less than that, because the first 64 bytes of sector 0 contain the partition table, so the maximum size of a stage1 bootloader

Re: [gentoo-user] openvpn static ip

2010-02-25 Thread Etaoin Shrdlu
On Thursday 25 February 2010, Joseph wrote: Yes, it was a typo :-/ I corrected it: cat syscon9 ifconfig-push 192.168.139.15 255.255.255.0 but from log you can see it still didn't give me what I want, I got IP 192.168.139.6 and was asking for: 192.168.139.15 Try adding topology subnet

Re: [gentoo-user] zsh and sudo

2010-02-20 Thread Etaoin Shrdlu
On Friday 19 February 2010, daid kahl wrote: Hello, I just installed zsh recently and was working on making the switch over from bash for my daily user, provided I can get a few things worked out. The biggest problem that I can't find useful results googling is zsh interaction with sudo.

Re: [gentoo-user] firefox addons system wide installation?

2010-01-06 Thread Etaoin Shrdlu
On Wednesday 06 January 2010, Helmut Jarausch wrote: Hi, how can I install addons for firefox 3.5.6 system wide i.e., such that these are available to all users? (AFAIK, the standard method installs them local to each user)

Re: [gentoo-user] firefox addons system wide installation?

2010-01-06 Thread Etaoin Shrdlu
On Wednesday 06 January 2010, Hazen Valliant-Saunders wrote: I think you are confusing add-ons with extensions. I might be wrong, but in my understanding add-on is a generic term that includes at least themes and extensions (if not even plugins). So I suppose the OP meant extensions rather

Re: [gentoo-user] redirect connections to localhost

2010-01-01 Thread Etaoin Shrdlu
On Friday 01 January 2010, Alexander wrote: On Friday 01 January 2010 03:07:42 Etaoin Shrdlu wrote: On Thursday 31 December 2009, Alexander wrote: Is there a way to redirect TCP connections from external network interfaces to the local/loopback in network 127.0.0.0/8? I need

Re: [gentoo-user] redirect connections to localhost

2009-12-31 Thread Etaoin Shrdlu
On Thursday 31 December 2009, Alexander wrote: Is there a way to redirect TCP connections from external network interfaces to the local/loopback in network 127.0.0.0/8? I need functionality like DNAT target in iptables. Uh...why don't you use DNAT then?

Re: [gentoo-user] Changing subject and from lines of cron emails

2009-12-21 Thread Etaoin Shrdlu
On Monday 21 December 2009, Stroller wrote: A bit of Googling [1] shows me that: 0 8 * * * /usr/local/bin/get_iplayer -z Daily Summary 21 | grep -v ^Added | mailx -s iPlayer Daily Summary stroller which gives a neater subject line. However the from: address is

[gentoo-user] Going to multilib

2009-12-06 Thread Etaoin Shrdlu
Ok, so I have some apps that require 32 bit libraries, but I'm currently using a no-multilib profile. This page http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml says: Warning: Currently you cannot switch from a no-multilib to a multilib-enabled profile, so think over your decision twice

Re: [gentoo-user] Going to multilib

2009-12-06 Thread Etaoin Shrdlu
On Sunday 06 December 2009, Etaoin Shrdlu wrote: Ok, so I have some apps that require 32 bit libraries, but I'm currently using a no-multilib profile. Apologies, I sent an email meant for gentoo-amd64 to gentoo-user. Sorry for the trouble.

Re: [gentoo-user] [possibly OT?] Bash-4 mailcheck oddity

2009-11-09 Thread Etaoin Shrdlu
On Thursday 05 Nov 2009, Willie Wong wrote: Hi list: Finally upgraded to Bash-4 on my home desktop, and discovered a bit of odd (as compared to Bash-3) behaviour with mail checking. Maybe you're talking about this: http://www.mail-archive.com/bug-b...@gnu.org/msg06185.html

Re: [gentoo-user] program to solve assignment problem?

2009-11-03 Thread Etaoin Shrdlu
On Tuesday 03 Nov 2009, bn wrote: Dale ha scritto: Neil Bothwick wrote: On Mon, 02 Nov 2009 19:27:13 -0600, Dale wrote: And maybe it will be easier to just do his own homework instead of letting a computer do it for him. Maybe the assignment is to write a program to solve the

Re: [gentoo-user] [OT[ How do I unautomate an OOO slideshow?

2009-10-31 Thread Etaoin Shrdlu
On Friday 30 October 2009, fe...@crowfix.com wrote: People send me slideshows, some of which are interesting enough to watch. With OOO-3.0, I had to click or use NextPage for each picture and I got no sound, and that was fine with me. Now OOO 3.1 automates these slideshows and they really

Re: [gentoo-user] What does the sqlite USE flag do in Firefox?

2009-10-26 Thread Etaoin Shrdlu
On Monday 26 October 2009, Nikos Chantziaras wrote: Can someone enlighten me as to what exactly the sqlite USE flag does for xulrunner and firefox? AFAIK, it seems to make use of the system's sqlite instead of bundled sqlite. Which seems saner. But recently, the default in the ebuild seems

Re: [gentoo-user] Copying settings from Konqueror-3.5 to 4.3

2009-10-23 Thread Etaoin Shrdlu
On Thursday 22 October 2009, Alex Schuster wrote: I did cp -a .kde3.5 .kde4 and all the settings (not just only konqueror's) were picked up. That did not work for me, all windows had no window title then. But it worked fine for partial applications when I copied just their data over.

Re: [gentoo-user] konqueror cannot display flash

2009-10-23 Thread Etaoin Shrdlu
On Friday 23 October 2009, Xi Shen wrote: hi, where is the setting dialog? i only find the setting menu, in which i found the extension dialog. but it doe not have flash listed. what should i do now? Settings - configure konqueror... - plugins - plugins tab - scan for plugins And then

Re: [gentoo-user] Copying settings from Konqueror-3.5 to 4.3

2009-10-22 Thread Etaoin Shrdlu
On Wednesday 21 October 2009, Mick wrote: Maybe I am getting lazy - but wouldn't mind all my ftp, webdav and ssh settings under the Network places to have been carried over into KDE4. How do I go about copying them over? I did cp -a .kde3.5 .kde4 and all the settings (not just only

Re: [gentoo-user] Am I wrong?.. UPDATE

2009-10-02 Thread Etaoin Shrdlu
On Friday 02 October 2009 10:53:37 Arthur D. wrote: =+ 3) And now the most interesting. I was banned by maintainer. Now I cannot access the ticket too. Strange, uh?

Re: [gentoo-user] Re: OT: iptables w/ 2 web servers

2009-09-25 Thread Etaoin Shrdlu
On Thursday 24 September 2009 16:30:51 James wrote: One last thing. I can get a small subnet of say 5 IP address from my ISP for an additional 20/month. That that help me? Possibly. If you manage to get two public IPs, each website using one, you can then DNAT requests arriving at the first

Re: [gentoo-user] Knock on wood

2009-08-12 Thread Etaoin Shrdlu
On Wednesday 12 August 2009 12:43:27 bn wrote: So I am becoming very reluctant in updating critical components -one example is my kernel, which is basically untouched since I installed, in late 2007. I know it's counterproductive, because the more I wait, the worse it is, but it's always a

Re: [gentoo-user] Bash script inquiry

2009-08-11 Thread Etaoin Shrdlu
On Tuesday 11 August 2009 09:07:31 Richard Marza wrote: I'm trying to run a command in a loop. I have a counter device set...the number that the counter generates is supposed to go inside the command in the loop after every successive iteration of the loop. This is all really to get a general

Re: [gentoo-user] Bash script inquiry

2009-08-11 Thread Etaoin Shrdlu
On Tuesday 11 August 2009 10:27:26 Richard Marza wrote: Think of the file I'm using as a spreadsheet. The headers(column names) are on top and the values are below them. Each line has an item with multiple values under different systems. Item System1 System3 System4 ... nio5.0

Re: [gentoo-user] Bash script inquiry

2009-08-11 Thread Etaoin Shrdlu
On Tuesday 11 August 2009 11:17:12 Richard Marza wrote: For the moment, the script just prints out the lines where all the columns don't have the same value. awk 'NR==1{print;next}{for(i=3;i=NF;i++){if($i!=$2){print;break}}}' file.txt This is great. But it is important that I find

Re: [gentoo-user] [obscenely OT] A good SMTP server?

2009-07-08 Thread Etaoin Shrdlu
On Wednesday 08 July 2009, brullo nulla wrote: Hmmm, I run my own postfix, but I use the virgin SMTP server as a relay host. I don't get my email addresses mangled I don't think this is a solution. I am using a laptop, and how can I reach my postfix server (assuming that I have another

Re: [gentoo-user] Training Spamassassin via KMail

2009-07-07 Thread Etaoin Shrdlu
On Tuesday 07 July 2009, Sebastian Beßler wrote: Robin Atwood schrieb: man sa-learn :) metat...@darkstation ~ $ man sa-lern Keine Handbuchseite für sa-lern This is a client, spamassassin runs on my server. So spamassassin isn't installed here, and with this no sa-lern. I understand the

Re: [gentoo-user] Report generator

2009-07-03 Thread Etaoin Shrdlu
On Friday 03 July 2009, Mick wrote: Hi All, What's your recommendations for a server side report generator with a MySQL or Postgress back end? ISTR that this wasn't bad: http://datavision.sourceforge.net/ though it requires JDBC drivers, which however are not an issue for MySQL or PGSQL.

Re: [gentoo-user] Java apps in 64 bit JVM?

2009-06-29 Thread Etaoin Shrdlu
On Monday 29 June 2009, Alan McKinnon wrote: an OTP from a credit-card fob. It appears that the web page sets this up right somehow, and it's https:// so I can't sniff it and see what gives. Yes you can with some tool like webmitm, dsniff or ettercap (or others).

Re: [gentoo-user] Lost free space on /

2009-06-12 Thread Etaoin Shrdlu
On Friday 12 June 2009, 12:58, Alan McKinnon wrote: The original question was how big should /var be? and the correct answer to that question is mu (google it) If we had the output of df -h and du -sh /var/* plus a description of what the machine actually does, some general advice could be

Re: [gentoo-user] Finding orphaned libs

2009-06-09 Thread Etaoin Shrdlu
On Tuesday 9 June 2009, 16:36, Neil Bothwick wrote: On Tue, 09 Jun 2009 16:15:21 +0200, Joerg Schilling wrote: find -H /usr/lib /lib -type f | xargs -d'\n' qfile --orphans No, this is definitely wrong: the right way to handle this is execplus (since 19 years). If it's been around 19

Re: [gentoo-user] Finding orphaned libs

2009-06-09 Thread Etaoin Shrdlu
On Tuesday 9 June 2009, 16:52, Neil Bothwick wrote: On Tue, 9 Jun 2009 09:42:34 -0500, Paul Hartman wrote: -exec command {} + This variant of the -exec action runs the specified command on the selected files, but the command line is built by appending each selected file name at the end;

[gentoo-user] Strange problems with keyboard over vnc

2009-05-25 Thread Etaoin Shrdlu
I don't even know what to google for in this case. I have a remote box running gentoo with kde 3.5, to which I connect using VNC (krfb on the remote box, krdc on the local one). (the actual connection goes via a ssh tunnel, but I think that is not relevant here) All used to work fine, until

Re: [gentoo-user] ssh-agent RSA

2009-05-12 Thread Etaoin Shrdlu
On Tuesday 12 May 2009, 06:35, Hilco Wijbenga wrote: This works for me too but afterwards the key is completely ignored. What happens if you do this and then restart the shell? Or better yet, what happens if you logout completely and then log back in? For me, the RSA key is completely

Re: [gentoo-user] ssh-agent RSA

2009-05-12 Thread Etaoin Shrdlu
On Tuesday 12 May 2009, 11:17, Etaoin Shrdlu wrote: Does ssh-agent really ask you for a passphrase when starting a shell? Not if you don't invoke it :) Sorry, that is a bit unclear. Ssh-agent will never ask for a password. It's ssh-add that does (if you run it after the agent), assuming

Re: [gentoo-user] ssh-agent RSA

2009-05-11 Thread Etaoin Shrdlu
On Monday 11 May 2009, 07:18, Hilco Wijbenga wrote: 2. ssh-add -D ; ssh-add ~/.ssh/id_rsa 3. mv ~/.ssh/id_rsa ~/.ssh/id_dsa :) Seriously, did you try running ssh-add without arguments? Acrroding to the man, When run without arguments, it adds the files ~/.ssh/id_rsa, ~/.ssh/id_dsa and

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-09 Thread Etaoin Shrdlu
On Saturday 9 May 2009, 12:15, Stroller wrote: On 8 May 2009, at 14:38, Stroller wrote: ... if echo hello|grep --color=auto l /dev/null 21; then export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32' fi I'm afraid this thread has run away from me. I'm drinking the day's first cup of

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-09 Thread Etaoin Shrdlu
On Saturday 9 May 2009, 12:43, Stroller wrote: My question is: Do BSD other greps also support GREP_OPTIONS ? A quick google search reveals that NetBSD and FreeBSD use GNU grep, while OpenBSD uses BSD grep, which (at least according to the man page - see http://tinyurl.com/cs2unf) does not

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-08 Thread Etaoin Shrdlu
On Friday 8 May 2009, 16:10, Alan McKinnon wrote: On Friday 08 May 2009 16:01:14 Mike Kazantsev wrote: On Fri, 8 May 2009 14:38:58 +0100 Stroller strol...@stellar.eclipse.co.uk wrote: To find the part to which I refer you'll need to scroll down about halfway through that page to

Re: [gentoo-user] 'if echo hello' in .bashrc

2009-05-08 Thread Etaoin Shrdlu
On Friday 8 May 2009, 16:51, Alan McKinnon wrote: except that STDERR is combined with STDOUT and sent to /dev/null so the script will never get it, the if is always true and the entire check is redundant. Better would be if echo hello|grep --color=auto l /dev/null ; then That

Re: [gentoo-user] what is starting net.eth0 and how to stop it?

2009-04-21 Thread Etaoin Shrdlu
On Tuesday 21 April 2009, 03:58, Valmor de Almeida wrote: Etaoin Shrdlu wrote: That happened to me recently. Just change the value of the variable RC_PLUG_SERVICES in /etc/conf.d/net to exclude eth0, like eg Actually, that should be /etc/conf.d/rc, NOT net. Sorry for the mistake.

Re: [gentoo-user] what is starting net.eth0 and how to stop it?

2009-04-20 Thread Etaoin Shrdlu
On Tuesday 21 April 2009, 01:44, Valmor de Almeida wrote: Philip Webb wrote: I start net.eth0 by hand, so it looks as if it's 'netmount'. I removed netmount from all run levels and still get net.eth0 started. It is happening before; during booting I see the line *Wiping /tmp

Re: [gentoo-user] [OT] Rusty on MySQL specifics

2009-04-13 Thread Etaoin Shrdlu
On Monday 13 April 2009, 22:10, Mick wrote: Hi All, I am not sure if I am alarming myself unnecessarily, but this is what I observed: Login as e.g. mick; (this is a unix acccount) mysql -u root -p Enter password: XX mysql GRANT ALTER, CREATE, CREATE TEMPORARY TABLES, CREATE VIEW,

[gentoo-user] Double firefox references in taskbar

2009-04-11 Thread Etaoin Shrdlu
Since some time (I think since firefox 3), when I launch firefox using the button in kde's menu, I get two Mozilla firefox references in the task bar, one of which with the turning hourglass. Then, the main window of firefox appears. The bouncing firefox icon continues to be near the pointer

Re: [gentoo-user] Double firefox references in taskbar

2009-04-11 Thread Etaoin Shrdlu
On Saturday 11 April 2009, 16:09, YoYo siska wrote: On Sat, Apr 11, 2009 at 02:13:06PM +0100, Etaoin Shrdlu wrote: Since some time (I think since firefox 3), when I launch firefox using the button in kde's menu, I get two Mozilla firefox references in the task bar, one of which

Re: [gentoo-user] Double firefox references in taskbar

2009-04-11 Thread Etaoin Shrdlu
On Saturday 11 April 2009, 16:24, Etaoin Shrdlu wrote: On Saturday 11 April 2009, 16:09, YoYo siska wrote: On Sat, Apr 11, 2009 at 02:13:06PM +0100, Etaoin Shrdlu wrote: Since some time (I think since firefox 3), when I launch firefox using the button in kde's menu, I get two Mozilla

[gentoo-user] eth0 keeps starting

2009-04-10 Thread Etaoin Shrdlu
Ok, I'm out of ideas on this one. On my laptop, I always had an issue with eth0; during boot, I got a warning no configuration found for eth0, assuming dhcp despite the fact that in /etc/conf.d/net I had config_eth0=( dhcp ). (btw, the same config has always worked fine in any other computer,

Re: [gentoo-user] eth0 keeps starting

2009-04-10 Thread Etaoin Shrdlu
On Friday 10 April 2009, 12:12, Etaoin Shrdlu wrote: # rc-update -a show Sorry, I should have copied/pasted - that should have been just rc-update show. Here is another extended output: # rc-update -v show acpid | default atieventsd | bootmisc | boot

Re: [gentoo-user] eth0 keeps starting

2009-04-10 Thread Etaoin Shrdlu
On Friday 10 April 2009, 13:15, Mike Kazantsev wrote: Now I don't want to start eth0 at boot anymore (only wlan0), so I commented out the config_eth0=( dhcp ) in /etc/conf.d/net, and did a rc-update del net.eth0 default (which correctly deleted net.eth0 from the default runlevel). That

Re: [gentoo-user] stage 1 howto?

2009-04-07 Thread Etaoin Shrdlu
On Tuesday 7 April 2009, 23:31, HObbES wrote: I understand stage1 is no longer supported by Gentoo. Unfortunately, this does not preclude me needing to learn it. My Google-fu and forum searches are failing. Does anyone have any pointers? Try http://www.gentoo.org/doc/en/faq.xml#stage12

Re: [gentoo-user] Re: Grep question

2009-03-06 Thread Etaoin Shrdlu
On Friday 6 March 2009, 00:01, Adam Carter wrote: awk '/^foo/,/^bar/' a does the same :) Nice... Thanks for all these answers. Interesingly when I moved the sed script (sed s/;/\\n/g) from Linux to Solaris it failed as Solaris sed doesn't like putting the newline character as the

Re: [gentoo-user] Re: Grep question

2009-03-03 Thread Etaoin Shrdlu
On Tuesday 3 March 2009, 03:10, Harry Putnam wrote: cat a | awk '/^foo/{FLAG=1}\ FLAG{print} \ /^bar/{FLAG=}' awk '/^foo/,/^bar/' a does the same :)

Re: [gentoo-user] [OT] - command line read *.csv create new file

2009-02-25 Thread Etaoin Shrdlu
On Tuesday 24 February 2009, 23:51, Mark Knecht wrote: Looks like I'm running into one more problem and then I'm ready to give it a try for real. Unfortunately one vendor platform is putting quotes around the names in the header row so your _N increment looks like High_4 instead of High_4 or

Re: [gentoo-user] [OT] - command line read *.csv create new file

2009-02-24 Thread Etaoin Shrdlu
On Tuesday 24 February 2009, 03:26, Mark Knecht wrote: If I drop columns - and I do need to - then something like how cut works would be good, but it needs to repeat across all the rows being used. For instance, if I'm dropping columns 6 12 from a 20 column wide data set, then I'm dropping 6

Re: [gentoo-user] [OT] - command line read *.csv create new file

2009-02-24 Thread Etaoin Shrdlu
On Tuesday 24 February 2009, 15:41, Mark Knecht wrote: On Tue, Feb 24, 2009 at 2:56 AM, Etaoin Shrdlu shr...@unlimitedmail.org wrote: SNIP So, in my understanding this is what we want to accomplish so far: given an input of the form D1,T1,a1,b1,c1,d1,...,R1 D2,T2,a2,b2,c2,d2,...,R2

Re: [gentoo-user] Re: {OT} TCP or UDP?

2009-02-24 Thread Etaoin Shrdlu
On Tuesday 24 February 2009, 18:21, Florian Philipp wrote: Nikos Chantziaras schrieb: Grant wrote: How can I find out whether I should be specifying TCP, UDP, or both for iptables (shorewall) config? By knowing the application's protocol for which you write the rules for :P [...] So

Re: [gentoo-user] [OT] - command line read *.csv create new file

2009-02-23 Thread Etaoin Shrdlu
On Monday 23 February 2009, 00:31, Mark Knecht wrote: Yeah, that's probably almost usable as it is . I tried it with n=3 and n=10. Worked both times just fine. The initial issue might be (as with Willie's sed code) that the first line wasn't quite right and required some hand editing. I'd

Re: [gentoo-user] [OT] - command line read *.csv create new file

2009-02-23 Thread Etaoin Shrdlu
On Monday 23 February 2009, 17:05, Mark Knecht wrote: I'm attaching a small (100 line) data file out of TradeStation. Zipped it's about 2K. It should expand to about 10K. When I run the command to get 10 lines put together it works correctly and gives me a file with 91 lines and about 100K in

Re: [gentoo-user] [OT] - command line read *.csv create new file

2009-02-22 Thread Etaoin Shrdlu
On Sunday 22 February 2009, 20:06, Mark Knecht wrote: Hi, Very off topic other than I'd do this on my Gentoo box prior to using R on my Gentoo box. Please ignore if not of interest. I've got a really big data file in essentially a *.csv format. (comma delimited) I need to scan this

Re: [gentoo-user] [OT] - command line read *.csv create new file

2009-02-22 Thread Etaoin Shrdlu
On Sunday 22 February 2009, 23:28, Mark Knecht wrote: concatenation of attributes of lines 1..n result of line n concatenation of attributes of lines 2..n+1 result of line n+1 concatenation of attributes of lines 3..n+2 result of line n+1 concatenation of attributes of lines 4..n+3 result

Re: [gentoo-user] Mailing Lists

2009-02-16 Thread Etaoin Shrdlu
On Monday 16 February 2009, 13:05, Kaushal Shriyan wrote: Hi is there a mailing lists to discuss about perl or python or bash scripting language ? Yes. Search in the respective sites for more information. There are also dedicated newsgroups.

Re: [gentoo-user] a multi-process browser?

2009-02-15 Thread Etaoin Shrdlu
On Sunday 15 February 2009, 05:10, Joshua Murphy wrote: Google Chrome's another that has this wonderful feature... and doesn't run on Linux (yet). And even when it will, I bet it would be under wine.

Re: [gentoo-user] Why isn't sshd blocking repeated failed login attempts?

2009-01-20 Thread Etaoin Shrdlu
On Tuesday 20 January 2009, 22:33, Paul Hartman wrote: Hi, After setting up public key authentication i changed my sshd back to port 22 and got the expected bombardment of connection attempts. However, it doesn't seem to ever stop them. I'm using sshd with this setting: MaxAuthTries 3 in

Re: [gentoo-user] Re: [OT] High-pitched sound from inside the PC when opening menus

2008-12-31 Thread Etaoin Shrdlu
On Wednesday 31 December 2008, 15:56, Nikos Chantziaras wrote: It's coming from the case, not the speakers. BTW, this happens in both gentoo and windows xp for me. Same here. The sound is loudest when running the Mother Nature test of 3DMark 03. Happening with every card I ever tried (an

Re: [gentoo-user] Mnemonics for everyday stuff

2008-12-24 Thread Etaoin Shrdlu
On Wednesday 24 December 2008, 11:39, Alan McKinnon wrote: DSA / RSA tun / tap tun - to uniplexed node? tap - to any person? it makes some vague sense I think what Alan refers to is: http://en.wikipedia.org/wiki/TUN/TAP I'm not sure if this is what he seeks: RSA -

Re: [gentoo-user] [OT] One line script for md5sum

2008-12-17 Thread Etaoin Shrdlu
On Wednesday 17 December 2008, 23:01, Neil Bothwick wrote: On Wed, 17 Dec 2008 08:48:52 +, Mick wrote: Hmm, I tried this with a sequence of files that look like name0001stat.txt to name0198stat.txt, but when I run {0001..0198} it fails because it seems to ignore the zeros in 0001 and

  1   2   3   4   5   6   >