Re: text editor

2010-05-30 Thread perryh
Fbsd1 fb...@a1poweruser.com wrote:
 Been using ee and been happy.
 Now I have need for an editor with block commands.
...
 Is there any editors with a function like this?

Either vi or emacs can do this general sort of thing.
___
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: sh script writing help

2010-05-30 Thread Aiza

Dan Nelson wrote:

In the last episode (May 30), Aiza said:
In a .sh type script I have  exerr  very long message gt 250 char 
all on the same line. This is a real pain to edit.


Is there some code a can use to continue this on the next line so I can 
see it on the screen and still have the command function? I tried \ with 
no luck.


\ should work just fine:

$ echo long line \
split onto two
long line split onto two
$




You example works only because the continuation starts at position 1.

$   [ -n ${test-name-fowarding} -o -n ${test-noname} ] || \
exerr \
   
this is for ease of reading the code but will display with a bunch of 
spaces in the middle of the sentence. The \ works fine bypassing all 
white space between code not so for white space between the   .


Is there a coding method to get around this?
___
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: sh script writing help

2010-05-30 Thread Anh Ky Huynh
On Sun, 30 May 2010 14:10:36 +0800
Aiza aiz...@comclark.com wrote:

 Dan Nelson wrote:
  In the last episode (May 30), Aiza said:
  In a .sh type script I have  exerr  very long message gt 250
  char all on the same line. This is a real pain to edit.
 
  Is there some code a can use to continue this on the next line
  so I can see it on the screen and still have the command
  function? I tried \ with no luck.
  
  \ should work just fine:
  
  $ echo long line \
  split onto two
  long line split onto two
  $
  
 
 
 You example works only because the continuation starts at position
 1.
 
 $   [ -n ${test-name-fowarding} -o -n ${test-noname} ] || \
  exerr \
 
 this is for ease of reading the code but will display with a bunch
 of spaces in the middle of the sentence. The \ works fine bypassing
 all white space between code not so for white space between the 
 .
 
 Is there a coding method to get around this?

Do you try to read your expression from a file?
exerr `cat /path/to/data`

the contents of /path/to/data are your very long string.

Regards,

-- 
Anh Ky Huynh
___
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: fonts qstns.

2010-05-30 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/05/2010 22:11:07, Gary Kline wrote:
 guys,
 
 given the depth and wide scope of knoweldge on this list, i'm
 hoping that somebody can clue me in on font stuff... BUT:
 the fonts i'm interested in have to work with openoffice.

Any truetype or postscript font should work with OOo.  I believe OOo
will pick up whatever is available system-wide nowadays.  If not, there
will be an admin app you can use to add your font to the repertoire it
knows about.  Last time I used it, it vaguely recall it was called
sadmin, but that was a long time ago now.

Note that this controls what OOo wll display to you on-screen.  You make
not get exactly the same font on a printout, depending on the make and
model of your printer.

 first, i'm looking for a font that is apropos for long
 manscripts.  printed.  books rather than newspapers or other
 ink+paper material.  to me, GEorgia works quite nicely for
 my book JOURNEY.  but am wondering if there is such a thing as 
 a semi-bold  [or darker than usual regular] typeface.  

I'm quite partial to Gentium as a well proportioned, easy to read serif
font.  It's not very dark on the page though -- from a distance a sheet
of Gentium text appears noticably lighter than many other fonts.

 i hope you're all sitting down now; i'm ready to pay for this
 font.  --hope nodybody fell over :)

You might want to take a look at
http://www.sil.org/computing/catalog/show_software_catalog.asp?by=catname=Font
- -- I've already mentioned their Gentium font, but Charis SIL and Doulos
SIL looks promising too[*].  There isn't a port for either of those last
two but you can look at the type-sample PDFs.  Whipping a port together
shouldn't be too much trouble.

Cheers,

Matthew

[*] These are the people to go to if you are desperate for a font based
on Sudanese camel branding marks...

- -- 
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
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwCC9oACgkQ8Mjk52CukIyjGQCeLnhZWAG0GA9SA0FCPcYqGTne
nx0AoIG2Pi8O4JycOog3AcbBzSwaYit5
=aj+c
-END PGP SIGNATURE-
___
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: sh script writing help

2010-05-30 Thread Aiza

Anh Ky Huynh wrote:

On Sun, 30 May 2010 14:10:36 +0800
Aiza aiz...@comclark.com wrote:


Dan Nelson wrote:

In the last episode (May 30), Aiza said:

In a .sh type script I have  exerr  very long message gt 250
char all on the same line. This is a real pain to edit.

Is there some code a can use to continue this on the next line
so I can see it on the screen and still have the command
function? I tried \ with no luck.

\ should work just fine:

$ echo long line \
split onto two
long line split onto two
$



You example works only because the continuation starts at position
1.

$   [ -n ${test-name-fowarding} -o -n ${test-noname} ] || \
 exerr \

this is for ease of reading the code but will display with a bunch
of spaces in the middle of the sentence. The \ works fine bypassing
all white space between code not so for white space between the 
.

Is there a coding method to get around this?


Do you try to read your expression from a file?
exerr `cat /path/to/data`

the contents of /path/to/data are your very long string.

Regards,



Thanks I never though of that solution.
___
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: Re : Possible to run Linux distro in a jail?

2010-05-30 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/05/2010 22:15:37, Alexandre L. wrote:
 I have this link to a French Blog : 
 http://blog.etoilebsd.net/post/Emprisonner_une_debian_dans_un_FreeBSD
 
 This describe how to jail a Linux Debian in FreeBSD.
 
 I hope this will help you. I haven't used it. 
 Thanks to its author : Baptiste Daroussin.

