Re: sed/awk, instead of Perl

2008-08-23 Thread Peter Boosten
Walt Pawley wrote: At 9:59 AM +0200 8/22/08, Oliver Fromme wrote: wump$ ls -l Desktop/klog -rw-r--r-- 1 wump 1001 52753322 22 Aug 16:37 Desktop/klog wump$ time sed s/ .*// Desktop/klog kadr1 real0m10.800s user0m10.580s sys 0m0.250s wump$ time perl -pe 's/ .*//'

ghostscript-gpl-8.62_3 from ports wont compile

2008-08-23 Thread Gonzalo Nemmi
Is anyone else having problems when trying to install ghostscript-gpl? [EMAIL PROTECTED]:~ # uname -a FreeBSD inferna.inferna.com.ar 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Jul 20 03:44:42 ART 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/INFERNA i386 [EMAIL PROTECTED]:~ # cd

Closing the terminal results in closing of application started by the terminal even if the processes is backgrounded

2008-08-23 Thread Siju George
Hi, I started Firefox from an xterm. Then I pressed ctrl +Z And the I typed bg to background Firefox process. But when I close xterm firefox also closes. Why is that? thanks Siju ___ freebsd-questions@freebsd.org mailing list

Re: sed/awk, instead of Perl

2008-08-23 Thread Matthew Seaman
Walt Pawley wrote: At 9:59 AM +0200 8/22/08, Oliver Fromme wrote: - The perl command you wrote above is pretty much a sed command anyway (except you incorrectly used non-portable regular expression syntax). Why use perl to execute a sed command? At the risk of beating this to death, I

space char shell script problem

2008-08-23 Thread David Banning
I am running into a problem with the space character in filenames. For instance, If I want to run the script; for x in `ls` do echo $x done then filenames that have a space in them ie: john smith.jpg are processed by my script as two names, john and smith.jpg. What is the best way to deal

Re: Closing the terminal results in closing of application started by the terminal even if the processes is backgrounded

