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 older 
versions and deletes them? Otherwise after a while all possible versions 
will accumulate there.

I suspect the same happens under /etc with various renamed/deleted files.

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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:
 Need help findind a way of using existing unix utilities to diplay
 chunks of N lines of a text files.  Here N = the number of lines in
 the file.

[[ . ]]


  
  #!/usr/bin/env ruby
  require 'optparse'
  
  pagesize = 15
  
  optparse = OptionParser.new do |opts|
opts.banner = 'usage: npg [-n pagesize] file...'
  
opts.on('-n', '--numlines pagesize', 'Specify page size in number of 
  lines') do |n|
  pagesize = n.to_i
end
  
  end
  
  begin
optparse.parse!
  rescue OptionParser::InvalidOption, OptionParser::MissingArgument = e
puts e
puts optparse
exit 1
  end
  
  loop do
pagesize.times do
  if line = gets
puts line
  else
exit
  end
end
print More...
STDIN.getc
  end
  
  -- 
  Sterling (Chip) Camden | sterl...@camdensoftware.com | 2048D/3A978E4F
  http://chipsquips.com  | http://camdensoftware.com   | http://chipstips.com
 
 
 Oops -- code corrected above.
 
 -- 
 Sterling (Chip) Camden | sterl...@camdensoftware.com | 2048D/3A978E4F
 http://chipsquips.com  | http://camdensoftware.com   | http://chipstips.com


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 cr and
turning it into a space...?

Also, can you insert 

^+++

text

^+++

top And bottom?  Pretty sure that the user would have the large
font to read aloug with that espeak read to hijm.  Having the
top/bottom delimiters might make scanning the text easier.  

(It messed up with more.

Anyway, thanks foe something that actually works, :_)

gary




-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.98a release of Jottings: http://jottings.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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.
 
 xterm -geometry 80x18 -e 'less -N /var/log/Xorg.0.log'
 
 Why 18 to get 15 lines?  One line for the less prompt, maybe two for
 the title bar on my system.


EGAD!  Did I _really_ type 80x18?  I *,EANT* 80x48 which is the
size of my Konsoles.  Some reason, do not know, my mind gets
Way ahead of my fingers.  


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.98a release of Jottings: http://jottings.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 y...@rawbw.com 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.so.7
 
 How older files are normally deleted? Is there a script that finds older 
 versions and deletes them? Otherwise after a while all possible versions 
 will accumulate there.

# cd /usr/src
# make delete-old
# make delete-old-libs

Afterwards you probably have to rebuild many installed ports. 

 I suspect the same happens under /etc with various renamed/deleted files.

% man mergemaster

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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-STABLE

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


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 kl...@thought.org
 To: FreeBSD Mailing List freebsd-questions@freebsd.org
 Cc: 
 Subject: Re: variable line-display pager?

 On Sat, Feb 19, 2011 at 03:52:40PM -0800, Chip Camden wrote:
  Quoth Gary Kline on Saturday, 19 February 2011:
   Need help findind a way of using existing unix utilities to diplay 
   chunks of N lines of a text files.  Here N = the number of lines in 
   the file.
  
   For instance, say that my xterm/console/Konsole is 80x53 lines. My 
   text file is around 200 lines long and I want to use more or less or 
   some GUI pager to display only 15 lines at one time.  Tapping the 
   space bar would display another 15 lines and so on until EOF.  Is 
   there a way of doing with with flags of the existing /usr/bin/less or 
   is there some other pager that I can build?
  
   thanks,
  
   gary
  
  
  
   --
Gary Kline  kl...@thought.org  http://www.thought.org  Public 
Service Unix
  Journey Toward the Dawn, E-Book: http://www.thought.org 
  The 7.98a release of Jottings: http://jottings.thought.org
  
   ___
   freebsd-questions@freebsd.org mailing list 
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions To 
   unsubscribe, send any mail to 
   freebsd-questions-unsubscr...@freebsd.org
 
  The -z option is supposed to do this:
 
  less -z15 file.txt
 
  But it appears to work only on the second and successive pages.



 Oh.  So _that's_ why.  I tried less -m 15 [because the man pages sais 
 z=N;  i just tried what you did with -z15.  Full page first time, 15 
 lines each spacebar thereafter.

 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.  Can'y believe that there is nothing 
 for all theses years  I mean, geewhiz! Any idea where I Should look 
 in ports or how to google this?


how hard can it be?

  stty rows=15; less filename
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 would mean I'm logged in as root, run the command, formail sends all
mails to procmail which sees the alias in procmail rc and sends the mails
out? Correct?


--As for the rest, it is mine.

Well, it doesn't have to be root, just $home/.procmailrc of some user that 
can read /var/mail/root...


Otherwise, correct.

Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 small-n lines' worth into.


xterm -geometry 80x18 -e 'less -N /var/log/Xorg.0.log'

Why 18 to get 15 lines?  One line for the less prompt, maybe two for
the title bar on my system.



EGAD!  Did I _really_ type 80x18?  I *,EANT* 80x48 which is the
size of my Konsoles.  Some reason, do not know, my mind gets
Way ahead of my fingers.


You didn't, I did.  An 80x18 geometry xterm provides 16 lines of text, 
one for the less prompt.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 kl...@thought.org
  To: FreeBSD Mailing List freebsd-questions@freebsd.org
  Cc: 
  Subject: Re: variable line-display pager?
 
  On Sat, Feb 19, 2011 at 03:52:40PM -0800, Chip Camden wrote:
   Quoth Gary Kline on Saturday, 19 February 2011:
Need help findind a way of using existing unix utilities to diplay 
chunks of N lines of a text files.  Here N = the number of lines in 
the file.
   
For instance, say that my xterm/console/Konsole is 80x53 lines. My 
text file is around 200 lines long and I want to use more or less or 
some GUI pager to display only 15 lines at one time.  Tapping the 
space bar would display another 15 lines and so on until EOF.  Is 
there a way of doing with with flags of the existing /usr/bin/less or 
is there some other pager that I can build?
   
thanks,
   
gary
   
   
   
--
 Gary Kline  kl...@thought.org  http://www.thought.org  Public 
 Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org 
   The 7.98a release of Jottings: http://jottings.thought.org
   
___
freebsd-questions@freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions To 
unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
  
   The -z option is supposed to do this:
  
   less -z15 file.txt
  
   But it appears to work only on the second and successive pages.
 
 
 
  Oh.  So _that's_ why.  I tried less -m 15 [because the man pages sais 
  z=N;  i just tried what you did with -z15.  Full page first time, 15 
  lines each spacebar thereafter.
 
  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.  Can'y believe that there is nothing 
  for all theses years  I mean, geewhiz! Any idea where I Should look 
  in ports or how to google this?
 
 
 how hard can it be?
 
   stty rows=15; less filename

That's the V8 answer, but the syntax needs correcting:

stty rows 15; less filename

Works with 'more', too.

-- 
Sterling (Chip) Camden | sterl...@camdensoftware.com | 2048D/3A978E4F
http://chipsquips.com  | http://camdensoftware.com   | http://chipstips.com


pgpesJDVzfhqP.pgp
Description: PGP signature


Re: variable line-display pager?

2011-02-20 Thread Chip Camden
Quoth Gary Kline on Sunday, 20 February 2011:
snip
 
   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 cr and
   turning it into a space...?
 
   Also, can you insert 
 
   ^+++
 
   text
 
   ^+++
 
   top And bottom?  Pretty sure that the user would have the large
   font to read aloug with that espeak read to hijm.  Having the
   top/bottom delimiters might make scanning the text easier.  
 
   (It messed up with more.
 
   Anyway, thanks foe something that actually works, :_)
 
   gary
 
 
 
 
 -- 
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
   The 7.98a release of Jottings: http://jottings.thought.org
 
Better?


#!/usr/bin/env ruby
require 'optparse'

pagesize = 15

optparse = OptionParser.new do |opts|
  opts.banner = 'usage: npg [-n pagesize] file...'

  opts.on('-n', '--numlines pagesize', 'Specify page size in number of lines') 
do |n|
pagesize = n.to_i
  end

end

begin
  optparse.parse!
rescue OptionParser::InvalidOption, OptionParser::MissingArgument = e
  puts e
  puts optparse
  exit 1
end

puts ^+++
loop do
  pagesize.times do
if line = gets
  puts line
else
  puts ^+++
  exit
end
  end
  print More...
  system stty raw
  STDIN.getc
  system stty -raw
end

-- 
Sterling (Chip) Camden | sterl...@camdensoftware.com | 2048D/3A978E4F
http://chipsquips.com  | http://camdensoftware.com   | http://chipstips.com


pgpWq3Crxeb85.pgp
Description: PGP signature


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 unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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'`
echo ${PSTR}

PSTR=$(echo ${DESTDIR}${COMPFILE} | sed 's%\([?:.%\\]\)%\\\1%g')

% ./test.sh
\1/\1cshrc
\./\.cshrc

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.


*: That's special characters as less(1) -Ps sees them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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}${COMPFILE} | sed 's%\([?:.%\\]\)%\\\1%g'`
echo ${PSTR}

PSTR=$(echo ${DESTDIR}${COMPFILE} | sed 's%\([?:.%\\]\)%\\\1%g')

% ./test.sh
\1/\1cshrc
\./\.cshrc

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.

*: That's special characters as less(1) -Ps sees them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org


I'd prefere $() rather than ``. It's more powerful, for example you can 
write a multiple $() but not `` see :


markand@Abricot ~ $ echo $(basename $(which dmesg))
dmesg

markand@Abricot ~ $ echo `basename `which dmesg``
usage: basename string [suffix]
   basename [-a] [-s suffix] string [...]
which dmesg

Of course the example code is useless but shows the limitations of ``. 
Nowadays all shells supports $() so I advise you to use it :).


