Re: why so many errors with ports??

2010-06-05 Thread Peter Boosten
On 6 jun 2010, at 00:39, Giorgos Tsiapaliokas wrote: hello, i am coming from the linux world i was a gentoo user and i have install on my second machine FBSD,i have made many formats but every time i try to install a graphical enviroment (such as xfce,kde) many many errors come up.

Re: .sh & getopts

2010-06-05 Thread Aiza
Aiza wrote: CyberLeo Kitsana wrote: On 06/05/2010 10:56 PM, Aiza wrote: i) action="installworld"; $flag_count=$((flag_count+1));; ... What is still wrong here Bourne shell expands variables to their contents before evaluating. Thus, the above assignment ends up expanding to '0=1'. Leave ou

Re: .sh & getopts

2010-06-05 Thread Aiza
CyberLeo Kitsana wrote: On 06/05/2010 10:56 PM, Aiza wrote: i) action="installworld"; $flag_count=$((flag_count+1));; ... What is still wrong here Bourne shell expands variables to their contents before evaluating. Thus, the above assignment ends up expanding to '0=1'. Leave out the $ on th

Re: .sh & getopts

2010-06-05 Thread CyberLeo Kitsana
On 06/05/2010 10:56 PM, Aiza wrote: >i) action="installworld"; $flag_count=$((flag_count+1));; > ... > What is still wrong here Bourne shell expands variables to their contents before evaluating. Thus, the above assignment ends up expanding to '0=1'. Leave out the $ on the target variable, and

port config screen TAB

2010-06-05 Thread n dhert
When installing of upgrading ports you can be presented with a blue configuration screen and use arroys keys and TAB to move arround. Now I have the problem that these keys no longer work... e.g. TAB doesn't jump to the OK button, but just moves the cursor 8 positions to the right. This is on the c

Re: .sh & getopts

2010-06-05 Thread Aiza
/bin/sh can do math on its own: flag_count=$((flag_count+1)) I want to know if more that one flag has been coded on the command. So add 1 to counter if that flag was processed. After all the flags are processed and fall out of getopts, then check flag counter for value. Ok I coded like th

Re: which is the basic differences between the shells?

2010-06-05 Thread Charlie Kester
On Sat 05 Jun 2010 at 16:24:36 PDT Alejandro Imass wrote: On Sat, Jun 5, 2010 at 6:35 PM, Giorgos Tsiapaliokas wrote: hello, i am coming from the linux world where i was using the bash shell but i found out that there are also much more. can u tell me the basic differences between them?(pros an

Re: hal-0.5.14_7 to _8 upgrade problem

2010-06-05 Thread Lowell Gilbert
n dhert writes: > But is there a workarround somehow in case I DO need to specify options > different from the default ?? > I'd really want to know that, for in case ... "cd /usr/ports/x11/kdebase4 && make config" This is covered in "man ports". ___ f

Re: .sh & getopts

2010-06-05 Thread Dan Nelson
In the last episode (Jun 05), Brandon Gooch said: > On Sat, Jun 5, 2010 at 6:20 PM, Aiza wrote: > > Robert Bonomi wrote: > >>> From: Aiza > >>> Robert Bonomi wrote: > > From: Aiza > > > > Have this code > > > > shift; while getopts :ugr: arg; do case ${arg} in > >    u) a

Re: .sh & getopts

2010-06-05 Thread Brandon Gooch
On Sat, Jun 5, 2010 at 6:20 PM, Aiza wrote: > Robert Bonomi wrote: >>> >>> Date: Sat, 05 Jun 2010 20:51:28 +0800 >>> From: Aiza >>> To: Robert Bonomi >>> Subject: Re: .sh & getopts >>> >>> Robert Bonomi wrote: > > From owner-freebsd-questi...@freebsd.org  Thu Jun  3 23:36:28 20

Re: which is the basic differences between the shells?

2010-06-05 Thread Alejandro Imass
On Sat, Jun 5, 2010 at 6:35 PM, Giorgos Tsiapaliokas wrote: > hello, > i am coming from the linux world where i was using the bash shell but i > found out that there are also much more. > can u tell me the basic differences between them?(pros and cons) > Too broad a topic I suspect fo u to get an

Re: .sh & getopts

2010-06-05 Thread Aiza
Robert Bonomi wrote: Date: Sat, 05 Jun 2010 20:51:28 +0800 From: Aiza To: Robert Bonomi Subject: Re: .sh & getopts Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Thu Jun 3 23:36:28 2010 Date: Fri, 04 Jun 2010 12:35:56 +0800 From: Aiza To: "questi...@freebsd.org" Cc: Subj