This is technically not Debian *Linux* at all -- it's a Debian project
to merge a BSD kernel with all the GNU shlibs and the various other
utilities used on Debian systems.  See
http://www.debian.org/ports/kfreebsd-gnu/ and
http://wiki.debian.org/Debian_GNU/kFreeBSD

jail(8) uses the same kernel image in the jail as in the base system.
So, in general, jails have to contain pretty much the same OS as the
base.  There are some variations possible, like running a 32-bit world
in a jail on a 64-bit box, or running alternate FreeBSD versions to the
main system (takes a bit of tweaking to make work properly, but this is
used by the ports build cluster for example).

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
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwCD1kACgkQ8Mjk52CukIwBwACfQrvrrACAdgnweqvMF1B9liC/
iW0AoIho55QX+ryuiD7PnKD4U7+QZQVf
=b2qu
-END PGP SIGNATURE-
___
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: sh script writing help

2010-05-30 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/05/2010 07:58:58, Aiza wrote:
 Anh Ky Huynh wrote:
 On Sun, 30 May 2010 14:10:36 +0800
 Aiza aiz...@comclark.com wrote:

 Dan Nelson wrote:
 In the last episode (May 30), Aiza said:
 In a .sh type script I have  exerr  very long message gt 250
 char all on the same line. This is a real pain to edit.

 Is there some code a can use to continue this on the next line
 so I can see it on the screen and still have the command
 function? I tried \ with no luck.
 \ should work just fine:

 $ echo long line \
 split onto two
 long line split onto two
 $


 You example works only because the continuation starts at position
 1.

 $   [ -n ${test-name-fowarding} -o -n ${test-noname} ] || \
  exerr \
 
 this is for ease of reading the code but will display with a bunch
 of spaces in the middle of the sentence. The \ works fine bypassing
 all white space between code not so for white space between the 
 .

 Is there a coding method to get around this?

 Do you try to read your expression from a file?
 exerr `cat /path/to/data`

 the contents of /path/to/data are your very long string.

A standard means of doing this sort of thing is to use a 'Here' document:

if ! [ -n ${test-name-forwarding} -o -n ${test-noname} ]; then
exerr -E_O_EXERR
x
xx
xx
xxx
E_O_EXER
fi

The '-' operator is a variant on the usual '' operator used for
this: the only difference is that it strips leading tabs from the lines
in the here document.

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
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwCEjQACgkQ8Mjk52CukIzc7gCbBalo5oJcsw+jkXHOm4+8qU3f
l2EAn30WwaSL3kTZ1iy3FGkTxQlBZ3pr
=WxjG
-END PGP SIGNATURE-
___
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


command to rename a directory

2010-05-30 Thread Aiza

Is there a command to rename a directory in place.
Like mv does for a file name.
___
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: fonts qstns.

2010-05-30 Thread Gary Kline
On Sun, May 30, 2010 at 07:55:22AM +0100, Matthew Seaman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 29/05/2010 22:11:07, Gary Kline wrote:
  guys,
  
  given the depth and wide scope of knoweldge on this list, i'm
  hoping that somebody can clue me in on font stuff... BUT:
  the fonts i'm interested in have to work with openoffice.
 
 Any truetype or postscript font should work with OOo.  I believe OOo
 will pick up whatever is available system-wide nowadays.  If not, there
 will be an admin app you can use to add your font to the repertoire it
 knows about.  Last time I used it, it vaguely recall it was called
 sadmin, but that was a long time ago now.


