CGI with html

2007-09-06 Thread Olivier Regnier
Hi everyone, I try to write CGI scripts but i have a problem on my screen. Here is my CGI code # #!/usr/bin/perl use strict; use warnings; # MODULES use CGI qw(:standard); # VARIABLES my $style = get_style(); # HTML PAGE print header, start_html (

Re: Script with periodic.conf

2007-07-17 Thread Olivier Regnier
[EMAIL PROTECTED] a écrit : On 16/07/07, Olivier Regnier [EMAIL PROTECTED] wrote: Hi everoyone, I have a script called 110.doc-update-csup to keep my documentation up-to-date and he works well. In this script, i have these following variables: - weekly_doc_update_enable=YES

Script with periodic.conf

2007-07-16 Thread Olivier Regnier
informations about this ? Thank you for your help. Olivier Regnier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Obmenu

2007-07-14 Thread Olivier Regnier
Graham Bentley a écrit : Hi All, I was wondering if anyone can shed any light on this, I have come accross it before but cant remember how to resolve ? I think there are some Perl modules to install and vaguely recall something to do with cpan but thats about it. I downloaded the latest

Openbox/GTK 2.x

2007-07-13 Thread Olivier Regnier
informations about this ? Thank your for your help. Olivier Regnier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Detecting CPU Type

2007-07-10 Thread Olivier Regnier
(686-class) or i386 ? Can you give me information please ? Thank you. Olivier Regnier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Questions about periodic.conf file

2007-07-04 Thread Olivier Regnier
Hi everyone, I'm working on FreeBSD 6.2 and my question is, it is possible to use the periodic.conf file in /usr/local/etc/ directory ? My second question, if i create a empty periodic.conf, it is possible to include the /etc/defaults/periodic.conf file with a command line by example

Re: Questions about periodic.conf file

2007-07-04 Thread Olivier Regnier
Paul Schmehl a écrit : --On July 4, 2007 6:14:48 PM +0200 Olivier Regnier [EMAIL PROTECTED] wrote: Hi everyone, I'm working on FreeBSD 6.2 and my question is, it is possible to use the periodic.conf file in /usr/local/etc/ directory ? Yes, of course. My second question, if i create

Problem with sed to insert a new line

2007-06-28 Thread Olivier Regnier
Hi everyone, I have a file called test with the following lines: ### a b d e f ### With sed, i want to insert the c letter after b letter. Logically simple, but not for me. Here is my command : # sed -i.old -e 4i\c I have this message : sed: 1: 4i\c: extra characters after \ at the end of

Re: Problem with sed to insert a new line

2007-06-28 Thread Olivier Regnier
Andrew Pantyukhin a écrit : On 6/28/07, Olivier Regnier [EMAIL PROTECTED] wrote: Hi everyone, I have a file called test with the following lines: ### a b d e f ### With sed, i want to insert the c letter after b letter. Logically simple, but not for me. Here is my command : # sed -i.old -e

script to update my ports tree

2007-06-25 Thread Olivier Regnier
Hi everyone, I made a shell script in /etc/periodic/daily/610.update-ports-tree and in my /etc/periodic.conf, this line : daily_update_ports_tree_enable=YES. The problem is simple, my script doesn't start at all. Can you help me please ? Thank you :) #!/bin/sh # if there is a global

Re: script to update my ports tree

2007-06-25 Thread Olivier Regnier
Daniel Bye a écrit : Olivier Regnier wrote: Hi everyone, I made a shell script in /etc/periodic/daily/610.update-ports-tree and in my /etc/periodic.conf, this line : daily_update_ports_tree_enable=YES. The problem is simple, my script doesn't start at all. Can you help me please ? Thank

Questions about shell scripts in /etc/periodic/daily

2007-06-25 Thread Olivier Regnier
Hi everyone :-) Just curiosly, in /etc/periodic/daily, there are many shell scripts but there is an variable rc by example : - rc=0 - rc=1 - rc=2 - rc=3 What exactly does the rc=0, rc=1 ... flag mean ? Thank you :) ___ freebsd-questions@freebsd.org

questions about floppy disk

2007-06-24 Thread Olivier Regnier
this command ? # mount /dev/fd0 /mnt/floppy Thank you for your help Bye bye, Olivier Regnier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

problem with printf in a shell script

2007-06-19 Thread Olivier Regnier
Hi everyone, I want to insert text in my file, rc.conf : update_motd=NO I tried printf in my shell script with this command : printf update_motd=\NO\\ /etc/rc.conf then, that works well in console but not with my shell script I would like to insert a \n at the end :) Can you help me please ?