Re: why so many errors with ports??

2010-06-05 Thread Alejandro Imass
On Sat, Jun 5, 2010 at 6:39 PM, Giorgos Tsiapaliokas wrote: > hello, > > i am coming from the linux world i was a gentoo user and i have install on > my second machine FBSD,i have made many formats but every time i try to > install a graphical enviroment (such as xfce,kde) many many errors come up

Re: which is the basic differences between the shells?

2010-06-05 Thread Chip Camden
On Jun 05 2010 22:35, Giorgos Tsiapaliokas wrote: > hello, > i am coming from the linux world where i was using the bash shell but i > found out that there are also much more. > can u tell me the basic differences between them?(pros and cons) > > thanks in advance > ___

why so many errors with ports??

2010-06-05 Thread Giorgos Tsiapaliokas
hello, i am coming from the linux world i was a gentoo user and i have install on my second machine FBSD,i have made many formats but every time i try to install a graphical enviroment (such as xfce,kde) many many errors come up. i have heard that the ports are more stable than portage but with po

which is the basic differences between the shells?

2010-06-05 Thread Giorgos Tsiapaliokas
hello, i am coming from the linux world where i was using the bash shell but i found out that there are also much more. can u tell me the basic differences between them?(pros and cons) thanks in advance ___ freebsd-questions@freebsd.org mailing list http

Re: long day, {04jun10}

2010-06-05 Thread Gary Kline
On Sat, Jun 05, 2010 at 03:09:01PM +0200, Polytropon wrote: > Allow me an addition: > > On Sat, 5 Jun 2010 11:47:15 +0200, Roland Smith wrote: > > Download and install the 'winfonts' package from CTAN: > > http://www.ctan.org/tex-archive/fonts/winfonts/ > > > > Installation instructions are for

Re: long day, {04jun10}

2010-06-05 Thread Gary Kline
On Sat, Jun 05, 2010 at 11:47:15AM +0200, Roland Smith wrote: > On Fri, Jun 04, 2010 at 11:17:37PM -0700, Gary Kline wrote: > > > > guys, > > > > esp'ly tex wizards, is there a tex version of georgia? [[i know, > > i know, somebody created this typefae for microwit.copr, > > everybody favorite c

Re: ncurses

2010-06-05 Thread Thomas Dickey
On Sat, Jun 05, 2010 at 10:13:34AM -0700, Chip Camden wrote: ... > Thanks for your response, but I solved the problem by specifying that > mutt should use slang instead of ncurses. That works better in a couple > of ways, so I'll go with that. > > I do, however, still have one small problem. I c

Re: sysbench / fileio - Linux vs. FreeBSD

2010-06-05 Thread Max Laier
On Saturday 05 June 2010 01:58:35 Adam PAPAI wrote: > Why FreeBSD is supreme with 1 and 2 thread. And why is it 2 and 3 times > slower with 4-8-16-32 threads compared to Debian? The first two tests (1 > thread and 2 thread) showed me that FreeBSD is supreme in I/O, but later > tests showed me, that

Re: ncurses

2010-06-05 Thread Chip Camden
On Jun 04 2010 19:52, Thomas Dickey wrote: > On Fri, Jun 04, 2010 at 08:02:34AM -0700, Chip Camden wrote: > > Thanks to some help from Joel Dahl on the mutt-users list, I was able to > > restore correct color support in my mutt installation. But it raises a > > question about ncurses. > > > > It

Re: .sh & tar

2010-06-05 Thread Polytropon
On Sat, 5 Jun 2010 12:27:09 -0400, "ill...@gmail.com" wrote: > On 3 June 2010 11:11, Chip Camden wrote: > > On Jun 03 2010 10:03, ill...@gmail.com wrote: > >> On 3 June 2010 07:42, Polytropon wrote: > >> > Depends on WHAT you want to stop - the illness or just its symptoms. :-) > >> > > >> > If

Re: bash instead of csh (completely)

2010-06-05 Thread ill...@gmail.com
On 4 June 2010 14:56, Stefan Miklosovic wrote: > Hi list, > > title says it, i would like completely remove csh and install bash > instead. As far I know, csh is build in system, could I remove it > manually and install bash (of course, in reverse order :D) > > Are there such dependencies on csh?

Re: .sh & tar

2010-06-05 Thread ill...@gmail.com
On 3 June 2010 11:11, Chip Camden wrote: > On Jun 03 2010 10:03, ill...@gmail.com wrote: >> On 3 June 2010 07:42, Polytropon wrote: >> > On Thu, 03 Jun 2010 09:32:17 +0800, Aiza wrote: >> >> When I exec tar from within a .sh shell script I get this message >> >> tar: Removing leading '/' from me