there WAS  a font-adding 'wizard' that added OO fonts; i cant
find it now.  google may help me.  [[just is an aside, but
i've always appreciated the artistic part of creating a
typeface.  i prefer the serif fonts --in general-- just
wondering which is among the best choices for a Long book...

 
 Note that this controls what OOo wll display to you on-screen.  You make
 not get exactly the same font on a printout, depending on the make and
 model of your printer.
 

yeah, found this out a long time ago. but here is a question
for you or anyone else who may be hardware savvy.

according to one fellow, the top display shows only 72dpi;
that is why sans serif [like arial] render better than, say,
times.  does this still hold?  


  first, i'm looking for a font that is apropos for long
  manscripts.  printed.  books rather than newspapers or other
  ink+paper material.  to me, GEorgia works quite nicely for
  my book JOURNEY.  but am wondering if there is such a thing as 
  a semi-bold  [or darker than usual regular] typeface.  
 
 I'm quite partial to Gentium as a well proportioned, easy to read serif
 font.  It's not very dark on the page though -- from a distance a sheet
 of Gentium text appears noticably lighter than many other fonts.


no doubt due to thinner lines in the stems and so on.  my
father did display signage for stores; i remember the design
books.  one reason i like  aheavier typeface is my
eyesight--MAYBE.  i have discovered thst if the print is
widely spaced [[increased leading]] i can read even small
type easily.  i don't think we evolved to read text, :-)


 
  i hope you're all sitting down now; i'm ready to pay for this
  font.  --hope nodybody fell over :)
 
 You might want to take a look at
 http://www.sil.org/computing/catalog/show_software_catalog.asp?by=catname=Font
 - -- I've already mentioned their Gentium font, but Charis SIL and Doulos
 SIL looks promising too[*].  There isn't a port for either of those last
 two but you can look at the type-sample PDFs.  Whipping a port together
 shouldn't be too much trouble.
 


around 1998 i did a port of enscript fonts.   the best one
that were free, complete [iso-5589-1] and public.  maybe i
can add the font to my ports.  i think i upgraded it twice.
the enscript methodology used to be the only way of using
these fonts in my collection, but no more!

thanks much,

gary


   Cheers,
 
   Matthew
 
 [*] These are the people to go to if you are desperate for a font based
 on Sudanese camel branding marks...
 


gotcha.  actually i'm looking for a typeface based on yak's
molars; what can i say?


 - -- 
 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
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAkwCC9oACgkQ8Mjk52CukIyjGQCeLnhZWAG0GA9SA0FCPcYqGTne
 nx0AoIG2Pi8O4JycOog3AcbBzSwaYit5
 =aj+c
 -END PGP SIGNATURE-

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
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: command to rename a directory

2010-05-30 Thread Roland Smith
On Sun, May 30, 2010 at 03:42:59PM +0800, Aiza wrote:
 Is there a command to rename a directory in place.
 Like mv does for a file name.

It works for directories as well.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpTlmtEmuhql.pgp
Description: PGP signature


portmaster not replacing %var% in final pkg-msg

2010-05-30 Thread Eitan Adler
$cd lang/go  portmaster .
--
 To build Go programs for FreeBSD, you'll want to set up your
 environment properly. The following environment variables should
 be set:
...
 GOOS=freebsd
 GOARCH=386
 GOROOT=/usr/local/lib/go

===   Registering installation for go-20100413

===  Cleaning for go-20100413

=== pkg-message for go-20100413
--
 To build Go programs for FreeBSD, you'll want to set up your
 environment properly. The following environment variables should
 be set:

 GOOS=freebsd
 GOARCH=%%ARCH%%
 GOROOT=%%PREFIX%%/lib/go

 To build Go programs, you may include %%PREFIX%%/share/go/Make.pkg
 or %%PREFIX%%/share/go/Make.cmd in your build infrastructure
 (note: this requires gmake).

 Your compiler is %%GOOBJ%%g and your linker is %%GOOBJ%%l.


=== Installation of lang/go (go-20100413) complete


-- 
Eitan Adler
___
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: Re : Possible to run Linux distro in a jail?

2010-05-30 Thread Vincent Hoffman
On 30/05/2010 08:10, Matthew Seaman wrote:
 On 29/05/2010 22:15:37, Alexandre L. wrote:
  I have this link to a French Blog :
 http://blog.etoilebsd.net/post/Emprisonner_une_debian_dans_un_FreeBSD

  This describe how to jail a Linux Debian in FreeBSD.

  I hope this will help you. I haven't used it.
  Thanks to its author : Baptiste Daroussin.

 This is technically not Debian *Linux* at all -- it's a Debian project
 to merge a BSD kernel with all the GNU shlibs and the various other
 utilities used on Debian systems.  See
 http://www.debian.org/ports/kfreebsd-gnu/ and
 http://wiki.debian.org/Debian_GNU/kFreeBSD
Actually my reading of it is a linux userland running under linux
compatibility mode as a jail. So no not linux but not quite kFreeBSD either.

Vince

 jail(8) uses the same kernel image in the jail as in the base system.
 So, in general, jails have to contain pretty much the same OS as the
 base.  There are some variations possible, like running a 32-bit world
 in a jail on a 64-bit box, or running alternate FreeBSD versions to the
 main system (takes a bit of tweaking to make work properly, but this is
 used by the ports build cluster for example).

 Cheers,

 Matthew

___
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: text editor

2010-05-30 Thread Polytropon
On Sun, 30 May 2010 11:36:31 +0800, Fbsd1 fb...@a1poweruser.com wrote:
 Been using ee and been happy.
 
 Now I have need for an editor with block commands.
 Put dd on the first line of sequence number you want to start deleting and dd 
 on the
 last line of the block and hit enter and the block of lines are deleted.
 OR
 Put cc on first line and cc on last line of black to copy and enter I on 
 line where
 you want the copied block to be inserted after.
 Also same for mm meaning move block.
 
 Is there any editors with a function like this?

Hmmm... block commands are a big strength of joe (Joe's own
editor). Start block with ^KB, end block with ^KK. Blocks
can be copied with ^KC, moved with ^KM and deleted with
^KY. ^KH and man joe for more details.

Another solution is mcedit, the editor that comes with the
Midnight Commander. Press PF3 on block start, move to block
end, press PF3, the block will be selected. Press PF8 to
delete it.

And a third suggestion: the (The Hessling Editor), a very
powerful editor, allthough a bit strange to learn. If
you already have an ISPF/PDF background, this editor will
be for you.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: text editor

2010-05-30 Thread Fbsd1

Polytropon wrote:

On Sun, 30 May 2010 11:36:31 +0800, Fbsd1 fb...@a1poweruser.com wrote:

Been using ee and been happy.

Now I have need for an editor with block commands.
Put dd on the first line of sequence number you want to start deleting and dd 
on the
last line of the block and hit enter and the block of lines are deleted.
OR
Put cc on first line and cc on last line of black to copy and enter I on line 
where
you want the copied block to be inserted after.
Also same for mm meaning move block.

Is there any editors with a function like this?


Hmmm... block commands are a big strength of joe (Joe's own
editor). Start block with ^KB, end block with ^KK. Blocks
can be copied with ^KC, moved with ^KM and deleted with
^KY. ^KH and man joe for more details.

Another solution is mcedit, the editor that comes with the
Midnight Commander. Press PF3 on block start, move to block
end, press PF3, the block will be selected. Press PF8 to
delete it.

And a third suggestion: the (The Hessling Editor), a very
powerful editor, allthough a bit strange to learn. If
you already have an ISPF/PDF background, this editor will
be for you.




I installed pkg_add -r the
entering the on the command line produces something that is far 
removed from ispf/pdf. manpage and website documentation for the 
really sucks. Think I need to create a default profile that activates 
ispf but have found no instructions on how to do it. Can not find the 
profile on my system.


more help please.
___
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: Wireless cards

2010-05-30 Thread Yury Michurin
Hi,
I'm using D-Link DWA-547 for a couple of months now in hostap mode and it
seems to work grate.
It's a PCI card with atheros chipset.

Yury.


On Wed, May 26, 2010 at 4:37 AM, J. Altman freebsd-annou...@chthonic.comwrote:

 Greetings...

 uname -a
 FreeBSD whisperer.chthonixia.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2
 #0: Sat May 15 11:47:55 EDT 2010
 r...@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER  amd64

 My Netgear WG311T, with an Atheros chipset, seems to be at its
 end. The box is about thirty feet from the WAP, almost directly in
 line through an open door:

 --- 192.168.1.1 ping statistics ---
 27 packets transmitted, 21 packets received, 22.2% packet loss
 round-trip min/avg/max/stddev = 1.811/9.526/35.551/8.051 ms

 I see this:

  dmesg | grep wlan0: link state changed to | wc
   9  54 296

 Where up or down follows to for a box with this uptime: up 2:04

 Over several days, this can occur hundreds of times; and often,
 ifconfig shows this: DS/1 Mbps or similar; then it will bounce back to
 OFDM; bounce around between OFDM bandwidths: then eventually fall to
 DS. This is suboptimal.

 So: what are people using these days? The WG311T is old. I've had no
 luck looking for a modern card using an Atheros chip. I don't care who
 makes it; whether it's Atheros or not; nor if it is PCI or PCI-X. I
 just want it to work.

 Thanks for any recommendations; and best regards,

 Joe


 ___
 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


Advertising

2010-05-30 Thread Alexander Friedman
Hello,

My name is Alexander Friedman and I'm interested in buying advertisement on
your blog.

I'm currently interested in buying banners and text links.

Please provide me with all available sizes and options.

Thanks,
Alexander Friedman
___
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: cron not sending emails

2010-05-30 Thread Laszlo Nagy

If I put this into root's crontab


* * * * * echo TEST


a quick guess, you have a line like:
MAILTO=address

It doesn't work. With, or without the MAILTO.  Just for completeness, 
I have used this:


MAILTO=gandalf

The gandalf user is a local user on the system. I can send local 
mail to this user using the sendmail postfix program (checked twice).

Cron is still not sending emails. Any idea?

Thanks

   Laszlo

___
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: command to rename a directory

2010-05-30 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Sun May 30 02:43:14 2010
 Date: Sun, 30 May 2010 15:42:59 +0800
 From: Aiza aiz...@comclark.com
 To: questi...@freebsd.org questi...@freebsd.org
 Cc: 
 Subject: command to rename a directory

 Is there a command to rename a directory in place.
 Like mv does for a file name.

like 'mv', maybe?   *grin*

to wit:

   $ mkdir foo
   $ ls -ld foo*
   drwxrwxr-x  2 bonomi  user  512 May 30 11:21 foo
   $ mv foo foo2
   $ ls -ld foo*
   drwxrwxr-x  2 bonomi  user  512 May 30 11:21 foo2



___
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: cron not sending emails

2010-05-30 Thread Jerry
On Sun, 30 May 2010 17:21:20 +0200
Laszlo Nagy gand...@shopzeus.com articulated:


 Cron is still not sending emails. Any idea?

Is there any output in the 'maillog' log?


-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: Advertising

2010-05-30 Thread Chris Rees
On 30 May 2010 15:41, Alexander Friedman
alexander.friedman.m...@gmail.com wrote:
 Hello,

 My name is Alexander Friedman and I'm interested in buying advertisement on
 your blog.

 I'm currently interested in buying banners and text links.

 Please provide me with all available sizes and options.


*Everything* you need to know is here.

http://www.freebsdfoundation.org/donate/sponsors.shtml

Thanks,

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


Re: text editor

2010-05-30 Thread Giorgos Keramidas
On Sun, 30 May 2010 11:36:31 +0800, Fbsd1 fb...@a1poweruser.com wrote:
 Been using ee and been happy.

 Now I have need for an editor with block commands.

 Put dd on the first line of sequence number you want to start deleting
 and dd on the last line of the block and hit enter and the block of
 lines are deleted.

 OR

 Put cc on first line and cc on last line of black to copy and enter
 I on line where you want the copied block to be inserted after.

 Also same for mm meaning move block.

 Is there any editors with a function like this?

If you don't mind the size of the respective packages, both VIM and
GNU Emacs have support for many features that ee(1) lacks.

editors/vim-lite has visual block-editing and rectangle-editing modes.
It includes support for multiple open buffers, split windows, and many
more nice features.

editors/emacs has support for many selection modes, including support
for block-editing, rectangle-editing, a virtually unlimited number of
'cut buffers' (they are called 'registers' in Emacs terminology), and
a literally mind-bending number of extra features.

I use both editors on a regular basis.  Most of the ASCII art I've
posted in this mailing list and other open source mailing lists has
been created using Vim or Emacs.

___
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: sh script writing help

2010-05-30 Thread Giorgos Keramidas
On Sun, 30 May 2010 13:14:01 +0800, Aiza aiz...@comclark.com wrote:
 In a .sh type script I have  exerr  very long message gt 250 char
 all on the same line. This is a real pain to edit.

 Is there some code a can use to continue this on the next line so I
 can see it on the screen and still have the command function? I tried
 \ with no luck.

If the message does not have to be a *single* command-line argument of
the exerr function, you can split the message in multiple arguments
and use '\' for continuation lines, e.g.:

echo This is a very long message \
that does not fit in a single \
line of text.

This might not work if you _have_ to pass the string as a single
argument, but even in that case you can use shell substitution to wrap
the exerr() function, e.g.:

exwrap()
{
return exerr $*
}

exwrap This is a very long message \
that does not fit in a single \
line of text.

___
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


upgrading squeezeboxserver

2010-05-30 Thread Vincent Zee
Hi,

I recently upgraded to the newest version of audio/squeezeboxserver.
After the update the server is unable to rescan my music collection.

Does anyone else encountered this problem?
How can I revert to the previous version of squeezeboxserver
(I'm using Portmaster to upgrade my ports)?

TIA

/\
Vincent
___
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 can't install php5-mhash from ports

2010-05-30 Thread Yavuz Maşlak
I use freebsd7.3 . I ran portsnap update .

I can't install php5-mhash from ports
cd /usr/ports/security/php5-mhash
# make
===  Vulnerability check disabled, database not found
===  License check disabled, port has not defined LICENSE
===  Extracting for php5-mhash-5.3.2
= MD5 Checksum OK for php-5.3.2.tar.bz2.
= SHA256 Checksum OK for php-5.3.2.tar.bz2.
tar: php-5.3.2/ext/mhash: Not found in archive
tar: Error exit delayed from previous errors.
*** Error code 1

Stop in /usr/ports/security/php5-mhash.

There is no mhash directory in php-5.3.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


what would take to allow binary upgrade to amd64?

2010-05-30 Thread Eitan Adler
I know that attempting to change from i386 to amd64 is is not possible
using freebsd-update and difficult using source.
Why is this? Would it require a significant amount of work to allow
such transitions?

-- 
Eitan Adler
___
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: cron not sending emails

2010-05-30 Thread Matthias Apitz
El día Sunday, May 30, 2010 a las 05:21:20PM +0200, Laszlo Nagy escribió:

 If I put this into root's crontab
 
 * * * * * echo TEST
 
 a quick guess, you have a line like:
 MAILTO=address
 
 It doesn't work. With, or without the MAILTO.  Just for completeness, 
 I have used this:
 
 MAILTO=gandalf
 
 The gandalf user is a local user on the system. I can send local 
 mail to this user using the sendmail postfix program (checked twice).
 Cron is still not sending emails. Any idea?

Yes, check the log of cron (/var/log/cron) if you job is run at all; if
so check the log of mails (/var/log/maillog).

Btw: what is the purpose of putting TEST into ?

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
¡Ya basta! ¡Tropas de OTAN, fuera de Afghanistan!
There's an end of it! NATO troups out of Afghanistan!
Schluss jetzt endlich! NATO raus aus Afghanistan!
___
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: I can't install php5-mhash from ports

2010-05-30 Thread Michael Powell
Yavuz Maşlak wrote:

 I use freebsd7.3 . I ran portsnap update .
 
 I can't install php5-mhash from ports
 cd /usr/ports/security/php5-mhash
 # make
 ===  Vulnerability check disabled, database not found
 ===  License check disabled, port has not defined LICENSE
 ===  Extracting for php5-mhash-5.3.2
 = MD5 Checksum OK for php-5.3.2.tar.bz2.
 = SHA256 Checksum OK for php-5.3.2.tar.bz2.
 tar: php-5.3.2/ext/mhash: Not found in archive
 tar: Error exit delayed from previous errors.
 *** Error code 1
 
 Stop in /usr/ports/security/php5-mhash.
 
 There is no mhash directory in php-5.3.2

Have you read /usr/ports/UPDATING? Particularly section 20100409:

Can't answer to possibility of the portsnap update being stale; I use csup 
along with portsdb -uF  pkgdb -u for tree/index refresh.

-Mike



___
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: what would take to allow binary upgrade to amd64?

2010-05-30 Thread Demelier David
On Sun, May 30, 2010 at 09:51:11PM +0300, Eitan Adler wrote:
 I know that attempting to change from i386 to amd64 is is not possible
 using freebsd-update and difficult using source.
 Why is this? Would it require a significant amount of work to allow
 such transitions?

While the system is running we won't be able to do this. Because you canno't
overwrite file with a different architecture if you are running on it !

It will work for a couple of minutes and then you should get something like
exec format error and your system will be completely broken.

Maybe this can be possible with a other OS in livecd.

-- 
Demelier David
___
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: what would take to allow binary upgrade to amd64?

2010-05-30 Thread Rob Farmer
On Sun, May 30, 2010 at 11:51 AM, Eitan Adler li...@eitanadler.com wrote:
 I know that attempting to change from i386 to amd64 is is not possible

The proper procedure for such an upgrade is as follows:

1) download and burn the relevant amd64 iso
2) update your backups
3) reformat and reinstall the OS from the CD
4) restore your data and system config from the backups
5) resume normal operation

