gedit 's problem

2010-12-04 Thread xinyou yan
hello freebsd 8.1 afer i su to root after i beat gedit GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for infor

Re: regex question....

2010-12-04 Thread Gary Kline
On Sat, Dec 04, 2010 at 06:49:45PM -0800, xSAPPYx wrote: > On Sat, Dec 4, 2010 at 17:56, wrote: > > Joshua Gimer wrote: > > > >> On Sat, Dec 4, 2010 at 5:26 PM, Gary Kline wrote: > >> > I have tried :1,$/s/[0-9]][0-9][0-9]/foo/g > >> Why not just %s/[0-9]*/foo/g > > > > Too broad -- it will mat

Re: regex question....

2010-12-04 Thread xSAPPYx
On Sat, Dec 4, 2010 at 17:56, wrote: > Joshua Gimer wrote: > >> On Sat, Dec 4, 2010 at 5:26 PM, Gary Kline wrote: >> > I have tried :1,$/s/[0-9]][0-9][0-9]/foo/g >> Why not just %s/[0-9]*/foo/g > > Too broad -- it will match the null string.  (* means "zero or more > instances of" whatever prec

Re: regex question....

2010-12-04 Thread Gary Kline
On Sat, Dec 04, 2010 at 05:56:59PM -0800, per...@pluto.rain.com wrote: > Joshua Gimer wrote: > > > On Sat, Dec 4, 2010 at 5:26 PM, Gary Kline wrote: > > > I have tried :1,$/s/[0-9]][0-9][0-9]/foo/g > > Why not just %s/[0-9]*/foo/g > > Too broad -- it will match the null string. (* means "zero

Re: regex question....

2010-12-04 Thread perryh
Joshua Gimer wrote: > On Sat, Dec 4, 2010 at 5:26 PM, Gary Kline wrote: > > I have tried :1,$/s/[0-9]][0-9][0-9]/foo/g > Why not just %s/[0-9]*/foo/g Too broad -- it will match the null string. (* means "zero or more instances of" whatever preceded it.) Best RE I know for integers is [1-9]

Re: regex question....

2010-12-04 Thread Polytropon
On Sat, 4 Dec 2010 17:24:30 -0800, Gary Kline wrote: > So I just missed the "*"? Yes. In regex, * means "any amount of", if I remember correctly. So you don't have to specify precisely how many numbers there are. How many lights? :-) > Didn't need to escape the [ or ] ? No, as you wan

Re: regex question....

2010-12-04 Thread Gary Kline
On Sat, Dec 04, 2010 at 05:29:49PM -0700, Joshua Gimer wrote: > On Sat, Dec 4, 2010 at 5:26 PM, Gary Kline wrote: > > > I have tried :1,$/s/[0-9]][0-9][0-9]/foo/g > > Why not just %s/[0-9]*/foo/g > So I just missed the "*"? Didn't need to escape the [ or ] ? ---I'll give it a

Re: regex question....

2010-12-04 Thread Joshua Gimer
On Sat, Dec 4, 2010 at 5:26 PM, Gary Kline wrote: > I have tried :1,$/s/[0-9]][0-9][0-9]/foo/g Why not just %s/[0-9]*/foo/g -- Thanks, Joshua Gimer --- http://www.linkedin.com/in/jgimer http://twitter.com/jgimer http://itsecops.blogspot.com/ __

regex question....

2010-12-04 Thread Gary Kline
Gang, I was tried to find Jeffrey Friedl's email to figure out some quick regex when it struck me that the list can clue me in [[I have figured this out myself several times--well, 3 or 4 anyway--but it was more trial/error than I need.]] I have a file with ints from 0 to some N. What is th

Re: FreeBSD on Virtualbox: No network access

2010-12-04 Thread Weihang Wang
Hi, Thank you so much for your advices. I am using NAT mode now. Just as you said, there is no need to configure DHCP in /etc/rc.conf. I just choose the Intel PRO/1000 T Server as my virtual network interface. It works well. Thank you very much. : ) Best, W.W. On Dec 4, 2010, at 8:32 AM, Mat

Re: Support for hard drives > 2 TB?

