curses init in one line?

2010-01-17 Thread Gary Kline
this is going to sound a bit off the wall, and it may have only worked in FBSD [if I wasn't imagining it], but is there a way to get into curses/ncurses mode in one short line? it has been years but I think somebody sent me the magic code, for either a shell scrip

Re: Problem viewing DVDs

2010-01-17 Thread cpghost
On Sun, Jan 17, 2010 at 10:13:55PM +0100, Jens Schweikhardt wrote: > hello, world\n Hi Jens, > I'm trying to view a "Friends" DVD (original) on my 8-Current system > but none of the dvd viewer apps (eg. ogle and mplayer) work. > Investigating I found that I can mount the DVD as a cd9660 file > sy

Re: OOo question.....

2010-01-17 Thread Gary Kline
On Sun, Jan 17, 2010 at 10:41:16AM +, Mike Clarke wrote: > On Sunday 17 January 2010, Gary Kline wrote: > > > On Sat, Jan 16, 2010 at 10:27:59AM +, Mike Clarke wrote: > > > On Saturday 16 January 2010, Gary Kline wrote: > > [snip] > > > > > Second q is howto use them for my deskt

Re: Running PHP File under Crontab...

2010-01-17 Thread mikel king
There are a couple of ways. My prefrence is to control the output directly from the app in PHP. However you should be able to pipe the output to a file without issue. Cheers, m! On Jan 17, 2010, at 15:48, Diego Montalvo wrote: One other question, is there a way to copy the ouput of the c

Re: Newbie gmirror questions

2010-01-17 Thread Volodymyr Kostyrko
On 17.01.2010 19:18, Matthew Seaman wrote: Mike Clarke wrote: Actually I was more concerned about what happens when I boot into another OS like Windows or Linux on one of the spare slices - I'm assuming that I have to apply gmirror to the whole disk rather than just selected slices? You can't

Re: Newbie gmirror questions

2010-01-17 Thread Matthew Seaman
Mike Clarke wrote: On Sunday 17 January 2010, Matthew Seaman wrote: Mike Clarke wrote: Actually I was more concerned about what happens when I boot into another OS like Windows or Linux on one of the spare slices - I'm assuming that I have to apply gmirror to the whole disk rather than just se

Problem viewing DVDs

2010-01-17 Thread Jens Schweikhardt
hello, world\n I'm trying to view a "Friends" DVD (original) on my 8-Current system but none of the dvd viewer apps (eg. ogle and mplayer) work. Investigating I found that I can mount the DVD as a cd9660 file system, but all the *.vob files result in an I/O error when read, while all the non-vobs

Re: Newbie gmirror questions

2010-01-17 Thread Mike Clarke
On Sunday 17 January 2010, Matthew Seaman wrote: > Mike Clarke wrote: > > Actually I was more concerned about what happens when I boot into > > another OS like Windows or Linux on one of the spare slices - I'm > > assuming that I have to apply gmirror to the whole disk rather than > > just selecte

Re: Running PHP File under Crontab...

2010-01-17 Thread Diego Montalvo
One other question, is there a way to copy the ouput of the crontab "php" file to another file? Simply the "hello world" output and not the code... ?? 2010/1/17 mikel king : > > On Jan 17, 2010, at 3:01 PM, Diego Montalvo wrote: > >> I am using " >> >> 2010/1/17 mikel king : >>> >>> On Jan 17,

Re: Dislike the way port conflicts are handled now

2010-01-17 Thread Dan Nelson
In the last episode (Jan 17), Martin Wilke said: > On Sun, 17 Jan 2010 11:44:05 +0100 > Pav Lucistnik wrote: > > Greg Larkin píse v so 16. 01. 2010 v 18:02 -0500: > > > Here is the original post: > > > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg227363.html > > > > I will agree t

Re: Dislike the way port conflicts are handled now

2010-01-17 Thread Warren Block
On Sun, 17 Jan 2010, Matthew Seaman wrote: Ion-Mihai Tetcu wrote: I'd be very happy if I could: - fetch the distfiles, even if I have a conflicting port installed - be able to use portmaster -o to switch from one port to an other one that conflicts with it. - be able to at least compile a po

Re: Running PHP File under Crontab...

2010-01-17 Thread mikel king
On Jan 17, 2010, at 3:01 PM, Diego Montalvo wrote: I am using " 2010/1/17 mikel king : On Jan 17, 2010, at 2:30 PM, Diego Montalvo wrote: CLI meaning, if I can run and excute in command line, a php file can run in crontab? doing the following in shell: "# php helloworld.php" - "hello

Re: Running PHP File under Crontab...

2010-01-17 Thread Nerius Landys
> I am wanting to execute a PHP file 5 times a day via crontab. Is it > possible?  If so what is the proper crontab command for this? Hi. I'm running several PHP programs via cron. #1 Make sure you have CLI (command line interface) in your PHP port: As root, > cd /usr/ports/lang/php5 > make c

Re: Running PHP File under Crontab...

2010-01-17 Thread Diego Montalvo
I am using " 2010/1/17 mikel king : > > On Jan 17, 2010, at 2:30 PM, Diego Montalvo wrote: > >> CLI meaning, if I can run and excute in >> command line,  a php file can run in crontab?  doing the following in >> shell: "# php helloworld.php" - "hello world" is produced... >> >> Thanks! >> >> > >

Re: Running PHP File under Crontab...

2010-01-17 Thread Diego Montalvo
CLI meaning, if I can run and excute in command line, a php file can run in crontab? doing the following in shell: "# php helloworld.php" - "hello world" is produced... Thanks! 2010/1/17 mikel king : > > > On Jan 17, 2010, at 1:28 PM, Diego Montalvo wrote: > > I am wanting to execute a PHP f

Re: Running PHP File under Crontab...

2010-01-17 Thread mikel king
On Jan 17, 2010, at 1:28 PM, Diego Montalvo wrote: I am wanting to execute a PHP file 5 times a day via crontab. Is it possible? If so what is the proper crontab command for this? Thanks, Diego Diego, Certainly, but you must ensure that you have the CLI version of PHP installed. Reg

Re: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-17 Thread hack988 hack988
I think Vasily Pupkin is right. http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.630;r2=1.631;f=h Found {portsdir}/Mk/bsd.port.mk and make sure the version is higher than 1.631(2009/12/18) In another side,your are use "*default tag=." in your supfile or /etc/make.conf? http://w

Running PHP File under Crontab...

2010-01-17 Thread Diego Montalvo
I am wanting to execute a PHP file 5 times a day via crontab. Is it possible? If so what is the proper crontab command for this? Thanks, Diego ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

gmirror+gjournal: spontaneous reboots on "excessive" disk access

2010-01-17 Thread Michael Grimm
Hi -- I'm running a gmirror raid1 plus gjournal for a year now. This is a 7.2-RELEASE-p6 right now. Both disks are regular ATA and healthy according smartctl. Sometimes, not always though, I do experience spontaneous reboots without leaving any hints in logfiles whenver I "beat" my disks "excessi

Re: Newbie gmirror questions

2010-01-17 Thread Matthew Seaman
Mike Clarke wrote: Actually I was more concerned about what happens when I boot into another OS like Windows or Linux on one of the spare slices - I'm assuming that I have to apply gmirror to the whole disk rather than just selected slices? You can't do this. gmirror is FreeBSD specific, an

Re: Newbie gmirror questions

2010-01-17 Thread Mike Clarke
On Saturday 16 January 2010, Pieter de Goeje wrote: > On Saturday 16 January 2010 00:34:52 Mike Clarke wrote: > > I'm about to upgrade to more disk space and I'm tempted use this as > > an opportunity to get two disks and implement gmirror. Before I go > > ahead there's a few aspects of mirroring

Re: Dislike the way port conflicts are handled now

2010-01-17 Thread b. f.
On 1/17/10, Martin Wilke wrote: > On Sun, 17 Jan 2010 11:44:05 +0100 > Pav Lucistnik wrote: > >> Greg Larkin píše v so 16. 01. 2010 v 18:02 -0500: >> >> I will agree that `portupgrade -o` is way too useful feature. >> I'd vote for reverting to the old behaviour. >> portupgrade and other tools c

Re: Dislike the way port conflicts are handled now

2010-01-17 Thread Matthew Seaman
Ion-Mihai Tetcu wrote: I'd be very happy if I could: - fetch the distfiles, even if I have a conflicting port installed - be able to use portmaster -o to switch from one port to an other one that conflicts with it. - be able to at least compile a port (eg. for testing) without having to de-i

Re: Sound (micro-)interrupts with 8.0 stable/snd_hda/mplayer/vlc

2010-01-17 Thread Thomas Hummel
On Sun, Jan 17, 2010 at 1:03 AM, Pieter de Goeje wrote: Thanks for your reply, Try increasing the hw.snd.latency sysctl: > Going from 5 to 10 doesn't change anything (actually, it seems worse on the file I tried). So the mystery still stands... Note that the micro-interrupts don't occur always

Re: (SOLVED) Re: installing FreeBSD 8 on SSDs and UFS2 - partition alignment, block sizes, what does one need to know?

2010-01-17 Thread Ronald Klop
On Fri, 15 Jan 2010 17:57:03 +0100, Dan Naumov wrote: On Fri, Jan 15, 2010 at 6:38 PM, Rick Macklem wrote: On Tue, 12 Jan 2010, Dan Naumov wrote: For my upcoming storage system, the OS install is going to be on a 80gb Intel SSD disk and for various reasons, I am now pretty convinced to

Re: To jail, or not to jail?

2010-01-17 Thread Ruben de Groot
On Sat, Jan 16, 2010 at 06:21:59PM -0600, Kirk Strauser typed: > I've been having fun playing with jails on my home server. There's one > for databases, one for a webserver, another for using as a play shell > server, etc. We use jails heavily at work for encapsulating services, > and I can make

Re: Dislike the way port conflicts are handled now

2010-01-17 Thread Martin Wilke
On Sun, 17 Jan 2010 11:44:05 +0100 Pav Lucistnik wrote: > Greg Larkin píše v so 16. 01. 2010 v 18:02 -0500: > > > Here is the original post: > > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg227363.html > > I will agree that `portupgrade -o` is way too useful feature. > I'd vote

Re: changing place of .core files

2010-01-17 Thread Ruben de Groot
On Sat, Jan 16, 2010 at 11:23:52PM +0100, Marco Beishuizen typed: > Normally when a program crashes, it places a .core file in the > homefilesystem. Is there a way of changing the filesystem where FreeBSD > places it's core dumps? man core Ruben ___ f

Re: Dislike the way port conflicts are handled now

2010-01-17 Thread Pav Lucistnik
Greg Larkin píše v so 16. 01. 2010 v 18:02 -0500: > Here is the original post: > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg227363.html I will agree that `portupgrade -o` is way too useful feature. I'd vote for reverting to the old behaviour. > I thought portmgr might have some

Re: OOo question.....

2010-01-17 Thread Mike Clarke
On Sunday 17 January 2010, Gary Kline wrote: > On Sat, Jan 16, 2010 at 10:27:59AM +, Mike Clarke wrote: > > On Saturday 16 January 2010, Gary Kline wrote: [snip] > > > Second q is howto use them for my desktop backgrounds in KDE > > > since, upon rebuild and relaunch, everything is black.

Re: Q: recommendation for external USB disk

2010-01-17 Thread Erich Dollansky
Hi, just buy the hard disk of your choice and put it into the case of your choice. I use only disks which come with five years warrenty. On 14 January 2010 pm 20:01:08 Matthias Apitz wrote: > El día Tuesday, January 12, 2010 a las 08:12:17AM +0100, Bas Smeelen escribió: > > I use Freecom hard