If the thought of reformatting your system is scary, because you don't
have backups or aren't sure they are comprehensive or work, then solve
that problem, rather than trying to invent workarounds to cover for
bad system administration. It will serve you much better in the long
run.

-- 
Rob Farmer
___
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: what would take to allow binary upgrade to amd64?

2010-05-30 Thread Michael Powell
Rob Farmer wrote:

 On Sun, May 30, 2010 at 11:51 AM, Eitan Adler li...@eitanadler.com
 wrote:
 I know that attempting to change from i386 to amd64 is is not possible
 
 The proper procedure for such an upgrade is as follows:
 
 1) download and burn the relevant amd64 iso
 2) update your backups
 3) reformat and reinstall the OS from the CD
 4) restore your data and system config from the backups
 5) resume normal operation
 
 If the thought of reformatting your system is scary, because you don't
 have backups or aren't sure they are comprehensive or work, then solve
 that problem, rather than trying to invent workarounds to cover for
 bad system administration. It will serve you much better in the long
 run.

I agree with this wholeheartedly. I recently posed the question about doing 
this with a make buildworld/etc dance from i386 to amd64, e.g. if there was 
a known sane method for accomplishing this. The general consensus was 'well, 
maybe if you spend enough time mucking with myriad problems as they come up 
maybe it's possible...'. Basically you will spend less time following the 
above directions, finish the project and be free to move on to others more 
quickly.