Re: sysbench / fileio - Linux vs. FreeBSD

2010-06-05 Thread Igor Mozolevsky
/usr/src : zfs with compression enabled /usr/src : 386.3MB/s >>> Do I understand it well? It seems that zfs with compression enabled on >>> /usr/src with 8KB block size and 16 threads performs 386.3MB/s which >>> is about 6 times better than debian5? I am thinking about this image >>> ht

Re: long day, {04jun10}

2010-06-05 Thread Polytropon
Allow me an addition: On Sat, 5 Jun 2010 11:47:15 +0200, Roland Smith wrote: > Download and install the 'winfonts' package from CTAN: > http://www.ctan.org/tex-archive/fonts/winfonts/ > > Installation instructions are for windoze unfortunately. Unpack the zipfile in > the appropriate directory

Re: hal-0.5.14_7 to _8 upgrade problem

2010-06-05 Thread Lowell Gilbert
n dhert writes: >> USB_GET_REPORT_ID should be getting picked up from >> /usr/include/dev/usb/usb_ioctl.h these days. > >> Have you still got libusb (or some of its includes) installed on a >> system recent enough to have it in the base system? > On my system, I do have : > ]$ ls -la /usr/include

Re: .sh & getopts

2010-06-05 Thread Aiza
Robert Bonomi wrote: m From owner-freebsd-questi...@freebsd.org Thu Jun 3 23:36:28 2010 Date: Fri, 04 Jun 2010 12:35:56 +0800 From: Aiza To: "questi...@freebsd.org" Cc: Subject: .sh & getopts Have this code shift; while getopts :ugr: arg; do case ${arg} in u) action="freebsd-update";

Re: Booting Xserve on 8.0

2010-06-05 Thread Chris
On Jun 5, 2010, at 12:54 AM, Chris Rees wrote: Perhaps you need to install Boot Camp. The booting procedure is EFI, maybe that's playing havoc. Thanks for the response. That would be a great solution, I read that Apple doesn't permit it to be installed on the XServe. That comes from an Ap

Re: sysbench / fileio - Linux vs. FreeBSD

2010-06-05 Thread Adam PAPAI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/5/10 1:04 PM, Bruce Cran wrote: > On Sat, 5 Jun 2010 12:50:15 +0200 > Stefan Miklosovic wrote: > >>> /var : ufs with softupdates >>> /usr/obj : zfs with checksums disabled >>> /usr/src : zfs with compression enabled >>> /home : zfs with compre

Re: sysbench / fileio - Linux vs. FreeBSD

2010-06-05 Thread Bruce Cran
On Sat, 5 Jun 2010 12:50:15 +0200 Stefan Miklosovic wrote: > > /var : ufs with softupdates > > /usr/obj : zfs with checksums disabled > > /usr/src : zfs with compression enabled > > /home : zfs with compression disabled and checksums enabled > > > > I ran a test with a blocksize of 8KB and 16 t

Re: sysbench / fileio - Linux vs. FreeBSD

2010-06-05 Thread Stefan Miklosovic
> /var : ufs with softupdates > /usr/obj : zfs with checksums disabled > /usr/src : zfs with compression enabled > /home : zfs with compression disabled and checksums enabled > > I ran a test with a blocksize of 8KB and 16 threads. > > /var : 25.2MB/s > /usr/obj : 64.8MB/s > /usr/src : 386.

Re: long day, {04jun10}

2010-06-05 Thread Roland Smith
On Fri, Jun 04, 2010 at 11:17:37PM -0700, Gary Kline wrote: > > guys, > > esp'ly tex wizards, is there a tex version of georgia? [[i know, > i know, somebody created this typefae for microwit.copr, > everybody favorite company. company, corp, or human being.]] > notwithstanding, i like it for p

Re: Booting Xserve on 8.0

2010-06-05 Thread Chris Rees
Perhaps you need to install Boot Camp. The booting procedure is EFI, maybe that's playing havoc. On 5 Jun 2010 03:37, "Chris" wrote: I have two new Xserves (last years units, 2.8 quad cores). After fighting with OSX for two months, I decided to see if I could install FreeBSD since that is what w

Re: sysbench / fileio - Linux vs. FreeBSD

2010-06-05 Thread Adam PAPAI
On 6/5/10 3:36 AM, Bruce Cran wrote: > Some quick tests show that ufs does do rather poorly on my system too. I have > the following filesystems setup: > > /var : ufs with softupdates > /usr/obj : zfs with checksums disabled > /usr/src : zfs with compression enabled > /home : zfs with compressi