Cheers,

--
David Demelier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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: USB0911B at usbus5
kernel: umass1: USB0911B Flash Disk, class 0/0, rev 2.00/1.00, addr 3 on 
usbus5
kernel: umass1:  SCSI over Bulk-Only; quirks = 0x
kernel: umass1:3:1:-1: Attached to scbus3
kernel: da6 at umass-sim1 bus 1 scbus3 target 0 lun 0
kernel: da6: USB0911B Flash Disk 5.00 Removable Direct Access SCSI-2 device
kernel: da6: 40.000MB/s transfers
kernel: da6: 3855MB (7895040 512 byte sectors: 255H 63S/T 491C)
kernel: GEOM: da6: geometry does not match label (16h,63s != 255h,63s).
kernel: GEOM: da6: media size does not match label.



# ls /dev/|grep da6
da6
da6a

(I'd expect da6s1, instead of da6a...)


# fdisk /dev/da6
*** Working on device /dev/da6 ***
parameters extracted from in-core disklabel are:
cylinders=491 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=491 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6 (0x06),(Primary DOS, 16 bit FAT (= 32MB))
start 63, size 7887852 (3851 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 490/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED



# mount -t msdosfs /dev/da6a /mnt/
# df
Filesystem   1K-blocks  UsedAvail Capacity  
Mounted on

 ...

/dev/da6a   399904  4048   395856 1%
/mnt


Now... isn't that a tenfold error?


# df -h
Filesystem  SizeUsed   Avail Capacity  
Mounted on
...
/dev/da6a   391M4.0M387M 1%/mnt


The partition should be 4GB, not 400MB...

Any hint on this?

System is 8.1-RELEASE-p2/i386.


 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Best Laptop to buy for Freebsd Without OS?

2011-02-20 Thread Brian Callahan
snip


 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 the OP was looking for since it won't even run Windows 
 without qemu (3hour+ compile for all targets). It is also a relatively small 
 machine (netbook size). I am also not sure if the wireless would be supported 
 in freeBSD.
 freedomincluded@freedomincluded:~$ lsusb
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 003: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B 
 Wireless 802.11g 54Mbps Network Adapter
 Bus 004 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 
 multicard reader
 Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 (Camera not listed)

 Regards,

 James Phillips

I highly doubt the OP wants a Yeeloong. I have two (and cannot
recommend Dan enough, he's a very cool guy) and I love them, both
running OpenBSD. They don't run FreeBSD, kfreebsd-yeeloong
notwithstanding (it was a GSoC project), however the wireless would
work just fine, it's a urtw(4), which has been supported since 8.0.
Actually, everything on the computer *would* work if FreeBSD was
ported to it, but this is a non-trivial task and simply isn't going to
happen until there are people willing to make it happen.
With that said, the Yeeloong is not a good recommendation for anyone,
with the exception of someone who wants to buy a nascent, possibly
(hopefully) emerging architecture, to play with or to port software.
Or someone who cares that much about free software and doesn't care
about the limitations of the architecture. This isn't what the OP
wants.

~Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 free...@edvax.de
 Subject: Re: Best Laptop to buy for Freebsd Without OS?
 To: Brian Callahan kors...@gmail.com
 Cc: freebsd-questions@freebsd.org
 Message-ID: 20110220042303.0f730c6b.free...@edvax.de
 Content-Type: text/plain; charset=US-ASCII
 
 On Thu, 17 Feb 2011 18:32:59 -0500, Brian Callahan kors...@gmail.com
 wrote:

  and By using the Software, you accept these terms. If
 you do not
  accept them, do not use the software. Instead, contact
 the
  manufacturer or installer to determine its return
 policy. You must
  comply with that policy, which might limit your rights
 or require you
  to return the entire system on which the software is
 installed.
  
  The major OEMs will say OK, then you must return the
 computer, and
  you have no option but to comply. This is true for the
 USA.
 
 Erm... and this is NOT a joke? Don't get me wrong, I had a
 good laugh about this... agreement... but nothing is too
 absurd to be true.
 
 In this specific context, does booting a FreeBSD and
 removing
 the Windows from the disk is equivalent to using the
 soft-
 ware? If I understand it correctly, using relates to
 the
 software, not the hardware.
 
 

Unfortunately, it is *not* a joke unless it is some kind of elaborite prank. I 
don't know why people let computer (and peripheral) vendors get away with it. I 
briefly describe the inserts and stickers included with a computing console 
my sister bought here:
http://forums.xkcd.com/viewtopic.php?f=7t=55819start=120#p2001085

quote
Anyway, as you may know, the End-user does not agree to the Microsoft version 
of the EULA directly. Rather, each manufacturer uses their own modified EULA 
that in turn, references the Microsoft EULA. The important thing is that they 
have changed the language from by clicking agree... to by using the 
(computer)... you agree to the license.
/quote
There is also a seal on the bag holding the computer to that effect.

Just yesterday, made a post complaining about how you can't just buy a General 
Purpose computer anymore:
http://gbxforums.gearboxsoftware.com/showthread.php?p=2227317#post2227317

In it I mention how I tried to buy a GNU/Liunx and BSD compatible printer, only 
to be confronted with:
quote
Please read before opening. Opening this package or using the patented 
cartridge included with this product confirms your acceptance of the following 
license agreement. The patented Return Program cartridge sold with this product 
is provided subject to the restriction that it be used only once. Following 
this initial use, you agree to return the empty cartridge only to Lexmark for 
remanufacturing and recycling. Lexmark provides a prepaid return label in every 
replacement cartridge package. If you don't accept these terms, return this 
unopened package to your point of purchase./quote

Patent law is stronger than copyright law. Lexmark may be able to argue you are 
manufacturing printed documents and are subject to the Patent license. INAL 
either.

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 the OP was looking for since it won't even run Windows without 
qemu (3hour+ compile for all targets). It is also a relatively small machine 
(netbook size). I am also not sure if the wireless would be supported in 
freeBSD.
freedomincluded@freedomincluded:~$ lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 
802.11g 54Mbps Network Adapter
Bus 004 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard 
reader
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
(Camera not listed)

Regards,

James Phillips



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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,
 but here's  where I'll be happy w ith something GUI THat i can
 squeeze my 15 or small-n lines' worth into.
 
 xterm -geometry 80x18 -e 'less -N /var/log/Xorg.0.log'
 
 Why 18 to get 15 lines?  One line for the less prompt, maybe two for
 the title bar on my system.
 
 
  EGAD!  Did I _really_ type 80x18?  I *,EANT* 80x48 which is the
  size of my Konsoles.  Some reason, do not know, my mind gets
  Way ahead of my fingers.
 
 You didn't, I did.  An 80x18 geometry xterm provides 16 lines of
 text, one for the less prompt.

My real aim is to have espeak | aplay running backgrounded and
then have the text displayed in bite-sized chunks.  The user can
thus have some huge and maybe boring text Read me him and follow
with his eyesight.  My espeak script uses the MBROLA voice[s].
These are good but not perfect.  Thus the more/less of the text.

A fellow engineer in his mid-70's came over to check out my
project.  This guy is HOH and his hearing is slowly getting
worse.  That meant having to adjust the pitch and volume of the
espeak voice.  What I can hear clearly this guy heard as a jumble 
of mumbles.  ---So one thing I've got to do is, after typing vim
~/tmp/sentence1,  and playing it is save it away and have it
easily available for replay after I have adjusted the pitch,
speech, and other tweaks.

I'd like to save between 3 and 5 sentences so that I don't have
to retype the entire thing.  Maybe use the arrow keys to go back
to the last mid-understood sentence.


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.98a release of Jottings: http://jottings.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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:
 snip
  
  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 cr and
  turning it into a space...?
  
  Also, can you insert 
  
  ^+++
  
  text
  
  ^+++
  
  top And bottom?  Pretty sure that the user would have the large
  font to read aloug with that espeak read to hijm.  Having the
  top/bottom delimiters might make scanning the text easier.  
  
  (It messed up with more.
  
  Anyway, thanks foe something that actually works, :_)
  
  gary
  
  
  
  
  -- 
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Journey Toward the Dawn, E-Book: http://www.thought.org
The 7.98a release of Jottings: http://jottings.thought.org
  
 Better?
 
The code does what you tell it to.  It puts the +++ string
before the output and following the EOF.  I was thinking of
having:

+++
15 lines of text
+++

After espeak speaks these lines, the user hits the spacebar and
another 

+++
15 lines
+++

until EOF.  I know zero ruby and am still learhnning python.
Thanks much for getting me going with ruby!  FRom here on it is
just logic, :_)

gary


 
 #!/usr/bin/env ruby
 require 'optparse'
 
 pagesize = 15
 
 optparse = OptionParser.new do |opts|
   opts.banner = 'usage: npg [-n pagesize] file...'
 
   opts.on('-n', '--numlines pagesize', 'Specify page size in number of 
 lines') do |n|
 pagesize = n.to_i
   end
 
 end
 
 begin
   optparse.parse!
 rescue OptionParser::InvalidOption, OptionParser::MissingArgument = e
   puts e
   puts optparse
   exit 1
 end
 
 puts ^+++
 loop do
   pagesize.times do
 if line = gets
   puts line
 else
   puts ^+++
   exit
 end
   end
   print More...
   system stty raw
   STDIN.getc
   system stty -raw
 end
 
 -- 
 Sterling (Chip) Camden | sterl...@camdensoftware.com | 2048D/3A978E4F
 http://chipsquips.com  | http://camdensoftware.com   | http://chipstips.com



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.98a release of Jottings: http://jottings.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 demelier.da...@gmail.com:
 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_mode setting? It's
 not documented anywhere.

man sc, at SYNOPSIS part

But I have -CURRENT

-- 
Dima Panov (flu...@freebsd.org)
KDE@FreeBSD team

Facebook: http://www.facebook.com/?id=10181104157
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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:
  snip
   
 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 cr and
 turning it into a space...?
   
 Also, can you insert 
   
 ^+++
   
 text
   
 ^+++
   
 top And bottom?  Pretty sure that the user would have the large
 font to read aloug with that espeak read to hijm.  Having the
 top/bottom delimiters might make scanning the text easier.  
   
 (It messed up with more.
   
 Anyway, thanks foe something that actually works, :_)
   
 gary
   
   
   
   
   -- 
Gary Kline  kl...@thought.org  http://www.thought.org  Public Service 
   Unix
  Journey Toward the Dawn, E-Book: http://www.thought.org
 The 7.98a release of Jottings: http://jottings.thought.org
   
  Better?
  
   The code does what you tell it to.  It puts the +++ string
   before the output and following the EOF.  I was thinking of
   having:
 
   +++
   15 lines of text
   +++
 
   After espeak speaks these lines, the user hits the spacebar and
   another 
 
   +++
   15 lines
   +++
 
   until EOF.  I know zero ruby and am still learhnning python.
   Thanks much for getting me going with ruby!  FRom here on it is
   just logic, :_)
 
   gary
 
 

I'm guessing you can see where to make that change, but let me know if
you need help.

-- 
Sterling (Chip) Camden | sterl...@camdensoftware.com | 2048D/3A978E4F
http://chipsquips.com  | http://camdensoftware.com   | http://chipstips.com


pgpUzoANLb04F.pgp
Description: PGP signature


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 website fonts in Firefox look better
than on Windows.  When I install gnome2 and firefox via pkg_add,
everything works, but it is not as glassy smooth as LM10.  I think the
PC-BSD people are working on a Gnome-version, so I could wait and see
what they put together. I was just curious if there was any technical
reason why this could be done. I assume if they both use xorg, then it
is possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 in ruby.  For some reason, use of parens
in ruby seems to be discouraged.  Anyway, I would have coded that
ruby line as 

if ( counter % 15) == 0

but didn't want to risk it since i don't know ruby.

Anyway, o8.rb included.  This version, using the [][][][][] to
emulate a bar, makes reading a reasonably-sized bunch of text
much easier.

Thanks again for your help.  

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix

  ruby script appended.


#!/usr/bin/env ruby
require 'optparse'

pagesize = 15
count = 0

optparse = OptionParser.new do |opts|
  opts.banner = 'usage: npg [-n pagesize] file...'

  opts.on('-n', '--numlines pagesize', 'Specify page size in number of lines') 
do |n|
pagesize = n.to_i
  end

end

begin
  optparse.parse!
rescue OptionParser::InvalidOption, OptionParser::MissingArgument = e
  puts e
  puts optparse
  exit 1
end

loop do
  if count == 0
 puts(\n[][][][][][][][][][][][][][][][][][][][][][][])
 count += 1
  end

  pagesize.times do
if line = gets
  puts line
  if count % 15 == 0
 puts(===)
 count = 0
 end
else
  exit
end
  end
  puts(\n[][][][][][][][][][][][][][][][][][][][][][][]\n\n)
  print More...
  system stty raw
  STDIN.getc
  system stty -raw
end

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 C equivalent of
   if counter % N == 0 in ruby.  For some reason, use of parens
   in ruby seems to be discouraged.  Anyway, I would have coded that
   ruby line as 
 
   if ( counter % 15) == 0
 
   but didn't want to risk it since i don't know ruby.
 
   Anyway, o8.rb included.  This version, using the [][][][][] to
   emulate a bar, makes reading a reasonably-sized bunch of text
   much easier.
 
   Thanks again for your help.  
 
 -- 
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 

Try this version instead.  There's no need to find the % 15, we're
already paging on the specified number.

#!/usr/bin/env ruby
require 'optparse'

def banner
  print \n[][][][][][][][][][][][][][][][][][][][]\n\n
end

pagesize = 15

optparse = OptionParser.new do |opts|
  opts.banner = 'usage: npg [-n pagesize] file...'

  opts.on('-n', '--numlines pagesize', 'Specify page size in number of lines') 
do |n|
pagesize = n.to_i
  end

end

begin
  optparse.parse!
rescue OptionParser::InvalidOption, OptionParser::MissingArgument = e
  puts e
  puts optparse
  exit 1
end

banner
loop do
  pagesize.times do
if line = gets
  puts line
else
  banner
  exit
end
  end
  banner
  print More...
  system stty raw
  STDIN.getc
  system stty -raw
  banner
end

-- 
Sterling (Chip) Camden | sterl...@camdensoftware.com | 2048D/3A978E4F
http://chipsquips.com  | http://camdensoftware.com   | http://chipstips.com


pgpUYxwTqYAEN.pgp
Description: PGP signature


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 practice only the first flac command is executed (see below)

I imagine it would be possible to convert to multiple mp3 files and
join those, but I'm curious as to why it fails as a shell script.






$ ( flac -cd file1.flac ; flac -cd file2.flac ) | lame -h - both.mp3

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh
Coalson flac comes with ABSOLUTELY NO WARRANTY.  This is free software,
and you are welcome to redistribute it under certain conditions.  Type
`flac' for details.

file1.flac: done 

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh
Coalson flac comes with ABSOLUTELY NO WARRANTY.  This is free software,
and you are welcome to redistribute it under certain conditions.  Type
`flac' for details.

LAME 3.98.4 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), 3DNow! (ASM used), SSE, SSE2
Using polyphase lowpass filter, transition band: 16538 Hz - 17071 Hz
Encoding stdin to both.mp3
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III (11x) 128 kbps qval=2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 (albeit green).  The Gnome UI is
 very smooth to interact with, and website fonts in Firefox look better
 than on Windows.  When I install gnome2 and firefox via pkg_add,
 everything works, but it is not as glassy smooth as LM10.  I think the
 PC-BSD people are working on a Gnome-version, so I could wait and see
 what they put together. I was just curious if there was any technical
 reason why this could be done. I assume if they both use xorg, then it
 is possible.

What exactly do you mean by glassy smooth?  Are you talking about how
it looks?  If so, you probably just need to turn on compositing (which
requires an appropriate graphics card) and install a GTK theme suitable
to the kind of look you want.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpShLbzCNNab.pgp
Description: PGP signature


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 ${PSTR}

Also, the difference is in escapes; two more backslashes added to the 
backtick version make it work:


PSTR=`echo ${DESTDIR}${COMPFILE} |  sed 's#\([?:.%\\]\)#\1#g'`
echo ${PSTR}

Still: aren't backticks and $() supposed to be equivalent?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Backtick versus $()

2011-02-20 Thread Andres Perera
On Sun, Feb 20, 2011 at 1:42 PM, David Demelier
demelier.da...@gmail.com 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\\\`\\\`\``
!
done

bash:
1234
dash:
1234
mksh:
1234


 markand@Abricot ~ $ echo $(basename $(which dmesg))
 dmesg

 markand@Abricot ~ $ echo `basename `which dmesg``
 usage: basename string [suffix]
       basename [-a] [-s suffix] string [...]
 which dmesg

 Of course the example code is useless but shows the limitations of ``.
 Nowadays all shells supports $() so I advise you to use it :).