It is easier when dealing with servers as they usually only have a fairly 
limited number of ports installed. Having the appropriate backups on hand, 
as if for bare-metal recovery, also allows for rolling it back to the 
previous state fairly quickly should one get into a stop/no-go/stuck 
situation.

-Mike



___
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: Re : Possible to run Linux distro in a jail?

2010-05-30 Thread Gary Kline
On Sun, May 30, 2010 at 12:10:44PM +0100, Vincent Hoffman wrote:
 On 30/05/2010 08:10, Matthew Seaman wrote:
  On 29/05/2010 22:15:37, Alexandre L. wrote:
   I have this link to a French Blog :
  http://blog.etoilebsd.net/post/Emprisonner_une_debian_dans_un_FreeBSD
 
   This describe how to jail a Linux Debian in FreeBSD.
 
   I hope this will help you. I haven't used it.
   Thanks to its author : Baptiste Daroussin.
 
  This is technically not Debian *Linux* at all -- it's a Debian project
  to merge a BSD kernel with all the GNU shlibs and the various other
  utilities used on Debian systems.  See
  http://www.debian.org/ports/kfreebsd-gnu/ and
  http://wiki.debian.org/Debian_GNU/kFreeBSD
 Actually my reading of it is a linux userland running under linux
 compatibility mode as a jail. So no not linux but not quite kFreeBSD either.
 


