Backtick versus $()

2011-02-20 Thread Warren Block
$() apparently isn't quite the same as backticks, although sh(1) doesn't mention that, or I just missed it. This script is just supposed to escape special characters* in a path/filename: #!/bin/sh DESTDIR="./" COMPFILE=".cshrc" PSTR=`echo "${DESTDIR}${COMPFILE}" | sed 's%\([?:.%\\]\)%\\\1%g'

Re: Backtick versus $()

2011-02-20 Thread David Demelier
On 20/02/2011 18:40, Warren Block wrote: $() apparently isn't quite the same as backticks, although sh(1) doesn't mention that, or I just missed it. This script is just supposed to escape special characters* in a path/filename: #!/bin/sh DESTDIR="./" COMPFILE=".cshrc" PSTR=`echo "${DESTDIR}${C

umass troubles again

2011-02-20 Thread Andrea Venturoli
Hello. I've a 4GB USB memory which is formatted as a single FAT32 partition. When I insert it, I get: root: Unknown USB device: vendor 0x1e3d product 0x2092 bus uhub5 kernel: ugen5.3: at usbus5 kernel: umass1: on usbus5 kernel: umass1: SCSI over Bulk-Only; quirks = 0x kernel: umass1:3:

Re: Best Laptop to buy for Freebsd Without OS?

2011-02-20 Thread Brian Callahan
> > After deciding I could not really buy a computer locally, I ordered my latest > machine from "Freedom Included, Inc" from in the US. > http://freedomincluded.com/product/lemote-yeeloong/ > > It is a MIPS-based subnotebook shipping with gNewSense (Linux distro). I > don't think it is what th

Re:Best Laptop to buy for Freebsd Without OS?

2011-02-20 Thread James Phillips
> Date: Sun, 20 Feb 2011 04:23:03 +0100 > From: Polytropon > Subject: Re: Best Laptop to buy for Freebsd Without OS? > To: Brian Callahan > Cc: freebsd-questions@freebsd.org > Message-ID: <20110220042303.0f730c6b.free...@edvax.de> > Content-Type: text/plain; charset=US-ASCII > > On Thu, 17 Feb

Re: variable line-display pager?

2011-02-20 Thread Gary Kline
On Sun, Feb 20, 2011 at 08:26:32AM -0700, Warren Block wrote: > On Sun, 20 Feb 2011, Gary Kline wrote: > > >On Sat, Feb 19, 2011 at 06:28:07PM -0700, Warren Block wrote: > >>On Sat, 19 Feb 2011, Gary Kline wrote: > >> > >>>Zank you, Sir Chip.. Anybody else? I'm loathe to use anything gui, > >>>b

Re: variable line-display pager?

2011-02-20 Thread Gary Kline
On Sun, Feb 20, 2011 at 08:44:10AM -0800, Chip Camden wrote: > Quoth Gary Kline on Sunday, 20 February 2011: > > > > > Yes, this is much nicer that the more -15 that messes up the > > text with it's [MORE...] white within black. But here you can't > > just tap the spacebar; is there

Re: Set tty resolution using hint.sc.0.flags with VESA

2011-02-20 Thread Dima Panov
Hello! 07.02.2011, 03:57, "David Demelier" : > On 06/02/2011 17:52, Dima Panov wrote: > >>  Hello! >> >>  [fluffy@Beastie] ~$ cat /boot/device.hints|grep sc.0 >>  hint.sc.0.at="isa" >>  hint.sc.0.flags="0x180" >>  hint.sc.0.vesa_mode=0x1f0 > > absolutely great! But where did you find these vesa_mo

Re: variable line-display pager?

2011-02-20 Thread Chip Camden
Quoth Gary Kline on Sunday, 20 February 2011: > On Sun, Feb 20, 2011 at 08:44:10AM -0800, Chip Camden wrote: > > Quoth Gary Kline on Sunday, 20 February 2011: > > > > > > > > Yes, this is much nicer that the more -15 that messes up the > > > text with it's [MORE...] white within black. But

Can FreeBSD be made to be as polished a desktop as Linux Mint?

2011-02-20 Thread Xn Nooby
I was wondering if there were any technical reasons why a FreeBSD desktop could not be hand-tweaked to be as nice as a Linux Mint 10 desktop. I only rarely use Linux Mint 10, but it's desktop and webrowsing seem to be about perfect (albeit green). The Gnome UI is very smooth to interact with, and

