IT Question
Hi Webmaster, I run an Information Technology website http://www.informationtechnologydegree.com. I spent some time earlier today looking through the resource links listed on your site, and I thought you would like to know I found a broken link on this page: http://freebsd.isu.edu.tw/es/news/press.html This is the broken link I came across: http://www.data.com/ When you get a chance to fix this broken link, if you find an open spot for a link to my site, http://www.informationtechnologydegree.com, I would certainly appreciate it. I believe my site is one of the largest actively maintained resources listing accredited schools offering an IT degree. Thanks for taking a look! Charlie Leonard___ 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: Easiest desktop BSD distro
On Tue 29 Mar 2011 at 13:59:44 PDT Jerry McAllister wrote: On Tue, Mar 29, 2011 at 02:45:27PM -0500, Jason Hsu wrote: I want to learn BSD. I find that the best way to familiarize myself with a distro is to adopt it as my main distro (for web browsing, email, word processing, etc.). But the challenge of BSD have so far proven too much for me. It would take too long to configure FreeBSD to my liking. I couldn't figure out what to enter in GRUB to multi-boot Linux and BSD. I tried PC-BSD, GhostBSD, and DragonflyBSD in VirtualBox. I've found PC-BSD agonizingly slow to install and operate, and KDE didn't even boot up when I logged in. GhostBSD has too many things that don't work, such as the keyboard on my laptop and my Internet connection on my desktop. DragonflyBSD didn't boot up in Virtualbox. I recommend Linux Mint as a first Linux distro. It's user-friendly, well-established, widely used, includes codecs/drivers that Ubuntu doesn't, and has a Windows-like user interface. For those with older computers, I recommend Puppy Linux or antiX Linux as a first distro. I'm looking for the analogous choice in the BSD world. So what do you recommend as my first desktop BSD distro? What desktop BSD distro is so easy to use that even Paris Hilton or Jessica Chicken of the Sea Simpson can handle it? Please keep in mind that I have a slow Internet connection, and these BSD distros are ENORMOUS. It took some 12-14 hours to download PC-BSD. FreeBSD is just one OS. There are some other BSD's such as PC-BSD, but it is not like Lunix with many different candy coatings over the same chewy carmel center. In BSD, each is its own OS, although there are definite similarities. If you really mean to learn BSD, then download the latest FreeBSD RELEASE (which is 8.2 at the moment) installation ISO, burn it, install it, configure it and use it. Everything goes on it easily from /usr/ports/... Just follow the handbook. In FreeBSD, the handbook is your friend followed by the man pages and Google. They are very good compared to what you find elsewhere on other systems. If you are not willing to do that, then really you are not that interested in learning it, so why bother. To put what Jerry said in another way, if what you mean by configuring FreeBSD to my liking is making it look, feel and behave as much as possible like the Linux and Windows systems you're familiar with, you aren't really learning FreeBSD at all. To really learn any operating system, you have to approach it on its own terms and be willing to accept that it has its own way of doing things. Its own idioms and paradigms. It has its own history of design decisions, unforeseen consequences and problem resolutions. Some problems that arise on one OS never come up on another, because they approach things from entirely different angles. There are also some rather significant differences in the goals and tastes of the user communities associated with different OSes. BSD folk don't necessarily have the same interests as Linux folk, just as Mac people are different from Windows people, and Windows people are different from anyone in the world of Unix-like operatings systems. And Plan 9 people are different from all the rest of them put together. ;) The whole point of learning more than one OS, in my opinion, is to explore the strengths and weaknesses of different designs, development philosophies and ways of using computers. Otherwise, you're just being a software dilettante. So, just whack on FreeBSD and learn it. Once you know it pretty well you can play around with dual booting Lunix if you still want to or maybe you will discover the cleaner and more straightforward BSD system more to your liking and just stick with it. Who knows. It should only take a few days. jerry ___ 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: searching for a good IDE
On Sun 27 Mar 2011 at 07:02:33 PDT Alokat wrote: On 03/27/11 15:49, Bruce Cran wrote: On Sun, 27 Mar 2011 15:41:28 +0200 Alokatmail...@alokat.org wrote: I'm searching for a good IDE for my development stuff - c, c++, python, rails, php Can someone advise one? And I don't wanna use eclipse. :-) KDevelop (http://www.kdevelop.org/) 4 is quite good. Maybe ... but it's QT! :( Is gtk OK? Try anjuta, or geany. Personally, I prefer vim. ;) ___ 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: searching for a good IDE
On Sun 27 Mar 2011 at 11:57:46 PDT Chris Brennan wrote: On Sun, Mar 27, 2011 at 2:07 PM, Chip Camden sterl...@camdensoftware.com wrote: Quoth Charlie Kester on Sunday, 27 March 2011: Personally, I prefer vim. ;) +1 Someone will object that the OP asked for an IDE. IMO, vim Integrates quite well with the shell, make, etc. vim is all one needs ... once I sat down and learned the basics of vim/vi I stopped installing nano, I feel much more comfortable in vim now then any other editor, even notepad. gvim on my *one* windows machine and vim everywhere else makes me very happy. As Chip said, vi/vim integrates nicely with the shell and other development tools. Along with those tools, it provides a flexible and powerful development environment. It just doesn't do it in the way most people think of when they talk about IDEs. If the OP is looking for something more like Visual Studio or Xcode, however, then I would repeat my suggestion to look at anjuta and geany. Codelite and Code::Blocks might also be worth considering. ___ 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: Apple FreeBSD relationship
On Thu 10 Mar 2011 at 05:51:06 PST Tom Worster wrote: and as far as investing in corporate stock is concerned, oss virtue (like environmental virtue or sweat shop virtue) is just so much marketing blather. a corporation's responsibility is to make money for its investors. business ethics is and always will be purely utilitarian. apple has good marketing but don't kid yourself. Unless you're buying newly-minted stock, you aren't giving any money to Apple when you buy shares of AAPL. You're giving money to some other person, who bought the shares a while ago and now wants to cash in. In turn, he might have bought them from another investor. In many cases, you have to go a long way back, sometimes all the way to the IPO, before the money goes to the company. They get money when they issue stock, not when it's traded. What you're doing when you buy stock -- especially stock that pays little or no dividends -- is placing a bet that sometime in the future you'll be able to find someone willing to buy it from you at a higher price than you paid. Moreover, the price of most stocks is determined solely by what people are willing to pay for them. Forget all that noise about sales forecasts, P/E, etc. There is no direct, causal connection between those fundamentals and the stock price. They're as pertinent as a baseball player's batting average is to the price of the bubblegum card with his picture on it. You're trading collectibles, and they're subject to the whims of fashion. In summary, I agree with what has been said about contributing to the FreeBSD Foundation if you really want to help the project. It's a much better use of your money. But if you'd rather trade baseball cards, no one's stopping 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: Apple FreeBSD relationship
On Wed 09 Mar 2011 at 14:00:37 PST Nerius Landys wrote: This is not a technical question. Basically I have some cash sitting around. I'm thinking of investing part of it with a company that I believe in. Apple came to mind. You could say that I'd like to judge Apple's moral character before investing money with them. Does anyone know how Apple reciprocates to FreeBSD? After all a lot of MacOSX is borrowed from FreeBSD. I am not seeing Apple's name on this page: http://www.freebsdfoundation.org/donate/sponsors.shtml . Are there other ways in which Apple might be reciprocating? If memory serves, they've been heavily involved in the LLVM/Clang project. That said, see my other reply today about what buying stock is really all about. ___ 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: Apple FreeBSD relationship
On Thu 10 Mar 2011 at 10:48:05 PST Jerry wrote: On Thu, 10 Mar 2011 08:39:04 -0800 Charlie Kester corky1...@comcast.net articulated: On Thu 10 Mar 2011 at 05:51:06 PST Tom Worster wrote: and as far as investing in corporate stock is concerned, oss virtue (like environmental virtue or sweat shop virtue) is just so much marketing blather. a corporation's responsibility is to make money for its investors. business ethics is and always will be purely utilitarian. apple has good marketing but don't kid yourself. Unless you're buying newly-minted stock, you aren't giving any money to Apple when you buy shares of AAPL. You're giving money to some other person, who bought the shares a while ago and now wants to cash in. In turn, he might have bought them from another investor. In many cases, you have to go a long way back, sometimes all the way to the IPO, before the money goes to the company. They get money when they issue stock, not when it's traded. What you're doing when you buy stock -- especially stock that pays little or no dividends -- is placing a bet that sometime in the future you'll be able to find someone willing to buy it from you at a higher price than you paid. Moreover, the price of most stocks is determined solely by what people are willing to pay for them. Forget all that noise about sales forecasts, P/E, etc. There is no direct, causal connection between those fundamentals and the stock price. They're as pertinent as a baseball player's batting average is to the price of the bubblegum card with his picture on it. You're trading collectibles, and they're subject to the whims of fashion. In summary, I agree with what has been said about contributing to the FreeBSD Foundation if you really want to help the project. It's a much better use of your money. But if you'd rather trade baseball cards, no one's stopping you. Actually, if the individual buys stock, and there are different types, the purchaser has a possibility of making a profit on his investment. I certainly wouldn't deny this. I said as much, when I talked about finding a buyer willing to pay more for the shares than you did. There are other ways to profit, as you've pointed out. I don't deny those either. My main point was that buying stock is usually an ineffective way to support a company that is doing something you like. At best, by bidding up the stock price, you increase the value of the portfolios held by the company's executives and board members. But whether they will interpret that increase in their wealth as a signal that they should do more of what you like is the big question. In Apple's case, I think they would be more likely to see it as a reason to do more of the proprietary and immensely profitable kind of things they've been doing with the iPhone. Giving the money to the FreeBSD Foundation sends a clearer signal about how you want it spent. Especially if you earmark it for a specific project. ___ 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: HAL must die!
On Mon 07 Mar 2011 at 09:00:14 PST Chad Perrin wrote: Did you know you can configure YouTube to use HTML5 instead of Flash now? Adobe is in danger of becoming irrelevant. Meh. I never watch videos on the website anyway. I download them with cclive, as mp4's. Not sure what any of this has to do with HAL, however. ___ 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: Bug report marked [regression]
On Sun 06 Mar 2011 at 10:58:57 PST Warren Block wrote: On Sun, 6 Mar 2011, Lars Eighner wrote: If my bug report is marked [regression] what does that mean? Am I a troglodyte or a Luddite or something? Regression is something that used to work but doesn't any more. Like me. I'm retired now, so the description fits. ;) ___ 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: Purchased Binaries
On Fri 04 Mar 2011 at 13:24:32 PST Doug Hardie wrote: I have a client who has purchased some software. I don't know anything much about it yet other than it claims to run on Debian and CentOS. I suspect its binaries. I will have access to things like the developer, name etc. on Monday. However, thats when he needs to know if I can make it run on FreeBSD. Are you bidding against a Linux guy for this job? That doesn't sound like a reasonable demand. Does he want your final answer on Monday, or do you think you can buy some time for further investigation if you tell him about FreeBSD's support for the Linux ABI, etc.? Maybe bring in a FreeBSD laptop and do a demo where you install some Linux binary from the web and show him that it runs? (Be sure to practice the demo beforehand!) I still wouldn't give him an ironclad guarantee that the software he bought will run too, but perhaps the demo will raise his confidence level enough to give you a chance to find out. ___ 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: Build error nasm
On Wed 02 Mar 2011 at 08:56:25 PST Bernt Hansson wrote: Hello list Trying to build nasm-2.09.04,1 Bails out at cc -c -O2 -pipe -fno-strict-aliasing -W -Wall -std=c99 -pedantic -DHAVE_CONFIG_H -I. -I. -o regdis.o regdis.c cc -o ndisasm ndisasm.o disasm.o sync.o nasmlib.o ver.o insnsd.o insnsb.o insnsn.o regs.o regdis.o nroff -man nasm.1 nasm.man troff: fatal error: can't find macro file tty-char gmake: *** [nasm.man] Fel 1 *** Error code 1 and if I try man man # man man Formatting page, please wait...troff: fatal error: can't find macro file tty-char Failed. troff: fatal error: can't find macro file tty-char Don't really know what to do. I think the file it's looking for is /usr/share/tmac/tty-char.tmac. Do you have that on your system and are read permissions set? ___ 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: BSD Magazine PDFs
On Sat 19 Feb 2011 at 13:50:22 PST Mike Jeays wrote: On Sat, 19 Feb 2011 16:37:14 -0500 Alfredo Perez alfredo...@gmail.com wrote: I am missing them all, can you upload them somewhere? They are all online at bsdmag.org I think they'd like you to subscribe to their newsletter before downloading the electronic version of the magazines. Seems like a small and reasonable price to pay. Also, if we start downloading them from other sources, they won't have an accurate count of the number of copies in circulation -- which impacts their ability to sell the advertisements which are the only thing keeping this excellent resource going. ___ 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: BSD Magazine PDFs
On Fri 18 Feb 2011 at 08:13:19 PST MFV wrote: Hello, I've been downloading BSD Mag since it first came out and your list is identical to mine. Same here. ___ 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: Best Laptop to buy for Freebsd Without OS?
On Thu 17 Feb 2011 at 10:43:24 PST Jorge Biquez wrote: Hello all. I am evaluating to buy a new laptop for using it only with Freebsd. I know in the website mention some options. Thing is that here the most powerful ones (I3, I5 I7) are sold ONLY with Windows installed and that increase the value of the equipment. I want the best option at a nice price (could be Intel or AMD) the ide is to have it as my main machine and when I need Linux or Windows have them there running under VirtualBox. The use will be mainly for web development. My idea is to buy it with FreeDos or Linux installed or without operating system but here there is not an option for powerful equuipment unless you want one with Atom processor. The powerful one came ONLY with Windows installed. I am thinking to ask a friend that travels frequently to USA to buy one for me. Any suggestion of where and what equipment to buy, without OS (Windows) preinstalled? Of course at a good price and the most powerful one. Does it have to be new? The best deal might be to get a used laptop. Then it doesn't matter what it originally shipped with, all you care about is whether it's on the FreeBSD hardware compatibility list. Along these lines, I've seen many people recommending used ThinkPads. Might not be powerful enough for the latest Windows, but more than capable for running a BSD. ___ 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: Could any port be sucking up bandwidth?
On Tue 25 Jan 2011 at 22:49:40 PST Gary Kline wrote: Guys, Before the 11th of January I was streaming both audio and video streams with little to zero wait time. In other words, I could stream about 50 minutes of audio with only a second or two of pause time delay [[AKA congestion]]. After that date there was a steep decline in streaming performance and I went at upgrading my server with a vengeance to see if that fixed things. Upgrading my 700 ports only led to other things breaking. I am wondering if anyone else in North America has a DSL connection and has seen the kind of degradation in performance after doing (something) to their FreeBSD servers. I have around 1Mb down and 864Kb up ... according to the telco. Any ideas will be much appreciated. This kind of random fishing expedition is unlikely to succeed. You need to take a more methodical approach to the problem. Luckily, Kris Kennaway did a presentation a while ago that teaches you the *right* way to fish: http://www.youtube.com/watch?v=Mfb5_uG7BCA Learn what diagnostic tools are available, where they're appropriate, and how to use them. ___ 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: putting /tmp to memory
On Sun 23 Jan 2011 at 11:13:23 PST Terrence Koeman wrote: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of kellyremo Sent: Sunday, January 23, 2011 14:47 To: FreeBSD Subject: putting /tmp to memory Importance: High to memory means: mounting a ~2 GByte filesystem [ tmpfs?, or ramfs? ], and put the /tmp on it. [ e.g.: 4 GByte ram in the pc ]. what to write in the /etc/fstab? I would like to collect the [ answers too:P ]: Advantages: - Memory is way faster then HDD/SSD, so it could speed things up - SSD amortization is less Disadvantages: - Security? [ how to set this up to be secure? any clear howtos/links regarding it? :O ] Really thank you for any good help... In rc.conf: tmpmfs=YES tmpsize=2G tmpmfs_flags=-S That'll do it :) For other tmpmfs_flags, man mdmfs(8). My rc.conf, for example, has: tmpmfs_flags=-m 0 -o async, noatime -S -p 1777 ___ 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: Colorized compiler/linker messages
On Sat 22 Jan 2011 at 18:00:52 PST Michael D. Norwick wrote: Good Day, I have seen this for some time when building ports and was wondering how it was done. GCC when compiling and linking certain programs, ebook for example, emits messages in various colors. How is that done? Where does one find what the various colors are supposed to signify? Or, is it just because it's more appealing? CMake can be used to generate Makefiles that produce colorized output, and I would wager that it's being used by most of the ports where you're seeing color. But there are many tools a developer might use for this. For example, I found this in my bookmarks file: http://phil.freehackers.org/pretty-make/index.html I think it's mostly aesthetics, but some people claim that using different colors for different build steps makes it easier to monitor the progress of the build. For example, if the link or install steps are a different color than the configuration or compile steps, you can see that the build is in its final stages even if you're on the other side of the room. ___ 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: How to adjust man page line length [SOLVED]
On Wed 19 Jan 2011 at 21:36:19 PST David Kelly wrote: On Jan 19, 2011, at 10:51 PM, David J. Weller-Fahy wrote: [...] That did the job, but made `man -k`, which my fingers find familiar, unusable. I remembered you were running a CURRENT snapshot, so figured I'd check the difference between man in HEAD and 8.1-RELEASE... WOW! The man in HEAD is now a shell script. In ancient times man was originally a shell script. What is old is new again. Is this a consequence of the move to mdocml instead of groff? ___ 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: Where to post FreeBSD tutorials?
On Thu 30 Dec 2010 at 17:17:31 PST Xn Nooby wrote: If I write a document about how to do something with FreeBSD, is there a good place to post it, or a link to it? Something like how to edit a video in FreeBSD, not official documentation. I usually have to google things to find them, and often find the answer on stackoverflow or howtoforge. Sometimes it hard to find things in google, and sometimes I'm not sure what I'm looking for. There's a howto section of the forums that's intended for precisely this kind of thing. http://forums.freebsd.org/forumdisplay.php?f=39 ___ 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
ZFS RAIDZ Controller Disk Order
Hi All, I have an old server which has FreeBSD on it. It has a cheap PCI raid controller in it, with the disks just set to pass through to the OS. Then the OS had a RAIDZ configured array form the 6 x 250gig disks passed through from the raid controller. I decided to upgrade to an array of 4 2TB disks running on new hardware (using the same server case). The disks were in a separate chassis to the motherboard, its quite complicated! So I copied the data off the old array via NFS to a separate 2TB disk. Then built the new array. Unfortunately I have realised I forgot to copy my old photos off the old array. I would really like to recover the old photos although, I suppose its not the end of the world if they are lost. As a fail safe I had left the old array disks as they were so, that I can just plug them back in if anything went wrong. Or so I thought! On plugging them back in zpool is complaining that they are all corrupt, except the first 2. It seems fairly unlikely I have got that unlucky. So I was wondering, does the order they were in the controller matter. They are all being presented in the same range of addresses da0 through da5 but they are probably connected up to different ports, so da0 is now da2 and so on. Can anyone think of a way to get them back in the correct order if it does matter, other than trial and error. Can I find out what number each one was in the pool from the disk somehow? Thanks, Charlie ___ 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: ZFS RAIDZ Controller Disk Order
On Wed, Dec 29, 2010 at 12:50 PM, David Rawling d...@pdconsec.net wrote: On 29/12/2010 11:08 PM, Charlie Mason wrote: Is it perhaps possible to disconnect the disks again, boot the system, and remove the ZFS pool cache (which location escapes me for the moment). Then you should be able to import the pool again using the -f switch (force). I think if you are using the cache, the order matters. If you're importing a fresh pool, the system simply needs to find enough member disks. I'm not a ZFS expert though... Thanks for the info Dave. I managed to find the cache file. On my install its under /boot/zfs/zpool.cache. I have also seen reports of it under /etc/zfs whilst googling (I think that was Solaris though). For safety's sake I backed it up and rebooted the server. Zpool then lost all trace of the old array. Then I used the zpool import command which was able to automatically locate the array then I simply imported it by its name. Magically all is working agian! So I can now get my photos off the old array and on to the new one. Thanks again for the info, its been really useful. Charlie ___ 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: Problem with dbus update
On Mon 27 Dec 2010 at 15:10:35 PST Charlie Kester wrote: On Mon 27 Dec 2010 at 12:13:32 PST Alexander Konotop wrote: Same problem. It's seems like it's not hanging, but awaiting of something. We've been discussing this on the forums. The problem seems to be that textproc/man2html is broken. Warren Block pointed out that if you deinstall man2html, the dbus upgrade will succeed. (It just won't build html'ized versions of the manpages.) If you do need the html'ized manpages, I suggest you build them after the upgrade, perhaps using www/man2web instead. I need to correct something I said here. textproc/man2html is NOT broken. It simply wasn't intended to be used in the way the dbus Makefiles are trying to use it. man2html only takes its input from stdin. If you specify a filename on its commandline, as the dbus Makefile does, man2html will ignore it and simply wait for input on stdin. Since that input never comes, the dbus build appears to hang. I've submitted a PR to patch the dbus port so it uses man2html correctly. ___ 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: How to build a BROKEN port?
On Wed 29 Dec 2010 at 17:31:37 PST Randal L. Schwartz wrote: Giorgos == Giorgos Keramidas keram...@ceid.upatras.gr writes: Giorgos Edit it's 'Makefile'. Look for an assignment of the form: Minor nit... that's its not it's. If you can't say it is or it has in place, then it's its, not it's. :) English has some funny rules. Most of the time, possessives are formed with apostrophe+s. I'm not sure, but its might be the only exception to the rule. So I tend to be more forgiving when people get it wrong -- especially when English is not their native tongue. On the other hand, people who write loose when they mean lose deserve our most scathing scorn. :) ___ 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: Problem with dbus update
On Mon 27 Dec 2010 at 12:13:32 PST Alexander Konotop wrote: Same problem. It's seems like it's not hanging, but awaiting of something. We've been discussing this on the forums. The problem seems to be that textproc/man2html is broken. Warren Block pointed out that if you deinstall man2html, the dbus upgrade will succeed. (It just won't build html'ized versions of the manpages.) If you do need the html'ized manpages, I suggest you build them after the upgrade, perhaps using www/man2web instead. ___ 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: printer recommendations?
On Mon 20 Dec 2010 at 19:53:32 PST Reed Loefgren wrote: On 12/20/10 18:05, Polytropon wrote: On Mon, 20 Dec 2010 12:25:03 -0800, David Brodbeckg...@gull.us wrote: On Wed, Dec 8, 2010 at 1:42 AM, Charlie Kestercorky1...@comcast.net wrote: As a last gasp effort, I gave my LJ4+ a thorough cleaning and replaced the rollers for the output feed in the back. And hey, it seems to be working now! The way it had been sounding, I was sure I'd broken something the last time I replaced the toner cartridge after clearing a paper jam. But maybe I just didn't have the cartridge properly seated... So now I'm looking into ways to adapt it to use a network connection. If you shop around you should be able to find an old JetDirect MIO card that will slot into the back of it. That's the best solution. Agreed. There's an alternative solution that should be mentioned: In the past, there have been adaptors from parallel (Centronics) to RJ45 UTP network that could be put directly onto the back of the printer. Other more elegant solutions were small print servers, connected and configured via network, allowing one or two parallel printers to be attached. I'm not sure if such devices are still sold, but you should be able to get a used one for less than nothing. :-) Just lurking. Twice now I've purchased jetdirect cards, new in the box, on ebay for less than US$15.00 each. They work flawlessly. 4 Pluses are nice, much faster than my straight 4s. Built like a Checker Cab, almost as heavy... LOL. Nice image. I was thinking it reminded me of my first car, an old 1955 Chevy. Thanks for suggesting the jetdirect cards, guys. I vaguely remembered seeing something like that, but I assumed that if any still existed in operating condition, they were inside a printer and not available for seperate purchase. ___ 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: bash increment in a given way
On Sat 11 Dec 2010 at 06:34:20 PST S Mathias wrote: It's ok, that i can use this, when i want an incrementing sequence, in a given way: # {START..END..INCREMENT} $ for i in {0..10..2}; do echo Welcome $i times; done Welcome 0 times Welcome 2 times Welcome 4 times Welcome 6 times Welcome 8 times Welcome 10 times $ but what's the magic for this? : $ MAGIC; do echo Welcome $i times; done Welcome 0 times Welcome 1 times Welcome 4 times Welcome 5 times Welcome 8 times Welcome 9 times $ man jot(1) ___ 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: bash increment in a given way
On Sat 11 Dec 2010 at 09:57:08 PST Charlie Kester wrote: On Sat 11 Dec 2010 at 06:34:20 PST S Mathias wrote: It's ok, that i can use this, when i want an incrementing sequence, in a given way: # {START..END..INCREMENT} $ for i in {0..10..2}; do echo Welcome $i times; done Welcome 0 times Welcome 2 times Welcome 4 times Welcome 6 times Welcome 8 times Welcome 10 times $ but what's the magic for this? : $ MAGIC; do echo Welcome $i times; done Welcome 0 times Welcome 1 times Welcome 4 times Welcome 5 times Welcome 8 times Welcome 9 times $ man jot(1) Or maybe not. It's still morning here and the coffee hasn't kicked in yet. I usually reach for jot when constructing loops that look like yours, but on second glance I'm not sure it can produce the output you want. ___ 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: printer recommendations?
On Tue 07 Dec 2010 at 23:39:26 PST Polytropon wrote: On Fri, 3 Dec 2010 21:57:49 -0800, Charlie Kester corky1...@comcast.net wrote: My LJ4+ was connected via parallel and I never noticed any problems with error messages or the speed. Error messages: This started with FreeBSD 7. The system log gets full of lpt0: [GIANT-LOCKED] lpt0: [ITHREAD] when printing. I even have hw.intr_storm_threshold=1000 in /boot/loader.conf. I didn't have this problem with 4 and 5. Oh yeah, *those* messages. I did have those too. As a last gasp effort, I gave my LJ4+ a thorough cleaning and replaced the rollers for the output feed in the back. And hey, it seems to be working now! The way it had been sounding, I was sure I'd broken something the last time I replaced the toner cartridge after clearing a paper jam. But maybe I just didn't have the cartridge properly seated... So now I'm looking into ways to adapt it to use a network connection. ___ 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: printer recommendations?
On Fri 03 Dec 2010 at 19:29:52 PST Polytropon wrote: On Fri, 3 Dec 2010 19:26:43 -0700 (MST), Warren Block wbl...@wonkity.com wrote: The last time I used parallel on FreeBSD, it was slow...well, slower than expected. Haven't really tested USB printers for speed. Ethernet is superior in many ways. The speed is acceptable, just the error messages are annoying, started with FreeBSD 7, I think. I do feed PCL into the printer as this is faster than PS, but recent office class printers do provide good (and FAST!) PS support. An example for a well-designed internal CPU is the Kyocera FS-3900DN which also supports different personalities; it might be considered expensive, but it will pay. My LJ4+ was connected via parallel and I never noticed any problems with error messages or the speed. But I had nothing to benchmark the speed against, so maybe I just didn't know what I was missing. I'm OK with a printer that's as slow as I am. ;) ___ 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
printer recommendations?
My old HP Laserjet 4+ is broken and I'm thinking about buying a new printer. I'd appreciate hearing recommendations from the list. My requirements: - Compatible with FreeBSD (obviously) - Laserjet preferred. Black White only. I don't need to print photos or business brochures. - Very light home usage. (Tax forms and the occasional printout of a software manual for offline study.) - Low upfront and maintenance costs. Printers are like the old Gillette razors: the money's in the blades (toner or ink cartridges), not the device. - Any interface is OK. Parallel, USB, networked. ___ 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: new user questions. (Before I back myself into a corner!)
On Fri 26 Nov 2010 at 14:31:23 PST Chip Camden wrote: Quoth Polytropon on Friday, 26 November 2010: FIVE! Using a tiling window manager like xmonad, just open another xterm. Either share a workspace between them, or put one of them in a different workspace, depending on whether you like to be able to see both at the same time and/or have multiple monitors. SIX! sysutils/dvtm tiles console or terminal windows, similar to tmux. ___ 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: new user questions. (Before I back myself into a corner!)
On Tue 23 Nov 2010 at 17:43:32 PST Beech Rintoul wrote: On Tuesday 23 November 2010 13:55:51 Dave wrote: SNIP Have a small web server, again I've read that Apache can do a good job, but I don't want (nor need) all it's facilities, in particular I need to lock it down so no Put's can happen for a start! The web pages are simple flat form, text and static graphics, with a little client side scripting, purely to find the client's local date and time, to select the graphic to serve. Two good choices for a lightweight webserver would be: www/cherokee Easy to configure www/lighttpd Also lightweight and easy to configure Another good one is www/hiawatha - fast, secure, easy to configure Despite popular misimpressions, there are many more webservers out there besides Apache and IIS. It will probably be well worth your time, Dave, to spend some time at freshports.org, browsing the www category. ___ 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: JMicron JMB363 PCIe controler doesn't work
On Mon 15 Nov 2010 at 00:32:37 PST Wojciech Puchar wrote: the only way to make ANY discussion forum usable is to have moderation and clear rules of posting. Otherwise it will be destroyed. Buy random people or actually by someone spreading nonsense willingfully. Or both I notice that you never got an answer to your question about that PCIe controller. I wish I had an answer for you, and that people finding your question in the list archives won't have to wade through so many useless replies only to come up empty. I think we owe both you and them an apology. No one should add anything more to this thread unless it answers Wojciech's specific technical question. If you can't resist the urge to discuss list moderation or anything else that's been spuriously introduced into this thread, please start another one. (But I completely agree with Wojciech's comments above, and don't expect my plea for self-moderation to have any lasting effect.) ___ 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: History of C (Re: Why do you use a devil as a mascot?)
On Sun 14 Nov 2010 at 16:29:10 PST Chad Perrin wrote: On Sun, Nov 14, 2010 at 02:39:32PM -0800, Gary Kline wrote: About 2000, 2001 was when I shucked my muuz game/mind-machine effort. It was over 10K line of C-ish code that I rehacked into C++. Figured since C++ was _the_ new language that it was a good move. Then I realized how you could spend a lifetime learning C++ I backed off and kept it simple. Hardly new. It hasn't been the Next Big Thing since the '80s. Java was the Next Big Thing in the '90s. We don't exactly have a new Next Big Thing for the '00s, from what I can see -- and maybe that's a good I'd say the Next Big Thing in the '00s was Python ... or was it XML? BTW, it's now the '10s. ;-) ___ 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: Tips for installing windows and freeBSD both.. anyone??
Since this discussion refuses to die, I hope the participants will heed my suggestion and collect the results on a webpage somewhere so we don't have to go over it all many times again in the future. So far, I haven't seen anything said that wasn't already said five, ten, fifteen or even twenty years ago. Maybe it goes even further back than that, but that's about as long as I have personally been aware of this particular debate. ___ 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: Why do you use a devil as a mascot?
On Fri 12 Nov 2010 at 15:44:01 PST Chris Brennan wrote: Must we continue to beat this already dead horse? Apparently the answer is yes, when we're not beating the equally dead horse of the CLI vs GUI debate. ___ 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: Why do you use a devil as a mascot?
On Fri 12 Nov 2010 at 16:05:33 PST Gary Gatten wrote: Let's start a thread listing dead horses to beat: M$ vs Novell Unix vs Linux Mainframe vs PC DAS vs SAN Top-posting vs Bottom posting Blah blah blah vs Yada yada yada OK, I'll play: Gnome vs KDE Ports vs Packages (vs PBI's) GPL vs BSDL C vs any other programming language ___ 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: Why do you use a devil as a mascot?
On Fri 12 Nov 2010 at 16:47:40 PST Randal L. Schwartz wrote: Charlie == Charlie Kester corky1...@comcast.net writes: Charlie OK, I'll play: Charlie Gnome vs KDE Charlie Ports vs Packages (vs PBI's) Charlie GPL vs BSDL Charlie C vs any other programming language Perl vs Readability Coming from you, Randal, that's delicious! Thanks for the laugh. ___ 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: Tips for installing windows and freeBSD both.. anyone??
On Mon 08 Nov 2010 at 02:06:24 PST Matthias Apitz wrote: I think this philosofic discussion has little or nothing todo with FreeBSD. Could you move this elsewhere, or off-list? Thanks It's also a very very OLD argument. Surely the debating points have already been collected on a webpage somewhere? If not, I would suggest the participants direct their energies into creating one, so that their wisdom shall be preserved for posterity. ___ 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: [OT] writing filters in sh
On Thu 28 Oct 2010 at 13:52:27 PDT Chip Camden wrote: stage_directionSmacks forehead as if starring in a V-8 commercial/stage_direction A friend of mine used to call that a Neanderthal Moment. (Smack your forehead, shrug your shoulders, and imagine it is reshaping your body.) ___ 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: Which OS for notebook
On Tue 05 Oct 2010 at 06:25:05 PDT Mark Blackman wrote: Jon Radel wrote: I'm somewhat unclear on how that follows. Might it not be that many manufacturers, busily dealing with Microsoft, and easing into Linux now that it has significant mindshare, have simply decided that there's no economic benefit to releasing detailed hardware specs in a form that works for FreeBSD developers? I really fail to see why you think the fact that the manufacturer itself has released binary drivers for Windows, and possibly Linux, and/or released hardware specs under NDA (non-disclosure agreement) to certain business partners, has any bearing on whether sufficient information to write a driver is available to any FreeBSD programmer with permission to use it to write an open source driver. There's also the whole train of thought that says FreeBSD isn't really aimed at the desktop/laptop/notebook use model and any benefit in that arena is entirely coincidental. I've often seen that opinion expressed, but never on the FreeBSD website or in any of its official materials. On the contrary, most of the official literature presents it as an OS for general-purpose computing, and not only for servers. If I'm wrong about and there is an official statement somewhere that the main intention is to provide an OS for servers, it would be good to know. ___ 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: Which OS for notebook
On Wed 06 Oct 2010 at 07:31:58 PDT Mark Blackman wrote: Charlie Kester wrote: On Tue 05 Oct 2010 at 06:25:05 PDT Mark Blackman wrote: There's also the whole train of thought that says FreeBSD isn't really aimed at the desktop/laptop/notebook use model and any benefit in that arena is entirely coincidental. I've often seen that opinion expressed, but never on the FreeBSD website or in any of its official materials. On the contrary, most of the official literature presents it as an OS for general-purpose computing, and not only for servers. If I'm wrong about and there is an official statement somewhere that the main intention is to provide an OS for servers, it would be good to know. It's derived from a server/workstation OS and I assume the number of FreeBSD deployed servers wildly outnumbers the desktop/notebook installations and the tag line is The power to serve, so there's a strong server bias. Yet if you go to http://www.freebsd.org the first thing you will read is that FreeBSD is an advanced operating system for modern server, desktop, and embedded computer platforms. Nothing about a bias toward servers or that it isn't really aimed at the desktop/laptop/notebook use model. If FreeBSD is really aimed primarily at servers, I would expect to see something about this in the goals statement found in the FAQ and Handbook. But there's no such indication there. So I can see why some people might be frustrated by the lack of attention to some important issues for desktop/laptop/notebook hardware support. Nothing in the project literature tells them it's not a priority. ___ 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: PDF to HTML translations
On Mon 06 Sep 2010 at 12:02:07 PDT Warren Block wrote: On Mon, 6 Sep 2010, Chad Perrin wrote: I've started looking at the Xpdf tools as well as pdftohtml. Other suggestions from within ports would be appreciated. Additional options other than what can be found in ports might also be useful, understanding the needs I sketched out above. The script itself is Perl, in case that matters. An alternative might be to render the PDF to a relatively low-res bitmap. Then the HTML becomes just an IMG. You can do that directly with Ghostscript, or use ImageMagick/GraphicsMagick. Which, if I correctly understand the description on freshmeat, is almost exactly what pdf2html does. http://freshmeat.net/projects/pdf2html/ I downloaded the latest version just now and tried building it. The build failed with some syntax errors in pbm2png.c, so if anyone wants to add this to ports, they'll have some cleanup work to do. ___ 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: PDF to HTML translations
On Mon 06 Sep 2010 at 16:09:41 PDT Charlie Kester wrote: On Mon 06 Sep 2010 at 12:02:07 PDT Warren Block wrote: On Mon, 6 Sep 2010, Chad Perrin wrote: I've started looking at the Xpdf tools as well as pdftohtml. Other suggestions from within ports would be appreciated. Additional options other than what can be found in ports might also be useful, understanding the needs I sketched out above. The script itself is Perl, in case that matters. An alternative might be to render the PDF to a relatively low-res bitmap. Then the HTML becomes just an IMG. You can do that directly with Ghostscript, or use ImageMagick/GraphicsMagick. Which, if I correctly understand the description on freshmeat, is almost exactly what pdf2html does. http://freshmeat.net/projects/pdf2html/ I downloaded the latest version just now and tried building it. The build failed with some syntax errors in pbm2png.c, so if anyone wants to add this to ports, they'll have some cleanup work to do. FWIW, the syntax errors are all due to some misplaced line breaks. Re-joining all the lines that generate a warning about a missing terminating character fixes this. (This was using gcc 4.2.1.) ___ 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: well, i guess it's time to ask.....
On Wed 18 Aug 2010 at 20:16:51 PDT Depo Catcher wrote: On 8/18/2010 8:10 PM, Gary Kline wrote: 've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a Stream what kind of movies? Some video players (like VLC) have hardware acceleration that will help a lot if your video card/driver supports it. Things like Flash based movies might be kind of iffy though since they can't take advantage of the video hardware [?]. Once you start moving up to high def video you might have some problems, but know a lot of Home Theater guys that use Atoms for media centers: http://hardforum.com/forumdisplay.php?f=103 My gfs Atom 330 plays videos in VLC fine and flash fine, but full screen flash drops frames. This is under WinXP. The new D510 CPU are faster in benchmarks; it has dual cores with hyperthreading. But be aware that the Xorg intel driver in the current portstree does NOT support the graphics controller built into the D510 and other Pineview Atoms. The vesa driver works, but doesn't take advantage of AGP or other graphics niftiness. I have one of these myself, and can confirm that downloaded videos play acceptably well, despite using vesa. I can't speak to streaming video performance, however, since I don't use Flash and usually don't watch online videos. I've seen reviews of the D510 that say HD video performance is sub-par even on operating systems with drivers that fully support the graphics controller. If you wait a few months, the new D525 CPUs should be out in consumer computers - these are 1.8Ghz (instead of 1.6Ghz) and support DDR3 (instead of DDR2). That might help a bit. Both are limited to 4 gigs. So, I would bet that 90% of the time it'll be enough if you have a good video card with good drivers. I'm not an expert on them though, I think they are neat though. There are Atom-based systems available with Nvidia graphics. Gary might want to consider one of those, although it probably won't be as dirt cheap or as low-wattage as a Pineview system. (I have no experience with them myself.) ___ 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: Upgrading ports while processes are running.
On Tue 17 Aug 2010 at 15:05:27 PDT Danny Carroll wrote: I wonder what happens when you upgrade a port, don't restart, then the following week upgrade it again hmmm. I don't think it would be any different than not restarting it after the first upgrade (assuming the port doesn't try to open any libraries or data files that aren't already opened and that the second upgrade changes but the first upgrade does not.) As already explained, the inodes for the original files would still be valid, and so would any file handles the program has open. ___ 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: OT: Open source will testament software
On Wed 04 Aug 2010 at 11:51:17 PDT Gary Kline wrote: There actually are a some boiler-plate files of [[CANNED]] wills out there. ---i found and filled one such out several years ago, but eventually deleted the file. i figure that it really =is= worth paying $75 or so to some clerical type to fill it out, notarize, make copies, and whatever. =Or=, anything handwritten is likely to stand up in court. I've already told my ex-wife and the kids I intend to spend it all before I go, so there's no point in vulturing over my estate. ;) ___ 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: BSD logo
On Sun 25 Jul 2010 at 00:57:14 PDT per...@pluto.rain.com wrote: This discussion has drifted badly OT Yes, and it really should be killed, now. Please. My thanks to those few who did NOT take it as an occasion for Christian-bashing. I'm not a Christian either, but I do get tired of it being the only religion people feel entitled to poke fun at. ___ 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: BSD logo
On Sun 25 Jul 2010 at 14:42:14 PDT Matthew Seaman wrote: Besides, I suspect that the OP was not in fact genuinely offended but merely trying to stir up trouble Which makes it all the more disappointing that so many of you took the bait. I stand by my previous comments. Please end this thread, now. ___ 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: I donot like using mergemaster ?
On Sun 25 Jul 2010 at 18:17:09 PDT zaxis wrote: I want to upgrade my freebsd 8.0 to 8.1. I have read all the steps about upgrading freebsd. I feel mergemaster is difficult to use e.g. which parameters should i use ? (you may wish to use -U or -ai or -Fi) I usually use -p when invoking mergemaster before installworld, and -F after. I.e.: ... # mergemaster -p # make installworld # mergemaster -F ... I don't know what the other mergemaster options do, but I've never felt the need for them. ___ 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: PDF storage software recommendations?
On Thu 17 Jun 2010 at 19:57:03 PDT Polytropon wrote: Maybe my answer will sound low level, but it works - REALLY works - and works with mostly every kind of data. It's good to see someone recommending a true Unix-style solution. :) ___ 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: concerning flash under freebsd
On Tue 15 Jun 2010 at 15:11:47 PDT Programmer in Training wrote: Don't install it. isn't a valid option. Sure it is. The fact that it's an option you don't want to accept doesn't make it invalid. I also take issue with the well use a supported OS schtick. I will tell Adobe to provide a FreeBSD-native release, though it would be nice to know I won't be the only one. I'm actually going right now to do so. Who's with me? Actually, you're starting down a well-trodden path. Many people have already asked Adobe for a FreeBSD-native release, and Adobe has never seen fit to do so. The FreeBSD desktop market is apparently too small to make it worth their while. That's a perfectly valid position for them to take, no matter how much we might dislike it. And Use a supported OS if you want Flash isn't a schtick. It's eminently practical advice, from people who have tried but don't see any way the situation on FreeBSD is likely to change. ___ 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 - for the win
On Sat 12 Jun 2010 at 13:12:55 PDT Chip Camden wrote: Call me fatalistic, but I think there is a direct relationship between FreeBSD's high quality and it's lack of popularity. If it catered to the common herd, its compromises would be many. I think we're straying from the original topic, but I agree. I worked at Microsoft Developer Support in a previous life, beginning at the time that Visual C++ and MFC were first introduced. One of Microsoft's big selling points was what they called wizards -- basically, a set of simple, dialog-based code-generation tools. What I observed, over and over again, is that people would use the wizards to create simple MFC applications and then get hopelessly stuck as soon as they needed to do something the wizards or the MFC framework didn't easily provide. All the wizards had accomplished was to move the point where people got stuck; they hadn't done anything to increase people's understanding of how MFC-based code worked or how best to customize it. What the wizards did accomplish was to bring in a whole bunch of new customers who were encouraged to think of themselves as MFC programmers, without requiring them to have even the most elementary competence in MFC. I'm reminded of this whenever I see proposals to make the FreeBSD system install and configuration more graphical and user-friendly. Same goes for the ports system. As one of my old colleagues used to say, There are no shortcuts to the righthand side of the learning curve. ___ 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 - for the win
On Sat 12 Jun 2010 at 18:17:22 PDT Michelle Konzack wrote: Hello Charlie Kester, Am 2010-06-12 15:51:32, hacktest Du folgendes herunter: I worked at Microsoft Developer Support in a previous life, beginning at the time that Visual C++ and MFC were first introduced. Hahaha, you where Killed by a Microsoft Customer... And when you knoked at the door of god, he sent you back to earth to do it better using now FreeBSD... ;-) Yeah, something like that. I'm doing the Lord's work now. :) ___ 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: office apps
On Sun 06 Jun 2010 at 20:56:50 PDT Chad Perrin wrote: On Sun, Jun 06, 2010 at 01:34:16PM -0700, Chip Camden wrote: Does anyone have a recommendation for a lighter-weight office suite? OOo is such a pig. It takes a good minute to start it up and open a spreadsheet. Short of the full suite, how about just a spreadsheet program that supports complex formulas and charting? If it could also be used without X11 when charting isn't needed, that would make my day. It may be a little late to ask -- but I notice nobody else addressed the matter: Does your OO.o replacement have to be somewhat compatible with MS Office? If so . . . does it have to be two-way compatible? There are options for one-way compatibility (e.g., catdoc for turning MS Word files into plain text), but for being able to interoperate to roughly arbitrary degrees with users of MS Office I'm not aware of anything other than OO.o, KOffice, and whatever GNOME's using, that would work for the purposes you described. Maybe someone else can comment on the suitability of recent versions of Abiword and Gnumeric (for instance). Ever since it essentially stopped being possible to install OO.o from a binary package on FreeBSD for me (at least without also installing Java), I've dreaded the day I will no longer have the venerable OO.o install from way back when and some jackass expects me to talk back and forth via MS Excel. I loathe applications written in VBA, to put it mildly, and only my loathing for MS Windows and MS Office has kept that ancient OO.o install on one of my computers for so long. Tell the jackasses that if they want to send you one of their Word docs, they should save it as PDF, or RTF if they want you to edit it. If it's an Excel doc, CSV. Sure, it means some of the Microsoft bells and whistles will get lost in the translation. Tough. They're like American tourists overseas, expecting everyone to speak their language and to be familiar with their provincial customs. I'm not sure what to do with PPT's. Can PowerPoint save to PDF, which is what almost everyone else seems to be using for presentations? ___ 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: office apps
On Sun 06 Jun 2010 at 21:44:45 PDT Alejandro Imass wrote: On Mon, Jun 7, 2010 at 12:38 AM, Charlie Kester corky1...@comcast.net wrote: On Sun 06 Jun 2010 at 20:56:50 PDT Chad Perrin wrote: [...] I'm not sure what to do with PPT's. Can PowerPoint save to PDF, which is what almost everyone else seems to be using for presentations? Latex Beamer rules! Maybe so, but can the guy with PowerPoint send you something you work with in Beamer? (I'm not familiar with Beamer myself.) ___ 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: which is the basic differences between the shells?
On Sat 05 Jun 2010 at 16:24:36 PDT Alejandro Imass wrote: On Sat, Jun 5, 2010 at 6:35 PM, Giorgos Tsiapaliokas terie...@gmail.com wrote: hello, i am coming from the linux world where i was using the bash shell but i found out that there are also much more. can u tell me the basic differences between them?(pros and cons) Too broad a topic I suspect fo u to get an answer here. In FBSD the base system is completely separate from the applications, that is really great because for example your system upgrades are independendent of applications / ports. The base shell is in the base system so don't replace the shell for the root user but rather start bash from your root account if you wish. This will make sense when your system breaks in an upgrade for example. For everything else you can safely use bash and choose bash for your normal users. I use bash all the time even for root, but in the latter case I start it manually. Definitely too broad a topic for a mailing list. Probably the best way to approach it is to look first at the Bourne shelli (sh), which probably has the smallest and simplest set of features. The C shell (csh) is, as the name suggests, more like the C programming language. It was developed at UC Berkeley, and thus has always had a close association with BSD. One of the major innovations introduced by the C shell is *history*. tcsh is an enhanced but completely compatible version of csh. The Korn shell (ksh) combined many features from the C shell with the functionality of the Bourne shell. Among the many new features introduced by the Korn shell are pattern-based variable substitution, e.g. ${varname%%pattern}. Bash picks up where the Korn shell leaves off, and adds even more features. More features usually means increased size and sometimes slower execution. In fact, if you look at the manpage for bash, the first sentence in the last section (BUGS) is a frank admission that It's too big and too slow. It's also too GPL-encumbered for many BSD folk. You can get many of the same features in a lighterweight package, with a friendlier license, by going with one of the Korn shells instead. I've been using shells/mksh from ports after having it recommended to me in the forums, and I've been very satisfied with it. ___ 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: unexpected operator .sh error
On Mon 31 May 2010 at 19:58:41 PDT Aiza wrote: Chris Hill wrote: On Tue, 1 Jun 2010, Aiza wrote: Added some code to a .sh script. When I run the script works but issues this message [: =: unexpected operator No line number telling where to look. I am not ever sure its talking about. IS [: whats wrong or =: I'd guess that what you added includes something like if [ x=y ] ... The open-square-bracket, [, is another name for test. IIRC the equal sign is not valid in that context. Can you post the 'before' and 'after' versions of that part of your script? It would help us in determining what the problem is. -- Chris Hill ch...@monochrome.org That hint got me to the correct line I hadif [$1 = basejail ]; then You need a space after the opening [ or it doesn't parse correctly. As Chris said, it's another name for test, so think of it as a word, i.e., something delimited by whitespace. ___ 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: Problem compiling lsof
On Tue 25 May 2010 at 11:17:36 PDT Arthur Barlow wrote: I did this and sure enough vm_memattr_t is defined as a parameter in a typedef as follows: typedef int d_mmap2_t (struc cdev *dev, vm_offset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr); So the question is, why didn't the grep in the Configure script find this line? Your cc commandline defines symbols (e.g. HAS_NO_SI_UDEV) which are only set in the same section of the Configure script, based on a grep of the same conf.h file. So we can be pretty sure we haven't skipped over the test for vm_memattr_t. You don't perhaps have LSOF_INCLUDE defined in your environment? If so, is it set to something other than /usr/include? ___ 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: Problem compiling lsof
On Mon 24 May 2010 at 18:54:11 PDT Lowell Gilbert wrote: Arthur Barlow arthurbar...@gmail.com writes: Sorry about the false start. Fat fingers. I'm trying to compile the lsof program in FreeBSD 8.0 on an i686 machine. There is a error referencing dlsof.h and it looks like there is an ugly hack in the header file. Any suggestions, besides playing with the code? As of a few minutes ago, it built just fine on my i386 build system with the latest ports. If you want help diagnosing your issue, you will need to be much more specific about what happens on your particular system, so we can figure out how it differs from a normal system. Since we're talking about building a port, you should also involve its maintainer. I've cc'ed him with this reply. I just tried building lsof myself, on a 686-class 8.0-STABLE machine, and had the same successful result as Lowell. Can you give us a copy of the build output, beginning with the cc command line that immediately precedes the failure? ___ 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: Problem compiling lsof
On Mon 24 May 2010 at 20:24:49 PDT Arthur Barlow wrote: [r...@uranus /usr/ports/sysutils/lsof]# HASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=\8.0-STABLE\) cc -pipe -march=athlon -fno-strict-aliasing -march=athlon -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DFREEBSDV=8000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=8.0-STABLE -I/usr/src/sys -O2 -c ckkv.c In file included from ../dlsof.h:81, from ../lsof.h:195, from ckkv.c:43: /usr/src/sys/sys/conf.h:141: error: expected declaration specifiers or '...' before 'vm_memattr_t' OK, now we know that the immediate cause of the error is that -DHAS_VM_MEMATTR_T is not included on the cc commandline, so sys/conf.h doesn't recognize vm_memattr_t as a valid type. In other words, something's gone wrong in the configure step. The Configure script grep's for vm_memattr_t in ${LSOF_INCLUDE}/sys/conf.h and sets HAS_VM_MEMATTR_T if the grep succeeds. The build failure tells us that your /usr/src/sys/conf.h uses vm_memattr_t, so it seems the Configure is testing some other copy of conf.h -- because LSOF_INCLUDE is set to something other than /usr/src? The default for LSOF_INCLUDE is /usr/include. What do you get from the following command? grep vm_memattr_t /usr/include/sys/conf.h ___ 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: Problem compiling lsof
On Mon 24 May 2010 at 21:55:01 PDT Charlie Kester wrote: The Configure script grep's for vm_memattr_t in ${LSOF_INCLUDE}/sys/conf.h and sets HAS_VM_MEMATTR_T if the grep succeeds. The build failure tells us that your /usr/src/sys/conf.h uses vm_memattr_t, so it seems the Configure is testing some other copy of conf.h -- because LSOF_INCLUDE is set to something other than /usr/src? Oops, some typos here. /usr/src should be /usr/src/sys throughout, and conf.h is in /usr/src/sys/sys. Makes no difference to the line of thought, however. If grep vm_memattr_t /usr/include/sys/conf.h comes back empty, we need to look at how you built your system. ___ 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: How long do you go without upgrading FreeBSD to a newer release?
On Sun 16 May 2010 at 08:42:44 PDT Dan Naumov wrote: Just a thought/question that has recently come to my mind: How long do you usually wait until upgrading to a newer release of FreeBSD? My machines are all for personal use only, and it wouldn't be a disaster if any of them went down for an extended period. So I don't hesitate to upgrade to new releases as soon as they appear. I'm currently running 8.0-STABLE and update it every week or so. The portstree is updated daily. If my income depended on these machines, I'd probably be more cautious. ___ 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: diablo-jdk not installing correctly
On Sun 25 Apr 2010 at 17:57:27 PDT Jonathan Chen wrote: On Sun, Apr 25, 2010 at 07:34:19PM -0400, herbey zepeda wrote: [...] I am concerned because according to the literature diablo is supposed to be the maintained jdk for FreeBSD. And I realize that I am having to download version 7.1 when we are already on version 8.0 of FreeBSD to make java work My question is: is Java in FreeBSD an experimental/academic package? Should I rather go with the linux compatibility way? There has been no movement with the diablo-jdk for ages; java/openjdk6 is better maintained and would be a better choice. Maybe so, but it seems some ports are calling out diablo-jdk as a dependency. I know I didn't explicitly choose to install it. I should probably rtfm, but is there a way to force ports to use openjdk instead? ___ 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: Build error with mplayer
On Mon 12 Apr 2010 at 17:50:58 PDT Neil Short wrote: Am I missing something? dvb_tune.c:33:19: error: error.h: No such file or directory It's a known problem. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145437 ___ 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: are the are C [or C++] src sites ....
On Sun 11 Apr 2010 at 15:39:16 PDT Gary Kline wrote: On Sat, Apr 10, 2010 at 12:45:15PM -0700, Charlie Kester wrote: i used more strict search terms and found around 30 sites. none seemed that promising. what i am thinking of is functions that work in any of several venues: math, [every] science, strings, filenames, queues, stacks, arrays, whatever. thanks for your insights. i used something like c-language functions :-) gary Try searching for 'algorithms'. One of my favorite sites for that is the Stony Brook Algorithms Repositor: http://www.cs.sunysb.edu/~algorith/ The Algorithm Design book associated with that site is also quite good. But most good algorithms sites and books will have something on the topics you list. ___ 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: perl links
On Sat 10 Apr 2010 at 09:26:33 PDT Randal L. Schwartz wrote: parv == parv p...@pair.com writes: parv So, you are the guilty one. By that logic, every software should parv assume some location, so that people can have fun with link farm parv maintainance. Keep in mind, the scene has changed in 20 years. :) Has your advice on this point also changed? ___ 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: are the are C [or C++] src sites ....
On Sat 10 Apr 2010 at 08:19:38 PDT Gary Kline wrote: Sites of parts of websites that have example C functions? [continuing from the ^Subject. I have googled around and found practically nothing; yet, wen I was looking for a math function I found at least two places. Rather than re-inventing the wheel over and again, wouldn't it be nice to have a library of all kinds of functions? --For kernel use, yes, they would need to be BSD specific... ideas? gary PS: As if it weren't obvious, no i haven't had my morning jolt of java yet Did you try googling for sample code? I just did, and the results contained several such websites. Narrowing the search to sample code c or sample code unix yielded even better results. There are even some sites that you can use to search the vast body of existing open-source code, to see how others have used (or implemented) a given API. No, I'm not going to name any specific sites. You now have enough of a hint to find them on your own. ;-) ___ 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: Online school for FreeBSD
On Sat 10 Apr 2010 at 16:14:36 PDT David Newman wrote: On 4/10/10 3:08 PM, Chris Whitehouse wrote: Roland Smith wrote: On Fri, Apr 09, 2010 at 09:34:59PM -0800, jt wrote: I've been doing searches for online schools that teach FreeBSD. I've been trying to learn on an off for years but when it starts getting complicated, I get stuck. The handbook don't do allot of good. You can download the book The Complete FreeBSD from http://www.lemis.com/grog/Documentation/CFBSD/ There is also Absolute FreeBSD http://www.absolutefreebsd.com/ Only available for purchase though. +1 I've found this and other books by Mr. Lucas to be informative, accessible and even entertaining, well worth their price. Yes, I agree. Another good book is Dru Lavigne's _The Best of FreeBSD Basics_. I also like Dru's earlier book _BSD Hacks_. It's not BSD-specific, but the _Unix Power Tools_ book from O'Reilly is packed with lots of interesting tidbits. ___ 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: usage of /usr/bin
On Wed 07 Apr 2010 at 00:24:51 PDT Fbsd1 wrote: Why are there RELEASE base files in /usr/bin. I thought /usr was to only contain binaries installed from ports or packages. In many configurations, /bin and /usr/bin are not in the same slice. In some cases, they're not even on the same drive. Think about scenarios where /usr fails to mount for some reason. Then look at what's in /bin compared to what's in /usr/bin, and perhaps you'll understand the logic of it. ___ 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: usage of /usr/bin
On Wed 07 Apr 2010 at 10:13:10 PDT Charlie Kester wrote: Think about scenarios where /usr fails to mount for some reason. Then look at what's in /bin compared to what's in /usr/bin, and perhaps you'll understand the logic of it. I should add that comparing the contents of /usr/sbin and /sbin is also instructive. ___ 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: Creating multiple directories simultaneously
On Fri 26 Mar 2010 at 04:44:56 PDT Jerry wrote: On Fri, 26 Mar 2010 11:32:58 +, Daniel Bye freebsd-questi...@slightlystrange.org articulated: On Fri, Mar 26, 2010 at 07:12:48AM -0400, Jerry wrote: I could have sworn that I saw a method of creating several directories, actually a parent direct and several sub-directories simultaneously; however, I cannot fine the documentation any longer. Assume I want to create a directory: FOO with three directories under it, foo-1, foo-2 and foo-3. I tried: mkdir -p foo {foo-1, foo-2, foo-3} Almost. $ mkdir -p FOO/{foo-1,foo-2,foo-3} Thank you; that is exactly what I was looking for. I knew I had seen it somewhere before. Or, for even less typing: $ mkdir -p FOO/foo-{1,2,3} Understand how this works, however, so you won't need to look it up again, but can apply it yourself in whatever variation is needed. It's called brace expansion. Here's the first hit that comes up in Google, which describes it fairly well: http://snap.nlc.dcccd.edu/reference/bash1/features_11.html This page is about the bash shell, but brace expansion works the same way in tcsh. It is NOT supported in tne Bourne shell. ___ 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: Creating multiple directories simultaneously
On Fri 26 Mar 2010 at 08:49:08 PDT Charlie Kester wrote: Understand how this works, however, so you won't need to look it up again, but can apply it yourself in whatever variation is needed. It's called brace expansion. For extra credit, and to test your understanding, see if you can explain how the following work: $ mkdir -p FOO/{foo-,bar-}{1,2,3} $ cp foo{,.bak} Others might have some even more complicated examples worth exploring. (It sucks, btw, that most of what Google finds pertaining to brace expansion is about bash, when the feature was actually introduced by csh.) ___ 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: Creating multiple directories simultaneously
On Fri 26 Mar 2010 at 10:01:21 PDT Jerry wrote: On Fri, 26 Mar 2010 09:28:15 -0700, Charlie Kester corky1...@comcast.net articulated: For extra credit, and to test your understanding, see if you can explain how the following work: $ mkdir -p FOO/{foo-,bar-}{1,2,3} $ cp foo{,.bak} Maybe I am doing this wrong; however, I had to use the -R flag with 'cp' to make it work. I also assume you meant FOO and not foo unless I am completely misunderstanding this exercise. Sorry, pedagogical error. I didn't intend that to operate on the results of any of the other examples. I probably should have chosen something other than 'foo' in order to avoid that misunderstanding. The point was simply to explore what happens when one of the terms inside the braces is an empty string. ___ 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: Patch Submission to a Port
On Mon 22 Mar 2010 at 14:50:03 PDT Alejandro Imass wrote: Hi, I have finally tested and verified a patch for /usr/ports/graphics/sane-backends To whon or where should I submit it? http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-submitting.html ___ 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: Patch Submission to a Port
On Mon 22 Mar 2010 at 15:08:43 PDT Charlie Kester wrote: On Mon 22 Mar 2010 at 14:50:03 PDT Alejandro Imass wrote: Hi, I have finally tested and verified a patch for /usr/ports/graphics/sane-backends To whon or where should I submit it? http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-submitting.html Sorry, wrong link. That one's for submitting new ports. Here's one for the section of the handbook that describes how to submit a patch: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/port-upgrading.html ___ 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: OT: dead box
On Sun 21 Mar 2010 at 11:26:55 PDT Frank Shute wrote: On Sun, Mar 21, 2010 at 09:08:44AM -0400, Lowell Gilbert wrote: Murphy never said anything about *when* things go wrong... But the swine said they *would* go wrong...;) Hey, don't shoot the messenger! On second thought, perhaps that would be an object lesson for Mr. Murphy, to let him know that sometimes things will go unexpectedly and undeservedly wrong for him too. ;-) Here's hoping your machine is easily and cheaply recoverable. ___ 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: Elegant way to hack port source
On Fri 19 Mar 2010 at 10:01:59 PDT Roland Smith wrote: On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass wrote: Hi, I need to modify a file from a port before building. Specifically, the sane-backends pnm.c driver has a bug and the folks at the original project has not fixed for a while. I need to modify pnm.c in the work directory before compiling. What is an elegant way of doing this? If I make and then modify, the main make file does not see the change made in the file and will not recompile. And since there is no actual makefile in the work subdirectory I can't compile there either! There must be a FreeBSD way of dealing with modifying a port source before compiling. Please advise. Add the patch to the files/ directory of the port. The patch should be relative to the main source directory of the port, e.g. work/foo-x.y for the foo port. Use a name for the patch that doesn't exist yet. After creating the patch, use chflags to set the uschg and uunlnk flags for your patch. This way, if the port is updated, your patch cannot be removed. But you might need to update it. If the port already patches the file(s) in question, run 'make patch' with the port makefile first, so you don't lose that work. Then cd to the working directory and make your additional changes. If you need to change a file that wasn't already patched by the port, first save a copy of it using 'cp foo{,.orig}'. Then edit the copy without the .orig suffix. When you're done with those, use 'diff -u foo{.orig,}' to generate an updated patchfile. The convention is to name the patchfile 'patch-foo' (substituting the actual name of the source file for 'foo'). But if the existing patch uses some other pattern, use that instead. So, if you're updating or creating a patch to foo.c which is in the toplevel working directory for port bar, and you're in work/bar-x.y, you would use something like the following: diff -u foo.c{.orig,} ../../files/patch-foo.c Now run 'make clean' with the port makefile. From here on, 'make build' or 'make install' will apply your new patches along with any pre-existing ones. Whenever I modify a port like this, I usually make a copy of it under root's home directory and install it from there. That way, I can keep my copy of the portstree in complete synch with the official one, and there's no need to worry about updates quashing my changes. It also provides a quick-and-dirty way to see which ports I've modified. ___ 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: Elegant way to hack port source
On Fri 19 Mar 2010 at 13:06:41 PDT Randal L. Schwartz wrote: Charlie == Charlie Kester corky1...@comcast.net writes: Charlie Whenever I modify a port like this, I usually make a copy of it under Charlie root's home directory and install it from there. That way, I can keep Charlie my copy of the portstree in complete synch with the official one, and Charlie there's no need to worry about updates quashing my changes. It also Charlie provides a quick-and-dirty way to see which ports I've modified. Isn't that also what /usr/ports/local is for? I think so. Hopefully somebody more knowledgeable than me will confirm or deny. ___ 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: Elegant way to hack port source
On Fri 19 Mar 2010 at 14:34:23 PDT Paul Schmehl wrote: --On Friday, March 19, 2010 17:04:17 -0400 Alejandro Imass a...@p2ee.org wrote: To the O.P.: How about submiting the patch to the community so it can be added by the port maintainer? If it actually fixes a bug in the software you can't be the only one would benefit from the patch. That was going to be my next question, but I am currently debugging to see why this common fix I've used in Linux is not not working on FBSD. Ports can throw you for a loop if you're used to building from source. Others have given you good instructions on how to fix the problem, but here's a brief overview: 1) Go in to the port directory 2) Type make clean to remove any work directories 3) Type make extract - this extracts the tarball into the working directories that FreeBSD expects to find 4) Type make patch to apply any patches that the port maintainer has included 'make patch' will also do the extract from the distfile, so you don't need your step 3 5) Enter the directory where the problem source file is - usually work/portname-version/some subdir 6) Copy it to filename.c.orig If the port maintainer has already patched filename.c, 'make patch' will already have created filename.c.orig 7) Edit filename.c to include your changes 8) Diff the two files and put the resulting patch file in portdir/files (Note: If the file in question is already being patched by the port, you will need to apply your diff to file as well as the edits in the existing patch - doing that is not an exercise for the faint of heart. If that's the case here, respond and folks will help you sort it out.) Not true. If the maintainer patched filename.c, 'make patch' will create filename.c.orig (which is the original author's file) and filename.c (which is the result of the maintainer's patches.) If you edit filename.c and then diff it from filename.c.orig, the result is a patch the includes your changes AND the maintainer's. 9) Edit the patch file (now in portdir/files) so that the first two lines point to the actual location of the file in the working directories. (For example, if the working directory has a subdir named sc, and your file is in there, the first two lines of the patch would be edited thus: from filename.c to src/filename.c and from filename.c.orig to src/filename.c.orig No need for this if you do the diff from the top level of the working directory. I.e., if filename.c is in work/foo-x.y/bar/ you should cd to work/foo-x.y/ and then run diff -u bar/filename.c.orig bar/filename.c ../../files/patch-filename.c 10) Return to the portdir and type make clean 11) Type make extract and then make patch - if it works, you should be able to do the install - if it doesn't work, post the errors here and we'll figure it out Again, no need for the separate 'make extract' step. In fact, I'd go straight to 'make build' or 'make install' here, and skip the separate 'make patch' too. ___ 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: Elegant way to hack port source
On Fri 19 Mar 2010 at 15:07:44 PDT Paul Schmehl wrote: --On Friday, March 19, 2010 15:01:27 -0700 Charlie Kester corky1...@comcast.net wrote: Again, no need for the separate 'make extract' step. In fact, I'd go straight to 'make build' or 'make install' here, and skip the separate 'make patch' too. Thanks, Charles. You taught me something today. :-) You're welcome. We're here to help. :) The main point I wanted to make was to run make patch BEFORE editing the port's sourcecode, so you don't lose the work done by the maintainer And you would lose that if you simply did make extract and then started hacking on the result. Or, what amounts to the same thing, if you grabbed the distfile and unzipped it into your home directory or somewhere. ___ 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: How to send a patch in a proper way?
On Fri 19 Mar 2010 at 15:20:49 PDT Adam PAPAI wrote: Hi, As of today I'll try to help and create bugfix patches for usr/src and usr/ports. I've already done 2 patches and posted it to the -current list but don't really know what is the best way to post the patches. Who will check them? who will make the decision to use them? How should I send the patches? diff -u full path or relative path? Is there any FAQ about this issue? For a general discussion about submitting bug reports (PR's), see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/contrib-how.html#CONTRIB-GENERAL For PR's related to ports, see http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/port-upgrading.html Make sure that your PR uses the category ports and it will be reviewed by the ports committers. ___ 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: Elegant way to hack port source
On Fri 19 Mar 2010 at 16:02:45 PDT Greg Larkin wrote: The makepatch target recurses through the work/foobar directory and creates diffs for all file.ext/file.ext.orig pairs. It writes them to the files/ directory with the patch- prefix on each so the patch target processes them. Now it's my turn to say Thanks, you taught me something today! -- Charlie ___ 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: Which gdb GUI do you use?
On Thu 18 Mar 2010 at 00:15:30 PDT Yuri wrote: I know there is ddd, but it has so many bugs that it makes it barely usable. There is emacs, but I am not used to it and don't like it. It's love it or hate it usually for most people. There is some GUI called Insight, for some reason it's not in ports. I've built it and it looks unstable. Gives me an error message: thread.c:79: internal-error: inferior_thread: Assertion 'tp' failed. ... Which GUI you use? cgdb, but it's not a GUI. ___ 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: API to find the memory usage of a process.
On Thu 18 Mar 2010 at 18:30:00 PDT J. Johnston wrote: On 03/18/10 10:28, Jayadev Kumar wrote: Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port which it is coming from yet. Thanks, Jayadev. the source for top is located in /usr/src/usr.bin/top whereis -sq foo will get you the source directory for foo, assuming you installed the system sources, or if foo is also the name of the port. If foo was installed by a port with some other name, you can find it with pkg_info -W foo ___ 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: Any generic way to fix problem that configure doesn't find libraries in /usr/local/lib?
On Wed 24 Feb 2010 at 12:05:10 PST Yuri wrote: Every time I run configure script it fails to find libraries in /usr/local/lib because it has some hard-coded paths not including /usr/local/lib and /usr/local/lib. Every time I need to edit configure to fix it up. Is there any generic tool or way that fixes this problem more easily? With most configure scripts I've seen, ./configure --help tells me that the environment variable LDFLAGS is respected. So why not set that before invoking configure? If you look, you'll find that the Makefiles for many ports do exactly this, by setting CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib ${LDFLAGS} ___ 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: Intel D510MO Mini-ITX Motherboard - Is anyone using FreeBSD on this?
On Fri 29 Jan 2010 at 01:36:15 PST Dan Naumov wrote: Reports of successes with both adm64 andi386 versions of 8.0-RELEASE and Intel D510MO board have been showing up on a few different discussion forums now. I have to correct myself in regard to the Supermicro X7SPA-H board. The board seems to be roughly 2 times as expensive as the Intel D510MO (~75$ for the D150MO vs $150-170$ for the X7SPA-H). However, these prices seem to only be like that in the US. When looking at European prices, it seems that the D510MO board goes for about 75-80 euro and the X7SPA-H goes for about 190-230 euro, depending on country and reseller. So while the Supermicro board is roughly twice as expensive as the Intel board in the US, it's roughly 3 times as expensive if you are buying in Europe. I still ended up going with the X7SPA-H though (finally pulled the plug on ordering all the parts for a new system yesterday), mainly because it saves me the trouble of immideately having to hunt for an additional disk controller card: the D510MO has only 2 SATA ports and a PCI slot for expansion (and I have REALLY burned myself badly on the performance of PCI disk controller cards in the past), while the X7SPA-H comes with 6 native SATA ports on an ICH9R controller and has a 4xPCIE (in 16x physical form) for expansion. Don't the Supermicro boards also have a better network chip than the Realtek one used on Intel's boards? FWIW, my Kill-a-Watt meter says the D510MO is drawing about 25W on average. That's for everything inside the case. If I'd gone with a single-core chip and a solid-state drive, I could probably get that down to about 20W. This is definitely a green machine! ___ 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: Xorg Not Finding AGP Card
On Fri 29 Jan 2010 at 12:15:03 PST Programmer In Training wrote: First time I installed FreeBSD (yes, there was a first time, I managed to hose the root account and had to start over again) I was asked something about whether or not my vid card was PCI or AGP. I answered AGP (as that is all I have that is halfway decent). I had Xorg up and running with minimum fuss (aside from it's choice of default wm even when I had wmaker already installed), I had no such prompt this time, which I didn't think of until now. I've got the latest Xorg installed from ports (I think it's 7.4_2). http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html #Xorg -configure bunch of stuff about it failing No devices to configure. Configuration failed. Which is a pile of malarky, obviously. It also says it cannot find fbdev. hald and dbus are installed (although I get no such command when I try to start dbus from the cli (despite it being a requirement for like 50 million different packages (yes, I can nest parenthesis and use hyperbole all day long), half of which are probably installed by now)). I'm not sure why Xorg isn't seeing your video card. Do you see a device named agpgart in /dev? If not, it probably means the agp module couldn't identify your card when you last booted the machine. What's the make and model of your card, and what version of FreeBSD are you running? You're not supposed to start hald or dbus from the commandline like that. Instead add the following lines to your /etc/rc.conf file: hald_enable=YES dbus_enable=YES Then run the following commands from the command line: /usr/local/etc/rc.d/hald start /usr/local/etc/rc.d/dbus start ___ 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: Intel D510MO Mini-ITX Motherboard - Is anyone using FreeBSD on this?
On Mon 25 Jan 2010 at 02:00:47 PST Charlie Kester wrote: http://www.mini-box.com/D510MO-mini-ITX-Intel I'm thinking of ordering one of these motherboards, which have the newest dual-core Atom processor and NM10 chipset. I'm intrigued by its low-power, fanless operation. I already have FreeBSD running on one of the older Atom mobo's, so I know not to expect high-end performance from these inexpensive processors. But that older board has an annoyingly noisy fan, and I'd like to replace it. Has anyone already tried putting FreeBSD on one of these? Any problems? closing out this thread I did go ahead and buy one of these boards and can now report that FreeBSD-8.0/i386 boots and runs on it with no apparent problems. A user in the forums reports similar success running 8.0/amd64. Extremely quiet and inexpensive board. At around $80, it is one-third the cost of the Supermicro boards. Not much use as a space heater, however; I've had it running for more than 24 hours, busily recompiling ports, and the heatsink is just barely warm to the touch. Next time I reboot it I'm going to plug it into my Kill-a-Watt meter to measure its power draw... ___ 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
Intel D510MO Mini-ITX Motherboard - Is anyone using FreeBSD on this?
http://www.mini-box.com/D510MO-mini-ITX-Intel I'm thinking of ordering one of these motherboards, which have the newest dual-core Atom processor and NM10 chipset. I'm intrigued by its low-power, fanless operation. I already have FreeBSD running on one of the older Atom mobo's, so I know not to expect high-end performance from these inexpensive processors. But that older board has an annoyingly noisy fan, and I'd like to replace it. Has anyone already tried putting FreeBSD on one of these? Any problems? ___ 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: Intel D510MO Mini-ITX Motherboard - Is anyone using FreeBSD on this?
On Mon 25 Jan 2010 at 03:14:42 PST Dan Naumov wrote: Not to steal your discussion thread, but I thought I'd ask (and you'd perhaps too be interested) what's the status of FreeBSD on these 2: Supermicro X7SPA-H: http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=H Supermicro X7SPA-HF: http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=HIPMI=Y Supermicro recently came out with quite a bunch of Atom-based solutions and these 2 boards stuck out as havign 6 x SATA ports, which make them tempting for a NAS solution. Interesting. But I don't have any need for the extra SATA ports. Are there any other significant differences between the ICH9 chipset and the NM10 used on the D510MO? ___ 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: Tuning for very little RAM
On Wed 06 Jan 2010 at 04:25:31 PST Bill Moran wrote: In response to Da Rock freebsd-questi...@herveybayaustralia.com.au: Its been a while- work's has been keeping me very busy for months now. I have revived an old laptop which has very little RAM, and it is absolutely hammering the swap. I'm trying to set it up as a demo for some skeptics with no money, so I need email, internet (with plugins), openoffice, acrobat, and wine. Aside from all that though, for the academics of it how can I help this situation? The laptop has around 100MB RAM, with 16k free, and has a new install of FreeBSD 8.0. The most obvious thing to do is reduce the number of running programs. Go through /etc/ttys, for example, and disable all but one or two consoles, and edit /etc/rc.conf to disable anything that you don't need on the system (possible sendmail, syslog?, etc) The other most obvious thing to do is to look at the apps you're running and see if there are more lightweight alternatives. If I had to run a machine like that, I'd probably want to avoid X Windows altogther and go console-only. But it sounds like your skeptics won't let you do that. Assuming you have to use X, you'll want to avoid heavyweight desktop environments like KDE or Gnome. I like tiled window managers like musca or dwm myself, but your skeptics will probably want a more traditional window manager (aka MS-Windows clone) like xfce or openbox. When you say internet (with plugins) I think you mean Firefox. If this isn't a hard and fast requirement, take a look at some of the more lightweight browsers like Midori, Kazehakase or Arora. (I'd recommend even more lightweight alternatives like surf or elinks, but I don't think your skeptics will approve.) Same for OpenOffice. There are alternatives to each of the apps in the OpenOffice suite that might not have all the same bells and whistles, but will run in much less RAM. For some ideas on which apps to try, look at the apps bundled in some of the Linux distros that target small machines. http://bengross.com/smallunix.html has a good list of these distros. ___ 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: Tuning for very little RAM
On Wed 06 Jan 2010 at 09:21:06 PST Charlie Kester wrote: For some ideas on which apps to try, look at the apps bundled in some of the Linux distros that target small machines. http://bengross.com/smallunix.html has a good list of these distros. Hmm, I probably should have checked that reference more thoroughly before using it here. It's not as helpful for these purposes as I thought. Instead, I recommend googling for lightweight linux apps. It's a frequently-discussed topic, and the people involved seem to love making lists. Most of the apps mentioned are in the FreeBSD portstree, so don't be put off by the fact that the discussion is usually confined to Linux. ___ 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: Tuning for very little RAM
On Wed 06 Jan 2010 at 09:52:32 PST Warren Block wrote: On Wed, 6 Jan 2010, Charlie Kester wrote: Assuming you have to use X, you'll want to avoid heavyweight desktop environments like KDE or Gnome. I like tiled window managers like musca or dwm myself, but your skeptics will probably want a more traditional window manager (aka MS-Windows clone) like xfce or openbox. Hey, xfce is not like Windows, it's fast. LOL If you want really light and Windows-like, icewm. Although last time I tried it, desktop icons--the lifeblood of the typical Windows user--required external programs (idesk) and were a hassle. I don't think we want to hijack this thread or this forum and turn it into a debate over which window managers and apps are best. As I pointed out in my followup to my original reply, there's already a voluminous discussion on those topics. I think we should simply point interested readers in that direction and let them make up their own minds. When you say internet (with plugins) I think you mean Firefox. If this isn't a hard and fast requirement, take a look at some of the more lightweight browsers like Midori, Kazehakase or Arora. (I'd recommend even more lightweight alternatives like surf or elinks, but I don't think your skeptics will approve.) AdblockPlus and FlashBlock are near requirements for browsing, particularly for slow machines. Maybe they'll work with non-Firefox gecko browsers. Good point. Something anyone considering these Firefox alternatives should investigate. Same for OpenOffice. There are alternatives to each of the apps in the OpenOffice suite that might not have all the same bells and whistles, but will run in much less RAM. gnumeric is nice for a spreadsheet. May not be particularly lightweight, but lighter than OO. Same with Abiword for a word processor. But again, we probably shouldn't get too deep into the discussion of various apps. ___ 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: Tuning for very little RAM
On Wed 06 Jan 2010 at 11:02:49 PST Kaya Saman wrote: [...] I don't think we want to hijack this thread or this forum and turn it into a debate over which window managers and apps are best. As I pointed out in my followup to my original reply, there's already a voluminous discussion on those topics. I think we should simply point interested readers in that direction and let them make up their own minds. [...] I am currently using a PIV 2.4GHz with 480MB RAM with fluxbox! Well, I'm currently using a P3 866MHz with 512MB RAM with musca! And it works very well too. ;-) Anyway, like I said, let's not get too carried away with this line of thought. This thread is about tuning for very little RAM. Choosing lightweight apps is only one of the things needed to tackle that problem. ___ 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: Abiword window corruption
On Wed 06 Jan 2010 at 13:16:51 PST Warren Block wrote: With the recent mentions of Abiword, I've reinstalled it. Yet it has the same problem it had the last time I tried it: random pixels under the current row of text, the old cursor isn't erased when you move to a different line. Am I the only one that sees this? Sample here: http://www.wonkity.com/~wblock/abiword/abiword.jpg I just reinstalled it too. ;-) I don't see any stray pixels like you're seeing. One thing I notice is that your cursor is a lot thicker than the one I'm seeing. If Abiword is expecting you to have a thinner cursor, that might be why it doesn't erase the extra pixels when you move it. I also see several differences in the appearance of your toolbar buttons and other UI elements. What window manager are you using, and what theme? ___ 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: Abiword window corruption
On Wed 06 Jan 2010 at 13:52:53 PST Charlie Kester wrote: On Wed 06 Jan 2010 at 13:16:51 PST Warren Block wrote: With the recent mentions of Abiword, I've reinstalled it. Yet it has the same problem it had the last time I tried it: random pixels under the current row of text, the old cursor isn't erased when you move to a different line. Am I the only one that sees this? Sample here: http://www.wonkity.com/~wblock/abiword/abiword.jpg I just reinstalled it too. ;-) I don't see any stray pixels like you're seeing. One thing I notice is that your cursor is a lot thicker than the one I'm seeing. If Abiword is expecting you to have a thinner cursor, that might be why it doesn't erase the extra pixels when you move it. I also see several differences in the appearance of your toolbar buttons and other UI elements. What window manager are you using, and what theme? I just remembered that I had implemented a tip I got somewhere for forcing use of the condensed versions of the DejaVu fonts. Try saving the attached file in home directory as .fonts.config and see if it makes any difference when you restart X and abiword. ?xml version=1.0? !DOCTYPE fontconfig SYSTEM fonts.dtd fontconfig match target=pattern test name=family qual=any stringDejaVu Sans/string /test edit mode=assign name=family stringDejaVu Sans Condensed/string /edit /match match target=pattern test name=family qual=any stringDejaVu Serif/string /test edit mode=assign name=family stringDejaVu Serif Condensed/string /edit /match /fontconfig ___ 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: Abiword window corruption
On Wed 06 Jan 2010 at 14:16:55 PST Charlie Kester wrote: I just remembered that I had implemented a tip I got somewhere for forcing use of the condensed versions of the DejaVu fonts. For the curious, here's where I got that tip: http://keramida.wordpress.com/2009/11/07/dejavu-condensed-as-default/ ___ 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: Abiword window corruption
On Wed 06 Jan 2010 at 14:16:55 PST Charlie Kester wrote: On Wed 06 Jan 2010 at 13:52:53 PST Charlie Kester wrote: On Wed 06 Jan 2010 at 13:16:51 PST Warren Block wrote: With the recent mentions of Abiword, I've reinstalled it. Yet it has the same problem it had the last time I tried it: random pixels under the current row of text, the old cursor isn't erased when you move to a different line. Am I the only one that sees this? Sample here: http://www.wonkity.com/~wblock/abiword/abiword.jpg I just reinstalled it too. ;-) I don't see any stray pixels like you're seeing. One thing I notice is that your cursor is a lot thicker than the one I'm seeing. If Abiword is expecting you to have a thinner cursor, that might be why it doesn't erase the extra pixels when you move it. I also see several differences in the appearance of your toolbar buttons and other UI elements. What window manager are you using, and what theme? I just remembered that I had implemented a tip I got somewhere for forcing use of the condensed versions of the DejaVu fonts. Try saving the attached file in home directory as .fonts.config and see if it makes any difference when you restart X and abiword. On second thought, this is probably a red herring. If the stray pixels don't go away when you use a different font or change the point size, this tweak of the DejaVu font has nothing to do with it. Sorry for the misdirection! I was focused on identifying what might be different between your system and mine, and a little too narrowly on the font used in your example. Have you asked about this problem on the freebsd-gnome mailing list? ___ 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: What happened to /home?
On Wed 23 Dec 2009 at 22:33:20 PST Giorgos Keramidas wrote: On Wed, 23 Dec 2009 15:40:13 -0800, Rem P Roberti remeg...@comcast.net wrote: On 2009.12.24 00:21:47 +, Pieter de Goeje wrote: On Thursday 24 December 2009 00:01:11 Rem P Roberti wrote: Today I booted my laptop and discovered that /home was gone. Well...not exactly..but for all intents and purposes. The system isn't seeing it although I can see it when I cd to /. But if I try and cd to /home from there the system tells me home:Not a directory. What happened, and what can I do about it? Usually /home is a symlink to /usr/home. Perhaps the symlink is busted? What it the output of `ls -ld /home' ? If you can still login as a regular user, what does `pwd -P' say just after you are logged in? I can still login as regular user, and when I run 'pwd -P' the output is / and then it goes back to the prompt. Output of 'ls -ld /home is: lrwxr-xr-x 1 root wheel 8 Dec 18 12:08 /home - usr/home That's your problem right there. /home does not point to the absolute path of '/usr/home' but to a *relative* path starting at whatever happens to be your current directory when you access '/home'. Are you sure about that? On my FreeBSD 8 system, I just tried this: cd /etc ls /home/ckester and the result was a listing of my home directory, not some directory under /etc. Yet the result of ls -ld /home on my system is the same as above. The symlink named home is found in the root directory / and the relative path usr/home is apparently relative to that root directory, not the current directory. ___ 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