2010-12-04 Thread krad
On 4 December 2010 07:44, wrote: > Bruce Cran wrote: > > On Fri, 3 Dec 2010 18:12:58 -0600 > > Josh Paetzel wrote: > > > ... The caveat is that very few systems have a BIOS that can > > > boot from a GPT labeled drive. So regardless of your OS, you > > > may still have issues. > > That's why

Re: RELEASE vice CURRENT vice STABLE

2010-12-04 Thread JB
Chip Camden camdensoftware.com> writes: > ... > RUBOUT: forward-backward-delete-char > ... That fixed Delete behavior. It changed behavior of Backspace in gnome xterm slightly, but it is acceptable. Thanks to both of you. JB ___ freebsd-questions@

Re: RELEASE vice CURRENT vice STABLE

2010-12-04 Thread Chip Camden
Quoth JB on Saturday, 04 December 2010: > Chip Camden camdensoftware.com> writes: > > > ... > > By "stopped working", you mean it doesn't do anything? > > ... > > Backspace does not do anything in gnome xterm. > > I am wondering what is the line format if I wanted to put Chuck's suggested > fo

Re: RELEASE vice CURRENT vice STABLE

2010-12-04 Thread JB
Chip Camden camdensoftware.com> writes: > ... > By "stopped working", you mean it doesn't do anything? > ... Backspace does not do anything in gnome xterm. I am wondering what is the line format if I wanted to put Chuck's suggested forward-backward-delete-char in .inputrc ? This is a case of "

Re: RELEASE vice CURRENT vice STABLE

2010-12-04 Thread Chip Camden
Quoth JB on Saturday, 04 December 2010: > Chip Camden camdensoftware.com> writes: > > > ... > > Thanks. > It works in console/bash, both Delete and Backspace keys. > But now Backspace stopped working in gnome xterm ... > > JB > > > > > > > ___ >

Re: RELEASE vice CURRENT vice STABLE

2010-12-04 Thread JB
Chip Camden camdensoftware.com> writes: > ... Thanks. It works in console/bash, both Delete and Backspace keys. But now Backspace stopped working in gnome xterm ... JB ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailm

Re: massive hdd/geli problems after upgrade to 8.1-RELEASE

2010-12-04 Thread Mike Tancsa
On 12/4/2010 2:46 PM, Michael Schaefer wrote: > > http://pastecode.org/index.php/view/27349679 Well, the drive doesnt think it has any issues which is good! > > will do the atacontrol comparison later on since I would ahve to upgrade > the system again. I stressed the hdd now with the old kerne

Re: RELEASE vice CURRENT vice STABLE

2010-12-04 Thread Chuck Swiger
On Dec 4, 2010, at 6:26 AM, JB wrote: > If I only, in addition, could get that console/bash Delete key working > properly (delete a char under the cursor instead of the preceding one) it > would be a perfect first rendezvous with this FreeBSD help group :-) "man bash" suggests: Commands for

Re: massive hdd/geli problems after upgrade to 8.1-RELEASE

2010-12-04 Thread Michael Schaefer
Hi Mike and thank you for your response please find the smartctl output here: http://pastecode.org/index.php/view/27349679 will do the atacontrol comparison later on since I would ahve to upgrade the system again. I stressed the hdd now with the old kernel for several hours copying reading/writi

Re: massive hdd/geli problems after upgrade to 8.1-RELEASE

