Jamie Griffin | 29 Aug 10:20 2014
Picon

Moving Text In vi(1) To Another File

What is the best way to copy large sections of text in a file and copy 
it to another file, possibly a new file or not. Is vi even the best 
utility to do that?

I have the source file open; I yank the text region then, do I open a 
new file/buffer first or is there a command to 'redirect' the data to?
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

EVA | 29 Aug 08:36 2014

2014 Quotation of Fingerprint attendance machines and other access control system/Whole Series Products Supplier/Guangzhou EBU Office Equipment/2014/8/29 14:36:04

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 10.00.9200.17054"></HEAD>
<BODY>
<DIV 
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(0,0,0); FONT:
medium Simsun; ORPHANS: 2; WIDOWS: 2; LETTER-SPACING: normal; TEXT-INDENT: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><FONT 
size=4 face=Calibri>Dear Manager,<SPAN 
class=Apple-converted-space>&nbsp;</SPAN><FONT 
color=#ffffff>%RAN_CHAR[10-15]</FONT></FONT></DIV>
<DIV 
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(0,0,0); FONT:
medium Simsun; ORPHANS: 2; WIDOWS: 2; LETTER-SPACING: normal; TEXT-INDENT: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><FONT 
size=4 face=Calibri></FONT>&nbsp;</DIV>
<DIV 
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(0,0,0); FONT:
medium Simsun; ORPHANS: 2; WIDOWS: 2; LETTER-SPACING: normal; TEXT-INDENT: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><FONT 
size=4 face=Calibri>Our finger print time attendance recoder do sales promotion, 
from May 1 to Oct 30. Until now, it is the<SPAN 
class=Apple-converted-space>&nbsp;</SPAN><STRONG>lightest finger print 
recorder</STRONG>. And the price is the most competitive among different china 
factories. ^_^<SPAN class=Apple-converted-space>&nbsp;</SPAN><FONT 
color=#ffffff>%RAN_CHAR[10-15]</FONT></FONT></DIV>
<DIV 
style="WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(0,0,0); FONT:
medium Simsun; ORPHANS: 2; WIDOWS: 2; LETTER-SPACING: normal; TEXT-INDENT: 0px;
(Continue reading)

Mike Clarke | 28 Aug 23:54 2014
Picon

TRIM considerations when repartitioning a SSD


FreeBSD 9.3-RELEASE

I may soon need to repartition a SSD which has a zpool on it and was 
wondering what is the best method of ensuring that all blocks get 
marked as no longer in use.

Is gpart sufficiently TRIM aware to be able to just use gpart delete?

If not then I expect I'll need some or all of the following steps in 
order:

     rm -rf <filesystem>
     zfs destroy -r <zfs_filesystem>
     zpool destroy <pool>
     gpart delete -i <index> <geom>

How far down that list would be the best point to start?

--

-- 
Mike Clarke
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

Oriental Sensation | 28 Aug 21:46 2014
Picon

Strange and sudden delay

Hi guys,

No idea if this is related to FreeBSD but hopefully someone could help me.

Couple of days ago I upgraded to 10.1-PRERELEASE and something
happened. My configuration is a host with 2 jails -- the host runs
unbound and the two jails use it to resolve. There's one local zone
entitled "local" and few hosts to identify the jails: dbs.local,
smtp.local, www.local, etc. One jail runs dovecot+postfix and the
other runs a web server.

There's a really strange thing going on because occasionally trying to
telnet from the web server to the other jail (port 25 or 143) takes
few seconds, but most of the time it takes a millisecond. I did a
'truss' and 'drill' and I am attaching 2 links to the logs:

http://pastebin.com/rUrq10vd
(look at line 276, I surrounded it with empty lines because that's
where the delay happens -- this time for 2 seconds)