2008-08-23 Thread Thomas Dickey
On Sat, Aug 23, 2008 at 01:36:32PM +0530, Siju George wrote: I started Firefox from an xterm. Then I pressed ctrl +Z And the I typed bg to background Firefox process. But when I close xterm firefox also closes. firefox still gets a SIGHUP since its controlling terminal is that xterm. (if it's

Re: space char shell script problem

2008-08-23 Thread RW
On Sat, 23 Aug 2008 06:19:42 -0400 David Banning [EMAIL PROTECTED] wrote: I am running into a problem with the space character in filenames. For instance, If I want to run the script; for x in `ls` do echo $x done for x in * ___

Process in 'biowr' state

2008-08-23 Thread Anselm Strauss
Hi, I have a problem with my alix2c2 router. It's a all-in-one board with compact flash card as root device. I setup the card from another machine, then booted it, and then wanted to install the manpage distribution. But that took forever, I always had to quit it. I then noticed that it

Re: Upgrading firmware/bios/boot on Areca ARC-1210

2008-08-23 Thread Bob Willcox
On Fri, Aug 22, 2008 at 10:55:06PM +0200, Dominik Meister wrote: Hi Bob Bob Willcox [Fri, Aug 22, 2008 at 07:41:52AM -0500]: I posted this same question on freebsd-scsi a few days ago but got no response there so I thought I try here. Can't really answer your question but I've found

Re: space char shell script problem

2008-08-23 Thread Robert Huff
RW writes: I am running into a problem with the space character in filenames. For instance, If I want to run the script; for x in `ls` do echo $x done for x in * There's the (poorly documented, IMO) IFS (internal field separator) shell variable. It's a

Re: Closing the terminal results in closing of application started by the terminal even if the processes is backgrounded

2008-08-23 Thread Polytropon
On Sat, 23 Aug 2008 13:36:32 +0530, Siju George [EMAIL PROTECTED] wrote: Hi, I started Firefox from an xterm. Then I pressed ctrl +Z And the I typed bg to background Firefox process. But when I close xterm firefox also closes. Why is that? When the terminal application (xterm) is closed,

Re: space char shell script problem

2008-08-23 Thread Polytropon
On Sat, 23 Aug 2008 06:19:42 -0400, David Banning [EMAIL PROTECTED] wrote: I am running into a problem with the space character in filenames. For instance, If I want to run the script; for x in `ls` do echo $x done then filenames that have a space in them ie: john smith.jpg are

Re: space char shell script problem

2008-08-23 Thread Thomas Dickey
On Sat, Aug 23, 2008 at 04:09:57PM +0200, Polytropon wrote: On Sat, 23 Aug 2008 06:19:42 -0400, David Banning [EMAIL PROTECTED] wrote: I am running into a problem with the space character in filenames. For instance, If I want to run the script; for x in `ls` do echo $x done

segmentation fault in claws-mail and firefox

2008-08-23 Thread David Gurvich
Hello, I'm having an odd problem. When logged into a kde or kde4 session both of these programs work with no errors. When logged into icewm both of these have a segmentation fault with no errors. My guess is some required library is not in the path for these gtk programs, yet they work in kde.

Re: space char shell script problem

2008-08-23 Thread Polytropon
On Sat, 23 Aug 2008 10:16:36 -0400, Thomas Dickey [EMAIL PROTECTED] wrote: spaces won't go away, and since they're legal in filenames, one may as well handle them. Well, it's completely possible to create a file name like: This is my *favourite* photo from Cats \ by Bob Jane / my wife ~ 2008

Re: Tailing logs

2008-08-23 Thread Chuck Robey
DAve wrote: DAve wrote: I would love to have a way to tail a log, like piping to grep, except I see every line and the lines I would normally grep for are highlighted. That would be cool. Anyone know of a bash command or tool that will do this? Side note, I am tailing sendmail after changes

Re: Tailing logs

2008-08-23 Thread George Davidovich
On Sat, Aug 23, 2008 at 11:07:59AM -0400, Chuck Robey wrote: DAve wrote: DAve wrote: I do this commonly to catch the lines with the word Building in them, from a file build.out: tail -F build.out | grep --color=always Building When I get a free moment, I need to see about making

Re: space char shell script problem

2008-08-23 Thread Matthew Seaman
Polytropon wrote: Well, it's completely possible to create a file name like: This is my *favourite* photo from Cats \ by Bob Jane / my wife ~ 2008 `musical'.JPG Um... actually you cannot create that as a filename on UFS. There are precisely two characters you cannot use in a filename.

Re: Tailing logs

2008-08-23 Thread Noel Jones
On Sat, Aug 23, 2008 at 10:07 AM, Chuck Robey [EMAIL PROTECTED] wrote: DAve wrote: DAve wrote: I would love to have a way to tail a log, like piping to grep, except I see every line and the lines I would normally grep for are highlighted. That would be cool. Anyone know of a bash command

diverting (some) log_in_vain messages

2008-08-23 Thread Ian Smith
Which syslog facility.level is used for {tcp,udp}.log_in_vain messages? I want to see these as a rule, especially now while tuning a new system and firewall, but since running sendmail in earnest (even on our small scale) there are times when poor old /var/log/messages is rapidly losing much

Re: Closing the terminal results in closing of application started by the terminal even if the processes is backgrounded

2008-08-23 Thread Bruce Cran
On Sat, 23 Aug 2008 16:03:26 +0200 Polytropon [EMAIL PROTECTED] wrote: In order to prevent firefox from being closed when the starting terminal session is closed, start it via % firefox It will then eventually put status messages to this xterm, but the shell is free again to accept

Re: sed/awk, instead of Perl

2008-08-23 Thread Walt Pawley
At 10:01 AM +0100 8/23/08, Matthew Seaman wrote: Walt Pawley wrote: At the risk of beating this to death, I just happened to stumble on a real world example of why one might want to use Perl for sed-ly stuff. ... snip ... wump$ ls -l Desktop/klog -rw-r--r-- 1 wump 1001 52753322 22 Aug

The FreeBSD Diary: 2008-08-03 - 2008-08-23

2008-08-23 Thread Dan Langille
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the

Weird GEOM errors

2008-08-23 Thread hunter morgan
Hi. ive had a freebsd7 box running zfs on 5 500gb hard drives for months upon months now with mostly good stability but every couple of minutes in my logs i get errors such as: kernel: GEOM: ad2: corrupt or invalid GPT detected. kernel: GEOM: ad2: GPT rejected -- may not be recoverable. on 2

I NEED INSTALL D-LINK DUB-E100

2008-08-23 Thread Valeska Godoy
Hi!! I have a laptop and my ethernet card is recognized how fwe and i cant to do the connect to Internet. I need connect for download the ports to do other things in FreeBSD. Also, I bought a D-link Dub-E100 and cant install, please, i need help me!! Thanks, Valeska Godoy

Why /usr/local/etc???

2008-08-23 Thread Gary Kline
Folks, This may have been covered too-often before, buy why can't *everything* related to /etc hang off /etc? I can create a symlink in /etc to /usr/local/etc named loc or local. Thing is, why this isn't done by default? gary -- Gary Kline

Why /usr/local/etc???

2008-08-23 Thread Robert Huff
Gary Kline writes: This may have been covered too-often before, buy why can't *everything* related to /etc hang off /etc? I can create a symlink in /etc to /usr/local/etc named loc or local. Thing is, why this isn't done by default? Very short version:

Re: Why /usr/local/etc???

2008-08-23 Thread Polytropon
On Sat, 23 Aug 2008 18:24:48 -0700, Gary Kline [EMAIL PROTECTED] wrote: Folks, This may have been covered too-often before, buy why can't *everything* related to /etc hang off /etc? I can create a symlink in /etc to /usr/local/etc named loc or local. Thing

Virutual PC 2007 FBSD 6.3 hangs on install

2008-08-23 Thread reese
I am trying to get Vitual PC Version 2007 to install FreeBSD as a guest system. I tried first with FBSD ver. 6.3 and that failed by hanging saying: Trying to mount root from ufs:/dev/md0 After looking on the web I found this mentioned in bug reports but did not see any fixes. Giving up

Re: Why /usr/local/etc???

2008-08-23 Thread Randy Pratt
On Sat, 23 Aug 2008 18:24:48 -0700 Gary Kline [EMAIL PROTECTED] wrote: Folks, This may have been covered too-often before, buy why can't *everything* related to /etc hang off /etc? I can create a symlink in /etc to /usr/local/etc named loc or local. Thing

which linux emulator?

2008-08-23 Thread prad
in ports there is fedora and gentoo. any opinions on preferences? -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's

XFree86 instead of Xorg?

2008-08-23 Thread Polytropon
Hi! I'd like to ask if there is a way to use XFree86 instead of Xorg on FreeBSD 7 to provide basic X functionalities. A big problem I see are the dependencies of X applications. The reason why I ask: I've been using FreeBSD 5 and XFree86 4 for many years happily, my ATI Radeon 9000 RV250 had

Top question! kdeinit, how come so many? Can I configure it down?

2008-08-23 Thread Christopher Joyner
I notice that when running top, about 10 different kdeinit's are running. Is there a way to tone it down, and only have the minimum of them? I want to cut down on the memory usage, which takes up about 90% of the ram I have. In Love in Jesus Christ, Or Lord and Savior. For God so loved the

Re: XFree86 instead of Xorg?

2008-08-23 Thread Polytropon
First of all, thanks for the quick reply. On Sun, 24 Aug 2008 03:23:34 +, Christopher Joyner [EMAIL PROTECTED] wrote: Maybe you could open your Xorg config file, and put in specific variables in there for the graphic mode you use. This would cut down on auto detection scripts. I don't

Re: Virutual PC 2007 FBSD 6.3 hangs on install

2008-08-23 Thread David Gurvich
I would suggest using the free version of vmware and possibly virtualbox. VMWare will work and I'm not sure about virtualbox. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: XFree86 instead of Xorg?

2008-08-23 Thread David Gurvich
Using Xfree86 is possible but may require much manual configuration. I also have problems with firefox and claws-mail in windowmaker icewm, but not in kde3 or kde4. I suspect there is a library path issue. ___ freebsd-questions@freebsd.org mailing