thid may be a bit off target, but several years ago i was
into porting the freebsd kernel over to the debian world.
besides keeping up my cheerleading, i actually did about 27%
of the libc port.  then things began fading.  there may well 
be a debbsd that was abandoned.

google around if interested.  

gary



 Vince
 
  jail(8) uses the same kernel image in the jail as in the base system.
  So, in general, jails have to contain pretty much the same OS as the
  base.  There are some variations possible, like running a 32-bit world
  in a jail on a 64-bit box, or running alternate FreeBSD versions to the
  main system (takes a bit of tweaking to make work properly, but this is
  used by the ports build cluster for example).
 
  Cheers,
 
  Matthew
 
 ___
 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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
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: upgrading squeezeboxserver

2010-05-30 Thread Uwe Laverenz

Am 30.05.2010 20:46, schrieb Vincent Zee:


I recently upgraded to the newest version of audio/squeezeboxserver.
After the update the server is unable to rescan my music collection.

Does anyone else encountered this problem?


Yes, same problem here. I tried different versions of perl (5.8 and 5.10 
both with or without threading) and gave up after several reinstalls due 
to lack of time.



How can I revert to the previous version of squeezeboxserver
(I'm using Portmaster to upgrade my ports)?


There's a tool for this in ports-mgmt/portdowngrade.

cu,
Uwe
___
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: text editor

2010-05-30 Thread Lars Eighner

On Sun, 30 May 2010, Fbsd1 wrote:


Been using ee and been happy.

Now I have need for an editor with block commands.


I recommend joe which is one binary with several flavors including
pico, emacs, and wordstar work-alikes as well as its own interface.
The macro language is easy and powerful.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


Fwd: [#24525016] External USB drive causes system to hang completely

2010-05-30 Thread Alejandro Imass
Hi all,

I sent a question regarding a problem with USB and I get this in reply.
Can someone explain?

Thanks,
Alejandro Imass


-- Forwarded message --
From: FreeBSD Questions freebsd-questions@freebsd.org
Date: Fri, May 28, 2010 at 7:03 PM
Subject: [#24525016] External USB drive causes system to hang completely
To: Alejandro Imass a...@p2ee.org


Hello,

This is an automated response to inform you that your question has
been entered into our system, and will be reviewed shortly. Your
ticket has been submitted into the General Support department.

We will respond to you as soon as possible.

==
Please keep this information, and use it when refering to your ticket:

Ticket subject: External USB drive causes system to hang completely
Ticket number: 24525016
Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24525016
Ticket body: Hi,

This is just a comment to get your feedback on this issue. I am
rsyncing 500 MB from one usb drive to the other. If any of the drives
should fail, the whole system hangs. For example, if there is a power
glitch in one of the drives, the whole system hangs. As you may know,
some of the external enclusores and/or power cables can get in the way
and even the slightest movement can disturb the drive. What I don't
understand is why does it have to hang the system?!

Has anyone else experienced this? I mean I can understand that you may
get corrupted data etc. but how is it possible for a failed write
operation to hang the complete system!? Maybe this issue is only
related to USB drives?

Both drives are USB 2 and have UFS.

Thanks beforehand for any feedback or ideas.

Alejandro Imass
___
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: what would take to allow binary upgrade to amd64?

2010-05-30 Thread Eitan Adler
On Sun, May 30, 2010 at 10:52 PM, Rob Farmer rfar...@predatorlabs.net wrote:
 On Sun, May 30, 2010 at 11:51 AM, Eitan Adler li...@eitanadler.com wrote:
 I know that attempting to change from i386 to amd64 is is not possible

 The proper procedure for such an upgrade is as follows:


 If the thought of reformatting your system is scary, because you don't
 have backups or aren't sure they are comprehensive or work, then solve
 that problem, rather than trying to invent workarounds to cover for
 bad system administration. It will serve you much better in the long
 run.
This isn't my question. I know how to currently perform the upgrade.

My question is
a) is it possible in theory to allow binary upgrades to be done?
and b) if yes how much work would it take?


-- 
Eitan Adler
___
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: what would take to allow binary upgrade to amd64?

2010-05-30 Thread Eitan Adler
On Sun, May 30, 2010 at 10:44 PM, Demelier David
demelier.da...@gmail.com wrote:
 On Sun, May 30, 2010 at 09:51:11PM +0300, Eitan Adler wrote:
 I know that attempting to change from i386 to amd64 is is not possible
 using freebsd-update and difficult using source.
 Why is this? Would it require a significant amount of work to allow
 such transitions?

 While the system is running we won't be able to do this. Because you canno't
 overwrite file with a different architecture if you are running on it !

Why can't we handle this the same we handle upgrading cross major
versions systems?

-- 
Eitan Adler
___
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: upgrading squeezeboxserver

2010-05-30 Thread George Hartzell
Vincent Zee writes:
  Hi,
  
  I recently upgraded to the newest version of audio/squeezeboxserver.
  After the update the server is unable to rescan my music collection.
  
  Does anyone else encountered this problem?
  How can I revert to the previous version of squeezeboxserver
  (I'm using Portmaster to upgrade my ports)?
  

I had this problem and managed to work around it.

I haven't had time to track it down enough to file a bug though.

My fix was to downgrade p5-DBIx-Class to version 08120.

There's probably a proper way to do this thing, but what I ended up
doing was downgrading the port's distinfo file, replacing its contents
with the following three lines:

  MD5 (DBIx-Class-0.08120.tar.gz) = ebed5ed315618e783ac048767aed90a5
  SHA256 (DBIx-Class-0.08120.tar.gz) = 
c97af692cbbf9779457e669b52d117b3b174aac3826d4af20da7f26e5aabe479
  SIZE (DBIx-Class-0.08120.tar.gz) = 513806

grabbed from r47 found here:

  
http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/p5-DBIx-Class/distinfo?sortby=rev

and changing the PORTVERSION in the Makefile to 0.08120.

Then did a make, a make deinstall and a make install.

There was probably a make makesum in there too.

Let me know if you need more details suggestions.

g.
___
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: text editor

2010-05-30 Thread Chad Perrin
On Sun, May 30, 2010 at 09:31:59PM +0300, Giorgos Keramidas wrote:
 
 If you don't mind the size of the respective packages, both VIM and
 GNU Emacs have support for many features that ee(1) lacks.

I'm not sure why you mentioned the size of Vim here as if it's a
remarkably large piece of software.  It *barely* doesn't fit on a 3.5
floppy when you use a full install of the console-based Vim editor.  I'm
pretty sure it's under 2 MB.

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


pgpaG7UliNUHC.pgp
Description: PGP signature


Is this information obtainable?

2010-05-30 Thread Aiza

I trying to estimate the number of Freebsd computers.
To gauge a rough range size.

Number of subscribers to this question list.

Number of unique email address or ip address across all the Freebsd 
mailing lists.


Number of unique ip address hits to the cvsup  ftp servers since Jan 2009.

Unique hits on the FreeBSD handbook since Jan 2009.



Is this information obtainable?
___
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: Is this information obtainable?

2010-05-30 Thread Anh Ky Huynh
On Mon, 31 May 2010 11:41:16 +0800
Aiza aiz...@comclark.com wrote:

 I trying to estimate the number of Freebsd computers.
 To gauge a rough range size.

This may help: http://www.bsdstats.org/ :)

 
 Number of subscribers to this question list.
 
 Number of unique email address or ip address across all the Freebsd 
 mailing lists.
 
 Number of unique ip address hits to the cvsup  ftp servers since
 Jan 2009.
 
 Unique hits on the FreeBSD handbook since Jan 2009.

Why these numbers?

-- 
Anh Ky Huynh
___
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: Is this information obtainable?

2010-05-30 Thread Aiza

Anh Ky Huynh wrote:

On Mon, 31 May 2010 11:41:16 +0800
Aiza aiz...@comclark.com wrote:


I trying to estimate the number of Freebsd computers.
To gauge a rough range size.


This may help: http://www.bsdstats.org/ :)


Number of subscribers to this question list.

Number of unique email address or ip address across all the Freebsd 
mailing lists.


Number of unique ip address hits to the cvsup  ftp servers since
Jan 2009.

Unique hits on the FreeBSD handbook since Jan 2009.


Why these numbers?



Trying to generate from other sources, numbers to compare to what is 
reported on bsdstats.

___
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: Is this information obtainable?

2010-05-30 Thread Marc G. Fournier

On Mon, 31 May 2010, Anh Ky Huynh wrote:


On Mon, 31 May 2010 11:41:16 +0800
Aiza aiz...@comclark.com wrote:


I trying to estimate the number of Freebsd computers.
To gauge a rough range size.


This may help: http://www.bsdstats.org/ :)


BSDstats has a very long way to go before the numbers start to look 
rasonable ... for PCBSD, the #s are pretty reasonable, because they set it 
up so that its auto-enabled when  you intall ... for FreeBSD, the numbers 
aren't even close, since ppl have to manually install it ...


the numbers are growing ... since the start of May, I've seen the numbers 
jump by almost 2k new computers, so it is growing ... but ppl have to 
consciously install the software ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.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: Is this information obtainable?

2010-05-30 Thread Anh Ky Huynh
On Mon, 31 May 2010 01:31:34 -0300 (ADT)
Marc G. Fournier scra...@hub.org wrote:

 On Mon, 31 May 2010, Anh Ky Huynh wrote:
 
  On Mon, 31 May 2010 11:41:16 +0800
  Aiza aiz...@comclark.com wrote:
 
  I trying to estimate the number of Freebsd computers.
  To gauge a rough range size.
 
  This may help: http://www.bsdstats.org/ :)
 
 BSDstats has a very long way to go before the numbers start to look 
 rasonable ... for PCBSD, the #s are pretty reasonable, because they
 set it up so that its auto-enabled when  you intall ... for
 FreeBSD, the numbers aren't even close, since ppl have to manually
 install it ...

I think so:) I shouldn't use bsdstat on my servers, but I'm eager to use it on 
my desktops
 
 the numbers are growing ... since the start of May, I've seen the
 numbers jump by almost 2k new computers, so it is growing ... but
 ppl have to consciously install the software ...

I remember the days when I was using Linux with http://counter.li.org/ (my ID 
is 392115). Anonymousness is good but I think that I'll be proud of having a 
counter for my (Free)BSD box :) Why don't bsdstat support registration?