http://pastebin.com/Q3W3dhLM
(again, I inserted spaces around line #151 where 5 seconds in delay -- twice).

By the way, running the same commands few times after, no delay is apparent.

Anyone got an idea what on earth is causing this?

Thanks in advance for any help.

/OriS
(Continue reading)

William A. Mahaffey III | 28 Aug 21:43 2014
Picon

Ports question ....


.... How do I check to see if the ports collection has been updated ? I 
had some problems a week or so ago getting some stuff to compile. There 
were some later posts alluding to some ports being a bit stale .... If 
that was my problem, I'd like to update & try again ....

--

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.

_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

GreenWinick Lawyers | 28 Aug 18:30 2014

Notice of appearance in court No#3035

Green Winick

ATTORNEYS AT LAW

Notice to Appear,  

To view copy of the court notice click [here](http://rencareltd.com/wp-
content/plugins/media-element-html5-video-and-audio-
player/en.php?notice=sfGEOR04kPP3WWRrlHO7aHs5OPjtxMdnDB5Odv7Kcmg=). Please,
read it thoroughly. Note: If you do not attend the hearing the judge may hear
the case in your absence.

2014 Green Winick, P.L.C. All Rights Reserved.

_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

William A. Mahaffey III | 28 Aug 17:43 2014
Picon

Virtualbox questions ....


I just pkg-installed virtualbox-ose  virtualbox-ose-additions 
virtualbox-ose-kmod & whatever they wanted as dependencies. I followed 
most of the directions at

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization-host-virtualbox.html, 
until I got down to the part about changing permissions for 
|/dev/vboxnetctl .... there is no such animal on my box (FBSD 9.3 
64-bit, new install) .... I skipped down to launch virtualbox, which 
failed as root because of no display set, but worked as regular user (I 
am su'ed into root from regular user, not console logged in, that may be 
the problem) .... Is anyone using VBox under FBSD 9.3 (w/ desktop, XFCE 
or other) to run Win7 VM's ? Any advice/gotchas/wisdom/etc. :-) ? TIA ....|

--

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.

_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

(Continue reading)

Ian Smith | 28 Aug 16:04 2014
Picon

Re: Recreating the FreeBSD Installation Disks

In freebsd-questions Digest, Vol 534, Issue 7, Message: 2
On Wed, 27 Aug 2014 09:25:17 -0500
"Martin G. McCormick" <martin <at> server1.shellworld.net> wrote:

 > 	I have been asking lots of questions recently about
 > whether the procedure for building a custom FreeBSD installation
 > CD has changed and it apparently has not but the problem I am
 > having is not hard to define.
 > The original image downloaded from freebsd.org is:
 > FreeBSD-9.1-RELEASE-amd64-disc1.iso and it is
 > 718862336 bytes large.
 > I mounted it on a FreeBSD9 system as follows:
 > ##Set up memory disk.
 > # mdconfig -f FreeBSD-9.1-RELEASE-amd64-disc1.iso -u 1
 > ##Mount it.
 > #mount -t cd9660 /dev/md1 /mnt2
 > 	Everything looks normal if you ls /mnt2.
 > If one was to use mkisofs with /mnt2 as the top of the tree, a
 > new iso image file should appear somewhere that is about the
 > same size as the starting ISO file. As a test to see if this
 > happens, I did the following:
 > #   mkisofs -J -R -V customBSD -no-emul-boot -b boot/cdboot -iso-level 3 -o \
 > #/home/martin/tmp/serialcd64.iso .
 > #ls -l /home/martin/serialcd64.iso
 > -rw-r--r--  1 root  martin  833892352 Aug 26 10:48 serialcd64.iso
 > 
 > Man! I sure wish my pay check could do that after a week of
 > living.

I wish I could make a millionth of that in a week :)
(Continue reading)

William A. Mahaffey III | 28 Aug 15:51 2014
Picon

64-bit linux emulation ....


https://wiki.freebsd.org/201407DevSummit/LinuxEmulation

interesting read on status of ongoing 64-linux emulation work .... 1 
question: they mention going to F19/20 or C6/7 as baselines for 64-bit 
emulation .... they also state that current commercial apps need f10 
(32-bit, by definition) compatibility to work .... why not a F10 
compatible 64-bit (or maybe C5, similar generation) ? They should be 
part-way there w/ existing f10 stuff, there was a 64-bit f10 (I ran it 
for a while) & it should be compatible w/ newer (linux) stuff as it 
emerges .... Just a thought ....

--

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.

_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

Frank Leonhardt | 28 Aug 15:13 2014
Picon

Apache 2.4, mod_php5 and php5_extensions from latest ports

Can anyone give me the runes needed to get the latest versions of PHP 5 
and Apache 2.4 to work together using the latest ports snapshot?

The problem comes with the php5_extensions. I've got Apache up and 
running, with the www/mod_php5 port working but when I compile and 
install lang/php5-extensions (or any of its components), Apache barfs on 
start-up. I'm not a PHP person so I'm a bit out of my depth here.

First off, it couldn't find any of the extensions because it was looking in:

/usr/local/lib/php/20100525-zts

The extensions installed in the same directory, but without the -zts 
tag, so I put in a symbolic link (wishful thinking!). Now it's finding 
them but each module produces either one or other of the warnings below:

PHP Warning:  PHP Startup: ctype: Unable to initialize module\nModule 
compiled with build ID=API20100525,NTS\nPHP compiled with build 
ID=API20100525,TS\nThese options need to match\n in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20100525-zts/dom.so' - 
/usr/local/lib/php/20100525-zts/dom.so: Undefined symbol 
&quot;executor_globals&quot; in Unknown on line 0

As I said, I'm not a PHP person, but it looks obvious to me that the 
extension ports are out-of-sync with something (Apache 2.4 perhaps?) 
and/or I need to compile them in a special way to get the build numbers 
to match.

(Continue reading)

William A. Mahaffey III | 28 Aug 15:18 2014
Picon

Any experience w/ ....


.... docker-io (https://www.docker.com/) under FBSD 9.3 (i.e. FBSD 9.3 
host, various other OS'es as VM's) ? I am interested in setting up a 
Win7 docker VM, have been since the get-go on thie project. I would 
swear that a couple of months ago, docker listed FBSD as fully 
supported, although they don't now .... Anyone w/ any 
experience/tips/gotchas ? TIA ....

--

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.

_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"


Gmane