Question about expr

2010-03-27 Thread Manish Jain
Hello all, I am used to the normal GNU-version of expr (also available on Solaris) and much prefer it over the FreeBSD version. The GNU version allows internal commands like length, substring and others which make it much easier to work with. Is there any way I can replace FreeBSD's native

Re: gnome gdm diable_user_list

2010-03-27 Thread Manolis Kiagias
On 26/03/2010 3:42 ?.?., n dhert wrote: FreeBSD8.0, gnome2-2.28.2_1, using gdm to login. Gdm login screen presents a list of all users on the system to choose from. I don't want the list, just a prompt for a username and password. I tried # gconf-editor this graphical config program allows

Re: Question about expr

2010-03-27 Thread Dan Nelson
In the last episode (Mar 27), Manish Jain said: I am used to the normal GNU-version of expr (also available on Solaris) and much prefer it over the FreeBSD version. The GNU version allows internal commands like length, substring and others which make it much easier to work with. Is there any

Re: Question about expr

2010-03-27 Thread Manish Jain
Dan Nelson wrote: In the last episode (Mar 27), Manish Jain said: I am used to the normal GNU-version of expr (also available on Solaris) and much prefer it over the FreeBSD version. The GNU version allows internal commands like length, substring and others which make it much easier to work

OT: Programming perl, BerkeleyDB/MLDBM

2010-03-27 Thread Erik Norgaard
Hi: I have been searching for the appropriate perl mailing list, but no avail. I'm trying to build a database with Berkeley DB and MLDBM for a multi dimensional hash structure, my $hdbm = tie %host, 'MLDBM', -Filename = $dbdir/host.db, -Flags = DB_CREATE|O_RDWR or die Cannot open

internet connection tester script

2010-03-27 Thread Jozsef Vadkan
Why doesn't my internet-connection script work? When I plug the ethcable out, it just waits...and waits...and waits... The script: http://pastebin.com/AE9U1qdL ___ freebsd-questions@freebsd.org mailing list

Re: internet connection tester script

2010-03-27 Thread Polytropon
On Sat, 27 Mar 2010 13:07:14 +0100, Jozsef Vadkan jozsi.avad...@gmail.com wrote: Why doesn't my internet-connection script work? When I plug the ethcable out, it just waits...and waits...and waits... It doesn't even work correctly: Now as I definitely have Internet connection, it prints NO

Re: internet connection tester script

2010-03-27 Thread Samuel Martín Moro
I prefer to use `host' command ping take time to run, especially when it do not respond... here's my script r...@omega ~ : cat /usr/local/bin/check_connectivity 13:43 #!/bin/sh # checks local and internet connectivity # faust - 2010/02/17 host google.com /dev/null if [ $? -eq 0 ]; then

Re: OT: Programming perl, BerkeleyDB/MLDBM

2010-03-27 Thread Randal L. Schwartz
Erik == Erik Norgaard norga...@locolomo.org writes: Erik I have been searching for the appropriate perl mailing list, Perl questions are best asked at perlmonks.org or Stack Overflow. Or you can join the beginners list at http://lists.perl.org/ for ongoing discussion and help by email if you

Enough Is Enough

2010-03-27 Thread Programmer In Training
Ever since I installed jpeg-8 I have had nothing but problems. I ran portupgrade -a hoping to take care of all those problems, well no such luck. Let's start with the first error I caught: libqt /usr/bin/ld: warning: libjpeg.so.10, needed by /usr/local/lib/libqt-mt.so, not found (try using

Re: Enough Is Enough

2010-03-27 Thread Tijl Coosemans
On Saturday 27 March 2010 18:20:28 Programmer In Training wrote: Ever since I installed jpeg-8 I have had nothing but problems. I ran portupgrade -a hoping to take care of all those problems, well no such luck. Let's start with the first error I caught: libqt /usr/bin/ld: warning:

Re: Enough Is Enough

2010-03-27 Thread Programmer In Training
On 03/27/10 13:06, Tijl Coosemans wrote: snip In /usr/ports/UPDATING look for the 20100205 entry for users of Qt 3 and KDE 3. Pointless in as far as that does not address the underlying problem of rebuilding EVERYTHING that needs to link against the jpeg library. GIMP and gegl failed because a

Re: Enough Is Enough

2010-03-27 Thread ill...@gmail.com
On 27 March 2010 13:20, Programmer In Training p...@joseph-a-nagy-jr.us wrote: Ever since I installed jpeg-8 I have had nothing but problems. I ran portupgrade -a hoping to take care of all those problems, well no such luck. portupgrade -fa -- --

Re: Enough Is Enough

2010-03-27 Thread Michael Powell
Programmer In Training wrote: [snip] When jpeg-x (not a typo) is built, the port needs to be automatically looking forward to see what all depends on it (and if anything depends on that) and possibly asking the user if they want to upgrade all those programs to ensure they link to the proper

Re: Enough Is Enough

2010-03-27 Thread Erik Trulsson
On Sat, Mar 27, 2010 at 01:28:26PM -0500, Programmer In Training wrote: On 03/27/10 13:06, Tijl Coosemans wrote: snip In /usr/ports/UPDATING look for the 20100205 entry for users of Qt 3 and KDE 3. Pointless in as far as that does not address the underlying problem of rebuilding

Re: Enough Is Enough

2010-03-27 Thread Svein Skogen (Listmail Account)
On 27.03.2010 20:10, Erik Trulsson wrote: On Sat, Mar 27, 2010 at 01:28:26PM -0500, Programmer In Training wrote: On 03/27/10 13:06, Tijl Coosemans wrote: snip In /usr/ports/UPDATING look for the 20100205 entry for users of Qt 3 and KDE 3. Pointless in as far as that does not address the

Re: internet connection tester script

2010-03-27 Thread Kevin Kinsey
Jozsef Vadkan wrote: Why doesn't my internet-connection script work? When I plug the ethcable out, it just waits...and waits...and waits... The script: http://pastebin.com/AE9U1qdL As someone has noted, you're waiting on ping to timeout a bunch of times. And really, I'm not sure why this

Re: Question about expr

2010-03-27 Thread perryh
Manish Jain invalid.poin...@gmail.com wrote: When you execute a script ... the aliases are ignored. Is there some way to fix this ... Search for expand_aliases in the bash manpage. ___ freebsd-questions@freebsd.org mailing list

Re: internet connection tester script

2010-03-27 Thread James
FWIW, here's what I use. Requires net/fping. #!/bin/sh target=ip.address.of.next.hop.out echo - Started at `date` is_dead=0 while true; do fping -q $target fping_rc=$? if [ $is_dead -eq 0 -a $fping_rc -gt 0 ]; then echo ! Failure at `date`

Freebsd, postfix and push email

2010-03-27 Thread Ron (Lists)
Is there a way to get my freebsd/postfix setup to send push notifications to an iPhone (I assume other smart phones work the same way). I've searched the web and I can't find any information about how to make this work. I know it can be done with Exchange and ActiveSync, but I don't want to

Re: Freebsd, postfix and push email

2010-03-27 Thread Tim Judd
On 3/27/10, Ron (Lists) rg.li...@rzweb.com wrote: Is there a way to get my freebsd/postfix setup to send push notifications to an iPhone (I assume other smart phones work the same way). I've searched the web and I can't find any information about how to make this work. I know it can be done