no, not all shells support $()


 Cheers,

 --
 David Demelier
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Backtick versus $()

2011-02-20 Thread Andres Perera
On Sun, Feb 20, 2011 at 1:10 PM, Warren Block wbl...@wonkity.com 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 mksh; do
echo $i:
$i '!'
ra=` printf %s 's%\([?:.%\\]\)%\\\1%g'`
rb=$(printf %s 's%\([?:.%\\]\)%\\\1%g')
printf %s\\n $ra $rb
!
done

bash:
s%\([?:.%\]\)%\\1%g
s%\([?:.%\\]\)%\\\1%g
dash:
s%\([?:.%\]\)%\\1%g
s%\([?:.%\\]\)%\\\1%g
mksh:
s%\([?:.%\]\)%\\1%g
s%\([?:.%\\]\)%\\\1%g

if you add another backslash to double-slashes in backticks:

for i in bash dash mksh; do echo $i:  $i '!'
echo $i:
ra=` printf %s 's%\([?:.%\\\]\)%\1%g'`
rb=$(printf %s 's%\([?:.%\\]\)%\\\1%g')
printf %s\\n $ra $rb
!
done

bash:
s%\([?:.%\\]\)%\\\1%g
s%\([?:.%\\]\)%\\\1%g
dash:
s%\([?:.%\\]\)%\\\1%g
s%\([?:.%\\]\)%\\\1%g
mksh:
s%\([?:.%\\]\)%\\\1%g
s%\([?:.%\\]\)%\\\1%g