2010-12-04 Thread Mike Tancsa
On 12/4/2010 12:08 PM, Michael Schaefer wrote: > > ad4: FAILURE - READ_MUL48 status=51 error=84 > LBA=594632984 Those do seem like hardware errors on the disk. But going back to the old kernel however should not make a difference. Try (/usr/ports/sysutiles/smartmontools and do a smartctl -x /dev

Re: FreeBSD samba+winbind

2010-12-04 Thread Ivo Karabojkov
Hi! Thanks for your reply! Sorry, but that didn't help. I even tried installing samba 3.4 (also form ports). With the same configuration as Samba 3.5 there was no idmapping at all. I'll try to raise loglevel to see what happens. With Samba 3.5 and loglevel 10 there were no significant errors and

Re: RELEASE vice CURRENT vice STABLE

2010-12-04 Thread Chip Camden
Quoth JB on Saturday, 04 December 2010: > On Fri, 03 Dec 2010 14:42:09 +0100, J B wrote: > > > ... > > Hi, > thanks to every body who contributed to this thread. > > If I only, in addition, could get that console/bash Delete key working > properly (delete a char under the cursor instead of the

Re: FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Tue Nov 9 21:13:03 MSK 2010 r...@.dlink:/usr/obj/usr/src/sys/GENERIC i386

2010-12-04 Thread Rob Farmer
On Sat, Dec 4, 2010 at 05:16, K. Yura wrote: > Can't use watch. How to install snp snoop device? > The module is built during normal kernel builds, unless you are using the MODULES_OVERRIDE directive in your kernel. Run kldload snp. Put snp_load="YES" in /boot/loader.conf to get it automatically

Re: printing from inside Linux firefox

2010-12-04 Thread Frank Shute
On Fri, Dec 03, 2010 at 07:22:34PM -0800, Dan Strick wrote: > > I am running FreeBSD release 8.1. I normally run a Linux Firefox > (currently version 3.5.15) because I need the flash plugin > (/usr/ports/www/linux-f10-flashplugin10). I also need to print web pages > on occasion but the Linux Fire

massive hdd/geli problems after upgrade to 8.1-RELEASE

2010-12-04 Thread Michael Schaefer
Hey folks, some days ago i upgraded my FreeBSD 8.0-RELEASE-p4 system to 8.1-RELEASE using freebsd-update. I'm using a generic kernel so the upgrade process was just straight forward. However I encountered massive problems with my hdd which I now found out are attributed to this upgrade. I'm using

Re: printer recommendations?

2010-12-04 Thread John Levine
>> My printer is a sturdy old Lexmark Optra T610. CUPS has a driver, >> which does duplex, N-up, and so forth. Each toner cartridge is good >> for over 10K pages, so I buy one about every two years, and I can >> usually find one for $100, making the per page cost very low. >Lexmarks are very bad

hilarious quotes (from across the pond)

2010-12-04 Thread JB
"To some extent it is a waste of time but I like the point that we pay Linux with our time by which we get educated." A Linux user JB :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsu

Re: printing from inside Linux firefox

2010-12-04 Thread Warren Block
On Fri, 3 Dec 2010, Dan Strick wrote: I tried /usr/ports/www/firefox which installs as firefox3, a native FreeBSD Firefox program. It will print via lpr, but It won't do flash. Actually, it will. I tried the flashplugin-mozilla port, but it just causes a segmentation violation when I visit

Re: Support for hard drives > 2 TB?

2010-12-04 Thread Bruce Cran
On Fri, 03 Dec 2010 23:44:22 -0800 per...@pluto.rain.com wrote: > Another possible downside: if you want to multi-boot, the other OS > may also need to understand both GPT and PMBR. That can be a big problem actually: I'd heard that Windows 7 supported GPT so I recently tried to install it. It t

Re: RELEASE vice CURRENT vice STABLE

2010-12-04 Thread JB
On Fri, 03 Dec 2010 14:42:09 +0100, J B wrote: > ... Hi, thanks to every body who contributed to this thread. If I only, in addition, could get that console/bash Delete key working properly (delete a char under the cursor instead of the preceding one) it would be a perfect first rendezvous wit

Re: printer recommendations?

2010-12-04 Thread Da Rock
On 12/04/10 14:23, John Levine wrote: Network is the way to go. USB *may* be okay. Parallel is not living anymore - allthough I'm still using it that way, but my home setting is a life support system for obsolete technology anyway. :-) My printer is a sturdy old Lexmark Optra T610. CUPS

FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Tue Nov 9 21:13:03 MSK 2010 r...@.dlink:/usr/obj/usr/src/sys/GENERIC i386

2010-12-04 Thread K. Yura
Can't use watch. How to install snp snoop device? === [root@ /dev]# cd /usr/src/sys/modules/snp [root@ /usr/src/sys/modules/snp]# make Warning: Object directory not changed from original /usr/src/sys/modules/snp @ -> /usr/src/sys machine

Re: FreeBSD on Virtualbox: No network access

2010-12-04 Thread Matthew Seaman
On 03/12/2010 09:25, Timm Wimmers wrote: > Am Freitag, den 03.12.2010, 00:33 -0500 schrieb Weihang Wang: >> Hi Martes, >> >> I have tried the first two interfaces which are said to be supported by >> FreeBSD, they do not work. Surprisingly, now I choose the option "Intel >> PRO/1000 T Server" and