Re: FreeBSD: GIT instaed of SVN?
03.01.2013 20:30, Mark Felder: On Thu, 3 Jan 2013 12:24:31 -0400 Joseph Mingrone j...@ftfl.ca wrote: A little of topic, but Fossil is BSD licensed. It also would work poorly as an SCM for FreeBSD because everything would be in a giant sqlite database :( Why this is bad? Even for SVN I prefer bdb backend as it works faster and better regardless what SVN authors say. -- Sphinx of black quartz, judge my vow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Trying to update from 9.0 to 9.1 via svn
Hi, I fetched sources via $ sudo svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src/ Checked out revision 244992. $ I then recompiled and installed the kernel according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html $ ls -la /boot/kernel/kernel -r-xr-xr-x 1 root wheel 15622342 Jan 3 19:57 /boot/kernel/kernel $ But after reboot uname prints FreeBSD BSDHelmut964 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #9 r244992M: Thu Jan 3 19:57:37 CET 2013 root@BSDHelmut964:/usr/obj/usr/src/sys/GENERIC amd64 Why? Thanks, Helmut ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: somewhat OT ... in parts
On Jan 3, 2013, at 11:03 PM, Polytropon wrote: On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote: one question I have may solve the problem of vim displaying all the ^/search terms and displaying them in some color. the default brown is awful, but dark blue isn't much bbetter. If you try :colorscheme blue you can see that the results have orange background with dark text (maybe black?), while the editor background is blue (as the name of the color scheme suggests). So: can I add something to my ~/.vimrc that =limits= the search to displaying one term? if I am searching for, say, the or I guess /\the\, I dont want every the in my file. I want only one. or one at a time, and not necessarily in color. If you have :set hlsearch activated, all (visible) matches will be highlighted, :set hls :set nohls for short to enable/disable (respectively). and the cursor will be placed at the first match. On a side note, there's also :set incsearch That will make you jump ahead as you type (I personally don't care for it). I don't see an option to highlight the _next_ result only. However, if you do _not_ set hlsearch, searching and continuing searching will not highlight anything, instead let the cursor skip to the next match (tried here with gvim /COPYRIGHT, /this, /, /, / and so on), with :set nohlsearch for testing. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Looking for info on how to install and configure suPHP on FreeBSD 8
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Ilya Kazakevich Sent: January-03-13 7:17 PM To: Matt Rauch Cc: freebsd-questions@freebsd.org Subject: Re: Looking for info on how to install and configure suPHP on FreeBSD 8 http://www.freshports.org/www/suphp/ Is not it what are you looking for? I guess what I'm looking for is not only how to do the ports install (which I think I can do without issue), but also how to implement it so that it is being used. The simple port install won't make that work right out of the box will it? Thanks, Matt Rauch ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Trying to update from 9.0 to 9.1 via svn
On Fri, Jan 4, 2013 at 2:01 PM, Helmut Schneider jumpe...@gmx.de wrote: Hi, I fetched sources via $ sudo svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src/ Checked out revision 244992. $ I then recompiled and installed the kernel according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html $ ls -la /boot/kernel/kernel -r-xr-xr-x 1 root wheel 15622342 Jan 3 19:57 /boot/kernel/kernel $ But after reboot uname prints FreeBSD BSDHelmut964 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #9 r244992M: Thu Jan 3 19:57:37 CET 2013 root@BSDHelmut964:/usr/obj/usr/src/sys/GENERIC amd64 Why? Thanks, Helmut Hi Helmut, Have you rebuilt world before compile and install your new 9.1 kernel ? Your base system installed is always in 9.0. See handbook, this article will help you to do it : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Regards, Alexandre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Trying to update from 9.0 to 9.1 via svn
Alexandre wrote: On Fri, Jan 4, 2013 at 2:01 PM, Helmut Schneider jumpe...@gmx.de wrote: I fetched sources via $ sudo svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src/ Checked out revision 244992. $ I then recompiled and installed the kernel according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html $ ls -la /boot/kernel/kernel -r-xr-xr-x 1 root wheel 15622342 Jan 3 19:57 /boot/kernel/kernel $ But after reboot uname prints FreeBSD BSDHelmut964 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #9 r244992M: Thu Jan 3 19:57:37 CET 2013 root@BSDHelmut964:/usr/obj/usr/src/sys/GENERIC amd64 Why? Thanks, Helmut Have you rebuilt world before compile and install your new 9.1 kernel ? Yes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Trying to update from 9.0 to 9.1 via svn
On Fri, 4 Jan 2013 15:51-, Helmut Schneider wrote: Alexandre wrote: On Fri, Jan 4, 2013 at 2:01 PM, Helmut Schneider jumpe...@gmx.de wrote: I fetched sources via $ sudo svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src/ Checked out revision 244992. $ I then recompiled and installed the kernel according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html $ ls -la /boot/kernel/kernel -r-xr-xr-x 1 root wheel 15622342 Jan 3 19:57 /boot/kernel/kernel $ But after reboot uname prints FreeBSD BSDHelmut964 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #9 r244992M: Thu Jan 3 19:57:37 CET 2013 root@BSDHelmut964:/usr/obj/usr/src/sys/GENERIC amd64 Why? Thanks, Helmut Have you rebuilt world before compile and install your new 9.1 kernel ? Yes. I have a question: Was /usr/src populated with 9.0 sources prior to the svn operation? If you have the time and bandwidth, I would delete everything inside /usr/src, e.g. rm -Rf /usr/src/* /usr/src/.??* and retry the checkout, i.e. sudo svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Trying to update from 9.0 to 9.1 via svn
Trond Endrestøl wrote: On Fri, 4 Jan 2013 15:51-, Helmut Schneider wrote: Alexandre wrote: On Fri, Jan 4, 2013 at 2:01 PM, Helmut Schneider jumpe...@gmx.de wrote: I fetched sources via $ sudo svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src/ Checked out revision 244992. $ I then recompiled and installed the kernel according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html $ ls -la /boot/kernel/kernel -r-xr-xr-x 1 root wheel 15622342 Jan 3 19:57 /boot/kernel/kernel $ But after reboot uname prints FreeBSD BSDHelmut964 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #9 r244992M: Thu Jan 3 19:57:37 CET 2013 root@BSDHelmut964:/usr/obj/usr/src/sys/GENERIC amd64 Why? Thanks, Helmut Have you rebuilt world before compile and install your new 9.1 kernel ? Yes. I have a question: Was /usr/src populated with 9.0 sources prior to the svn operation? If you have the time and bandwidth, I would delete everything inside /usr/src, e.g. rm -Rf /usr/src/* /usr/src/.??* and retry the checkout, i.e. sudo svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src Did so, too. It's so frustrating, I mean, I compile kernel and world since 6.0 and never had similar issues. What makes me a bit nervous is that this happens on two different machines. And why is the revision (r244992) of the kernel ident higher than the release revision (r243710[1])? http://svnweb.freebsd.org/base/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Trying to update from 9.0 to 9.1 via svn
On Fri, 4 Jan 2013 16:24-, Helmut Schneider wrote: Trond Endrestøl wrote: On Fri, 4 Jan 2013 15:51-, Helmut Schneider wrote: Alexandre wrote: On Fri, Jan 4, 2013 at 2:01 PM, Helmut Schneider jumpe...@gmx.de wrote: I fetched sources via $ sudo svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src/ Checked out revision 244992. $ I then recompiled and installed the kernel according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html $ ls -la /boot/kernel/kernel -r-xr-xr-x 1 root wheel 15622342 Jan 3 19:57 /boot/kernel/kernel $ But after reboot uname prints FreeBSD BSDHelmut964 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #9 r244992M: Thu Jan 3 19:57:37 CET 2013 root@BSDHelmut964:/usr/obj/usr/src/sys/GENERIC amd64 Why? Thanks, Helmut Have you rebuilt world before compile and install your new 9.1 kernel ? Yes. I have a question: Was /usr/src populated with 9.0 sources prior to the svn operation? If you have the time and bandwidth, I would delete everything inside /usr/src, e.g. rm -Rf /usr/src/* /usr/src/.??* and retry the checkout, i.e. sudo svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src Did so, too. It's so frustrating, I mean, I compile kernel and world since 6.0 and never had similar issues. What makes me a bit nervous is that this happens on two different machines. And why is the revision (r244992) of the kernel ident higher than the release revision (r243710[1])? Let me use the output of svn info from stable/9 as an example: root@enterprise:/usr/src # svn info Path: . Working Copy Root Path: /usr/src URL: svn://svn.ximalas.info/freebsd/base/stable/9 Repository Root: svn://svn.ximalas.info/freebsd/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 245035 Node Kind: directory Schedule: normal Last Changed Author: pfg Last Changed Rev: 245025 Last Changed Date: 2013-01-04 05:03:21 +0100 (Fri, 04 Jan 2013) The uname string of the kernel includes the revision number contained in the Revision line as shown above. svn keeps global revision numbers unlike cvs which uses revision number per each file. All of FreeBSD base source code resides in one giant repository. Thus changes made in, say, /base/head, i.e. -CURRENT, affects other branches, say, /base/releng/9.1. It would make more sense if the uname string referred to the Last Changed Rev line. (Yes, I run my own svn mirror. It saves bandwidth when I issue svn log -v to look at the recent commit logs.) BTW, do you nuke the contents of /usr/obj prior to recompiling the system? The command rm -Rf /usr/obj/* should accomplish this rather well. Out of old habit I like keep everything clean before I issue buildworld + buildkernel with -DNO_CLEAN. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
bsdinstall misaligns partitions
Shouldn't bsdinstall attempt to align partitions on 4k boundaries both for the benefit of 4k drives and flash storage? I just installed 9.1R i386 for fun and practice, in fact I installed it several times, and I played around with the partitioning options. * The modern GPT scheme reserves 34 sectors at the start of the disk. Your newly created partitions will start at offset 34 and will therefor be misaligned. I ended up configuring a 63 kB freebsd-boot partition, which ensures that the following partitions are aligned. * The old MBR scheme is even worse. The FreeBSD slice will start at sector 63, guaranteeing that any partitions contained within will be misaligned. There is no way to fix this, unless you shell out and run fdisk manually. * Funnily enough, the ancient BSD dangerously dedicated scheme is the only one that out of the box does not misalign partitions. I'm presumably not the first one to notice this issue, and yes, I'm mostly just venting. -- Christian naddy Weisgerber na...@mips.inka.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsdinstall misaligns partitions
On Fri, Jan 4, 2013 at 9:14 AM, Christian Weisgerber na...@mips.inka.dewrote: Shouldn't bsdinstall attempt to align partitions on 4k boundaries both for the benefit of 4k drives and flash storage? That's rather up to you. AFAIK it attempts to create partitions that preserve cylinder boundaries - which are generally a rather obsolete concept, even for drives with spindles. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Trying to update from 9.0 to 9.1 via svn
On Fri, 4 Jan 2013 15:51-, Helmut Schneider wrote: Alexandre wrote: On Fri, Jan 4, 2013 at 2:01 PM, Helmut Schneider jumpe...@gmx.de wrote: I fetched sources via $ sudo svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src/ Checked out revision 244992. $ I then recompiled and installed the kernel according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html $ ls -la /boot/kernel/kernel -r-xr-xr-x 1 root wheel 15622342 Jan 3 19:57 /boot/kernel/kernel $ But after reboot uname prints FreeBSD BSDHelmut964 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #9 r244992M: Thu Jan 3 19:57:37 CET 2013 root@BSDHelmut964:/usr/obj/usr/src/sys/GENERIC amd64 Why? Thanks, Helmut Have you rebuilt world before compile and install your new 9.1 kernel ? Yes. Upon reading the help message of svnversion, I noticed the revision number will contain the capital letter M after the digits if the working copy is modified. Somehow you must have changed one or more of the files kept under version control. If this wasn't your intention, you might want to revert any changes made. svn revert -R /usr/src should do the trick. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Advertising Request
Hello, I represent TrafficCaptain a performance network focused entirely on the gaming industry. In our offers you can find well-known game developers like Big Point, Ubisoft, Travian, Kabam, Farbflut etc. We are active in 24 countries with more than 100 offers. We are currently looking for premium publishers to promote our performance based programs. Are you interested in taking a look at our offer, then log in at http://www.trafficcaptain.com/ or I can send you a PDF-file. Have you heard about our new innovation? Most websites have 10% mobile traffic, but they cannot use it, since neither the website nor the offers on the page are designed for mobile surfers. With our innovation, the mobile switch you can monetize this mobile traffic with only one! Line code. This is how we can offer your mobile surfers targeted Offers which can be used on their mobile device (phone, tablet, ...). I would be very pleased to get in touch with you and talk more about the opportunities created by working together. Best Regards, Paula Bremann TrafficCaptain E: p...@trafficcaptain.com P: +49-40-23706-802 www.trafficCaptain.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsdinstall misaligns partitions
On Fri, 4 Jan 2013, Christian Weisgerber wrote: Shouldn't bsdinstall attempt to align partitions on 4k boundaries both for the benefit of 4k drives and flash storage? I think the latest version does. I just installed 9.1R i386 for fun and practice, in fact I installed it several times, and I played around with the partitioning options. * The modern GPT scheme reserves 34 sectors at the start of the disk. Your newly created partitions will start at offset 34 and will therefor be misaligned. I ended up configuring a 63 kB freebsd-boot partition, which ensures that the following partitions are aligned. * The old MBR scheme is even worse. The FreeBSD slice will start at sector 63, guaranteeing that any partitions contained within will be misaligned. There is no way to fix this, unless you shell out and run fdisk manually. Even worse news: you can't fix it manually. Both fdisk and gpart are slaves to the kernel code that deals with MBR layouts, and will align to the old CHS values. I have not found a way to use FreeBSD to create an MBR slice that starts at 1M, block 2048. The CHS alignment always forces it to block 2079, a multiple of 63. However, gpart's -a alignment flag will offset BSD partitions within the slice so they are aligned. * Funnily enough, the ancient BSD dangerously dedicated scheme is the only one that out of the box does not misalign partitions. The filesystems don't begin at the start of the slice anyway. There is a bsdlabel there. I'm presumably not the first one to notice this issue, and yes, I'm mostly just venting. A way to override the CHS alignment would be welcome. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: somewhat OT ... in parts
On Fri, Jan 04, 2013 at 08:03:39AM +0100, Polytropon wrote: On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote: one question I have may solve the problem of vim displaying all the ^/search terms and displaying them in some color. the default brown is awful, but dark blue isn't much bbetter. If you try :colorscheme blue you can see that the results have orange background with dark text (maybe black?), while the editor background is blue (as the name of the color scheme suggests). So: can I add something to my ~/.vimrc that =limits= the search to displaying one term? if I am searching for, say, the or I guess /\the\, I dont want every the in my file. I want only one. or one at a time, and not necessarily in color. If you have :set hlsearch activated, all (visible) matches will be highlighted, and the cursor will be placed at the first match. I don't see an option to highlight the _next_ result only. However, if you do _not_ set hlsearch, searching and continuing searching will not highlight anything, instead let the cursor skip to the next match (tried here with gvim /COPYRIGHT, /this, /, /, / and so on), with :set nohlsearch for testing. Hm. there must be something in Muttrc. I dont see it in my local ~/.muttrc; this something is controlling every /search term and highlighting it. the regular vim /tmp/foofile.c /tmp/footext is fine. it's only in mutt that highlights EVERY instance that I'm searching for. I'll figure it out eventually if you don't know offhand. or anybody else. maybe I should just find keith bostic's newvi; see if they have it for linux; theyve got everything else... {grumble} thanks, polyt. gary -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsdinstall misaligns partitions
Warren Block: * Funnily enough, the ancient BSD dangerously dedicated scheme is the only one that out of the box does not misalign partitions. The filesystems don't begin at the start of the slice anyway. There is a bsdlabel there. Yes and no. If you look at the bsdlabel(8) output, the size of 'c' is exactly the same as the sum of the sizes of the other partitions, as well as exactly the size of the fdisk slice. There is no additional reserved space for the label. So where does the disklabel hide? FFS1 (FFS2) leaves 8 kB (64 kB) of space at the start of _every_ filesystem. The first 8 kB of the slice--overlapping with the start of 'c' and the start of 'a'--hold boot1, the disklabel, and boot2. If you hexdump /boot/boot2, you'll notice that the first 0x114 bytes are zeroed out; those 276 bytes are exactly where the disklabel is located on disk. See sys/disklabel.h and ufs/ffs/fs.h. -- Christian naddy Weisgerber na...@mips.inka.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: somewhat OT ... in parts
On Fri, Jan 04, 2013 at 06:09:53AM -0800, Devin Teske wrote: On Jan 3, 2013, at 11:03 PM, Polytropon wrote: On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote: one question I have may solve the problem of vim displaying all the ^/search terms and displaying them in some color. the default brown is awful, but dark blue isn't much bbetter. If you try :colorscheme blue you can see that the results have orange background with dark text (maybe black?), while the editor background is blue (as the name of the color scheme suggests). So: can I add something to my ~/.vimrc that =limits= the search to displaying one term? if I am searching for, say, the or I guess /\the\, I dont want every the in my file. I want only one. or one at a time, and not necessarily in color. If you have :set hlsearch activated, all (visible) matches will be highlighted, :set hls :set nohls for short to enable/disable (respectively). and the cursor will be placed at the first match. YES! well, at least it works when I reply in mutt --which ive got set to use vim. the set strings immediately vanished from deep blue ... in other words, I can read the reply much more easily. I put the :set nohls in my ~/.muttrc and got an error when I exec'd mutt. I'll try without the colon. On a side note, there's also :set incsearch That will make you jump ahead as you type (I personally don't care for it). right; I see that incsearch jumps ahead to the next /search term [.] I can see a use if you are searching for, say /\i\ or /\j\ , maybe. I don't see an option to highlight the _next_ result only. However, if you do _not_ set hlsearch, searching and continuing searching will not highlight anything, instead let the cursor skip to the next match (tried here with gvim /COPYRIGHT, /this, /, /, / and so on), with :set nohlsearch for testing. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update: fale?
On Thu, Jan 03, 2013 at 03:50:44PM +0100, Martin Laabs wrote: Hi, On 01/02/13 01:21, Joe Altman wrote: Greetings, list. I have the following error; though I can load update5.FreeBSD.org in a browser: [...] maybe you use a release that is not supported by freebsd-update. Run uname -r an compare the release with that you see when looking at http://update4.freebsd.org/ If it is not there you can not use freebsd-update. Yes; I realized that after I revisited the man page and handbook; somehow I managed to miss that initially. I'm currently using 9.1-PRERELEASE. Now I am left to wonder how that state will last; ISTM that eventually 9.1 will be supported by freebsd-update but I cannot tell when that might happen. Given that CVSUP is going away soon, I can't see reinstalling it just for this unnecessary upgrade. Since I appear to be stuck between things, I have three questions: 1) Is there any way to guesstimate how long until 9.1 is supported by freebsd-update? 2) Am I correct in assuming that there is no good reason (security concerns, for instance) to update right now? I seem to have no problems with my system; it runs fine. 3) Does freebsd-update really require at least a Gig of space in /var for a major or minor upgrade? If so, it looks like I may as well reinstall the OS, since I never anticipated needing that much in /var. At this point, given the amount of 'portupgrade -fr' I'll need to do, it might consume less time to start from scratch. Thanks for the followup, and best regards, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problem upgrading to 9.1-Release
I have upgraded my development system to 9.1 without any problems. This system maintains kernel source and I build a new kernel with a couple extra options there. The other systems mount /usr/src and /usr/obj from it and do the install. The first one to be upgraded had no problem with make installkernel. Rebooted and ran mergemaster -p just fine. However make installworld dies within a couple seconds with the following error: install -o root -g wheel -m 444 libc_pic.a /usr/lib gencat be_BY.UTF-8.cat /usr/src/lib/libc/nls/be_BY.UTF-8.msg gencat: No such file or directory *** [be_BY.UTF-8.cat] Error code 1 /usr/bin/gencat exists. However, ktrace of the make shows: 3347 make CALL execve(0xbfbfd1c8,0x28c35f14,0x28421180) 3347 make NAMI /usr/obj/usr/src/tmp/legacy/usr/sbin/gencat 3347 make RET execve -1 errno 2 No such file or directory 3347 make CALL execve(0xbfbfd1c8,0x28c35f14,0x28421180) 3347 make NAMI /usr/obj/usr/src/tmp/legacy/usr/bin/gencat 3347 make RET execve -1 errno 2 No such file or directory 3347 make CALL execve(0xbfbfd1c8,0x28c35f14,0x28421180) 3347 make NAMI /usr/obj/usr/src/tmp/legacy/usr/games/gencat 3347 make RET execve -1 errno 2 No such file or directory 3347 make CALL execve(0xbfbfd1c8,0x28c35f14,0x28421180) 3347 make NAMI /usr/obj/usr/src/tmp/usr/sbin/gencat 3347 make RET execve -1 errno 2 No such file or directory 3347 make CALL execve(0xbfbfd1c8,0x28c35f14,0x28421180) 3347 make NAMI /usr/obj/usr/src/tmp/usr/bin/gencat 3347 make RET execve -1 errno 2 No such file or directory 3347 make CALL execve(0xbfbfd1c8,0x28c35f14,0x28421180) 3347 make NAMI /usr/obj/usr/src/tmp/usr/games/gencat 3347 make RET execve -1 errno 2 No such file or directory 3347 make CALL execve(0xbfbfd1c8,0x28c35f14,0x28421180) 3347 make NAMI /tmp/install.CuIzLuBX/gencat 3347 make RET execve -1 errno 2 No such file or directory 3347 make CALL write(0x2,0x28c48c00,0x6) 3347 make GIO fd 2 wrote 6 bytes gencat Obviously its not in any of those places. How can I fix this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update: fale?
Joe Altman wrote: On Thu, Jan 03, 2013 at 03:50:44PM +0100, Martin Laabs wrote: Hi, On 01/02/13 01:21, Joe Altman wrote: Greetings, list. I have the following error; though I can load update5.FreeBSD.org in a browser: [...] maybe you use a release that is not supported by freebsd-update. Run uname -r an compare the release with that you see when looking at http://update4.freebsd.org/ If it is not there you can not use freebsd-update. Yes; I realized that after I revisited the man page and handbook; somehow I managed to miss that initially. I'm currently using 9.1-PRERELEASE. Now I am left to wonder how that state will last; ISTM that eventually 9.1 will be supported by freebsd-update but I cannot tell when that might happen. Given that CVSUP is going away soon, I can't see reinstalling it just for this unnecessary upgrade. Since I appear to be stuck between things, I have three questions: 1) Is there any way to guesstimate how long until 9.1 is supported by freebsd-update? 2) Am I correct in assuming that there is no good reason (security concerns, for instance) to update right now? I seem to have no problems with my system; it runs fine. 3) Does freebsd-update really require at least a Gig of space in /var for a major or minor upgrade? If so, it looks like I may as well reinstall the OS, since I never anticipated needing that much in /var. At this point, given the amount of 'portupgrade -fr' I'll need to do, it might consume less time to start from scratch. Thanks for the followup, and best regards, Joe Heres a work around that should work. For your 9.1-PRERELEASE you can temporary change that so freebsd-update will work for you. Issue this console command on your system. setenv UNAME_r 9.0-RELEASE Now when you run freebsd-update it will think your system is 9.0-RELEASE and go through with the update to 9.1-RELEASE. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Trying to update from 9.0 to 9.1 via svn
Trond Endrestøl wrote: BTW, do you nuke the contents of /usr/obj prior to recompiling the system? The command rm -Rf /usr/obj/* should accomplish this rather well. That might have been the issue, yes. Works now. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Trying to update from 9.0 to 9.1 via svn
Hi, On Sat, 5 Jan 2013 02:40:13 + (UTC) Helmut Schneider jumpe...@gmx.de wrote: Trond Endrestøl wrote: BTW, do you nuke the contents of /usr/obj prior to recompiling the system? The command rm -Rf /usr/obj/* should accomplish this rather well. That might have been the issue, yes. Works now. Thanks. doesn't this indicate an error in the make file? Shouldn't sources be compiled when their date is newer then the date of the object file? Or was the last compilation done after the affected file got updated at the server? Shouldn't there be a system in place which automatically deletes all object files automatically? Either a process is automated 100% or not at all is what I would say. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: somewhat OT ... in parts
On Fri, 4 Jan 2013 13:59:45 -0800, Gary Kline wrote: On Fri, Jan 04, 2013 at 08:03:39AM +0100, Polytropon wrote: On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote: one question I have may solve the problem of vim displaying all the ^/search terms and displaying them in some color. the default brown is awful, but dark blue isn't much bbetter. If you try :colorscheme blue you can see that the results have orange background with dark text (maybe black?), while the editor background is blue (as the name of the color scheme suggests). So: can I add something to my ~/.vimrc that =limits= the search to displaying one term? if I am searching for, say, the or I guess /\the\, I dont want every the in my file. I want only one. or one at a time, and not necessarily in color. If you have :set hlsearch activated, all (visible) matches will be highlighted, and the cursor will be placed at the first match. I don't see an option to highlight the _next_ result only. However, if you do _not_ set hlsearch, searching and continuing searching will not highlight anything, instead let the cursor skip to the next match (tried here with gvim /COPYRIGHT, /this, /, /, / and so on), with :set nohlsearch for testing. Hm. there must be something in Muttrc. I dont see it in my local ~/.muttrc; this something is controlling every /search term and highlighting it. That should be the default of :set hls (usually in ~/.vimrc), as I assume Mutt inlines vim. the regular vim /tmp/foofile.c /tmp/footext is fine. it's only in mutt that highlights EVERY instance that I'm searching for. I'll figure it out eventually if you don't know offhand. or anybody else. Search for flags to vim as editor, :set hlsearch or :set hls. You can add your own :set nohlsearch or :set nohls at the end of the file to try to deactivate the effect. This should also work when manually entered during an editor session. maybe I should just find keith bostic's newvi; see if they have it for linux; theyve got everything else... {grumble} I know there's nvi in ports. Maybe those will be helpful: http://garage.linux.student.kuleuven.be/~skimo//nvi/ nvi download here: https://sites.google.com/a/bostic.com/keithbostic/files Project page and FAQ: https://sites.google.com/a/bostic.com/keithbostic/vi -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
system restart after some seconds
Hi How can I restart my freeBSD after specific seconds ? Thanks in advance ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: somewhat OT ... in parts
On Fri, 4 Jan 2013 14:29:39 -0800, Gary Kline wrote: On Fri, Jan 04, 2013 at 06:09:53AM -0800, Devin Teske wrote: On Jan 3, 2013, at 11:03 PM, Polytropon wrote: On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote: one question I have may solve the problem of vim displaying all the ^/search terms and displaying them in some color. the default brown is awful, but dark blue isn't much bbetter. If you try :colorscheme blue you can see that the results have orange background with dark text (maybe black?), while the editor background is blue (as the name of the color scheme suggests). So: can I add something to my ~/.vimrc that =limits= the search to displaying one term? if I am searching for, say, the or I guess /\the\, I dont want every the in my file. I want only one. or one at a time, and not necessarily in color. If you have :set hlsearch activated, all (visible) matches will be highlighted, :set hls :set nohls for short to enable/disable (respectively). and the cursor will be placed at the first match. YES! well, at least it works when I reply in mutt --which ive got set to use vim. the set strings immediately vanished from deep blue ... in other words, I can read the reply much more easily. I put the :set nohls in my ~/.muttrc and got an error when I exec'd mutt. I'll try without the colon. Yes, that's the correct syntax (like for .vimrc). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: system restart after some seconds
05.01.2013 11:43, Jack Mc Lauren пишет: How can I restart my freeBSD after specific seconds ? SHUTDOWN(8): - NAME shutdown, poweroff — close down the system at a given time SYNOPSIS shutdown [-] [-h | -p | -r | -k] [-o [-n]] time [warning-message ...] poweroff [...] -r The system is rebooted at the specified time. - -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: system restart after some seconds
On Fri, 4 Jan 2013 23:43:57 -0800 (PST), Jack Mc Lauren wrote: How can I restart my freeBSD after specific seconds ? Unelegant and obvious: # sleep 10 ; shutdown -r now If you need this to happen automatically, use /etc/rc.local, and maybe put the whole command into background using (...). Beware - endless loop! You need to be fast enough to revert the change or go to SUM to do so. :-) Parameters to shutdown itself, as well as for the at command, only allow minutes as most precise elements; see man shutdown and man at for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org