revised pager.....

2011-02-20 Thread Gary Kline
THis is to the entire list, mostly to Chip. It is o8.rb, my very slightly tweaked version of what you ma/// rather, what i found and began messing with a couple, three hours ago. I searched++ and could not find the C equivalent of "if counter % N == 0" i

Re: revised pager.....

2011-02-20 Thread Chip Camden
Quoth Gary Kline on Sunday, 20 February 2011: > THis is to the entire list, mostly to Chip. It is o8.rb, my > very slightly tweaked version of what you ma/// rather, what i > found and began messing with a couple, three hours ago. > > I searched++ and could not find the

Flac and/or shell problem

2011-02-20 Thread RW
I found a recipe for converting flac to mp3: flac -cd in.flac | lame -h - out.mp3 and I thought I might be able to able to combine multiple flac files into a single mp3 file with something like the following: ( flac -cd file1.flac ; flac -cd file2.flac ) | lame -h - both.mp3 but in practic

Re: Can FreeBSD be made to be as polished a desktop as Linux Mint?

2011-02-20 Thread Chad Perrin
On Sun, Feb 20, 2011 at 08:15:30PM -0500, Xn Nooby wrote: > I was wondering if there were any technical reasons why a FreeBSD > desktop could not be hand-tweaked to be as nice as a Linux Mint 10 > desktop. I only rarely use Linux Mint 10, but it's desktop and > webrowsing seem to be about perfect

Re: Backtick versus $()

2011-02-20 Thread Warren Block
Dropped the last line of the script. Also lined up the seds to show the regex is the same in both. #!/bin/sh DESTDIR="./" COMPFILE=".cshrc" PSTR=`echo "${DESTDIR}${COMPFILE}" | sed 's%\([?:.%\\]\)%\\\1%g'` echo ${PSTR} PSTR=$(echo "${DESTDIR}${COMPFILE}" | sed 's%\([?:.%\\]\)%\\\1%g') echo

Re: Backtick versus $()

2011-02-20 Thread Andres Perera
On Sun, Feb 20, 2011 at 1:42 PM, David Demelier wrote: > > I'd prefere $() rather than ``. It's more powerful, for example you can > write a multiple $() but not `` see : that's not true for i in bash dash mksh; do echo $i: $i <<'!' echo `echo 1\`echo 2\\\`echo 3\\\`echo 4\\\`\\\`\`` ! d

Re: Backtick versus $()

2011-02-20 Thread Andres Perera
On Sun, Feb 20, 2011 at 1:10 PM, Warren Block wrote: > > With backticks, the backreference \1 never seems to be replaced with the > actual pattern, regardless of search pattern.  Tested on 8-stable and > 9-current. this isn't really new and it's not particular to freebsd sh(1) for i in bash dash

openldap not starting

2011-02-20 Thread Tim Dunphy
hello list!! I am building an ldap server on freebsd 8.1. For some reason if I include the inetorgperson schema in my slapd.conf slapd will not start here is the listing in slapd.conf # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include

Re: booting a kernel directly from stage 1/2

2011-02-20 Thread Dan Nelson
In the last episode (Feb 19), Alexander Best said: > On Sat Feb 19 11, Matthew Seaman wrote: > > On 19/02/2011 02:47, Alexander Best wrote: > > > but that won't work. i get some numbers and then it says: > > > btx halted or something like that. > > > > Can't you boot into fixit mode from installat

Re: openldap not starting

2011-02-20 Thread Matthew Seaman
On 21/02/2011 04:16, Tim Dunphy wrote: > I am building an ldap server on freebsd 8.1. > > For some reason if I include the inetorgperson schema in my slapd.conf > slapd will not start openldap is like that: if it has a problem with your config, it exits. The trick is to get it to tell you what th

[FYI] Bittorrent for 8.2 release

2011-02-20 Thread grarpamp
Some observations for those considering using bt this time... Vuze 4.6.0.2 under OpenJDK7 works fine. You need to grab swt-devel, log4j, junit, commons-cli. If you're using the ancient Vuze port, just replace the Vuze jar from that with the current one from sourceforge. Until swt is updated, you p

How older files installed by previous versions of FreeBSD are supposed to be deleted?