Just my two cents...

Regards,

-- 
Anh Ky Huynh
___
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: Is this information obtainable?

2010-05-30 Thread Marc G. Fournier

On Mon, 31 May 2010, Anh Ky Huynh wrote:


the numbers are growing ... since the start of May, I've seen the
numbers jump by almost 2k new computers, so it is growing ... but
ppl have to consciously install the software ...


I remember the days when I was using Linux with http://counter.li.org/ 
(my ID is 392115). Anonymousness is good but I think that I'll be proud 
of having a counter for my (Free)BSD box :) Why don't bsdstat support 
registration?


one of the critical requirements that alot of ppl out there had at the 
start was anonymity ... not so much that they weren't proud to run *BSD, 
but for safety ... there is nothing in the database that can be traced 
back to the source, nor that can be spammed ...


Also, easy of use was a big factor ... registration is just yet another 
step that ppl (myself included) generally just don't bother with ... it 
really doesn't give you much, and discourages alot of ppl from doing it 
...


... and, in the case of PCBSD, would make it harder to have it 
auto-enabled, since it couldn't be enabled without the end user 
registering first, which most wouldn't do ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.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: text editor

2010-05-30 Thread Giorgos Keramidas
On Sun, 30 May 2010 17:28:27 -0600, Chad Perrin per...@apotheon.com wrote:
On Sun, May 30, 2010 at 09:31:59PM +0300, Giorgos Keramidas wrote:
 If you don't mind the size of the respective packages, both VIM and
 GNU Emacs have support for many features that ee(1) lacks.

 I'm not sure why you mentioned the size of Vim here as if it's a
 remarkably large piece of software.  It *barely* doesn't fit on a 3.5
 floppy when you use a full install of the console-based Vim editor.
 I'm pretty sure it's under 2 MB.