Re: problem with printf in a shell script

2007-06-19 Thread Olivier Regnier
Olivier Regnier a écrit : Hi everyone, I want to insert text in my file, rc.conf : update_motd=NO I tried printf in my shell script with this command : printf update_motd=\NO\\ /etc/rc.conf then, that works well in console but not with my shell script I would like to insert a \n at the end

problem with sed substitution

2007-06-19 Thread Olivier Regnier
Hi everyone, I try to use sed with /etc/gettytab file. I would like to replace this text : \r\n%s\%m ($h) (%t)\r\n\r by Hello world. I tested with this command : % sed -i.old -e 's/\r\n%s\%m ($h) (%t)\r\n\r/Hello world/' but that doesn't work at all. Can you help me please ? Thank you :)

FreeBSD/wpa_supplicant

2007-06-18 Thread Olivier Regnier
Hi everyone, Anytime i install FreeBSD for the first time on my laptop impossible to connect itself to Internet. I must restart with this command : /etc/rc.d/netif restart. After, there are not problem. Just the first time. What happened ? I use wpa_supplicant. Can you help me please ?

Re: problem with sed command and csh

2007-06-18 Thread Olivier Regnier
Nikos Vassiliadis a écrit : On Saturday 16 June 2007 16:35, Olivier Regnier wrote: Olivier Regnier a ιcrit : Nikos Vassiliadis a ιcrit : On Friday 15 June 2007 13:29, Olivier Regnier wrote: Hi everybody, Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh

csh and echo syntax

2007-06-15 Thread Olivier Regnier
Hello, I'm running FreeBSD 6.2 and i use for the moment csh. When i test this command in console echo -ne /dev/da0s1\t /mnt/usb\t msdos\t rw,noauto\t 0\t 0 /etc/fstab and with a cat /etc/fstab, i have this : -ne /dev/da0s1\t /mnt/usb\t msdos\t rw,noauto\t 0\t 0 The \t is not supported with

problem with sed command and csh