no, backticks are not supposed to be equivalent
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/inetorgpreson.schema




I do not know why this is the case as I can ls the file:

[root@LBSD2:/usr/local/etc/openldap] #ls -l
/usr/local/etc/openldap/schema/inetorgperson.schema
-r--r--r--  1 root  wheel  6360 Feb 21 03:13
/usr/local/etc/openldap/schema/inetorgperson.schema


If I comment out the inetorg schema slapd starts.

And it looks like the ownership and permissions are the same as they
are on the schema that is currently working:



[root@LBSD2:/usr/local/etc/openldap] #ls -l
/usr/local/etc/openldap/schema/core.schema
-r--r--r--  1 root  wheel  20583 Feb 21 03:13
/usr/local/etc/openldap/schema/core.schema


Boy would I love to get this working again! :)

thanks for your help!




-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 installation media?  That should
  allow you to repair the boot blocks and make your system bootable again.
 
 sorry if i wasn't clear enough. my system works perfectly normal. all i
 want is to avoid running through the booting stage 3 (i.e.  running
 /boot/loader), because i want to speed up the boot time.

I don't think that's been possible for a long time.  /boot/loader shouldn't
add more than a fraction of a second if you set its timeout to 0.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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 the problem is.  Turn up all the
logging to max and hunt for clues in the log files.   You'll get a lot
of log info, pretty much tracing out everything the server does.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


[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 probably want the classic
or console display.

Dtorrent trunk works fine.

QBitTorrent looks interesting.

As do a couple other native FreeBSD clients.

cdrtools works fine. (thanks joerg)

As soon at the 8.2 torrent file is posted to the tracker, a number
of folks I know will be seeding on the FreeBSD tracker and maybe
on into openbittorrent.

If you normally get the iso's via ftp, give bt a try, works great :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org