Re: UTF-8 file + console

2009-03-31 Thread Arek Czereszewski
Jeff Laine pisze: > Sorry, I missed that you need a console editor. bluefish requires X > Yes, I don't have X on my servers. -- Arek Czereszewski arek (at) wup-katowice (dot) pl "UNIX allows me to work smarter, not harder." ___ freebsd-questions@free

Re: Question about forcing fsck at boottime

2009-03-31 Thread Bruce Cran
On Tue, 31 Mar 2009 11:35:11 +0530 manish jain wrote: > > Hi, > > I am migrating from Linux and am still learning the basics of > FreeBSD. One thing that I would to carry over from my Linux days is > to force an fsck on all filesystems at system startup. On Linux, this > was simply a matter of

Re: Question about forcing fsck at boottime

2009-03-31 Thread Wojciech Puchar
i don't know why you do want to FORCE it every boot. in FreeBSD it's not needed. but you may add background_fsck="NO" to check filesystems at boot when needed, not delayed. IMHO this background fsck isn't good idea at all ___ freebsd-questions@freebs

Re: Crontab for different ime zones

2009-03-31 Thread Olivier Nicole
> > Is there a way to start jobs with cron using different a time-zone > > different from local time zone? > > > > I am in a TZ that has no Daylight Savings Time, and would like to > > start a job (reccording of a web cast) in a TZ that has DST (so with a > > time difference that changes along the

Re: Question about forcing fsck at boottime

2009-03-31 Thread Daniel Marsh
On Tue, 31 Mar 2009 15:01:37 +0800, Bruce Cran wrote: On Tue, 31 Mar 2009 11:35:11 +0530 manish jain wrote: Hi, I am migrating from Linux and am still learning the basics of FreeBSD. One thing that I would to carry over from my Linux days is to force an fsck on all filesystems at system st

Re: Crontab for different ime zones

2009-03-31 Thread Mel Flynn
On Tuesday 31 March 2009 09:56:14 Olivier Nicole wrote: > > > Is there a way to start jobs with cron using different a time-zone > > > different from local time zone? > > > > > > I am in a TZ that has no Daylight Savings Time, and would like to > > > start a job (reccording of a web cast) in a TZ t

Re: Why?? (prog question)

2009-03-31 Thread Polytropon
I don't want to start a "style debate", but forgive me the following annotations: 1. Use the tab character for indentation. You can set its length with your favourite editor (e. g. mcedit: F9, Options, General; joe: ^TD). Don't waste with spaces. 2. The main() function should be declared as

Re: UTF-8 file + console

2009-03-31 Thread Paul B. Mahol
On 3/31/09, Arek Czereszewski wrote: > Hi, > > I have php application in UTF-8 on server > (in files are 4 languages: PL, SK, CZ and EN). > > Is there any chance to edit this files on console? > Or should I edit files in Linux/Mac/Win editor with > UTF support and upload then to server? You can e

Re: Question about forcing fsck at boottime

2009-03-31 Thread Chris Rees
2009/3/31 Wojciech Puchar : > > IMHO this background fsck isn't good idea at all Why? Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?

Re: UTF-8 file + console

2009-03-31 Thread Paul B. Mahol
On 3/31/09, Thomas Dickey wrote: > On Tue, Mar 31, 2009 at 11:36:32AM +0200, Paul B. Mahol wrote: >> On 3/31/09, Arek Czereszewski wrote: >> > Hi, >> > >> > I have php application in UTF-8 on server >> > (in files are 4 languages: PL, SK, CZ and EN). >> > >> > Is there any chance to edit this fil

Issues with OpenLDAP 2.4.15 and FreeBSD 8.0-CUrrent as well as with FreeBSD 7.2-PRE using DB 4.7

2009-03-31 Thread O. Hartmann
I reported this earlier here and now I'm about to file a PR. Before that, I will ask whether there is a solution out here or someone can give a hint in case I ran into a hidden misconfiguration. First I see on all FreeBSD flavours (7.2 and 8.0) a coredump of LDAP clients when doing ldapsearch,

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread hv
Am 30.03.2009 um 21:21 schrieb Juan Miscaro: Hi gang, I'm running a remote 6.2 system which recently got shut down unexpectedly (tower was physically nudged and apparently lost power). I am running a 2-disk striped array with the geom_stripe.ko module. So my fstab line is /dev/stripe/st0a

Re: Question about forcing fsck at boottime

2009-03-31 Thread manish jain
Bruce Cran wrote: On Tue, 31 Mar 2009 11:35:11 +0530 manish jain wrote: Hi, I am migrating from Linux and am still learning the basics of FreeBSD. One thing that I would to carry over from my Linux days is to force an fsck on all filesystems at system startup. On Linux, this was simply a matt

Re: UTF-8 file + console

2009-03-31 Thread Maciej Milewski
Tuesday 31 March 2009 12:15:33 Paul B. Mahol napisał(a): > On 3/31/09, Thomas Dickey wrote: > > On Tue, Mar 31, 2009 at 11:36:32AM +0200, Paul B. Mahol wrote: > >> On 3/31/09, Arek Czereszewski wrote: > >> > Hi, > >> > > >> > I have php application in UTF-8 on server > >> > (in files are 4 langua

Re: Cleaning up multiplicates in elf ldconfig path

2009-03-31 Thread Parv
in message <200903302145.48743.mel.flynn+fbsd.questi...@mailing.thruhere.net>, wrote Mel Flynn thusly... > > On Sunday 29 March 2009 16:39:15 Parv wrote: > > I am on FreeBSD/i386 6.4-STABLE (around Mar 1, 2009). I failed > > to find a solution to the (cosmetic) problem of ldconfig path > > having

Re: installing freebsd 7.1 ( error mounting /dev/acd0 input/outputerror)

2009-03-31 Thread ajeesh joseph
hello,I have tried the way how you suggested. But unfortunately iam getting same error.today i tried to install by plugging HDD as primary master and cdrom and primary slave.I tried to install.During install a new problem of /dev/ad0s1a on /mnt : input/output error appears,,can you help me in s

Re: Issues with OpenLDAP 2.4.15 and FreeBSD 8.0-CUrrent as well as with FreeBSD 7.2-PRE using DB 4.7

2009-03-31 Thread Bartosz Stec
O. Hartmann pisze: I reported this earlier here and now I'm about to file a PR. Before that, I will ask whether there is a solution out here or someone can give a hint in case I ran into a hidden misconfiguration. First I see on all FreeBSD flavours (7.2 and 8.0) a coredump of LDAP clients wh

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Juan Miscaro
2009/3/31 hv : > > Am 30.03.2009 um 21:21 schrieb Juan Miscaro: > > Hi gang, > > I'm running a remote 6.2 system which recently got shut down > unexpectedly (tower was physically nudged and apparently lost power). > I am running a 2-disk striped array with the geom_stripe.ko module. > > So my fstab

Re: Why?? (prog question)

2009-03-31 Thread Polytropon
On Tue, 31 Mar 2009 07:48:00 -0400, William Gordon Rutherdale wrote: > Tabbing is the worst form of indentation. It is *much* better to use > spaces consistently. may I ask what exactly you mean by "consistently"? I've seen various opinions about how many spaces make up one indentation level,

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Ivan Voras
Juan Miscaro wrote: > Hi gang, > > I'm running a remote 6.2 system which recently got shut down > unexpectedly (tower was physically nudged and apparently lost power). > I am running a 2-disk striped array with the geom_stripe.ko module. > > So my fstab line is > > /dev/stripe/st0a/data

Re: Why?? (prog question)

2009-03-31 Thread William Gordon Rutherdale
Polytropon wrote: I don't want to start a "style debate", but forgive me the following annotations: 1. Use the tab character for indentation. You can set its length with your favourite editor (e. g. mcedit: F9, Options, General; joe: ^TD). Don't waste with spaces. 2. The main() function s

Re: Why?? (prog question)

2009-03-31 Thread Polytropon
On Tue, 31 Mar 2009 07:48:00 -0400, William Gordon Rutherdale wrote: > Tabbing is the worst form of indentation. It is *much* better to use > spaces consistently. may I ask what exactly you mean by "consistently"? I've seen various opinions about how many spaces make up one indentation level,

Re: Why?? (prog question)

2009-03-31 Thread William Gordon Rutherdale
This isn't a BSD question. It's just about elementary C. As other people pointed out, you could have easily caught it anyway just by turning on warnings. -Will Gary Kline wrote: people, i've been under the weather for days and will probably be for a few more. new and TEMPORARY meds dont l

Re: UTF-8 file + console

2009-03-31 Thread Thomas Dickey
On Tue, Mar 31, 2009 at 11:36:32AM +0200, Paul B. Mahol wrote: > On 3/31/09, Arek Czereszewski wrote: > > Hi, > > > > I have php application in UTF-8 on server > > (in files are 4 languages: PL, SK, CZ and EN). > > > > Is there any chance to edit this files on console? > > Or should I edit files i

Re: Question about forcing fsck at boottime

2009-03-31 Thread Chris Rees
2009/3/31 manish jain : > BTW, a lot of people who posted replies thought I was not aware that a preen > is always executed at startup. When I said I wanted to force an fsck, I > meant 'fsck -fy'. As for background checks, they are - in my opinion - a > real nightmare. Even though I am just a lear

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Juan Miscaro
2009/3/31 Ivan Voras : > Juan Miscaro wrote: >> Hi gang, >> >> I'm running a remote 6.2 system which recently got shut down >> unexpectedly (tower was physically nudged and apparently lost power). >> I am running a 2-disk striped array with the geom_stripe.ko module. >> >> So my fstab line is >> >>

Re: Question about forcing fsck at boottime

2009-03-31 Thread RW
On Tue, 31 Mar 2009 08:15:54 +0200 Mel Flynn wrote: > On Tuesday 31 March 2009 08:05:11 manish jain wrote: > > > I am migrating from Linux and am still learning the basics of > > FreeBSD. One thing that I would to carry over from my Linux days is > > to force an fsck on all filesystems at system

Re: UTF-8 file + console

2009-03-31 Thread Paul B. Mahol
On 3/31/09, Maciej Milewski wrote: > Tuesday 31 March 2009 12:15:33 Paul B. Mahol napisał(a): >> On 3/31/09, Thomas Dickey wrote: >> > On Tue, Mar 31, 2009 at 11:36:32AM +0200, Paul B. Mahol wrote: >> >> On 3/31/09, Arek Czereszewski wrote: >> >> > Hi, >> >> > >> >> > I have php application in U

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Ivan Voras
Juan Miscaro wrote: > This is the end of dmesg (the drives in question are ad1 and ad3): > GEOM_STRIPE: Device st0 created (id=3091204740). > GEOM_STRIPE: Disk ad1 attached to st0. > GEOM_STRIPE: Disk ad1 removed from st0. > GEOM_STRIPE: Device st0 destroyed. > GEOM_STRIPE: Device st0 created (id

Re: Question about forcing fsck at boottime

2009-03-31 Thread RW
On Tue, 31 Mar 2009 16:00:18 +0530 manish jain wrote: > As for the reason why I want to force fsck is that it has now > happened 3 timed that, after a clean and proper shutdown - with no > foreign filesystems mounted, FreeBSD has complained on system restart > (twice on a 5.x distribution I had b

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Ivan Voras
Ivan Voras wrote: > If "gstripe list" doesn't mention ad3, you need to establish what > happened to metadata on ad3. Try extracting the last sector from ad3 by > hand (using dd) into a file and inspect it (send output of "hd filename"). I just noticed there could be an easier way to do it: use "g

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Juan Miscaro
2009/3/31 Ivan Voras : > Ivan Voras wrote: > >> If "gstripe list" doesn't mention ad3, you need to establish what >> happened to metadata on ad3. Try extracting the last sector from ad3 by >> hand (using dd) into a file and inspect it (send output of "hd filename"). > > I just noticed there could b

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Juan Miscaro
2009/3/31 Ivan Voras : > Juan Miscaro wrote: > >> This is the end of dmesg (the drives in question are ad1 and ad3): > >> GEOM_STRIPE: Device st0 created (id=3091204740). >> GEOM_STRIPE: Disk ad1 attached to st0. >> GEOM_STRIPE: Disk ad1 removed from st0. >> GEOM_STRIPE: Device st0 destroyed. >> GE

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Ivan Voras
Juan Miscaro wrote: >> What does "gstripe list" say? What does "sysctl -b kern.geom.confxml" say? > > 'gstripe list' does not return any output at all. > > Output to the sysctl command is attached. "gstripe list" cannot output nothing, since the sysctl output you posted says a partial GEOM_STRI

Re: Crontab for different ime zones

2009-03-31 Thread Colin House
Mel Flynn wrote: .. > > Once a year, since you can use months and days. In fact, iirc DST changes are > known 5 years ahead (I'm sure I"ll be corrected if this is not the case) so > one can even run a yearly cronjob to change the crontab ;) > .. You might want to mention that to the Australi

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Juan Miscaro
2009/3/31 Ivan Voras : > Juan Miscaro wrote: > >>> What does "gstripe list" say? What does "sysctl -b kern.geom.confxml" say? >> >> 'gstripe list' does not return any output at all. >> >> Output to the sysctl command is attached. > > "gstripe list" cannot output nothing, since the sysctl output you

Re: Why?? (prog question)

2009-03-31 Thread Wojciech Puchar
Tabbing is the worst form of indentation. It is *much* better to use spaces consistently. stupid discussion and off topic. everybody write code as he/she like, or as a team decided if it's not single person work. only end result matters. ___ free

Re: installing freebsd 7.1 ( error mounting /dev/acd0 input/outputerror)

2009-03-31 Thread Chris Rees
[lines broken in quote] 2009/3/31 ajeesh joseph : >  hello,I have tried the way how you suggested. But unfortunately iam getting > same error.today > i tried to install by plugging HDD as primary master and cdrom and primary > slave.I tried > to install.During install a new problem of /dev/ad0s1

xview problem

2009-03-31 Thread Giuseppe Pagnoni
Dear alll I am running FreeBSD 7.1-RELEASE-p4 on an i386 machine and I am unable to use applications that depend on xview. For example, when I try to run "clock", I get: Assertion failed: (ret != inval_id), function _XAllocID, file xcb_io.c, line 378. Abort and I get the same error for any other

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Ivan Voras
Juan Miscaro wrote: >> It looks like you created a both a fdisk partition table and a bsdlabel >> partition table on the ad3 drive. If so, your data is probably already >> corrupted. > > What is a generic configuration? Or can you explain how you come to > that conclusion? RAID 0 means striping

Re: Question about forcing fsck at boottime

2009-03-31 Thread Chris Rees
On Tue, 31 Mar 2009 16:00:18 +0530 manish jain wrote: > Having bgfsck enabled is like > inviting a dragon to dinner when this happens. 2009/3/31 RW : > If you've done a normal install, soft-updates aren't enabled on /, > so it will get foreground checked by default. > > If I were you I'd reboot i

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Juan Miscaro
2009/3/31 Ivan Voras : > Juan Miscaro wrote: > >>> It looks like you created a both a fdisk partition table and a bsdlabel >>> partition table on the ad3 drive. If so, your data is probably already >>> corrupted. >> >> What is a generic configuration?  Or can you explain how you come to >> that con

Re: Question about forcing fsck at boottime

2009-03-31 Thread Erik Trulsson
On Tue, Mar 31, 2009 at 04:04:53PM +0100, Chris Rees wrote: > On Tue, 31 Mar 2009 16:00:18 +0530 > manish jain wrote: > > Having bgfsck enabled is like > > inviting a dragon to dinner when this happens. > > 2009/3/31 RW : > > If you've done a normal install, soft-updates aren't enabled on /, > >

Re: Question about forcing fsck at boottime

2009-03-31 Thread Mel Flynn
On Tuesday 31 March 2009 14:24:11 RW wrote: > On Tue, 31 Mar 2009 08:15:54 +0200 > > Mel Flynn wrote: > > On Tuesday 31 March 2009 08:05:11 manish jain wrote: > > > I am migrating from Linux and am still learning the basics of > > > FreeBSD. One thing that I would to carry over from my Linux days

Re: Why?? (prog question)

2009-03-31 Thread Gary Kline
On Tue, Mar 31, 2009 at 11:21:22AM +0200, Polytropon wrote: > I don't want to start a "style debate", but forgive me the > following annotations: > > 1. Use the tab character for indentation. You can set its >length with your favourite editor (e. g. mcedit: F9, >Options, General; joe: ^TD)

Re: UTF-8 file + console

2009-03-31 Thread Mel Flynn
On Tuesday 31 March 2009 12:48:19 Maciej Milewski wrote: > Tuesday 31 March 2009 12:15:33 Paul B. Mahol napisał(a): > > On 3/31/09, Thomas Dickey wrote: > > > On Tue, Mar 31, 2009 at 11:36:32AM +0200, Paul B. Mahol wrote: > > >> On 3/31/09, Arek Czereszewski wrote: > > >> > Hi, > > >> > > > >> >

the proper way to find if RAID is supported.

2009-03-31 Thread Dimiter Ivanov
Hello, i have a Silicon Image SATA controler, which is identified as: It has 4 ports, and supports RAID. I configured the RAID trough the BIOS, but FreeBSD 7.1, does not see the RAID arrays, only 4 separate disks. I searched the mailing lists, and there are few messages saying that the RAID setu

Re: Why?? (prog question)

2009-03-31 Thread Oliver Fromme
Josh Carroll wrote: > [...] > Note also that your main should have an int return type and should > return a value. His main() function _did_ have an int return type (it wasn't declared to be void), but of course it's better style to write int explicitly. By the way, FreeBSD's style(9) recommen

Re: Question about forcing fsck at boottime

2009-03-31 Thread Oliver Fromme
Chris Rees wrote: > 2009/3/31 Wojciech Puchar : > > > > IMHO this background fsck isn't good idea at all > > Why? Google "background fsck damage". I was bitten by it myself, and I also recommend to turn background fsck off. If your disks are large and you can't afford the fsck time, cons

Re: Issues with OpenLDAP 2.4.15 and FreeBSD 8.0-CUrrent as well as with FreeBSD 7.2-PRE using DB 4.7

2009-03-31 Thread Thierry Lacoste
> First I see on all FreeBSD flavours (7.2 and 8.0) a coredump of LDAP > clients when doing ldapsearch, ldappasswd. The client performs well, but > at the end it terminates with some SIG 11. http://www.mail-archive.com/openldap-softw...@openldap.org/msg15161.html Regards, Thierry

FreeBSD 7 and 2 monitors

2009-03-31 Thread M. Vale
Hi, I have 2 monitors (20" Asus) with a Radeon X1600/X1650 PRO configure with xrand and everything works ok. The resolution I'm using right now is 3360x1050. Now I've a brand new Asus 24 (MK241H), and I can use this monitor with the other asus. My configuration now is 1 monitor 24" Asus and ano

Re: Why?? (prog question)

2009-03-31 Thread michael
Wojciech Puchar wrote: Tabbing is the worst form of indentation. It is *much* better to use spaces consistently. stupid discussion and off topic. everybody write code as he/she like, or as a team decided if it's not single person work. only end result matters. you know real programmers

Re: FreeBSD 7 and 2 monitors

2009-03-31 Thread Neal Hogan
On Tue, Mar 31, 2009 at 11:36 AM, M. Vale wrote: > Hi, I have 2 monitors (20" Asus) with a Radeon X1600/X1650 PRO configure > with xrand and everything works ok. > > The resolution I'm using right now is 3360x1050. > > Now I've a brand new Asus 24 (MK241H), and I can use this monitor with the >

Re: guile-1.8.6 build core dumps (autoconf issue ?)

2009-03-31 Thread Mel Flynn
On Tuesday 31 March 2009 19:02:56 manish jain wrote: > Mel Flynn wrote: > > On Tuesday 31 March 2009 08:15:56 manish jain wrote: > >> Hi, > >> > >> I portsnapped the lastest tarball a couple of days back. Doing a build > >> > >> in lang/guile (1.8.6) core dumps with the following message : > >>> Ma

Re: guile-1.8.6 build core dumps (autoconf issue ?)

2009-03-31 Thread Mel Flynn
On Tuesday 31 March 2009 19:30:59 manish jain wrote: > Mel Flynn wrote: > > On Tuesday 31 March 2009 19:02:56 manish jain wrote: > >> Mel Flynn wrote: > >>> On Tuesday 31 March 2009 08:15:56 manish jain wrote: > Hi, > > I portsnapped the lastest tarball a couple of days back. Doing a

Re: UTF-8 file + console

2009-03-31 Thread Thomas Dickey
On Tue, Mar 31, 2009 at 12:15:33PM +0200, Paul B. Mahol wrote: > On 3/31/09, Thomas Dickey wrote: > > On Tue, Mar 31, 2009 at 11:36:32AM +0200, Paul B. Mahol wrote: > >> On 3/31/09, Arek Czereszewski wrote: > >> > I have php application in UTF-8 on server > >> > (in files are 4 languages: PL, SK,

Re: Why?? (prog question)

2009-03-31 Thread Bruce Cran
On Tue, 31 Mar 2009 11:21:22 +0200 Polytropon wrote: > 4. Use the predefined return codes, don't hardcode them. >FreeBSD has EXiT_SUCCESS and EXIT_FAILURE, they're for >maximum compatibility (such as with Linux). There are >more exit codes for differentiation, but they're specific >

Re: analyzing httpd-error.log

2009-03-31 Thread Roger Olofsson
Charles Howse skrev: On Mar 28, 2009, at 11:51 PM, Olivier Nicole wrote: Hi, Webalizer is doing what it's supposed to with httpd-access.log, but when I give it the error log to process is coughs, spits and spills out errors with no data processed. My research hasn't turned up a good solut

Re: Question about forcing fsck at boottime

2009-03-31 Thread Polytropon
On Tue, 31 Mar 2009 18:57:21 +0200 (CEST), Oliver Fromme wrote: > Google "background fsck damage". > > I was bitten by it myself, and I also recommend to turn > background fsck off. If your disks are large and you > can't afford the fsck time, consider using ZFS, which > has a lot of benefits b

too many video drivers

2009-03-31 Thread Tsu-Fan Cheng
Hi, I am rebuilding ports and realize that i have too many input/video drivers for x-win installed. i know i need nv driver since my graphic card is from nvidia, and i want to deinstall all others. but i am not sure if its safe to do so, e.g. i am confused by "xf86-video-chips" since i don't kno

Re: the proper way to find if RAID is supported.

2009-03-31 Thread Vincent Hoffman
On 31/3/09 16:58, Dimiter Ivanov wrote: > Hello, i have a Silicon Image SATA controler, which is identified as: > > > It has 4 ports, and supports RAID. > I configured the RAID trough the BIOS, but FreeBSD 7.1, does not see > the RAID arrays, only 4 separate disks. > > I searched the mailing lists

Re: Why?? (prog question)

2009-03-31 Thread Polytropon
On Tue, 31 Mar 2009 19:20:17 +0100, Bruce Cran wrote: > Linux seems to have adopted sysexits.h too, which provides error codes > such as EX_USAGE and EX_CANTCREAT. Good to know this, thanks. I'm not a big Linux user and a much smaller Linux programmer (read: I don't program for Linux), so I wasn'

Re: Why?? (prog question)

2009-03-31 Thread Polytropon
On Tue, 31 Mar 2009 08:54:17 -0700, Gary Kline wrote: > > 1. Use the tab character for indentation. You can set its > >length with your favourite editor (e. g. mcedit: F9, > >Options, General; joe: ^TD). Don't waste with spaces. > > Ja, been doing this since 1978. Does anybody hit

Re: too many video drivers

2009-03-31 Thread John Nielsen
On Tuesday 31 March 2009 03:08:14 pm Tsu-Fan Cheng wrote: >I am rebuilding ports and realize that i have too many input/video > drivers for x-win installed. i know i need nv driver since my graphic > card is from nvidia, and i want to deinstall all others. but i am not > sure if its safe to do

Re: Recovering a GEOM RAID0 array

2009-03-31 Thread Ivan Voras
Juan Miscaro wrote: >> # dd if=/dev/ad3 of=ad3last count=1 skip=625142447 >> # hd ad3last >> >> > > Thanks for that great explanation. > > The file ad3last.txt is attached. ... 24 47 41 46 52 10 41 08 00 00 00 00 00 00 00 00 |$GAFR.A.| 0010 00 00 00 00 00 00 00 00 00 0

Re: Why?? (prog question)

2009-03-31 Thread Giorgos Keramidas
On Tue, 31 Mar 2009 13:59:16 +0200, Polytropon wrote: > When I would compare both indentation forms, I'd say that tabbing > is the better form because > + you can set your individually preferred tab with using the >settings of your editor, be it 1, 4 or 8, I like using TAB for indentation t

Re: too many video drivers

2009-03-31 Thread Adam Vandemore
Tsu-Fan Cheng wrote: Hi, I am rebuilding ports and realize that i have too many input/video drivers for x-win installed. i know i need nv driver since my graphic card is from nvidia, and i want to deinstall all others. but i am not sure if its safe to do so, e.g. i am confused by "xf86-video-c

Re: Why?? (prog question)

2009-03-31 Thread Gary Kline
On Tue, Mar 31, 2009 at 07:50:22AM -0400, William Gordon Rutherdale wrote: > This isn't a BSD question. It's just about elementary C. As other > people pointed out, you could have easily caught it anyway just by > turning on warnings. > > -Will > yep, you're right. i did have gcc al

Re: analyzing httpd-error.log

2009-03-31 Thread Oliver Fromme
The problem with Apache's error.log is that there is no standard format. Error messages generated by Apache itself are somewhat standardized, but messages from third-party modules are not. All kind of things will end up in the error.log, including stuff written to stdout by CGI programs, such as

Re: Question about forcing fsck at boottime

2009-03-31 Thread RW
On Tue, 31 Mar 2009 17:36:32 +0200 Mel Flynn wrote: > On Tuesday 31 March 2009 14:24:11 RW wrote: > > On Tue, 31 Mar 2009 08:15:54 +0200 > > > > Mel Flynn wrote: somebody please point me in the right direction ? > > > > > > fsck -p is done by default (meaning, filesystems are not fully > > > sca

Re: Why?? (prog question)

2009-03-31 Thread Gary Kline
On Tue, Mar 31, 2009 at 09:01:42PM +0200, Polytropon wrote: > On Tue, 31 Mar 2009 08:54:17 -0700, Gary Kline wrote: > > > 1. Use the tab character for indentation. You can set its > > >length with your favourite editor (e. g. mcedit: F9, > > >Options, General; joe: ^TD). Don't waste with s

going from cvs to svn

2009-03-31 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've finally decided that it's way past time that I switched from using cvs for my home archive (currently /home/ncvs) to using subversion. I'm trying to hunt down a web page that might give a set of rules to help moving things. I've spent about the

Re: too many video drivers

2009-03-31 Thread rasz
John Nielsen wrote: On Tuesday 31 March 2009 03:08:14 pm Tsu-Fan Cheng wrote: I am rebuilding ports and realize that i have too many input/video drivers for x-win installed. i know i need nv driver since my graphic card is from nvidia, and i want to deinstall all others. but i am not sure

Re: going from cvs to svnq

2009-03-31 Thread Andrew Wright
On Tue, 31 Mar 2009, Chuck Robey wrote: I've finally decided that it's way past time that I switched from using cvs for my home archive (currently /home/ncvs) to using subversion. I'm trying to hunt down a web page that might give a set of rules to help moving things. I've It appears that y

ftp with .... ?

2009-03-31 Thread Vasadi I. Claudiu Florin
Hello guys, Here's the deal: I have a samba server on a FreeBSD 7.1-STABLE running with mod-acl (or whatever it's called). The folder it is connected to (let's call it "share") has acl enabled. Thus all data written with samba (from my xp box) automagicly inharits permision of parent folde

Mythtv-0.21 build error

2009-03-31 Thread Mark Busby
uname -a FreeBSD muz.sbcglobal.net 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 portsnap is up to date. Building myth-0.21 throws this error, creating usr/local creating usr/local/lib creating usr/local/lib/

Re: Mythtv-0.21 build error

2009-03-31 Thread Mark Busby
--- On Tue, 3/31/09, Vasadi I. Claudiu Florin wrote: > From: Vasadi I. Claudiu Florin > Subject: Re: Mythtv-0.21 build error > To: redt...@sbcglobal.net > Date: Tuesday, March 31, 2009, 4:18 PM > On Wed, 01 Apr 2009 00:16:26 +0300, Mark Busby > wrote: > > > mythtv-setup > > > find / -typ

Re: Mythtv-0.21 build error

2009-03-31 Thread Vasadi I. Claudiu Florin
This is what I would do if I were you: 0.1) do a cvsup (or whatever) so the ports are up to date and: 1) try a make deinstall;make clean;make distclean;make build (and if the file is present do a make install) if that doesn't work 2) (workaround) download from the web a source code, compile it

Xeon Quad with 9 GB RAM - only 4 GB detected

2009-03-31 Thread Matej Šerc
Hi all, I am just trying to install FreeBSD 7.1 amd64 distro on the HP ML 150 G5 server and when booting, BIOS detects 9 GB of RAM, but when starting to install the system it is displayed that only 4 GBs are detected. Also the default swap partition size is 4 GB ... What would be the needed steps

Re: Mythtv-0.21 build error

2009-03-31 Thread Mark Busby
After doing make clean, and restarting the build of mythtv-0.21 port. This is the error on make install l-dtor -D__STDC_CONSTANT_MACROS -DPIC -fPIC -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET

Re: too many video drivers

2009-03-31 Thread mdh
--- On Tue, 3/31/09, Adam Vandemore wrote: > From: Adam Vandemore > Subject: Re: too many video drivers > To: "FreeBSD" > Date: Tuesday, March 31, 2009, 3:39 PM > Tsu-Fan Cheng wrote: > > Hi, > >I am rebuilding ports and realize that i have too > many input/video > > drivers for x-win insta

Re: Why?? (prog question)

2009-03-31 Thread William Gordon Rutherdale
Polytropon wrote: On Tue, 31 Mar 2009 07:48:00 -0400, William Gordon Rutherdale wrote: Tabbing is the worst form of indentation. It is *much* better to use spaces consistently. may I ask what exactly you mean by "consistently"? I've seen various opinions about how many spaces make u

Re: too many video drivers

2009-03-31 Thread Tim Judd
On Tue, Mar 31, 2009 at 4:53 PM, mdh wrote: > > --- On Tue, 3/31/09, Adam Vandemore wrote: > > From: Adam Vandemore > > Subject: Re: too many video drivers > > To: "FreeBSD" > > Date: Tuesday, March 31, 2009, 3:39 PM > > Tsu-Fan Cheng wrote: > > > Hi, > > >I am rebuilding ports and realize

Re: FreeBSD 7 and 2 monitors

2009-03-31 Thread User Wblock
On Tue, 31 Mar 2009, M. Vale wrote: Hi, I have 2 monitors (20" Asus) with a Radeon X1600/X1650 PRO configure with xrand and everything works ok. The resolution I'm using right now is 3360x1050. Now I've a brand new Asus 24 (MK241H), and I can use this monitor with the other asus. My configur

Re: ftp with .... ?

2009-03-31 Thread Joshua Gimer
Are you sure that the suid bit will not provide the functionality that you require? I would make sure that the proper user owns the directory and then set its suid bit (chmod u+s /mnt/) If I am missing something please let me know. On Tue, Mar 31, 2009 at 3:13 PM, Vasadi I. Claudiu Florin wrote:

Re: going from cvs to svnq

2009-03-31 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Wright wrote: > > On Tue, 31 Mar 2009, Chuck Robey wrote: > >> I've finally decided that it's way past time that I switched from >> using cvs for >> my home archive (currently /home/ncvs) to using subversion. I'm >> trying to hunt >> down a w

Re: mod_php5 and apache22

2009-03-31 Thread Ian Smith
On Mon, 30 Mar 2009, Mel Flynn wrote: > On Wednesday 25 March 2009 05:36:26 Ian Smith wrote: > > On Tue, 24 Mar 2009 16:46:16 +0100 Ruben de Groot wrote: > > > On Tue, Mar 24, 2009 at 03:20:26PM +0100, Mel Flynn typed: > > > > On Tuesday 24 March 2009 15:13:33 Christoph Kukulies wrote: > >

Re: mod_php5 and apache22

2009-03-31 Thread Glen Barber
On Tue, Mar 31, 2009 at 11:41 PM, Ian Smith wrote: > 2)  Can you please submit it? :) > Sadly (for me) I have been working on a replacement for misc/instant-server called misc/instant-webserver that I was going to submit. It would build apache22 and php5 with the apache module, but I've been too

Re: UTF-8 file + console

2009-03-31 Thread Arek Czereszewski
Thank you all for replays. On this moment i think about one from three solutions: - on workstation editor with utf and scp/sftp support - on workstation editor with utf and ftp support + ftp on server - nfs/samba share. Patching productive system for utf (I read something about experimental patche