2007-06-15 Thread Olivier Regnier
Hi everybody, Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh script, i trying to execute this command : sed -e s/MAKE_ARGS\([^{]*\){/MAKE_ARGS\1{\n\t'mail/nbsmtp' = 'WITH_IPV6=1 WITH_SSL=1',/ /usr/local/etc/pkgtools.conf The result is not correct, i have an error : sed: 1:

Re: problem with sed command and csh

2007-06-15 Thread Olivier Regnier
Nikos Vassiliadis a écrit : On Friday 15 June 2007 13:29, Olivier Regnier wrote: Hi everybody, Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh script, i trying to execute this command : sed -e s/MAKE_ARGS\([^{]*\){/MAKE_ARGS\1{\n\t'mail/nbsmtp' = 'WITH_IPV6=1 WITH_SSL=1

.mailrc file

2007-05-06 Thread Olivier Regnier
Hello, I have a question for you, it is possible to execute a shell script with .mailrc file ? By example : set sendmail=/root/scripts/test.sh On my FreeBSD that doesn't work at all. Can you help me please ? Thank you :) ___

sending email with perl

2007-05-06 Thread Olivier Regnier
Hello, I written a small script in perl to send email. Here is the code: #!/usr/bin/perl -w use strict; use warnings; use MIME::Lite; my $msg = new MIME::Lite From ='[EMAIL PROTECTED]', To ='[EMAIL PROTECTED]', Subject ='test', Type ='TEXT', Data ='Hello this is a test'; $msg - send; I have

linux-flashplugin9 with Mozilla Firefox

2007-04-14 Thread Olivier Regnier
Hello, I'm running FreeBSD 6.2 with Mozilla Firefox |2.0.0.3,1 and i tried to install linux-flashplugin9. First step, i installed |linuxpluginwrapper : |cd /usr/ports/www/linuxpluginwrapper make install clean| Step two, linux flash plugin: |cd /usr/ports/www/linux-flashplugin9 make install

Re: script perl with sed command

2007-04-08 Thread Olivier Regnier
Giorgos Keramidas a écrit : On 2007-04-07 17:31, Olivier Regnier [EMAIL PROTECTED] wrote: Hello, I have a problem with my perl script with the command sed. Here is a example of my code: Don't use system(sed ...) in Perl. It's considered poor style, since Perl can do the same without

perl/script and retval

2007-04-08 Thread Olivier Regnier
Hello, I written a small script in sh : # Downloading doc files echo === Downloading doc files /usr/bin/csup $doc_supfile RETVAL=$? if [ $RETVAL != 0 ]; then echo abort exit 0 fi I want to rewritte this code in perl script. my $retval=0; my $doc_supfile=/etc/doc-supfile; # Downloading

script perl with sed command

2007-04-07 Thread Olivier Regnier
Hello, I have a problem with my perl script with the command sed. Here is a example of my code: # Selecting the fast server print Using the server called $server; system(`/usr/bin/sed 's|\*default host=\(.*\)|\*default host=${server}|' $standard_supfile $standard_supfile.copy`);

Re: script perl with sed command

2007-04-07 Thread Olivier Regnier
Warren Block a écrit : On Sat, 7 Apr 2007, Olivier Regnier wrote: I have a problem with my perl script with the command sed. Here is a example of my code: # Selecting the fast server print Using the server called $server; system(`/usr/bin/sed 's|\*default host=\(.*\)|\*default host=${server

send email with mail command

2007-04-06 Thread Olivier Regnier
Hello, I tested the mail command in console and my question is, it is possible to indicate the MAIL FROM: [EMAIL PROTECTED] ? Thank you :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: Ports/progress bar

2007-04-05 Thread Olivier Regnier
[EMAIL PROTECTED] a écrit : On 04/04/07, Olivier Regnier [EMAIL PROTECTED] wrote: Hello, I tried to use the bar program to show a progress bar in my shell script. I tested with this command in console: bar -c 'csup -L 0 /root/csup/doc-supfile' I see the progress bar but she doesn't work. I

Ports/progress bar

2007-04-04 Thread Olivier Regnier
Hello, I tried to use the bar program to show a progress bar in my shell script. I tested with this command in console: bar -c 'csup -L 0 /root/csup/doc-supfile' I see the progress bar but she doesn't work. I think the syntax is correct no ? For informations, i use Zsh. Can you help me

Making Customized Bootable FreeBSD

2007-03-26 Thread Olivier Regnier
Hello, After 3 hours, i made my bootable FreeBSD CD/Floppies. Actually, i finished my install.cfg but i have a problem because i don't understand the final step : # mkdir /img # cd $CHROOTDIR/R/cdrom/disk1/floppies /* Get mfsroot.gz from mfsroot.flp */ # vnconfig /dev/vn0c mfsroot.flp #

Re: Making Customized Bootable FreeBSD

2007-03-26 Thread Olivier Regnier
Kevin Kinsey a écrit : Olivier Regnier wrote: Hello, After 3 hours, i made my bootable FreeBSD CD/Floppies. Actually, i finished my install.cfg but i have a problem because i don't understand the final step : I'm not sure I do either, but I'm willing to attempt to help. Bearing in mind

Re: Making Customized Bootable FreeBSD

2007-03-26 Thread Olivier Regnier
Kevin Kinsey a écrit : Olivier Regnier wrote: Hello, After 3 hours, i made my bootable FreeBSD CD/Floppies. Actually, i finished my install.cfg but i have a problem because i don't understand the final step : I'm not sure I do either, but I'm willing to attempt to help. Bearing in mind

Re: Making Customized Bootable FreeBSD

2007-03-26 Thread Olivier Regnier
Kevin Kinsey a écrit : Olivier Regnier wrote: Hello, After 3 hours, i made my bootable FreeBSD CD/Floppies. Actually, i finished my install.cfg but i have a problem because i don't understand the final step : I'm not sure I do either, but I'm willing to attempt to help. Bearing in mind

Ports/Xfce4

2007-03-24 Thread Olivier Regnier
Hello, I want to install Xfce4 with the port. It is possible to install it without Terminal or Mousepad ? Thank you :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send

Re: Ports/Xfce4

2007-03-24 Thread Olivier Regnier
Leslie Jensen a écrit : Olivier Regnier wrote: Hello, I want to install Xfce4 with the port. It is possible to install it without Terminal or Mousepad ? Thank you :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Ports/Xfce4

2007-03-24 Thread Olivier Regnier
Warren Block a écrit : On Sat, 24 Mar 2007, Olivier Regnier wrote: I want to install Xfce4 with the port. It is possible to install it without Terminal or Mousepad ? Comment them out in the RUN_DEPENDS section of the Makefile. -Warren Block * Rapid City, South Dakota USA

Building a custom FreeBSD ISO install image

2007-03-21 Thread Olivier Regnier
Hello, I tried to make a custom FreeBSD ISO install image but when i use this command : prompt# cd /usr/src/release make release CHROOTDIR=/ncvs/FreeBSD/release \ BUILDNAME=6.2-RELEASE-p3 CVSROOT=/ncvs/FreeBSD/cvs PORTSRELEASETAG=HEAD \ DOCRELEASETAG=HEAD RELEASETAG=RELENG_6_2 after 60

FreeBSD6.2/Fetchmail,Procmail and Mutt

2007-03-13 Thread Olivier Regnier
I don't know what happened but filtering don't work at all. It is possible to use procmail directly on the server ? Thank you :) Olivier Regnier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

freebsd/pf with pfstat

2007-02-25 Thread Olivier Regnier
hello, Im currently running on FreeBSD 6.2 with pf (packet filter). I installed pfstat that collects packet filter statistic and produces graphs. I added this line in my pf.conf and i restarted pf: set loginterface $int_if next step, i created pfstat.conf: # bandwidth = 1 hour collect 1 =

How to display an icon on the desktop

2007-02-16 Thread Olivier Regnier
Hello, Do you know a program or an command line to display an icon on my desktop ? I don't want idesk or bbdesk :-$ Thank you :-) -- Cheers, Olivier Regnier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: How to display an icon on the desktop

2007-02-16 Thread Olivier Regnier
Giorgos Keramidas a écrit : On 2007-02-16 23:33, Olivier Regnier [EMAIL PROTECTED] wrote: Hello, Do you know a program or an command line to display an icon on my desktop ? I don't want idesk or bbdesk :-$ This is not easy to answer without knowing what your desktop runs. Some

Idesk - trash icon

2007-02-14 Thread Olivier Regnier
with the mouse, idesk doesn't put up-to-date my icon. Can you help me please ? Thank you :) -- Cheers, Olivier Regnier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Slimtype DVDRW SOSW-833S VRS2

2007-02-10 Thread Olivier Regnier
file 6.2-RELEASE-I386-bootonly.iso size 24848 KB Input/output error What do you think about my problems ? For the moment, i can't install correctly FreeBSD from cdrom, i can't listen to music from cdrom, i can't burn cd/dvd. Thank you. -- Cheers, Olivier Regnier

eterm/port

2007-02-07 Thread Olivier Regnier
the result in the file called eterm-result. I don't understand. What happened ? Can you help me please ? Thank you in advance ;) -- Cheers, Olivier Regnier --- Installing 'eterm-0.9.4' from a port (x11/eterm) --- Building '/usr/ports/x11/eterm' === Cleaning for man2html-3.0.1_1 === Cleaning

Thunar with Fluxbox

2007-02-04 Thread Olivier Regnier
-fs-home' not present in theme What happened ? Can you help me please ? Thank you in advance. -- Cheers, Olivier Regnier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send

Remove the cursor with Xorg

2006-12-21 Thread Olivier Regnier
Hello, I'm running FreeBSD 6.1 with xorg version 6.9.0. I want to make the mouse cursor invisible. Can you help me please ? Thank you :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

New style with Fluxbox

2006-12-16 Thread Olivier Regnier
but i don't see my new theme in Fluxbox menu called Styles. Perhaps, i forgot to install a packages, i don't know what happened. Can you help me please ? Thanks in advance. Olivier Regnier ___ freebsd-questions@freebsd.org mailing list http

Re: New style with Fluxbox

2006-12-16 Thread Olivier Regnier
I installed fluxbox-devel and it's ok. Im' happy :) Thank you ;) On Sat, 16 Dec 2006 21:31:03 +0300 Andrew Pantyukhin [EMAIL PROTECTED] wrote: On 12/16/06, Olivier Regnier [EMAIL PROTECTED] wrote: Hello, Yesterday, i installed by the ports, fluxbox version 0.1.14_2 Please try

mpg123 with shoutcast radio

2006-12-13 Thread Olivier Regnier
but anytime, i have the same thing. Estrange no ? Can you help me please ? -- Cheers, Olivier Regnier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL

Beryl on FreeBSD

2006-12-07 Thread Olivier Regnier
Hello, I'm currently running Xfce4 on FreeBSD 6.1-RELEASE-p11 and my question is, it is possible to install Beryl using FreeBSD ? Anyone know if there are tutorials to install Beryl ? I'm using my best friend who is Google but without success. Thank you in advance :) -- Cheers, Olivier Regnier