Vim is much smaller than Emacs but it still a few MB's here:

  keram...@kobe:/usr/ports/packages/All$ ls -ld vim*
  -rw-r--r--  1 root  wheel  - 5757731  1 Απρ 17:11 vim-lite-7.2.344.tbz

___
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: text editor

2010-05-30 Thread Murray Taylor
 yep ... its called vi


place cursor at the line at hte top (or bottom) of the block

press   ma

(put marker a on the line)


move your cursor to the line at the other end (bottom ot top)
of the block

press d'a

this will delete between the marked line and the cursor

to move the block delete it as above, then put the cursor where you
want it
to go and press  p

(pastes the last deleted whatever in the new place)

to copy a block ... 

ma
(move cursor)
y'a
(move cursor)
p

y is the yank into the default storage buffer instead of deleting into
the buffer


and you can use named buffers also ...   a through z

ad'adeletes test from marker a to current into buffer a

appastes from buffer a

dd  delete current line into default buffer

bdd   delete current line into buffer b  



etc etc


 
Murray Taylor
Bytecraft Systems
Special Projects Engineer

P: +61 3 8710 0600
D: +61 3 9238 4275
F: +61 3 9238 4140

--
 |_|0|_|Absence of evidence
 |_|_|0|is not evidence of absence
 |0|0|0|Carl Sagan

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Fbsd1
Sent: Sunday, May 30, 2010 1:37 PM
To: questi...@freebsd.org
Subject: text editor

Been using ee and been happy.

Now I have need for an editor with block commands.
Put dd on the first line of sequence number you want to start deleting
and dd on the
last line of the block and hit enter and the block of lines are deleted.
OR
Put cc on first line and cc on last line of black to copy and enter I
on line where
you want the copied block to be inserted after.
Also same for mm meaning move block.

Is there any editors with a function like this?
___
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 information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

### This e-mail message has been scanned for Viruses by Bytecraft ###
___
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