2011-02-20 Thread Yuri
I updated my system many times. As a result I have many older libraries with different numbers: /lib/libm.so.4 /lib/libm.so.5 /lib/libutil.so.5 /lib/libutil.so.7 /lib/libutil.so.8 /lib/libutil.so.9 /lib/libc.so.6 /lib/libc.so.7 How older files are normally deleted? Is there a script that finds

Re: variable line-display pager?

2011-02-20 Thread Gary Kline
On Sat, Feb 19, 2011 at 04:44:32PM -0800, Chip Camden wrote: > Quoth Chip Camden on Saturday, 19 February 2011: > > Quoth Gary Kline on Saturday, 19 February 2011: > > > On Sat, Feb 19, 2011 at 03:52:40PM -0800, Chip Camden wrote: > > > > Quoth Gary Kline on Saturday, 19 February 2011: > > > > > Ne

Re: variable line-display pager?

2011-02-20 Thread Gary Kline
On Sat, Feb 19, 2011 at 06:28:07PM -0700, Warren Block wrote: > On Sat, 19 Feb 2011, Gary Kline wrote: > > >Zank you, Sir Chip.. Anybody else? I'm loathe to use anything gui, > >but here's where I'll be happy w ith something GUI THat i can > >squeeze my "15" or small-n lines' worth into. > > x

Re: How older files installed by previous versions of FreeBSD are supposed to be deleted?

2011-02-20 Thread Herbert J. Skuhra
On Sun, 20 Feb 2011 00:05:00 -0800 Yuri wrote: > I updated my system many times. > As a result I have many older libraries with different numbers: > /lib/libm.so.4 > /lib/libm.so.5 > > /lib/libutil.so.5 > /lib/libutil.so.7 > /lib/libutil.so.8 > /lib/libutil.so.9 > > /lib/libc.so.6 > /lib/libc.s

Re: 8.2-PRERELEASE?

2011-02-20 Thread Matthew Seaman
On 20/02/2011 03:05, Frank Shute wrote: > Just keep following RELENG_8 and once the 8.2-RELEASE is done it will > become 8.3-STABLE. > Well, yes. But not for something like 4 months until the process for releasing 8.3 has happened. Most of the time between now and then, it will appear as 8.2-ST

Re: variable line-display pager?

2011-02-20 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org Sat Feb 19 18:28:20 2011 > Date: Sat, 19 Feb 2011 16:23:00 -0800 > From: Gary Kline > To: FreeBSD Mailing List > Cc: > Subject: Re: variable line-display pager? > > On Sat, Feb 19, 2011 at 03:52:40PM -0800, Chip Camden wrote: > > Quoth Gary Kline on Sa

Re: How to forward old root mails to an external email address?

2011-02-20 Thread Daniel Staal
--As of February 19, 2011 11:39:38 PM +0100, Andy Wodfer is alleged to have said: Cool. Procmail is now installed, but the procmail.rc file, should that be placed under root's home folder ie /root/procmail.rc or another user? I assume root since Daniel's command doesn't specify any users? That

Re: variable line-display pager?

2011-02-20 Thread Warren Block
On Sun, 20 Feb 2011, Gary Kline wrote: On Sat, Feb 19, 2011 at 06:28:07PM -0700, Warren Block wrote: On Sat, 19 Feb 2011, Gary Kline wrote: Zank you, Sir Chip.. Anybody else? I'm loathe to use anything gui, but here's where I'll be happy w ith something GUI THat i can squeeze my "15" or sm

Re: variable line-display pager?

2011-02-20 Thread Chip Camden
Quoth Robert Bonomi on Sunday, 20 February 2011: > > From owner-freebsd-questi...@freebsd.org Sat Feb 19 18:28:20 2011 > > Date: Sat, 19 Feb 2011 16:23:00 -0800 > > From: Gary Kline > > To: FreeBSD Mailing List > > Cc: > > Subject: Re: variable line-display pager? > > > > On Sat, Feb 19, 2011 a

Re: variable line-display pager?

2011-02-20 Thread Chip Camden
Quoth Gary Kline on Sunday, 20 February 2011: > > Yes, this is much nicer that the more -15 that messes up the > text with it's [MORE...] white within black. But here you can't > just tap the spacebar; is there a way around that and > turning it into a space...? > >

Re: freebsd-questions Digest, Vol 350, Issue 10

2011-02-20 Thread Chris Rees
Sorry Mats, I couldn't find anything in that email! Please would you resend it, with only relevant quotes and with an appropriate subject? Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To