Re: mounting a .iso image? ... missing man page
On 10/09/13 21:25, Polytropon wrote: > On Wed, 09 Oct 2013 21:14:22 -0600, Gary Aitken wrote: >> Seems like it must be possible to mount a cd9660 image somehow without >> burning an actual disc? > > Of course. :-) I guess knowing it's possible is a start; couldn't figure out where to look to get the magic combination. > It is possible by using a virtual node "connected" to the > ISO file. Without having tested, according to your example: > > # mdconfig -u 0 -t vnode -f > /hd1/Downloads/FreeBSD/9_1/FreeBSD-9.1-RELEASE-amd64-disc1.iso for the record, that's: mdconfig -a -t vnode -u 0 -f > # mount -o ro -t cd9660 /dev/md0 /mnt/tmp > ... do stuff ... > # umount /mnt/tmp > # mdconfig -u 0 -d and that one is mdconfig -d -u 0 order appears to be important Thanks again, Gary ___ 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"
mounting a .iso image? ... missing man page
For some strange reason, my 9.1 system seems to be missing the section 1 man page for tar, although everything else seems to be there. I have an iso9660 image of 9.1 release which I tried to mount to copy the missing file, but that didn't work (can't find the CD I burned...). #mount -t cd9660 -o ro FreeBSD-9.1-RELEASE-amd64-disc1.iso /mnt/tmp mount_cd9660: /hd1/Downloads/FreeBSD/9_1/FreeBSD-9.1-RELEASE-amd64-disc1.iso: Block device required Seems like it must be possible to mount a cd9660 image somehow without burning an actual disc? Gary ___ 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: firefox: getting back several URL's as tabs?
On 10/02/13 14:49, Gary Kline wrote: > well, it just happened again. when I closed an unwanted URL, the > other two instances of firefox vanished. I know the Hard way of > getting them all back, but does is there an easy way of refilling > both browsers? oh, and if there is somewhere I can click to save > my bookmarks by-hand, please let me know before my shoulder > falls off! Usually, if it crashes, just starting up will do it. It should ask about restoring the previous session, or at least mine did the last time (quite a while ago) To save and restore bookmarks: Bookmarks/Show All Bookmarks In the window that appears, check out the "Import and Backup..." menu item. ___ 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"
firefox: getting back several URL's as tabs?
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. guys, well, it just happened again. when I closed an unwanted URL, the other two instances of firefox vanished. I know the Hard way of getting them all back, but does is there an easy way of refilling both browsers? oh, and if there is somewhere I can click to save my bookmarks by-hand, please let me know before my shoulder falls off! thanks in advance, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE ___ 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: after pkgng update, daily run still using pkg_info
> On 09/30/13 07:15, Mathew Seaman wrote: >>>> On 09/28/13 10:52, Gary Aitken wrote: >>>> After switching to pkgng, I >>>> noticed that my daily run output constantly complains about the >>>> installed packages being corrupt, e.g.: "pkg_info: the package >>>> info for package 'asciidoc-8.6.8_1' is corrupt" >>>> >>>> The problem is with etc/periodic/daily/490.status-pkg-changes >>>> which is still using "pkg_info" instead of "pkg info" >>>> >>>> Was this script supposed to be automatically updated as part of >>>> the conversion? What's the "right" way to upgrade this on a 9.1 >>>> release system? Or should I just edit the script by hand and be >>>> done with it? >>> >>> On 09/28/13 13:57, Mark Felder wrote: Run pkg_info. If there is >>> anything listed you have not fully converted to pkgng and have some >>> old broken/corrupt packages. You'll want to clean this up. >> >> What does "clean this up" mean, and how does one go about it, given >> the system is converted to using pkgng? There is no >> /var/db/pkg/pkgdb.db >> >> Some of the packages reported as corrupt were installed *after* the >> conversion to pkgng, so why is pkg_info even noticing them? "pkg >> info" reports 705 packages installed, and installs and re-installs >> using portmaster seem to be working. "pkg_info" reports 14 "good" >> packages and 658 "corrupt" packages. If pkg_info is picking up >> packages installed after the conversion, why doesn't the sum of good >> and corrupt packages equal the number pkg reports? >> >> It was my understanding that after switching to pkgng, the pkg_* cmds >> should no longer be used. If that's the case, shouldn't the daily >> script have been modified by the upgrade process? > Yes, you're correct that the pkg_info command should no longer be used > after pkgng-ifying your system. Not because it's harmful or lead to any > sort of breakage but simply because it won't return any meaningful > information. > > Ideally, there shouldn't really be any of the old style package metadata > left in /var/db/pkg after running pkg2ng but the conversion process may > occasionaly stumble over the odd port or two. (In which case force the > port in question to re-install. If you're using a package repository, > that's 'pkg install -f pkgname' -- otherwise, just > use the normal portmaster / portupgrade command you'ld have used pre-pkgng.) thanks. I was a bit confused; the ones that need to be reinstalled are the ones which pkg_info does *not* complain about. So now the daily/490.status-pkg-changes script will complain about all of them :-) Consistency is good. > If you are a portmaster user be aware that it does store various bits to > do with managing distfiles in /var/db/pkg/pkgname-ver/ subdirectories. > These shouldn't be confused with old style pkg_install metadata -- the > distinguishing feature is if they contain a +CONTENTS file. > > As to why pkg2ng doesn't disable pkg_install related periodic jobs -- > pretty much because no one has implemented that. pkg comes with it's own > set of periodic job scripts which should give you the equivalent set of > reports via the pkg local database, so all we'd need to do is turn off > any old pkg_install script and turn on the pkg equivalent. > > I've just created a new issue on github for that: > > https://github.com/freebsd/pkg/issues/599 > > Patches -- or even better, pull requests -- are welcome. Thanks for the clarification. Bit of a delay responding because something's screwed up with my mail service. It's been a while since I converted, so I'm fuzzy on what pkg2ng actually did. However, $ which pkg /usr/sbin/pkg $ pkg info pkg pkg-1.1.4_6 $ pkg which /usr/sbin/pkg /usr/sbin/pkg was not found in the database I was trying to find the set of pkg's own periodic job scripts but I don't see them, and I'm not really sure what to look for. I tried grepping for similarly numbered "490.status" and similarly named "status-pkg-changes" and came up empty, although I see the file 490.status-pkg-changes.in in the distfile. Questions: 1. Is there some reason "pkg which" doesn't find itself? 2. Where is pkg supposed to install its "own set of periodic job scripts" and what do the names look like? 3. After reinstalling the ports reported by pkg_info as ok, one of them, x11-toolkits/wxgtk28 re
Re: after pkgng update, daily run still using pkg_info
>>On 09/28/13 10:52, Gary Aitken wrote: >> After switching to pkgng, I noticed that my daily run output constantly >> complains about the installed packages being corrupt, e.g.: >> "pkg_info: the package info for package 'asciidoc-8.6.8_1' is corrupt" >> >> The problem is with >> etc/periodic/daily/490.status-pkg-changes >> which is still using "pkg_info" instead of "pkg info" >> >> Was this script supposed to be automatically updated as part of the >> conversion? What's the "right" way to upgrade this on a 9.1 release >> system? Or should I just edit the script by hand and be done with it? > >On 09/28/13 13:57, Mark Felder wrote: > Run pkg_info. If there is anything listed you have not fully converted > to pkgng and have some old broken/corrupt packages. You'll want to clean > this up. What does "clean this up" mean, and how does one go about it, given the system is converted to using pkgng? There is no /var/db/pkg/pkgdb.db Some of the packages reported as corrupt were installed *after* the conversion to pkgng, so why is pkg_info even noticing them? "pkg info" reports 705 packages installed, and installs and re-installs using portmaster seem to be working. "pkg_info" reports 14 "good" packages and 658 "corrupt" packages. If pkg_info is picking up packages installed after the conversion, why doesn't the sum of good and corrupt packages equal the number pkg reports? It was my understanding that after switching to pkgng, the pkg_* cmds should no longer be used. If that's the case, shouldn't the daily script have been modified by the upgrade process? Gary ___ 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: after pkgng update, daily run still using pkg_info
>>On 09/28/13 10:52, Gary Aitken wrote: >> After switching to pkgng, I noticed that my daily run output constantly >> complains about the installed packages being corrupt, e.g.: >> "pkg_info: the package info for package 'asciidoc-8.6.8_1' is corrupt" >> >> The problem is with >> etc/periodic/daily/490.status-pkg-changes >> which is still using "pkg_info" instead of "pkg info" >> >> Was this script supposed to be automatically updated as part of the >> conversion? What's the "right" way to upgrade this on a 9.1 release >> system? Or should I just edit the script by hand and be done with it? > >On 09/28/13 13:57, Mark Felder wrote: > Run pkg_info. If there is anything listed you have not fully converted > to pkgng and have some old broken/corrupt packages. You'll want to clean > this up. What does "clean this up" mean, and how does one go about it, given the system is converted to using pkgng? There is no /var/db/pkg/pkgdb.db Some of the packages reported as corrupt were installed *after* the conversion to pkgng, so why is pkg_info even noticing them? "pkg info" reports 705 packages installed, and installs and re-installs using portmaster seem to be working. "pkg_info" reports 14 "good" packages and 658 "corrupt" packages. If pkg_info is picking up packages installed after the conversion, why doesn't the sum of good and corrupt packages equal the number pkg reports? It was my understanding that after switching to pkgng, the pkg_* cmds should no longer be used. If that's the case, shouldn't the daily script have been modified by the upgrade process? Gary ___ 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"
after pkgng update, daily run still using pkg_info
After switching to pkgng, I noticed that my daily run output constantly complains about the installed packages being corrupt, e.g.: "pkg_info: the package info for package 'asciidoc-8.6.8_1' is corrupt" The problem is with etc/periodic/daily/490.status-pkg-changes which is still using "pkg_info" instead of "pkg info" Was this script supposed to be automatically updated as part of the conversion? What's the "right" way to upgrade this on a 9.1 release system? Or should I just edit the script by hand and be done with it? Gary ___ 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: minor vi/vim qstn
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Thu, Sep 26, 2013 at 10:05:06PM +0200, Polytropon wrote: > On Thu, 26 Sep 2013 12:51:32 -0700, Gary Kline wrote: > > my zsh does a default to 10 or so history with just > > > > % h > > > > I was trying to remember how to set it to ,, say, 100. > > Depending on _typical_ terminal heights (100 lines?), this > seems to be a bit high. But I assume zsh handles the "h" > alias similarly to the csh, where an alias is defined > (system-wide in /etc/csh.cshrc or per user in ~/.cshrc). > Look for ~/.zshrc (if I remember correctly): > > alias h 'history 25' > > and change it accordingly. An interactive change is also > possible (but will only be kept for the current session). > > I also assume the zsh has some settings on how many commands > should be kept in history. The system's /etc/csh.cshrc provides > the csh's equivalent: > > set history = 100 > set savehist = 100 > > Probably zsh has something similar. > FWIW, I just tried: alias -- h='history 50' works as it ought; last time I tried, the history quit after ~10. [?] > > > (for as many centuries as ive been using vi [nvi], there are > > *still* things I never had need to learn. so it turns out that > > a lot of theses "clever" sh scripts are over my head it > > takes mins -> hours to figure out. > > You notice that you're saying that to a programmer whose > shell scripts are usually overcomplicated, dull, and could > use lots of optimization? ;-) > > > > > > % history 20 | awk 'BEGIN {cmds=20} { printf("\t%2d\t%s\n", -(cmds-i), > > > $0); i++ }' | grep -v "history" > > > > > > It might be good to define a better exclusion pattern than just > > > "history" because that might lead to false-positives. I'd suggest > > > to rename the variables in the awk script to something unique and > > > then grep for those instead... > > > > > I have grep -v aliased to grv. > > If you're using that alias inside another alias, zsh (if it > acts like csh) will expand it properly. Using such an alias > in a "one-time entry" (as I'd consider an addition to a > configuration file) still doesn't sound optimal regarding > readability and maintainability. As if we would ever maintain > our "naturally grown" (over centuries) configuration files... ;-) > > Still I think turning the example into a shell alias ("h20") or > assigning it (with 20 -> 10) to the "precmd" alias could not > be trivial, at least regarding the C shell, because lots of > quoting and escaping would be needed; maybe zsh does not behave > like a madman in this regards ("unmatched this, unmatched that, > sytax error, cannot expand, missing argument, blah ..."). :-) > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE ___ 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: minor vi/vim qstn
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Thu, Sep 26, 2013 at 10:05:06PM +0200, Polytropon wrote: > On Thu, 26 Sep 2013 12:51:32 -0700, Gary Kline wrote: > > my zsh does a default to 10 or so history with just > > > > % h > > > > I was trying to remember how to set it to ,, say, 100. > > Depending on _typical_ terminal heights (100 lines?), this > seems to be a bit high. But I assume zsh handles the "h" > alias similarly to the csh, where an alias is defined > (system-wide in /etc/csh.cshrc or per user in ~/.cshrc). > Look for ~/.zshrc (if I remember correctly): > > alias h 'history 25' > > and change it accordingly. An interactive change is also > possible (but will only be kept for the current session). > > I also assume the zsh has some settings on how many commands > should be kept in history. The system's /etc/csh.cshrc provides > the csh's equivalent: > > set history = 100 > set savehist = 100 I'remember seeing this a long time ago. in my ~/.zshrc I've got iit in all CAPS. HISTFILE=~/.zhistory SAVEHIST='5000' HISTSIZE=1000 got to google this; been tooo long since I glanced at the code! > > Probably zsh has something similar. > > > > > (for as many centuries as ive been using vi [nvi], there are > > *still* things I never had need to learn. so it turns out that > > a lot of theses "clever" sh scripts are over my head it > > takes mins -> hours to figure out. > > You notice that you're saying that to a programmer whose > shell scripts are usually overcomplicated, dull, and could > use lots of optimization? ;-) > ;-) > > > > % history 20 | awk 'BEGIN {cmds=20} { printf("\t%2d\t%s\n", -(cmds-i), > > > $0); i++ }' | grep -v "history" > > > > > > It might be good to define a better exclusion pattern than just > > > "history" because that might lead to false-positives. I'd suggest > > > to rename the variables in the awk script to something unique and > > > then grep for those instead... > > > > > I have grep -v aliased to grv. > > If you're using that alias inside another alias, zsh (if it > acts like csh) will expand it properly. Using such an alias > in a "one-time entry" (as I'd consider an addition to a > configuration file) still doesn't sound optimal regarding > readability and maintainability. As if we would ever maintain > our "naturally grown" (over centuries) configuration files... ;-) > > Still I think turning the example into a shell alias ("h20") or > assigning it (with 20 -> 10) to the "precmd" alias could not > be trivial, at least regarding the C shell, because lots of > quoting and escaping would be needed; maybe zsh does not behave > like a madman in this regards ("unmatched this, unmatched that, > sytax error, cannot expand, missing argument, blah ..."). :-) > > I'll be typing for 10 years before I'v saved the keystrokes ive spent here > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE ___ 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: minor vi/vim qstn
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Thu, Sep 26, 2013 at 03:26:29PM +0200, Polytropon wrote: > On Wed, 25 Sep 2013 19:47:08 -0700, Gary Kline wrote: > > dunno how you know im using the zsh, but yup. > > This is because of my magical allknowinglyness. :-) > > You wrote: > > > > > pts/14 17:11 [5011] vi! > > > > zsh: command not found: vi! > ^^^ > This gave me the impression you're using the Z shell. > > The C shell says: > > % vi! > vi!: Command not found. > > And bash says: > > $ vi! > bash: vi!: command not found > > So the shell that says "zsh" should be the Z shell, or a different > shell that's just lying. :-) Oh, n! ive got to go hide my head in the sand for 25 years... { it's so emmbarrassing!!} > > > with the bang stuff > > if you do a > > > > % !-3 > > > > you go back three vi cmds. !-N, N cmds. > > Yes, this also works in C shell. You can use the "h" (or "history") > builtin command to get an impression of content of the last commands > submitted to the shell. > > At least in csh, > > % !-1 > > equals > > % !! > > and repeats the last command. > > You could use the following command to print the last 20 commands > with the relative number (-1, -2, -3 and so on) printed infront of > them: > > % history 20 | awk 'BEGIN {cmds=20} { printf("\t%2d\t%s\n", -(cmds-i), > $0); i++ }' > > It's probably a good idea to define an alias for that, like "h20" > (history of last 20 commands). my zsh does a default to 10 or so history with just % h I was trying to remember how to set it to ,, say, 100. I use as many zsh-isms as saves keystrokes. thanks for that awk shortcut; ill use ir... :_) > You could also use the zsh's equivalent of the "precmd" alias: It > is a command that will be executed prior to displaying the shell > prompt, so after you're done with a command, the last commands > (maybe shortened to 10, just substitute the two appearances of > the "20" to "10") will be displayed before the prompt appears; > this will make it easier (and save keystrokes) to check the last > commands and maybe repeat one. > > Downside: The command "pollutes" the list of commands with itself, > so it should probably be grepped away. good grief, man. I just got up from a nap... can you re-word that? no, kidding. I get it. (for as many centuries as ive been using vi [nvi], there are *still* things I never had need to learn. so it turns out that a lot of theses "clever" sh scripts are over my head it takes mins -> hours to figure out. > > % history 20 | awk 'BEGIN {cmds=20} { printf("\t%2d\t%s\n", -(cmds-i), > $0); i++ }' | grep -v "history" > > It might be good to define a better exclusion pattern than just > "history" because that might lead to false-positives. I'd suggest > to rename the variables in the awk script to something unique and > then grep for those instead... > I have grep -v aliased to grv. > > > thankfully there are shortcuts! > > And shell aliases. :-) > > > > > ps: zsh is sort of a ksh clone; I remember porting the zsh onto > > my 286 in 1989. got a lot of csh-isms :) > > The Z shell combines nice interactive features of the C shell > (to be correct: the tcsh) and the scripting features of sh and > bash. It's considered one of the most powerful shells. So it's > a wise move to use it, because it combines "the _good_ things of > both worlds" (and not the bad things, as the csh is a terrible > scripting shell, just as plain sh is an awful dialog shell). > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE ___ 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: minor vi/vim qstn
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Thu, Sep 26, 2013 at 03:06:00AM +0200, Polytropon wrote: > On Wed, 25 Sep 2013 17:21:04 -0700, Gary Kline wrote: > > Organization: Thought Unlimited. Public service Unix since 1986. > > Of_Interest: With 27 years of service to the Unix community. > > > > On Thu, Sep 26, 2013 at 12:23:27AM +0200, Polytropon wrote: > > > On Wed, 25 Sep 2013 14:27:41 -0700, Gary Kline wrote: > > > > am I misremembering this feature, or didnt vi have a syntax > > > > where > > > > you typed something like: > > > > > > > > % vi[#] or % vi [-2] [or vi [-N] > > > > > > > > to repeat the last or the second from last command? with my > > > > shoulder sore bloody sore I need to save every key stroke. > > > > > > To repeat the last command, "." can be used. > > > > > > The vi editor (and probably vim and gvim) supports > > > according to "man vi": > > > > > >[Vi]i[sual][!] [+cmd] [file] > > > Vi mode only. Edit a new file. > > > > > > Is this what you're searching for? > > > > > > I THOGoHT it was "!", but lookit: > > > > > > pts/14 17:11 [5010] vi sent > > pts/14 17:11 [5011] vi! > > zsh: command not found: vi! > > pts/14 17:12 [5012] > > > > ... this is vi == vim. > > > > AHA:: found it. it's [bang] > > > > > > pts/14 17:17 [5016] vi sent > > pts/14 17:17 [5017] !v > > > > > > I'll tell ya, if vi disappeared , I'd end it all! > > Ah, I see - you've been refering to repeating a _shell_ > command (so the question was regarding the shell, which > in your case is Z shell). > > You can probably use (like in the C shell) the arrow keys > to browse the command history. Similarly, you can use the > "!" command refering to the command number obtained > by the "history" command. There's a handy alias defined > globally for the C shell: "h" which means "history 25" > (lists the last 25 commands), handy in regards of saving > keystrokes. :-) > > I assume the zsh is also capable of "filtered history": > For example, you enter "vi s" and use the up and down > arrow keys to browse all commands that have been entered > starting with "vi s" (for example "vi sent", "vi stuff" > and so on). If the system's csh can do this, zsh should > also provide this useful feature. > > And as your prompt "pts/14 17:12 [5012]" suggests, > the command number is being shown. If this information > is the same as the command number in the history, entering > "!5010" would execute the 2nd from last command. > > To repeat the last command, whatever it has been, "!!" > can be used. Again, this works in csh, so I can't predict > if it will work in zsh too, but I _assume_ it does. > dunno how you know im using the zsh, but yup. with the bang stuff if you do a % !-3 you go back three vi cmds. !-N, N cmds. thankfully there are shortcuts! gary ps: zsh is sort of a ksh clone; I remember porting the zsh onto my 286 in 1989. got a lot of csh-isms :) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE ___ 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: minor vi/vim qstn
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Thu, Sep 26, 2013 at 12:23:27AM +0200, Polytropon wrote: > On Wed, 25 Sep 2013 14:27:41 -0700, Gary Kline wrote: > > am I misremembering this feature, or didnt vi have a syntax where > > you typed something like: > > > > % vi[#] or % vi [-2] [or vi [-N] > > > > to repeat the last or the second from last command? with my > > shoulder sore bloody sore I need to save every key stroke. > > To repeat the last command, "." can be used. > > The vi editor (and probably vim and gvim) supports > according to "man vi": > >[Vi]i[sual][!] [+cmd] [file] > Vi mode only. Edit a new file. > > Is this what you're searching for? I THOGoHT it was "!", but lookit: pts/14 17:11 [5010] vi sent pts/14 17:11 [5011] vi! zsh: command not found: vi! pts/14 17:12 [5012] ... this is vi == vim. AHA:: found it. it's [bang] pts/14 17:17 [5016] vi sent pts/14 17:17 [5017] !v I'll tell ya, if vi disappeared , I'd end it all! tx. gary > Or do you refer to command lines where "@:" would repeat the -N T- 34/41: P> last command (started with ":")? > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE ___ 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"
minor vi/vim qstn
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. folks, am I misremembering this feature, or didnt vi have a syntax where you typed something like: % vi[#] or % vi [-2] [or vi [-N] to repeat the last or the second from last command? with my shoulder sore bloody sore I need to save every key stroke. TIA, y'all, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE ___ 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: howto kill x if x is running?
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Sun, Sep 15, 2013 at 07:56:17AM +0100, Matthew Seaman wrote: > On 15/09/2013 07:20, Gary Kline wrote: > > > I've evidently had too many pain meds; this shelll script should > > be easy. say that I have a utility xxx running sometimes. xxx is > > soaking up a chunk of my load. I have to use top to find if > > xxx is running, then kill -9 to kill xxx and have a steady load of, > > say, between 0.10 and 0.15. what's the script that can do this? > > The classic answer to this is that you need to find the pid of your > 'xxx' process, and then kill it using that. Some combination of ps(1) > and grep(1) usually sufficed. > > However nowadays there's the very handy pkill(1): > > pkill -9 xxx > > Tying that in with the trigger based on system load: > > #!/bin/sh > > load=$(sysctl vm.loadavg | cut -d ' ' -f 3) > too_high=$(bc -e "$load > 0.15" < /dev/null) > > if [ $too_high = '1' ]; then > pkill -9 xxx > fi > > Note the use of bc(1) to compare floating point values -- the built-in > $((shell arithmetic)) or expr(1) only do integer arithmetic. > > One final point -- instead of killing the xxx process when the load gets > too high, you could simply renice(1) it to very low priority. Or even > better, use idprio(1). > > This won't actually affect the system load values much as 'system load' > is an average of the number of processes requesting a CPU time slice. > What it does do is mean that your 'xxx' process is always pretty much > the last process to get any CPU time -- so everything else should remain > responsive, and your xxx process will only run when the system is > otherwise idle. > > Cheers, > > Matthew thanks very much, gents. no, it wasnt my med; it was that I slept ttoo much:: Old age. "pkill -9 utility" works. the 0.15 or 0.10 were arbitrrary. the default load adverage should be even less since the box is just sitting here! ...well, it's replying to lookup, I suppose. tx again, gary > -- > Dr Matthew J Seaman MA, D.Phil. > > PGP: http://www.infracaninophile.co.uk/pgpkey > JID: matt...@infracaninophile.co.uk > -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE ___ 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"
howto kill x if x is running?
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. guys, I've evidently had too many pain meds; this shelll script should be easy. say that I have a utility xxx running sometimes. xxx is soaking up a chunk of my load. I have to use top to find if xxx is running, then kill -9 to kill xxx and have a steady load of, say, between 0.10 and 0.15. what's the script that can do this? gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE ___ 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"
eclipse CDT UnsatisfiedLinkError: no spawner in java.library.path
Anyone using eclipse CDT? When I start to compile something, I get the following error in the shell from which eclipse was started: java.lang.UnsatisfiedLinkError: no spawner in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at org.eclipse.cdt.utils.spawner.ProcessFactory.(ProcessFactory.java:39) at org.eclipse.cdt.utils.spawner.ProcessFactory.getFactory(ProcessFactory.java:51) at org.eclipse.cdt.core.CommandLauncher.execute(CommandLauncher.java:151) at org.eclipse.cdt.managedbuilder.internal.buildmodel.CommandBuilder.build(CommandBuilder.java:165) ... The last class (ProcessFactory) is in /usr/local/lib/eclipse/plugins/org.eclipse.cdt.core_5.1.2.201002161416.jar Anyone know what the missing piece / magic is? (The compile *seems* to work, reporting errors, responding to corrections, etc., but I'm pointing at a port and it's not working yet) 9.1 RELEASE, ports updated a day or two ago. ___ 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 port (qt4 part?) contains linguist.dcf et al.?
On 09/13/13 10:47, Chris Kelley wrote: > Just a quick search through ports/x11-toolkits: > > /usr/ports/x11-toolkits # grep -R "linguist.dcf" * > qt33/pkg-plist:share/doc/qt/html/linguist.dcf > > Looks to be x11-toolkits/qt33. How old is your ports tree? According to freshports it expired on 20130-7-01 # portmaster x11-toolkits/qt33 ===>>> The x11-toolkits/qt33 port has been deleted: Has expired: No upstream activity since 2008; unmaintained ===>>> Aborting update Is there an easy way to get the distfile when the port has been deleted? Maybe the files have been moved to some qt4 port, but after doing a make extract on some of them I couldn't find them. > On Sep 13, 2013, at 9:34 AM, Gary Aitken wrote: > >> Can someone tell me which port is the source for linguist.dcf and friends? >> >> I have lprof-devel installed, but not the full qt4, and these files are >> missing so the lprof help doesn't work. I suspect a missing dependency, >> but would prefer not to install all of qt4 to find out. >> >> Thanks. >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
which port (qt4 part?) contains linguist.dcf et al.?
Can someone tell me which port is the source for linguist.dcf and friends? I have lprof-devel installed, but not the full qt4, and these files are missing so the lprof help doesn't work. I suspect a missing dependency, but would prefer not to install all of qt4 to find out. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
lprof startup issue, QAssistantClient not found
After installing (and reinstalling) devel/lprof, I keep getting the error: "The QAssistantClient executable was not found. Make sure that assistant(.exe)is located either in your PATH or in the $QTDIR/bin directory. Help will not be availble until this is corrected." I have both devel/qt4-assistant devel/qt4-assistant-adp installed, but that doesn't seem to make any difference. "assistant-qt4" and "assistant_adp" both exist in /usr/local/bin If I create a symbolic link of "assistant" to either of the assistant* executables I no longer get the error message, but no help shows up either... ideas? ___ 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: initialize msdosfs on memory stick?
On 09/12/13 20:58, Warren Block wrote: > On Thu, 12 Sep 2013, Gary Aitken wrote: > >> On 09/12/13 17:52, Warren Block wrote: >>> On Thu, 12 Sep 2013, Gary Aitken wrote: >>> >>>> I can't seem to find how to do this in the handbook or man pages. I >>>> need to initialize a usb memory stick with an msdos file system. Is >>>> it possible, or do I have to find a windoze system? >>> >>> Sure, it's possible. For maximum compatibility, I'd suggest creating >>> an MBR layout on it. Some devices expect that. Assuming it is da0 >>> (make sure) and that everything on it has been backed up... >>> >>> # gpart destroy -F da0 >>> # gpart create -s mbr da0 >>> # gpart add -t \!12 da0 >>> # newfs_msdos -F32 /dev/da0s1 >> >> That worked, thanks. >> >> Where is the magic file type !12 described? >> I don't see it as one of the possibilities in man gpart. > > It's one of the many MS-DOS FAT variations: > http://en.wikipedia.org/wiki/Partition_type Not fair, that makes it really magic ;-) Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: initialize msdosfs on memory stick?
On 09/12/13 17:52, Warren Block wrote: > On Thu, 12 Sep 2013, Gary Aitken wrote: > >> I can't seem to find how to do this in the handbook or man pages. I >> need to initialize a usb memory stick with an msdos file system. Is >> it possible, or do I have to find a windoze system? > > Sure, it's possible. For maximum compatibility, I'd suggest creating > an MBR layout on it. Some devices expect that. Assuming it is da0 > (make sure) and that everything on it has been backed up... > > # gpart destroy -F da0 > # gpart create -s mbr da0 > # gpart add -t \!12 da0 > # newfs_msdos -F32 /dev/da0s1 That worked, thanks. Where is the magic file type !12 described? I don't see it as one of the possibilities in man gpart. ___ 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: initialize msdosfs on memory stick?
On 09/12/13 16:26, Polytropon wrote: > On Thu, 12 Sep 2013 16:13:11 -0600, Gary Aitken wrote: >> On 09/12/13 15:51, Polytropon wrote: >>> On Thu, 12 Sep 2013 15:39:26 -0600, Gary Aitken wrote: >>>> I can't seem to find how to do this in the handbook or man pages. >>>> I need to initialize a usb memory stick with an msdos file system. >>>> Is it possible, or do I have to find a windoze system? >>> >>> It is possible. The OS provides the newfs_msdos tool. >>> There is no need to deal with "Windows" for this task. >>> >> >> Great, thanks. >> I checked the newfs manpage but didn't look too carefully when the summary >> line said "construct a new UFS1/UFS2 file system" > > That's correct: newfs "refers to newfs_ufs" (which obviously > initializes a UFS file system), but there are other newfs_* > just as there are corresponding (and more) mount_* commands. > > See "man newfs_msdos" for more details. I see that; but was surprised newfs didn't see-also newfs_msdosfs. Anyhoo... ugh, I think I just screwed it up, not thinking things through. After doing # newfs_msdos -F 32 -S 4096 /dev/da0 newfs_msdos: trim 62 sectors to adjust to a multiple of 63 /dev/da0: 979584 sectors in 30612 FAT32 clusters (131072 bytes/cluster) BytesPerSec=4096 SecPerClust=32 ResSectors=4 FATs=2 Media=0xf0 SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=979650 FATsecs=30 RootCluster=2 FSInfo=1 Backup=2 I can't mount it, and there are no partitions: # ls /dev/da0* /dev/da0 # mount -t msdosfs /dev/da0 /mnt/memstick mount_msdosfs: /dev/da0: Invalid argument Normally there is a /dev/da0s1. I suspect I *should* have used /dev/da0s1 in the newfs_msdos cmd. So, attempting to re-establish the partitions: #gpart create -s MBR da0 da0 created # gpart show -l da0 => 63 7837633 da0 MBR (3.8G) 63 7837633 - free - (3.8G) # gpart add -t mbr da0 gpart: Invalid argument now what? Is mbr the wrong kind of partition type? man gpart indicates the MBR scheme requires the GEOM_PART_MBR kernel option; since the create succeeded, I'm assuming this is present? ___ 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: initialize msdosfs on memory stick?
On 09/12/13 15:51, Polytropon wrote: > On Thu, 12 Sep 2013 15:39:26 -0600, Gary Aitken wrote: >> I can't seem to find how to do this in the handbook or man pages. >> I need to initialize a usb memory stick with an msdos file system. >> Is it possible, or do I have to find a windoze system? > > It is possible. The OS provides the newfs_msdos tool. > There is no need to deal with "Windows" for this task. > Great, thanks. I checked the newfs manpage but didn't look too carefully when the summary line said "construct a new UFS1/UFS2 file 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"
initialize msdosfs on memory stick?
I can't seem to find how to do this in the handbook or man pages. I need to initialize a usb memory stick with an msdos file system. Is it possible, or do I have to find a windoze 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: trouble building lsof?
On 09/01/13 20:34, ill...@gmail.com wrote: > On 1 September 2013 22:32, ill...@gmail.com wrote: >> On 1 September 2013 20:36, Gary Aitken wrote: >>> portsnap and update just done, >>> UPDATING shows nothing, >>> /etc/make.conf contains >>> WITH_PKGNG=yes >> >> I don't know, but I have it set to use gcc46 & it builds fine. >> >> Do you perhaps have >> WITH_CLANG_IS_CC= >> set? >> > > Check that. > > It builds fine with clang on 9.2-RC3. strange. #make build-depends-list /usr/ports/ports-mgmt/pkg there are no dependencies other than bare system ones, so it's doubly strange. It's complaining that ThreadRuneLocale is undefined. It's referenced in /usr/include/runetype.h, but not defined in any of /usr/include/*.h or /usr/include/sys/*.h Can someone tell me where it's supposed to be defined? ___ 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"
trouble building lsof?
portsnap and update just done, UPDATING shows nothing, /etc/make.conf contains WITH_PKGNG=yes #cd /usr/ports #portmaster sysutils/lsof ... ===>>> All dependencies are up to date ===> Cleaning for lsof-4.88.d,8 ===> lsof-4.88.d,8 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by lsof-4.88.d,8 for building ===> Extracting for lsof-4.88.d,8 => SHA256 Checksum OK for lsof_4.88D.freebsd.tar.bz2. ===> Patching for lsof-4.88.d,8 ===> Configuring for lsof-4.88.d,8 Creating ./lockf_owner.h from /usr/src/sys/kern/kern_lockf.c ./lockf_owner.h creation succeeded. rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c dstore.c dzfs.h kernelbase.h machine.h machine.h.old new_machi ne.h __lseek.s Makefile Makefile.zfs ./tests/config.cflags rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags Testing C library for localtime() and strftime(), using cc ... present ln -s dialects/freebsd/dlsof.h dlsof.h ln -s dialects/freebsd/dmnt.c dmnt.c ln -s dialects/freebsd/dnode.c dnode.c ln -s dialects/freebsd/dnode1.c dnode1.c ln -s dialects/freebsd/dnode2.c dnode2.c ln -s dialects/freebsd/dproc.c dproc.c ln -s dialects/freebsd/dproto.h dproto.h ln -s dialects/freebsd/dsock.c dsock.c ln -s dialects/freebsd/dstore.c dstore.c ln -s dialects/freebsd/dzfs.h dzfs.h ln -s dialects/freebsd/machine.h machine.h Makefile and lib/Makefile created. Makefile.zfs created. ./tests/config.cc created ./tests/config.cflags created ./tests/config.ldflags created ./tests/config.xobj created ===> Building for lsof-4.88.d,8 (cd lib; /usr/bin/make DEBUG="-O2" CFGF="-pipe -fno-strict-aliasing -DHASTASKS -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASWCTYPE_H - DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=9000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"9.1-RELEASE-p6\"") Constructing version.h cc -pipe -fno-strict-aliasing -DHASTASKS -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS 1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHA S_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=9000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VST R=\"9.1-RELEASE-p6\" -I/usr/src/sys -O2 -c dmnt.c cc -pipe -fno-strict-aliasing -DHASTASKS -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS 1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHA S_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=9000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VST R=\"9.1-RELEASE-p6\" -I/usr/src/sys -O2 -c dnode.c cc -pipe -fno-strict-aliasing -DHASTASKS -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS 1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHA S_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=9000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VST R="9.1-RELEASE-p6" -I/usr/src/sys -O2 -c ckkv.c In file included from /usr/include/_ctype.h:94, from /usr/include/ctype.h:46, from lsof.h:49, from dnode.c:39: /usr/include/runetype.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const' /usr/include/runetype.h: In function '__getCurrentRuneLocale': /usr/include/runetype.h:96: error: '_ThreadRuneLocale' undeclared (first use in this function) /usr/include/runetype.h:96: error: (Each undeclared identifier is reported only once /usr/include/runetype.h:96: error: for each function it appears in.) ... bazillions more :-( has to be something stupid on my part... hints? ___ 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"
how to find where a port came from and rebuild with debug symbols
If I have a core file that implicates a library: #0 0x00080525cab0 in wxWindow::DoSetSize () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 and #16 0x0008056bf720 in wxAuiManager::Update () from /usr/local/lib/libwx_gtk2u_aui-2.8.so.0 and I want to find out which port these came from so I can rebuild it with debug symbols, how do I do that? $ nm -a /usr/local/lib/libwx_gtk2u_core-2.8.so.0 nm: /usr/local/lib/libwx_gtk2u_core-2.8.so.0: no symbols Clearly I'm doing something wrong there... So I try guessing: pkg_info pkg_info | grep gtk2 linux-f10-gtk2-2.14.7_4 GTK+ library, version 2.X (Linux Fedora 10) webkit-gtk2-1.8.3_2 An opensource browser engine wxgtk2-common-2.8.12_2 The wxWidgets GUI toolkit (common files) wxgtk2-unicode-2.8.12_2 The wxWidgets GUI toolkit (Unicode) more guessing: locate wxgtk2-common /var/db/pkg/wxgtk2-common-2.8.12_2 /var/db/pkg/wxgtk2-common-2.8.12_2/+COMMENT /var/db/pkg/wxgtk2-common-2.8.12_2/+CONTENTS /var/db/pkg/wxgtk2-common-2.8.12_2/+DESC /var/db/pkg/wxgtk2-common-2.8.12_2/+MTREE_DIRS /var/db/pkg/wxgtk2-common-2.8.12_2/+REQUIRED_BY /var/db/pkg/wxgtk2-common-2.8.12_2/distfiles After grousing around I find drwxr-xr-x 4 root wheel 512 Aug 24 09:38 x11-toolkits/wxgtk28 drwxr-xr-x 2 root wheel 512 Aug 8 10:51 x11-toolkits/wxgtk28-common drwxr-xr-x 2 root wheel 512 Feb 17 2013 x11-toolkets/wxgtk28-contrib drwxr-xr-x 2 root wheel 512 Feb 17 2013 x11-toolkits/wxgtk28-contrib-common drwxr-xr-x 2 root wheel 512 Aug 8 10:51 x11-toolkits/wxgtk28-unicode drwxr-xr-x 2 root wheel 512 Feb 17 2013 x11-toolkits/wxgtk28-unicode-contrib After doing a make of x11-toolkits/wxgtk28 I find a bunch of lib*.so in ../work/wxGTK-2.8.12/lib and doing nm on them I discover what I want is in libwx_gtk2_aui-2.8.so libwx_gtk2_core-2.8.so However, neither of these exists in /usr/local/lib; only a bunch of other libux things. So.. ldd /usr/local/bin/hugin | grep libwx libwx_baseu-2.8.so.0 => /usr/local/lib/libwx_baseu-2.8.so.0 (0x804d07000) libwx_gtk2u_core-2.8.so.0 => /usr/local/lib/libwx_gtk2u_core-2.8.so.0 (0x80506d000) libwx_gtk2u_aui-2.8.so.0 => /usr/local/lib/libwx_gtk2u_aui-2.8.so.0 (0x80568e000) libwx_gtk2u_xrc-2.8.so.0 => /usr/local/lib/libwx_gtk2u_xrc-2.8.so.0 (0x805904000) libwx_gtk2u_html-2.8.so.0 => /usr/local/lib/libwx_gtk2u_html-2.8.so.0 (0x805ba6000) libwx_baseu_xml-2.8.so.0 => /usr/local/lib/libwx_baseu_xml-2.8.so.0 (0x805e65000) libwx_gtk2u_adv-2.8.so.0 => /usr/local/lib/libwx_gtk2u_adv-2.8.so.0 (0x80606f000) libwx_gtk2u_gl-2.8.so.0 => /usr/local/lib/libwx_gtk2u_gl-2.8.so.0 (0x806356000) libwx_baseu_net-2.8.so.0 => /usr/local/lib/libwx_baseu_net-2.8.so.0 (0x806564000) help? And, assuming I find the right port, how do I rebuild / install it with symbols left in? ___ 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: hugin?
On 08/23/13 07:10, Warren Block wrote: > On Thu, 22 Aug 2013, Gary Aitken wrote: > >> Is anyone using the current port of hugin successfully on 9.1? I've >> never used it before but an attempt to start it crashes: >> >> $ hugin /usr/local/share/hugin/data/plugins/top_five.py CAT:Control >> Points NAM:keep 5 CPs per image pair >> /usr/local/share/hugin/data/plugins/woa.py CAT:Control Points >> NAM:Warped Overlap Analysis >> /usr/local/share/hugin/data/plugins/shooting_pattern.py CAT:initial >> distribution NAM:6-1-1 Shooting Pattern >> /usr/local/share/hugin/data/plugins/crop_cp.py CAT:Control Points >> NAM:Crop Control Points Segmentation fault: 11 (core dumped) > > That could be from having the OpenGL preview window enabled. In > ~/.hugin, go to the [GLPreviewFrame] section and set isShown to zero. > After the program starts, that can be set in the Preferences: > File/Preferences/Assistant "After align open". Set it to "Preview > Window" rather than "Fast preview window". I don't see any "GLPreviewFrame", or any "Preview" at all; or any "Shown": cat .hugin version=2012.0 [AutoPano] AutoPanoCount=10 Default=0 [AutoPano/AutoPano_0] Type=1 Description=Hugin's CPFind Program=cpfind Arguments=--multirow -o %o %s ProgramMatcher= ArgumentsMatcher= Option=1 [AutoPano/AutoPano_1] Type=1 Description=Hugin's CPFind + Celeste (slower but more accurate, no cps on clouds) Program=cpfind Arguments=--celeste --multirow -o %o %s ProgramMatcher= ArgumentsMatcher= Option=1 [AutoPano/AutoPano_2] Type=2 Description=Cpfind (multirow/stacked) Program=cpfind Arguments=-o %o --multirow %s ProgramMatcher= ArgumentsMatcher= ProgramStack=align_image_stack ArgumentsStack=-f %v -v -p %o %i Option=1 [AutoPano/AutoPano_3] Type=1 Description=Autopano-SIFT-C Program=autopano-noop.sh Arguments=--maxmatches %p --projection %f,%v %o %i ProgramMatcher= ArgumentsMatcher= Option=1 [AutoPano/AutoPano_4] Type=1 Description=Panomatic Program=panomatic Arguments=-o %o %i ProgramMatcher= ArgumentsMatcher= Option=1 [AutoPano/AutoPano_5] Type=4 Description=Autopano-SIFT-C (multirow/stacked) Program=generatekeys Arguments=%i %k 800 ProgramMatcher=autopano ArgumentsMatcher=--maxmatches %p %o %k ArgumentsCleanup= ProgramStack=align_image_stack ArgumentsStack=-f %v -v -p %o %i Option=1 [AutoPano/AutoPano_6] Type=1 Description=Align image stack Program=align_image_stack Arguments=-f %v -v -p %o %i ProgramMatcher= ArgumentsMatcher= Option=1 [AutoPano/AutoPano_7] Type=1 Description=Align image stack FullFrameFisheye Program=align_image_stack Arguments=-f %v -e -p %o %i ProgramMatcher= ArgumentsMatcher= Option=1 [AutoPano/AutoPano_8] Type=1 Description=Vertical lines Program=linefind Arguments=-o %o %s ProgramMatcher= ArgumentsMatcher= Option=1 [AutoPano/AutoPano_9] Type=1 Description=Hugin's CPFind (prealigned) Program=cpfind Arguments=--prealigned -o %o %s ProgramMatcher= ArgumentsMatcher= Option=1 gdb shows the following: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 812807400 (LWP 100339/hugin)] 0x00080525cab0 in wxWindow::DoSetSize () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 (gdb) where #0 0x00080525cab0 in wxWindow::DoSetSize () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 #1 0x000805342c7e in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 #2 0x0008053546f0 in wxWindowBase::Layout () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 #3 0x00080537f5d6 in wxPanel::OnSize () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 #4 0x000804dfe48d in wxEvtHandler::ProcessEventIfMatches () from /usr/local/lib/libwx_baseu-2.8.so.0 #5 0x000804dfe64c in wxEventHashTable::HandleEvent () from /usr/local/lib/libwx_baseu-2.8.so.0 #6 0x000804dfe78d in wxEvtHandler::ProcessEvent () from /usr/local/lib/libwx_baseu-2.8.so.0 #7 0x00080525ca85 in wxWindow::DoSetSize () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 #8 0x000805342c7e in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 #9 0x000805342c03 in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 #10 0x000805342c7e in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 #11 0x000805342c03 in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 #12 0x000805342c7e in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 #13 0x000805342c7e in wxBoxSizer::RecalcSizes () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 #14 0x0008053546f0 in wxWindowBase::Layout () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0 #15 0x0008056b7f08 in wxAuiManager::DoFrameLayout () from /usr/local/lib/libwx_gtk2u_aui-2.8.so.0 #16 0x0008056bf720 in wxAuiManager::Update () from /usr/local/lib/libwx_gtk2u_a
hugin?
Is anyone using the current port of hugin successfully on 9.1? I've never used it before but an attempt to start it crashes: $ hugin /usr/local/share/hugin/data/plugins/top_five.py CAT:Control Points NAM:keep 5 CPs per image pair /usr/local/share/hugin/data/plugins/woa.py CAT:Control Points NAM:Warped Overlap Analysis /usr/local/share/hugin/data/plugins/shooting_pattern.py CAT:initial distribution NAM:6-1-1 Shooting Pattern /usr/local/share/hugin/data/plugins/crop_cp.py CAT:Control Points NAM:Crop Control Points Segmentation fault: 11 (core dumped) ___ 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: ipfw confusion
On 08/20/13 12:41, Dan Lists wrote: > You might turn on logging and post the logs of what is being blocked. > Sometimes things are being blocked by rules you do not expect. Thanks for the suggestion. I was seeing refusals from named and mistakenly interpreting them as ipfw issues. > On Mon, Aug 19, 2013 at 4:18 PM, Gary Aitken wrote: > >> On 08/19/13 00:36, Jason Cox wrote: >>> Are you sure that your DNS requests are over TCP? DNS primarily uses UDP >> to >>> serve requests. TCP is used when the response data size exceeds 512 bytes >>> (I think), or for tasks such as zone transfers. I know a few resolver >>> implementations use TCP for all queries, but most I have used not. You >>> might want to add rules to allow UDP as well. >> >> There are identical rules included for udp: >> >> 21149 allow udp from any to 12.32.44.142 dst-port 53 in via tun0 keep-state >> 21169 allow udp from any to 12.32.36.65 dst-port 53 in via tun0 keep-state >> >> One of the requests which is being refused is a zone transfer request from >> a secondary which is a tcp request. Others are probably udp. >> >>> On Sun, Aug 18, 2013 at 11:06 PM, Gary Aitken >> wrote: >>> >>>> I'm having some weird ipfw behavior, or it seems weird to me, and am >>>> looking >>>> for an explaination and then a way out. >>>> >>>> ipfw list >>>> ... >>>> 21109 allow tcp from any to 12.32.44.142 dst-port 53 in via tun0 setup >>>> keep-state >>>> 21129 allow tcp from any to 12.32.36.65 dst-port 53 in via tun0 setup >>>> keep-state >>>> ... >>>> 65534 deny log logamount 5 ip from any to any >>>> >>>> tail -f messages >>>> Aug 18 23:33:06 nightmare named[914]: client 188.231.152.46#63877: error >>>> sending response: permission denied >>>> >>>> 12.32.36.65 is the addr of the internal interface (xl0) on the firewall >>>> and is the public dns server. >>>> 12.32.44.142 is the addr of the external interface (tun0) which is >> bridged >>>> on a >>>> dsl line. >>>> >>>> It appears that a dns request was allowed in, but the response was not >>>> allowed >>>> back out. It seems to me the above rules 21109 and 21129 should have >>>> allowed >>>> the request in and the response back out. >>>> >>>> It's possible a request could come in on 12.32.44.142, >>>> which is why 21109 is present; >>>> although I know I am getting failures to reply to refresh requests >>>> from a secondary addressed to 12.32.36.65 >>>> >>>> What am I missing? >>>> >>>> Is there a problem if the incoming rule is for tun0, >>>> which gets passed to named >>>> since 12.32.44.142 is on the physical machine running named, >>>> but named pumps its response out on 12.32.36.65, >>>> relying on routing to get it to the right place, >>>> and that fails to match the state tracking mechanism >>>> which started with 12.32.44.142? ___ 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: ipfw confusion
On 08/19/13 00:36, Jason Cox wrote: > Are you sure that your DNS requests are over TCP? DNS primarily uses UDP to > serve requests. TCP is used when the response data size exceeds 512 bytes > (I think), or for tasks such as zone transfers. I know a few resolver > implementations use TCP for all queries, but most I have used not. You > might want to add rules to allow UDP as well. There are identical rules included for udp: 21149 allow udp from any to 12.32.44.142 dst-port 53 in via tun0 keep-state 21169 allow udp from any to 12.32.36.65 dst-port 53 in via tun0 keep-state One of the requests which is being refused is a zone transfer request from a secondary which is a tcp request. Others are probably udp. > On Sun, Aug 18, 2013 at 11:06 PM, Gary Aitken wrote: > >> I'm having some weird ipfw behavior, or it seems weird to me, and am >> looking >> for an explaination and then a way out. >> >> ipfw list >> ... >> 21109 allow tcp from any to 12.32.44.142 dst-port 53 in via tun0 setup >> keep-state >> 21129 allow tcp from any to 12.32.36.65 dst-port 53 in via tun0 setup >> keep-state >> ... >> 65534 deny log logamount 5 ip from any to any >> >> tail -f messages >> Aug 18 23:33:06 nightmare named[914]: client 188.231.152.46#63877: error >> sending response: permission denied >> >> 12.32.36.65 is the addr of the internal interface (xl0) on the firewall >> and is the public dns server. >> 12.32.44.142 is the addr of the external interface (tun0) which is bridged >> on a >> dsl line. >> >> It appears that a dns request was allowed in, but the response was not >> allowed >> back out. It seems to me the above rules 21109 and 21129 should have >> allowed >> the request in and the response back out. >> >> It's possible a request could come in on 12.32.44.142, >> which is why 21109 is present; >> although I know I am getting failures to reply to refresh requests >> from a secondary addressed to 12.32.36.65 >> >> What am I missing? >> >> Is there a problem if the incoming rule is for tun0, >> which gets passed to named >> since 12.32.44.142 is on the physical machine running named, >> but named pumps its response out on 12.32.36.65, >> relying on routing to get it to the right place, >> and that fails to match the state tracking mechanism >> which started with 12.32.44.142? >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscr...@freebsd.org" >> > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ipfw confusion
On 08/19/13 11:53, OpenSlate ChalkDust wrote: > On Sun, Aug 18, 2013 at 8:06 PM, Gary Aitken wrote: > >> I'm having some weird ipfw behavior, or it seems weird to me, and am >> looking >> for an explaination and then a way out. >> >> ipfw list >> ... >> 21109 allow tcp from any to 12.32.44.142 dst-port 53 in via tun0 setup >> keep-state >> 21129 allow tcp from any to 12.32.36.65 dst-port 53 in via tun0 setup >> keep-state >> ... >> 65534 deny log logamount 5 ip from any to any >> >> tail -f messages >> Aug 18 23:33:06 nightmare named[914]: client 188.231.152.46#63877: error >> sending response: permission denied >> >> 12.32.36.65 is the addr of the internal interface (xl0) on the firewall >> and is the public dns server. >> 12.32.44.142 is the addr of the external interface (tun0) which is bridged >> on a >> dsl line. >> >> It appears that a dns request was allowed in, but the response was not >> allowed >> back out. It seems to me the above rules 21109 and 21129 should have >> allowed >> the request in and the response back out. >> >> It's possible a request could come in on 12.32.44.142, >> which is why 21109 is present; >> although I know I am getting failures to reply to refresh requests >> from a secondary addressed to 12.32.36.65 >> >> What am I missing? >> >> I think you need explict rules like > > n allow tcp from 12.32.44.142 to any dst-port 53 out via tun0 setup > keep-state Why would rules like that be necessary, given the conversation is initiated from the outside? Shouldn't "setup keep-state" let the whole conversation, both directions, through? On 08/19/13 13:36, Dan Lists wrote: > Do you have a check-state rule earlier in your rules? > > 1000 check-state Yes: 00500 check-state ___ 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"
ipfw confusion
I'm having some weird ipfw behavior, or it seems weird to me, and am looking for an explaination and then a way out. ipfw list ... 21109 allow tcp from any to 12.32.44.142 dst-port 53 in via tun0 setup keep-state 21129 allow tcp from any to 12.32.36.65 dst-port 53 in via tun0 setup keep-state ... 65534 deny log logamount 5 ip from any to any tail -f messages Aug 18 23:33:06 nightmare named[914]: client 188.231.152.46#63877: error sending response: permission denied 12.32.36.65 is the addr of the internal interface (xl0) on the firewall and is the public dns server. 12.32.44.142 is the addr of the external interface (tun0) which is bridged on a dsl line. It appears that a dns request was allowed in, but the response was not allowed back out. It seems to me the above rules 21109 and 21129 should have allowed the request in and the response back out. It's possible a request could come in on 12.32.44.142, which is why 21109 is present; although I know I am getting failures to reply to refresh requests from a secondary addressed to 12.32.36.65 What am I missing? Is there a problem if the incoming rule is for tun0, which gets passed to named since 12.32.44.142 is on the physical machine running named, but named pumps its response out on 12.32.36.65, relying on routing to get it to the right place, and that fails to match the state tracking mechanism which started with 12.32.44.142? ___ 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: Mouse Trails?
On 08/17/13 19:08, cpghost wrote: > On 08/17/13 18:14, Walter Hurry wrote: >> On Sat, 17 Aug 2013 17:31:26 +0200, Polytropon wrote: > Good ole Xeyes... ;-) But beware, xeyes crashes X server right now! Using > > xeyes-1.1.1 > xorg-server-1.7.7_8,1 > > on > FreeBSD 9.2-PRERELEASE #0 r253323 Sat Jul 13 21:00:32 CEST 2013 amd64 > > I'm not the only one who's got X server crashes with xeyes: > > http://lists.freebsd.org/pipermail/freebsd-x11/2012-May/011833.html > > @Polytropon: what version of xeyes/xorg-server are you using? pkg_info | grep xeyes xeyes-1.1.1 A follow the mouse X demo pkg_info | grep xorg-server xorg-server-1.7.7_8,1 X.Org X server and related programs Works fine here, amd64. How soon does it crash? First mouse movement, program startup, or what? The behavior I see is: mouse is visible start typing in xterm and cursor disappears xeyes comes up with eyes pointing to where cursor was a second or so later the cursor reappears move the cursor and eyes follow it Gary ___ 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: AMD Phenom II X4 temperature issues (was Re: hardware monitor)
On 08/04/13 17:22, Gary Aitken wrote: > Ok, so now I see that my cpu temperature shoots up pretty dang fast when a > build is going on. > > I'm running an AMD Phenom II X4 with the AMD-supplied fan in an > ASUS M4A89TD PRO / USB3 motherboard. > > The system "works fine" unless I start a cpu-intensive build. > If I leave it unattended, after some time the system shuts down abruptly. > I'm guessing it's because of excessive cpu temperatures. > > When doing port builds, or any cpu-intensive job, the temperature of the > CPU goes from 45 to 50 in about 30 seconds. > > I pretty much have to manually suspend and resume the build process > to keep it down. If I do that, I avoid the abrupt shutdown. > > Needless to say, this makes unattended operation a non-starter... > > Does anyone else have a similar setup they can provide me some related > experience on? > > Thanks, > > Gary Thanks, all, for the replies and insights. Just a followup: The factory heatsink was basically incapable of keeping the temp down under a heavy-processing port build, and BIOS was shutting down when the temp eventually climbed too high. xmbmon was my friend for tracking this; using s and q on the output stream of the build effectively suspended it when it got around 60C so I could wait until the processor cooled down enough to continue. Doing a sync every second or so also postponed the eventual overheating for a while, but eventually it would creep up to the shutdown point. Replacing the heatsink with a gonzo big one seems to have solved the problem. As an aside, this is probably what also made me think some time ago that my SSD was flaky. Things just ran faster so the cpu overheated sooner. ___ 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: can't build virtualbox-ose
On 08/08/13 05:22, felix wrote: > hi,all when i build the port, it shows the following messages. > ===> Installing for gnutls-2.12.23_1 > ===> Generating temporary packing list > ===> Checking if security/gnutls already installed > ===> gnutls-2.12.23_1 is already installed > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to > upgrade it properly. If you really wish to overwrite the old port of > security/gnutls without deleting it first, set the variable > "FORCE_PKG_REGISTER" in your environment or the "make install" > command line. *** [check-already-installed] Error code 1 ... > Stop in /usr/ports/emulators/virtualbox-ose. > > I had run "portupgrade -fr security/gnutls", even though i run > "portupgrade -a", the problem is still. any hints? thanks I had this problem with a different port. I think I got around it by cd'ing to the port directory and doing a make install. ___ 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"
firefox audio / youtube crashes?
I think I should know this but I don't, and a search didn't turn up anything recent. It's my understanding firefox 22 with html5 should allow playing youtube videos without the flash plugin. But when I try to watch a youtube video, firefox crashes. I had this working on firefox 17 under 9.0 but don't know how it was configured... My firefox is installed with the following options: /usr/ports/www/firefox$ make showconfig ===> The following configuration options are available for firefox-22.0,1: DBUS=on: D-Bus IPC system support DEBUG=off: Install debug symbols GCONF=off: GConf configuration backend support GIO=on: GIO for file I/O GNOMEUI=off: libgnomeui support module GNOMEVFS2=off: GnomeVFS2 (virtual file system) support GSTREAMER=off: Multimedia support via GStreamer LIBPROXY=off: Proxy support via libproxy LOGGING=on: Additional log messages OPTIMIZED_CFLAGS=off: Use extra compiler optimizations PGO=off: Use Profile-Guided Optimization WEBRTC=on: Web Real-Time Communication > Options available for the single AUDIO: you have to select exactly one of them ALSA=on: ALSA audio architecture support PULSEAUDIO=off: PulseAudio sound server support I installed the following as freshports indicated they were needed to run, but it made no difference: www/nspluginwrapper audio/alsa-lib multimedia/libv4l hints? ___ 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: AMD Phenom II X4 temperature issues (was Re: hardware monitor)
On 08/04/13 21:39, Frank Leonhardt wrote: > On 05/08/2013 03:01, Gary Aitken wrote: >>> 50C isn't crazy. >> Actually, the 50C figure is just where it shoots to for starters. >> Mfg specs say 62C max, so I stall the process when it gets around >> 59 and still climbing steeply. > > The manufactures specs I found when I looked that range of CPUs up > was 71C > > http://www.amd.com/us/products/desktop/processors/phenom-ii/Pages/phenom-ii-model-number-comparison.aspx > > But there could be two figures - one for maximum desirable working > and one for maximum "or else". Maybe; although the number I quoted wasn't from AMD, and the two I just found at amd both said 71. >>> Did you get anywhere with the ACPI suggestion Try >>> hw.acpi.thermal.tz0.active=1 to make the fan come on and stay on >>> (tz0 or as appropriate). >> The fan is on and stays on all the time at the moment... > > It it full speed all the time? I really don't know what full speed on the fan is / feels like / sounds like. It's pretty quiet and there's a noisy old system nearby... xmbmon doesn't show fan speeds, nor does amdtemp provide access to them. Is there some other kernel module for fan speeds? >>> Here's the fun part. Is your system doing a thermal overload >>> shutdown? >> There is no indication in messages; the last thing before it shut >> down the last time was some su's and root logins. > > This suggests it's not the ACPI in FreeBSD shutting you down, but > something on the motherboard. That was my guess as well. >>> it might help if you posted the results of "sysctl >>> hw.acpi.thermal", but in the mean time look at: >>> >>> hw.acpi.thermal.tz0._HOT hw.acpi.thermal.tz0._CRT >>> >> I don't see any of those; here's what shows up in sysctl -a : >> >> hw.acpi.supported_sleep_state: S1 S3 S4 S5 >> hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 >> hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 >> hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 >> hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 >> hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 >> hw.acpi.cpu.cx_lowest: C1 > > Yep - definitely suggests that the thermal control isn't being done > by FreeBSD! ok, but how do I get it in there if I want it? > Go no further on this route, but check the > motherboard/BIOS. I had one machine shut itself down due to a faulty > thermistor (raise the threshold/ignore) but it normally happens when > the parameters are wrong or the fan has failed. As your fan hasn't > failed and the reported temperature is believable my best guesses are > that the BIOS is either picking the wrong shutdown temperature for > the CPU or your air ducting isn't good enough and it really is > getting too hot. Is there a chance that the BIOS pre-dates the CPU > and just doesn't know its working parameters, and is therefore > playing safe? I'll check the BIOS next time I reboot. Air ducting shouldn't be a problem; I've got the side of the case off... > Incidentally, ACPI is an Intel specification but applies AMD64 CPUs > too. The thermal module only works on some chip-sets. FWIW I've found > it works on more AMD platforms than it does Intel ones. > > Regards, Frank. ___ 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: AMD Phenom II X4 temperature issues (was Re: hardware monitor)
On 08/04/13 18:30, Frank Leonhardt wrote: > On 05/08/2013 00:29, Gary Aitken wrote: >> On 08/04/13 17:22, Gary Aitken wrote: >>> Ok, so now I see that my cpu temperature shoots up pretty dang >>> fast when a build is going on. >>> >>> I'm running an AMD Phenom II X4 with the AMD-supplied fan in an >>> ASUS M4A89TD PRO / USB3 motherboard. >>> >>> The system "works fine" unless I start a cpu-intensive build. If >>> I leave it unattended, after some time the system shuts down >>> abruptly. I'm guessing it's because of excessive cpu >>> temperatures. >>> >>> When doing port builds, or any cpu-intensive job, the temperature >>> of the CPU goes from 45 to 50 in about 30 seconds. I pretty much >>> have to manually suspend and resume the build process to keep it >>> down. If I do that, I avoid the abrupt shutdown. >>> >>> Needless to say, this makes unattended operation a >>> non-starter... >>> >>> Does anyone else have a similar setup they can provide me some >>> related experience on? >> BTW, the mobo temp stays down around 32. >> > > Did you get that from the ACPI? I think so; via amdtemp and xmbmon > Obvious answers are a bigger fan, but a lot of home-build machines > don't match the airflow through the case properly - if the CPU fan is > blowing pre-warmed air on to the CPU it's not as good as blowing > outside air. > > 50C isn't crazy. Some would say that was barely warm, in fact. Cooler > is always better, but you possibly don't need to worry about this. > Some CPUs use what they call passive temperature management, and > power management, which means they increase or reduce the clock rate > depending on the workload and whether it's getting too hot. Faster > switching means more heat. So getting hotter when doing a lot of work > makes sense and could be expected. (Winchesters really heat up like > you wouldn't believe when you move the heads a lot). Actually, the 50C figure is just where it shoots to for starters. Mfg specs say 62C max, so I stall the process when it gets around 59 and still climbing steeply. > Did you get anywhere with the ACPI suggestion (you emailed me > privately, whether you meant to or not, but didn't mention the > outcome). There's a lot there in the ACPI you might want to look in > to, including fan control. If I understand it correctly, "passive > cooling" will be engaged by acpi_thermal if the cpufreq drivers are > in use, which may not be what you want. Try > hw.acpi.thermal.tz0.active=1 to make the fan come on and stay on (tz0 > or as appropriate). The fan is on and stays on all the time at the moment... > Here's the fun part. Is your system doing a thermal overload > shutdown? it will say so on the console, or in the message log. You > didn't say, you just said it "shut down". If it's deciding to shut > down through over-temperature it does not necesarily mean it's > overheating; it could be that it has incorrectly set the shutdown > temperatue for your CPU to be far too low - possibly because it > doesn't recognise it and is being over-cautious. There is no indication in messages; the last thing before it shut down the last time was some su's and root logins. > it might help if you posted the results of "sysctl hw.acpi.thermal", > but in the mean time look at: > > hw.acpi.thermal.tz0._HOT hw.acpi.thermal.tz0._CRT > > (replace tz0 with whatever tz you're worried about). I don't see any of those; here's what shows up in sysctl -a : hw.acpi.supported_sleep_state: S1 S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C1 > The first is the temperature when the system is supposed to stop what > it's doing and suspend to disk (if it can). When it reaches the value > on _CRT it'll write a message to the log file and shut down > immediately to prevent damage. You can set these to whatever you > want, but you have to set hw.acpi.thermal.user_override to 1 first > before it will let you. Final trick - make sure you specify the > temperatures like > > sysctl hw.acpi.thermal.tz0._CRT=80C # sysctl hw.acpi.thermal.user_override sysctl: unknown oid 'hw.acpi.thermal.user_override' obviously, something missing... I tried loading coretemp, but no additional hw.acpi variables; and the man page says it is for intel, not amd. > Don't specify it as 80.0C (as it will display) and don't forget the C > or it will assume degrees Kelvin! > > Regards, Frank. ___ 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: AMD Phenom II X4 temperature issues (was Re: hardware monitor)
On 08/04/13 17:22, Gary Aitken wrote: > Ok, so now I see that my cpu temperature shoots up pretty dang fast when a > build is going on. > > I'm running an AMD Phenom II X4 with the AMD-supplied fan in an > ASUS M4A89TD PRO / USB3 motherboard. > > The system "works fine" unless I start a cpu-intensive build. > If I leave it unattended, after some time the system shuts down abruptly. > I'm guessing it's because of excessive cpu temperatures. > > When doing port builds, or any cpu-intensive job, the temperature of the > CPU goes from 45 to 50 in about 30 seconds. > > I pretty much have to manually suspend and resume the build process > to keep it down. If I do that, I avoid the abrupt shutdown. > > Needless to say, this makes unattended operation a non-starter... > > Does anyone else have a similar setup they can provide me some related > experience on? BTW, the mobo temp stays down around 32. ___ 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"
AMD Phenom II X4 temperature issues (was Re: hardware monitor)
Ok, so now I see that my cpu temperature shoots up pretty dang fast when a build is going on. I'm running an AMD Phenom II X4 with the AMD-supplied fan in an ASUS M4A89TD PRO / USB3 motherboard. The system "works fine" unless I start a cpu-intensive build. If I leave it unattended, after some time the system shuts down abruptly. I'm guessing it's because of excessive cpu temperatures. When doing port builds, or any cpu-intensive job, the temperature of the CPU goes from 45 to 50 in about 30 seconds. I pretty much have to manually suspend and resume the build process to keep it down. If I do that, I avoid the abrupt shutdown. Needless to say, this makes unattended operation a non-starter... Does anyone else have a similar setup they can provide me some related experience on? Thanks, Gary On 08/04/13 15:15, Polytropon wrote: > On Sun, 04 Aug 2013 14:48:56 -0600, Gary Aitken wrote: >> Can anyone suggest a hardware monitor app in the ports tree? >> I've got an amd64 which may have a temperature issue, >> but I can't see it to tell... > > If it's primarily about temperature... amdtemp (kernel > module), healthd (system service), mbmon and xmbmon (in > the ports collection). > > ___ 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"
hardware monitor
Can anyone suggest a hardware monitor app in the ports tree? I've got an amd64 which may have a temperature issue, but I can't see it to tell... Thanks, Gary ___ 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 make mkinstalldirs
On 08/04/13 13:25, Eduardo Morras wrote: > On Sun, 04 Aug 2013 12:24:46 -0600 > Gary Aitken wrote: > >> Can anyone give me some hints on how to manually (or automagically) create >> mkinstalldirs for a port? >> >> ports/graphics/ufraw fails to build due to >> >> install: /usr/local/share/glib-2.0/gettext/mkinstalldirs: No such file or >> directory >> >> It's not supposed to be needed if automake is >= 1.9, but automake in the >> ports >> tree is 1.4. > > Today I updated my system (9.1) and automake updated from 1.12.6 to 1.14 > > Perhaps you forget to update the ports tree first typo on my part. should read: It's not supposed to be needed if automake is >= 1.19, but automake in the ports tree is 1.14 I'm up to date with automake as far as I know, and ufraw still requires mkinstalldirs to build. Thanks for the reply, though, Gary ___ 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"
how to make mkinstalldirs
Can anyone give me some hints on how to manually (or automagically) create mkinstalldirs for a port? ports/graphics/ufraw fails to build due to install: /usr/local/share/glib-2.0/gettext/mkinstalldirs: No such file or directory It's not supposed to be needed if automake is >= 1.9, but automake in the ports tree is 1.4. Gary ___ 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"
x11-toolkits/open-motif build issue
Hi all, I'm running a newly upgraded 9.1. Did a portmaster -a to rebuild what I had up to a point, then tried building x11-toolkits/open-motif, as it is the component which failed when trying to build editors/openoffice-3. Seeing the same error I was seeing under 9.0. I suspect this is something screwed up in the environment but haven't a clue what it is. It looks like crt1.o is being included in the library build by mistake, and that's causing the undefined ref to _main. hints? Thanks, Gary gmake[1]: Entering directory `/usr/ports/x11-toolkits/open-motif/work/motif-2.3.4/tools' Making all in wml gmake[2]: Entering directory `/usr/ports/x11-toolkits/open-motif/work/motif-2.3.4/tools/wml' /bin/sh ../../libtool --tag=CC --mode=link cc -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include -L/usr/local/lib -o wmluiltok wmluiltok.o -lXp -liconv -L/usr/local/lib -lXft -lXrender -L/usr/local/lib -lXft -ljpeg -lpng libtool: link: cc -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include -o wmluiltok wmluiltok.o -L/usr/local/lib /usr/local/lib/libXp.so /usr/local/lib/libXext.so /usr/local/lib/libiconv.so /usr/local/lib/libXft.so /usr/local/lib/libfontconfig.so /usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so -lz -lbz2 /usr/local/lib/libXrender.so /usr/local/lib/libX11.so /usr/local/lib/libxcb.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so /usr/local/lib/libpthread-stubs.so -lrpcsvc /usr/local/lib/libjpeg.so -lpng -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib /usr/lib/crt1.o: In function `_start': crt1.c:(.text+0x8a): undefined reference to `main' gmake[2]: *** [wmluiltok] Error 1 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/motif-2.3.4/tools/wml' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/motif-2.3.4/tools' gmake: *** [all-recursive] Error 1 *** [do-build] Error code 1 Stop in /usr/ports/x11-toolkits/open-motif. ___ 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"
firefox build problem
just did a ports update, haven't done one for a few months. portmaster -w www/firefox craps out with: In file included from /usr/ports/www/firefox/work/mozilla-release/gfx/2d/Blur.cp p:7: In file included from ../../dist/include/mozilla/gfx/Blur.h:12: ../../dist/include/mozilla/CheckedInt.h:179:31: error: non-type template argument of type 'const bool' is not an integral constant expression static const bool value = IntegerType(-1) <= IntegerType(0); ^ ../../dist/include/mozilla/CheckedInt.h:343:28: note: while checking a default template argument used here return IsInRangeImpl::run(x); Have I got something screwed up? I don't know squat about c++ templates and can't see what's wrong. hints? ___ 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"
Boot Error v7.4 Install
I've been trying for days to install v7.4 from floppies with non-bootable CD on an old Intel AltServer platform's Adaptec AIC-7870 SCSI. It's SCSI Software User's Guide offers configuration support for Novell Netware, OS/2, Windows NT, SCO Unix, and Novell UnixWare with no mention of BSD. The installation to 16Gb SCSI ID:0 on a Dell PowerEdge Scalable Disk Subsystem 100 appears to go well, but always results in "Boot Error". Any help would be appreciated, especially directing me to most appropriate discussion list/archive. Tks, -- Gary Gary Welles Old Mystic, CT USA ___ 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"
which reader/tablet/
guys, most of you know that im physically disabled. anyway, the disability extends to my speech and is why the cellphone I have is datged and never got upgraded. Anyway ... whilei dont need a new cell, I =have= been eyeing something that I can buy ebooks and have the player/reader/ have the text {ASCII =only=} read to me. I would google up something, but I dont even know what to search for. can I put freebsd on these tablet devices? if I bought, say, WAR AND PIECE or something out of copyright { schopenhauer or marcus aurelius } that is in text, how do I get it to whatever tablet I have? right now we've got cable and I use the telco for my server. I know that works, but it is only good for my computer network. but say I wanted to keep things simple and buy some kind of kindle or nook. how does amazon.com or bn.com get their new ebooks onto my reader? thanks in advance, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: buildworld selectively?
No worries, no such thing as a silly question :) On 09/06/2013 20:51, Walter Hurry wrote: On Sun, 09 Jun 2013 19:56:10 +0100, Gary J. Hayers wrote: Have a read of the man page for /etc/src.conf On 09/06/2013 19:52, Walter Hurry wrote: As a relative newcomer to FreeBSD I am planning a 'make buildworld' for the first time. Since this is likely to be a lengthy process (my first attempt will be in a virtual machine), I am wondering whether it is possible to be at all selective about what is built. I have read the handbook section thoroughly, and shall follow the procedure recommended. I have also consulted 'man make.conf', but have been unable to establish an answer. For example, I do not require 'games'. Is there a way of achieving this? Ah, src.conf. That's what I missed!. Thank you so much Gary, and sorry if it was a silly question. ___ 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" -- Regards, Gary J. Hayers g...@hayers.org PGP Signature http://www.hayers.org/pgp ___ 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: buildworld selectively?
Have a read of the man page for /etc/src.conf On 09/06/2013 19:52, Walter Hurry wrote: As a relative newcomer to FreeBSD I am planning a 'make buildworld' for the first time. Since this is likely to be a lengthy process (my first attempt will be in a virtual machine), I am wondering whether it is possible to be at all selective about what is built. I have read the handbook section thoroughly, and shall follow the procedure recommended. I have also consulted 'man make.conf', but have been unable to establish an answer. For example, I do not require 'games'. Is there a way of achieving this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Regards, Gary J. Hayers g...@hayers.org PGP Signature http://www.hayers.org/pgp ___ 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, i think...
On Sun, May 12, 2013 at 03:02:28PM -0500, Edwin L. Culp W. wrote: > SIMIoff topic. (I think) > > Sorry but I am envious that you have a chrome working. I am stuck with the > ===> chromium-25.0.1364.172_1 has known vulnerabilities: > chromium-25.0.1364.172_1 is vulnerable: > chromium -- multiple vulnerabilities > > WWW: http://portaudit.FreeBSD.org/bdd48858-9656-11e2-a9a8-00262d5ed8ee.html > => Please update your ports tree and try again. > *** [check-vulnerable] Error code 1 > > Sorry but I'm not sure which is worse, having it or not having it. > > Again i apologize. > > ed > hmmm. the chrome that I have is running on my ubuntu linux laptop. [i've switched to linux because it was easier to upgrade. now, I dunno. at any rate, when I was fully BSD, some N years ago, there was no chrome... . The only ++plus is that I still know hoto hack code. :_) gary > On Sun, May 12, 2013 at 4:00 AM, Gary Kline wrote: > > > > > guys, > > > > if goog had their browser from BSD it would help big-time; I use one of > > the > > zillions of linux distros for my desktop. I dont have a bleeding edge > > cell. just something to call the cops or "access" [ small bus with wchair > > lift.] only have one hand, so cant easily hold cell and "type" blah * 3. > > > > SO, the upshot is, since I use firefox mostly, and chrome, rarely, I got a > > bit befuddled tonight trying to read an old philosopher's translation on > > chrome. I got to fess-up. reading on the screen is vastly easier than > > getting out a REAL book and paperweights, and taking off my eyeglasses, > > &C! tonight, I figured out howto enlarge the font and bring up the book. > > --i read "the prince" by nick whatever. this on google's browser. it > > took awhile before I realized that I wasnt hearing the words! yes, the > > speaker in the circle [[upper right]] read aloud and I could glean > > that much more by reading with eyes and ears. ===but=== is there some > > magic I ca n use to do an "All", and then fire off the text-to-voice? > > > > > > [[[the following is interesting only if you're into art schopenhauer. > > his works were not correctly xlated until {i think} 1954. I bought the > > p'back of his *Parerga and Paralipomena: A Collection of Philosophical > > Essays*. I never read it. google has it, and I suppose I could cough pup > > $whatever. but only if they got their tts stuff working without me having > > to > > mouse 600+ pages or whatever it requires. ]]] > > > > > > anybody know howto make this All menu cmd work in chrome? in ffox, it's > > a simple edit->control-A > > > > thanks much, > > > > gary > > > > > > > > -- > > Gary Kline kl...@thought.org http://www.thought.org Public Service > > Unix > > Twenty-six years of service to the Unix community. > > > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscr...@freebsd.org" > > > > > > -- > Bienes Raíces in Coatepec, Veracruz, Mexico > > http://www.facebook.com/pages/Inmobiliaria-Bienes-Raices-httpEcoManiainfo/102249989850215?sk=photos_albums > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
OT, i think...
guys, if goog had their browser from BSD it would help big-time; I use one of the zillions of linux distros for my desktop. I dont have a bleeding edge cell. just something to call the cops or "access" [ small bus with wchair lift.] only have one hand, so cant easily hold cell and "type" blah * 3. SO, the upshot is, since I use firefox mostly, and chrome, rarely, I got a bit befuddled tonight trying to read an old philosopher's translation on chrome. I got to fess-up. reading on the screen is vastly easier than getting out a REAL book and paperweights, and taking off my eyeglasses, &C! tonight, I figured out howto enlarge the font and bring up the book. --i read "the prince" by nick whatever. this on google's browser. it took awhile before I realized that I wasnt hearing the words! yes, the speaker in the circle [[upper right]] read aloud and I could glean that much more by reading with eyes and ears. ===but=== is there some magic I ca n use to do an "All", and then fire off the text-to-voice? [[[the following is interesting only if you're into art schopenhauer. his works were not correctly xlated until {i think} 1954. I bought the p'back of his *Parerga and Paralipomena: A Collection of Philosophical Essays*. I never read it. google has it, and I suppose I could cough pup $whatever. but only if they got their tts stuff working without me having to mouse 600+ pages or whatever it requires. ]]] anybody know howto make this All menu cmd work in chrome? in ffox, it's a simple edit->control-A thanks much, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
re who wants thought.org post from last nightt...
guys, I was pleasantly surprised at the responses, so far--obv'ly-- all privately responded to.I'll get back to everybody in the next couple/few days. I am just finishing up my VBC that I plan to give to that OLPC project out of MIT; my shoulder feels like it's falling off, so I thought id send this to those five or so who are interested. first, im hoping that you gents are fairly patient. meaning that altho my hacking daze are winding down and I feel like warmed over dog-do, I'm not quite ready to give up thought.org just yet. for one thing, im not sure what career my daughter will take; and even if she does choose comp-sci, she may have zero interest in messing with my domain. that said, when I do give it up in a few years, I hope to have made a good choice. second, I'm still trying to figure out what the best thing to do =is=. good: the caffeine pills are kicking in:) --about the only thing id ask is that thought.org AKA Thought Unlimited be dedicated to the unix realm. that's unix as in UNIX{TM, C, &c}, every distro of linujx, every distro of BSD ... you get the idea. ---hate to find some very fine print like: "thought.org is a wholly-owned subsidiary of microsoft!" hidden away.I {along with a bunch of other volunteers} spend years answering newbie questions for folk who were interested in the unix paradigm but had no idea where to start. whoever takes over can surely do much more along those lines if he wishes. (a parenthetical note is that when I was sweating my way thru cal, about 30% of the computer classes were female!I keep wondering what ever happened to all the girls! ) what else? oh yeah, cost. no charge. no essays, no "tell me in 25 words or less... ." the one thing I've always appreciated about the freebsd list[s] is the tenor of its membership. same goes for the rest of the Nix groups. I would be much obliged for suggested input. enough for now gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
who wants "thought.org"?
people, I can do a lot of stuff with my domain, but nothing is forever, and id rather not give thought.org away for a few hundred bux. I would like to know if anybody on this [[or other]] freebsd lists want to take over when I seriously Am too old be nice if thought.org could be subsumed into something "bsd"; but whatever. my daughter is ===hopefully=== going into comp-sci and maybe she'll be interested. she will be a high school sr this fall and that means {??} **9**9**9. thought id throw this open while I can still Type!! gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: script or c prog to record live audio?
On Mon, May 06, 2013 at 11:40:06PM -0400, rpratt wrote: > On Mon, 6 May 2013 16:19:02 -0700 > Gary Kline wrote: > > I've been meaning to ask one of the Nix lists if there is a script that > > will record something from kuow.org > > To play audio stream: > > mplayer -playlist 'http://shoutcast.kuow.org:8002/listen.pls' > > To dump the audio stream to file: > > mplayer -dumpstream -dumpfile foo.mp3 -playlist '... URL ...' > > No need to reinvent wheels. See man page for more description and many other > options. > > Enjoy, > Randy right on the money; about reinventing wheels; I can cron the dumpstream {=news= to me!} and play back whenever! {i wasnt kidding when I said I was getting Old. my bed is singing siren songs.} tx muchly, gary > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: script or c prog to record live audio?
On Mon, May 06, 2013 at 07:24:29PM -0500, Joshua Isom wrote: > On 5/6/2013 6:19 PM, Gary Kline wrote: > > > >guys, > > > >I've been meaning to ask one of the Nix lists if there is a script that > >will record something from kuow.org while I watch one of my favorite tv > >broadcasts. most of the time, nothing is on tv, but this one radio > >broadcast, "AR" co-insides with "NOVA" at 21:00. > > > >anybody know? > > > > > > > > The hackish way I've done before is use wireshark do dump the > network stream. In reality, I think you might be able to get by > with fetch. I just tried and fetch closes the connection before > buffering, using telnet does the transmit. The trick is mp3 streams > are just inefficient mp3's. Maybe wget would work. You can add a > cron job to start it and another to kill it. I'm checking fetch out now; I know a bit about wireshark and have used wget frequently. but, nutshell, this might be a serious hack! still, since it's only for me, no problem. thanks for the datapoints! > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
script or c prog to record live audio?
guys, I've been meaning to ask one of the Nix lists if there is a script that will record something from kuow.org while I watch one of my favorite tv broadcasts. most of the time, nothing is on tv, but this one radio broadcast, "AR" co-insides with "NOVA" at 21:00. anybody know? -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Youtube & Flash Videos broken?
On Tue, Apr 09, 2013 at 03:38:16AM +, Walter Hurry wrote: > On Mon, 08 Apr 2013 20:28:15 -0700, Gary Kline wrote: > > > Please excuse the top post > > Why? > because most or all email is presented in "oldest posts first." it is more work to decode. [[ esp'ly if you're o lder than dirt, like me! ]] -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Youtube & Flash Videos broken?
Please excuse the top post, bujt you're the right guy to ask, polyt. mp3/audio files I can get. you sent me a website to get mp3's off youtube. it is probably patry my ubuntu linux and gnome, but is there a "canned" website that will grab a video? somebody has a Lot of westerns and I'd like to grab a couple. we can get 70 billion channels with barf comcast, but I dont see any of these old/old/old movies. [ several zillion tx. ] gary ps: yeah, I KNOW they are ===mostly=== mythic. but sometimes I just need to take a bleeping break. and so far, nothingg works. On Tue, Apr 09, 2013 at 03:58:30AM +0200, Polytropon wrote: > On Mon, 8 Apr 2013 17:03:13 +0200, Harald Weis wrote: > > On Sun, Apr 07, 2013 at 12:09:32AM +0200, Polytropon wrote: > > > > > If it's just about YouTube video, why not use youtube-dl and > > > mplayer? I haven't tested it for those particular two videos, > > > but it tends to work for everything. :-) > > > > Can you please help me how to find the right URLs for youtube-dl ? > > There is no URL. You install it from ports: > > # cd /usr/ports/www/youtube_dl > # make install > > If the version in ports is not current enough (e. g. when YT > has again fiddled with the format), you can usually get it > from its source https://github.com/rg3/youtube-dl. > > > > > For example on > > http://www.youtube.com/user/ConcertosLive/videos > > > > When I copy URLs with mouse in opera I always get > > "youtube-dl: No match." > > Make sure you use proper quoting as the URL contains > characters that the shell will interpret. The common form > to use youtube-dl is e. g. > > % youtube-dl "http://www.youtube.com/watch?v=tc4ROCJYbm0"; > > Any superflous stuff in the URL will be ignored. This is > the easiest way to work, e. g. from copying the URL from > the URL line or via the "Copy link address" function; then > just type 'youtube-dl "', press the middle mouse key, '"' > and Enter. > > As youtube-dl doesn't have a manpage, you can use > > % youtube-dl -h > > to get a list of supported command line options. > > > > > (opera and flash work fine for playing and also for downloading the > > the ogg file) > > That's normal. :-) > > > > > I definitely prefer the command line tool. > > What I like about this approach is that I can watch films > in a usable (!) environment, which is mplayer, and not be > dependent on some low-quality web player plugin. It's also > nice to have interesting videos stored on the local disk > so they can be watched without Internet connection. :-) > > > > > Getting rid of flash would be a tremendous relief. > > It will happen, as soon as HTML5 is adopted more widely > (currently happening especially for "rich web content" > and the mobile market) and lawyers agree on a usable > media codec. > > But for now, I don't actually see any problems running > "Flash" if it is _intended_ to do so. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: mutt and http//url???
On Fri, Mar 22, 2013 at 08:39:07PM -0400, Karl Vogel wrote: > >> On Fri, 22 Mar 2013 14:36:15 -0700, > >> Gary Kline said: > > G> in the past couple years i've sub'd to the nytimes and other places > G> where the http string is several dozens of bytes. in my mutt at least, > G> there are "+" marks embedded at the beginning of each new lines. so > G> that when i mouse lick on the url, > >Don't lick your mouse. That's gross. but it was so tasty! 'specially with chocolatte syrup. > G> i almost invariably get either Nothing from my browswer, or the wrong > G> page. > >You might want to try urlview, bound to Ctrl-B in mutt by default. It's a >screen-oriented program for extracting URLs from text files, putting >them in a menu, and letting you run a command to view a specific item. > >If you're on a FreeBSD system, it's in /usr/ports/textproc/urlview. this was one of the things I tried. I followed the instructions exactly--with urlview and ^B. eventually I wound up with the list but it was hard to decide which was the text! maybe leave o ne konsole wide open on my 4th workspace > -- > Karl Vogel I don't speak for the USAF or my company > > Oh, to be only half as wonderful as my child thought I was when he was small, > and only half as stupid as my teenager now thinks I am.--Rebecca Richards > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: mutt and http//url???
On Sat, Mar 23, 2013 at 01:20:18AM +0100, Polytropon wrote: > On Fri, 22 Mar 2013 14:36:15 -0700, Gary Kline wrote: > > in the past couple years i've sub'd to the nytimes and other places > > where the http string is several dozens of bytes. in my mutt > > at least, there are "+" marks embedded at the beginning of each > > new lines. so that when i mouse lick on the url, i almost > > invariably get either Nothing from my browswer, or the wrong > > page. > > That's to be expected. A URL covering several lines _can_ be > copied (selected) when the line wrap is "uninterrupted". It > will even work for double- or triple-click (select word, select > line) with the normal edit buffer (left swipe to select, in > Firefox middle click or mousewheel press to go to URL). As the > '+' character will be part of the wrapped URL (which can span > several lines), the URL will be wrong, as you've seen. > > > > > i've googled for days. zero. im finally asking the top list > > on the web. can anybody clue me in? i'm using linux/gnome/mutt. > > but it shouldnt make any difference. [?!] > > If I remember correctly, there's a way to disable the line break > emphasizer ('+' character) in the display. Have you tried > > set markers=no > > in your ~/.muttrc? Or was it > > unset markers > > Something with "markers"... I'm not fully sure if this is the > setting you're searching for, but go ahead and try it. > theres a 'set markers' that defaults to yes. I edited it to no and, presto, no mo' '+' in the url strings. ---how you ever remembered the variable 'markers' is beyound me, but yup. anyway, with my konsole at std size, ~37x80, I moused dead-on the http string. same as before: the string showed up from the 'http://.' to the eol. and when I clicked, I got garbage. wait, there's more. I blew up the konsole until it filled the entire screen. [i did this once before and got the right page.] it still worked. no '+' line break, but still. it's a bear to have to enlage the xterm/konsole just to read some mail, but it works with the two embedded urls that I've tried so far. why? dunno. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
mutt and http//url???
guys, ==many== yeears ago when i was running Only FBSD, I asked this list how i could use mutt when somebody included an http://url.com; and i got replies that worked. --sseems like the url string got moved to the end and clicking on the string exec'd firefox. in the past couple years i've sub'd to the nytimes and other places where the http string is several dozens of bytes. in my mutt at least, there are "+" marks embedded at the beginning of each new lines. so that when i mouse lick on the url, i almost invariably get either Nothing from my browswer, or the wrong page. i've googled for days. zero. im finally asking the top list on the web. can anybody clue me in? i'm using linux/gnome/mutt. but it shouldnt make any difference. [?!] tia, everybody, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Can't fetch boost-jam
Open Slate gmail.com> writes: > > For several days I have not been able to update my ports due to fetch > errors. Right now the first port portupgrade wants to update is > devel/boost-jam. [snip] Still cannot build this port today. Same 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: rm -R
On Sat, Mar 02, 2013 at 07:43:50PM -0600, Joshua Isom wrote: > On 3/2/2013 2:43 PM, David Tilbrook wrote: > >The problem (and its solution) have been > >raised for at least 39 years. > > But google and other search engines treats words([A-Za-z0-9]) > starting with - as meaning exclude results with this, even when > obvious it's about unix commands. It can be rather annoying when > searching for help. > ___ sorry to be so dense; can you give me a few concrete examples? ya lost me! tx > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: jail and networking
On 20/02/2013 18:23, Bernt Hansson wrote: The ID did change, didn't know about that, thank you. But still, sshd isn't running in the jail 32bit# ps ax PID TT STAT TIME COMMAND 2385 ?? IsJ0:00,00 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) 2391 ?? SsJ0:00,00 /usr/sbin/cron -s 2464 0 SJ 0:00,01 tcsh 2482 0 R+J0:00,00 ps ax testbox# ps ax | grep J 2385 ?? IsJ0:00,00 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) 2391 ?? SsJ0:00,00 /usr/sbin/cron -s 2488 0 S+ 0:00,00 grep J testbox is the host. I assume you setup the /etc/resolv.conf? I have found that my network does not start until I have this setup. -- Regards, Gary J. Hayers g...@hayers.org PGP Signature http://www.hayers.org/pgp ___ 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: clicking on URL'S in mutt.
On Tue, Feb 19, 2013 at 06:39:45AM +0100, Polytropon wrote: > On Mon, 18 Feb 2013 21:04:05 -0800, Gary Kline wrote: > > for some reason, kmail is busted and I need a way of getting > > mutt to spawn firefox. Anybody? > > I can only suggest the most basic method (which should work > with any text mode MUA, even those without any mouse support). > It requires that you already have a Firefox running, e. g. on > a 2nd workspace. First select the URL in the mail message with > the left mouse button, then switch over to the Firefox window > and click the middle mouse button (or press down the mouse > wheel if you don't have a normal 3 button mouse). If the URL > is encapsulated in spaces, a double-click would select it, > so you don't need to manually select it from its beginning > to its end (or vice versa). > > > > > ps: this is from a linujx desktop running kde... > > If your mail storage is intact, can't you (temporarily) use > Thunderbird to access it? If I remember correctly, KMail and > Thunderbird are using the same storage format (mbox, I think)... > I think youre rt about t'bird. I tried to install it and got wy lost. ince kde is the same <>, I'm including the ancillary file that is giving kmail fits. maybe someone omlist will spot the trouble straight away---considering that this is the sharpest list anywhere. in the meantime, im using the rightmost button with mutt and getting some of the http urls. thank, everybody, # trouble report:: Akonadi Server Self-Test Report === Test 1: SUCCESS Database driver found. Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server configuration and was found on your system. File content of '/home/kline/.config/akonadi/akonadiserverrc': [%General] Driver=QMYSQL [QMYSQL] Name=akonadi Host= Options="UNIX_SOCKET=/home/kline/.local/share/akonadi/socket-tao/mysql.socket" ServerPath=/usr/sbin/mysqld-akonadi StartServer=true [Debug] Tracer=null Test 2: SUCCESS Akonadi is not running as root Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system. Test 3: SUCCESS MySQL server found. Details: You have currently configured Akonadi to use the MySQL server '/usr/sbin/mysqld-akonadi'. Make sure you have the MySQL server installed, set the correct path and ensure you have the necessary read and execution rights on the server executable. The server executable is typically called 'mysqld'; its location varies depending on the distribution. Test 4: SUCCESS MySQL server is executable. Details: MySQL server found: /usr/sbin/mysqld Ver 5.5.29-0ubuntu0.12.04.1 for debian-linux-gnu on x86_64 ((Ubuntu)) Test 5: ERROR MySQL server log contains errors. Details: The MySQL server error log file '/home/kline/.local/share/akonadi/db_data/mysql.err' contains errors. File content of '/home/kline/.local/share/akonadi/db_data/mysql.err': 130217 17:12:31 [Note] Plugin 'FEDERATED' is disabled. 130217 17:12:31 InnoDB: The InnoDB memory heap is disabled 130217 17:12:31 InnoDB: Mutexes and rw_locks use GCC atomic builtins 130217 17:12:31 InnoDB: Compressed tables use zlib 1.2.3.4 130217 17:12:31 InnoDB: Initializing buffer pool, size = 8.0M 130217 17:12:31 InnoDB: Completed initialization of buffer pool InnoDB: Error: log file ./ib_logfile0 is of different size 0 8064000 bytes InnoDB: than specified in the .cnf file 0 2097152 bytes! 130217 17:12:31 [ERROR] Plugin 'InnoDB' init function returned error. 130217 17:12:31 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 130217 17:12:31 [ERROR] Unknown/unsupported storage engine: innodb 130217 17:12:31 [ERROR] Aborting 130217 17:12:31 [Note] /usr/sbin/mysqld: Shutdown complete # I just dont get this, above. Test 6: SUCCESS MySQL server default configuration found. Details: The default configuration for the MySQL server was found and is readable at /etc/akonadi/mysql-global.conf. File content of '/etc/akonadi/mysql-global.conf': # # Global Akonadi MySQL server settings, # These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf # # Based on advice by Kris Köhntopp # [mysqld] # strict query parsing/interpretation # TODO: make Akonadi work with those settings enabled # sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat # sql_mode=strict_trans_tables # DEBUGGING: # log all queries, useful for debugging but generates an enormous amount of data # log=mysql.
clicking on URL'S in mutt.
guys, for some reason, kmail is busted and I need a way of getting mutt to spawn firefox. Anybody? gary ps: this is from a linujx desktop running kde... ps ive got urlview [??] but it lists dozens of http links:: lost. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
off-topic....
guys, ihad better make this fast; this desktop [dell duo] has been crashing at random for the past couple month. no clue. but ive ordered a refurb with a three-year warranty. I hope, I hope. my question is: how to set up an account for code on google-code. I'v found a 'cheat sheet' site and others that should help me with svn. I have used cvs [late 90's]; I use rcs daily and figure I'll learn subversion in time. but what else do I have to do to get my "vbc" code over on google? their explaination is written in hieroglyphics. enough. gary ps: I t is worth noting that my vbc wworks on freebsd so long as youve got espeak and the gtk stuff. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Booting issue with 9.1-RELEASE and net4801
On 02/04/13 11:54, Alberto Mijares wrote: > Hi list, > > I'm finally playing with my net4801 and nanobsd. SanDisk CF is recognized. > > At my first try I had to disable DMA in ATA because it hanged out. Now > it hangs when trying to mount root filesystem and mountroot> prompt > appears. However, if a stop in loader prompt and type ls, files and > dirs are displayed on disk0s1a. > > Any suggestion? > > Verbose boot log next: > > OK boot -v log > ada0 at ata0 bus 0 scbus0 target 0 lun 0 > ada0: CFA-0 device > ada0: Serial Number BOZ111711234413 > ada0: 16.700MB/s transfers (PIO4, PIO 512bytes) > ada0: 3815MB (7813120 512 byte sectors: 16H 63S/T 7751C) > ada0: Previously was known as ad0 > GEOM: new disk ada0 > GEOM_PART: partition 2 has end offset beyond last LBA: 7999487 > 7813119 > GEOM_PART: partition 3 has start offset beyond last LBA: 7999488 > 7813119 > GEOM_PART: partition 3 has end offset beyond last LBA: 8002511 > 7813119 > GEOM_PART: integrity check failed (ada0, MBR) > uhub0: 3 ports with 3 removable, self powered > Trying to mount root from ufs:/dev/ada0s1a [ro]... > mountroot: waiting for device /dev/ada0s1a ... > Mounting from ufs:/dev/ada0s1a failed with error 19. > > Loader variables: > vfs.root.mountfrom=ufs:/dev/ada0s1a > vfs.root.mountfrom.options=ro > > Manual root filesystem specification: > : [options] > Mount using filesystem > and with the specified (optional) option list. > > eg. ufs:/dev/da0s1a > zfs:tank > cd9660:/dev/acd0 ro > (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) > > ? List valid disk boot devices > . Yield 1 second (for background tasks) > Abort manual input > > mountroot> I believe I got this error when the root boot block is written properly, but the first partition on the disk does not have the proper gpart boot code in it. Try listing the gpt partition scheme: # gpart show -l ada1 => 34 156301421 ada1 GPT (74G) 34 1024 1 gptboot (512k) 1058 6- free - (3.0k) 10644194304 2 hdd-80G-root (2.0G) 41953684194304 3 hdd-80G-swap (2.0G) 83896724194304 4 hdd-80G-var (2.0G) 125839764194304 5 hdd-80G-tmp (2.0G) 16778280 139523168 6 hdd-80G-usr (66G) 156301448 7- free - (3.5k) Notice in the above partition 1, labeled gptboot (a label I gave it) That's the boot code, which can be written as follows: gpart bootcode -p /boot/gptboot -i 1 ada1 assuming the system you're running on has /boot/gptboot on it. Gary ___ 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 X driver for NVIDIA Quadro FX 570M?
On 02/03/13 16:11, Warren Block wrote: > On Sun, 3 Feb 2013, Gary Aitken wrote: >> >> For the OP, I (just now) got the nvidia driver and x to compile and run >> under 9.1 as follows: >> >> 1. make and install the x11/xorg port >> 2. create the symlink /usr/X11R6 to point to /usr/local >> if /usr/X11R6 already exists as a regular directory and has stuff in it, >> move it aside or delete it. I found mine only had stuff from previous >> attempts to build the nvidia driver in it (a "bin" plain file(!), and a >> "lib" containing files from the nvidia driver build), so I deleted it. >> 3. download and unpack the nvidia driver; >> I used >> NVIDIA-FreeBSD-x86_64-304.64.tar.gz >> but note that that file is specific to my architecture, which is amd64; >> you'll need the appropriate one for your architecture. >> 4. make the nvidia driver >> 5. make sure step #4 added the line >> nvidia_load="YES" >> to /boot/loader.conf >> 6. add the following lines to /etc/rc.conf if not already present >> # Enable hald and dbus for X to work with kbd and mouse >> hald_enable="YES" >> dbus_enable="YES" > > Why not just use the port? When I tried that I got some message (can't remember what it was) saying the port was obsolete or something like that implying it shouldn't be used. I thought the msg was in one of the posts I made but I can't find it. I just looked at the Makefile for the port and it looks like it is using the same version of the driver so maybe it will work fine. The message may also have been the result of the port build being messed up because of the extraneous /usr/X11R6 directory I had at the time. If I end up rebuilding I will try 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: which X driver for NVIDIA Quadro FX 570M?
On 02/03/13 13:34, Warren Block wrote: > On Sun, 3 Feb 2013, Gary Aitken wrote: >> On 02/03/13 11:32, Polytropon wrote: >>> On Sun, 3 Feb 2013 11:29:30 -0700 (MST), Warren Block wrote: >>>> On Sun, 3 Feb 2013, Gary Aitken wrote: >>>> >>>>> I suspect it is from building the nvidia driver, >>>>> as those Makefiles use >>>>> X11BASE= /usr/X11R6 >>>> >>>> Last I heard from the ports guys, that is obsolete. >>> >>> If I remember correctly, X11BASE equals LOCALBASE, which >>> is /usr/local, so any Makefile which uses X11BASE will >>> be directed to /usr/local. It's not clear to me why a >>> Makefile defines a location that has been obsolated... >> >> It's surrounded by >> >> .if !defined(X11BASE) >> X11BASE=/usr/X11R6 >> .endif >> >> Which would protect it if it was defined; >> but I don't see where X11BASE is defined anywhere in >> /usr/ports/Mk >> /usr/share/mk >> >> If it's been obsoleted, that would be the problem. >> >> However, I don't see LOCALBASE defined anywhere except in terms of itself, >> either. >> Where is it initially set? >> Not being a make dude, I'm out of my element here > > Do you have it defined in /etc/make.conf? No; the only thing defined in /etc/make.conf is PERL_VERSION For the OP, I (just now) got the nvidia driver and x to compile and run under 9.1 as follows: 1. make and install the x11/xorg port 2. create the symlink /usr/X11R6 to point to /usr/local if /usr/X11R6 already exists as a regular directory and has stuff in it, move it aside or delete it. I found mine only had stuff from previous attempts to build the nvidia driver in it (a "bin" plain file(!), and a "lib" containing files from the nvidia driver build), so I deleted it. 3. download and unpack the nvidia driver; I used NVIDIA-FreeBSD-x86_64-304.64.tar.gz but note that that file is specific to my architecture, which is amd64; you'll need the appropriate one for your architecture. 4. make the nvidia driver 5. make sure step #4 added the line nvidia_load="YES" to /boot/loader.conf 6. add the following lines to /etc/rc.conf if not already present # Enable hald and dbus for X to work with kbd and mouse hald_enable="YES" dbus_enable="YES" Gary ___ 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 X driver for NVIDIA Quadro FX 570M?
On 02/03/13 11:32, Polytropon wrote: > On Sun, 3 Feb 2013 11:29:30 -0700 (MST), Warren Block wrote: >> On Sun, 3 Feb 2013, Gary Aitken wrote: >> >>> I suspect it is from building the nvidia driver, >>> as those Makefiles use >>> X11BASE= /usr/X11R6 >> >> Last I heard from the ports guys, that is obsolete. > > If I remember correctly, X11BASE equals LOCALBASE, which > is /usr/local, so any Makefile which uses X11BASE will > be directed to /usr/local. It's not clear to me why a > Makefile defines a location that has been obsolated... It's surrounded by .if !defined(X11BASE) X11BASE=/usr/X11R6 .endif Which would protect it if it was defined; but I don't see where X11BASE is defined anywhere in /usr/ports/Mk /usr/share/mk If it's been obsoleted, that would be the problem. However, I don't see LOCALBASE defined anywhere except in terms of itself, either. Where is it initially set? Not being a make dude, I'm out of my element 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: which X driver for NVIDIA Quadro FX 570M?
>>> The nvidia legacy driver page does not list that card, so it may be >>> supported with the current x11/nvidia-driver port >>> http://www.nvidia.com/object/IO_32667.html >>> >>> I have a GT-610 and it is also not listed. >>> I am in the process of upgrading to 9.1 as well, >>> but am fighting a bad SSD and have to reconfigure. >> >> The most recent nvidia port I can find is >> NVIDIA-FreeBSD-x86_64-304.64.tar.gz >> It builds fine, but on installing it craps out with the following message: >> /usr/X11R6/lib/modules/drivers No such file or directory ... >> On 9.0, where I am using the 304.60 version, X11R6 is a pointer to >> /usr/local. > > That's the default for some time now. Even FreeBSD v8 already > has that symlink, maybe it has already been part of v7 (not sure). > > lrwxr-xr-x 1 root wheel 10 2011-08-21 22:32:05 /usr/X11R6@ -> /usr/local > >> But my install of 9.1 has an actual /usr/X11R6, and that means things are >> scattered all over, some in /usr/local/lib/xorg and some in /usr/X11R6. > > Where did you get the real X11R6/ directory entry from? Is this > some legacy of "continuous updating" the system beginning at a > version that actually had X11R6/ as a directory? That's what I'd like to know :-) I suspect it is from building the nvidia driver, as those Makefiles use X11BASE= /usr/X11R6 >> This may be a glitch on my end; not sure yet. > > I think it is. The port expects something that actually is in > /usr/local, which would have been the same as in /usr/X11R6, > but in your case, it's not. > >> I had to restart my ports >> build because I screwed up and didn't do a fetch before building x11/xorg, >> and that may have created some bad directories. > > In worst case, maybe you can remove your ports and recreate the > reqired directory structures using the mtree templates > BSD.local.dist (and maybe BSD.x11.dist or BSD.x11-4.dist), > or maybe the xorg port will install the symlink automatically? > If you're not sure, create the symlink yourself and continue > as if nothing had happened. :-) I think manually creating the symlink and rebuilding x and the nvidia port may be what I'll try next. >> Can anyone verify if /usr/X11R6 under 9.1 is supposed to be a symlink to >> /usr/local? > > I stronly assume it is (no v9 OS at hand to check). On 02/03/13 10:42, Warren Block wrote: > Yes, or rather, there is no /usr/X11R6 at all, on either of the two 9-stable > systems I checked. Hmmm, there is on my 9.0 with an nvidia driver installed. Are you running an nvidia driver? If not, that would hint that the X11R6 dir/link is a result of the nvidia driver install process ___ 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 X driver for NVIDIA Quadro FX 570M?
On 02/03/13 08:53, Gary Aitken wrote: > On 02/03/13 03:33, Anton Shterenlikht wrote: >> I'm considering buying this Thinkpad T61p laptop: >> http://www.ebay.co.uk/itm/321063105251 >> >> It lists this graphics card: >> >> NVIDIA Quadro FX 570M >> >> I'm not sure what driver, if any, will support it. >> >> There seems to be the official Nvidia FreeBSD driver >> provided for it: >> >> http://www.nvidia.com/object/freebsd_100.14.09.html >> >> but this apparently has to be installed outside of >> the ports tree. >> >> xf86-video-nv drivers list several other Quadro cards, >> but not specifically 570M. >> >> Maybe somebody has used this card, so can give a >> definite reply? > > I can't specifically address that issue, but according to this page: > http://www.freebsd.org/doc/en/articles/compiz-fusion/nvidia-setup.html > recent nvidia cards should be supported by the > x11/nvidia-driver port Ugh, I just tried to build that and it is marked as IGNORE > The nvidia legacy driver page does not list that card, so it may be > supported with the current x11/nvidia-driver port > http://www.nvidia.com/object/IO_32667.html > > I have a GT-610 and it is also not listed. > I am in the process of upgrading to 9.1 as well, > but am fighting a bad SSD and have to reconfigure. The most recent nvidia port I can find is NVIDIA-FreeBSD-x86_64-304.64.tar.gz It builds fine, but on installing it craps out with the following message: /usr/X11R6/lib/modules/drivers No such file or directory On 9.0, where I am using the 304.60 version, X11R6 is a pointer to /usr/local. But my install of 9.1 has an actual /usr/X11R6, and that means things are scattered all over, some in /usr/local/lib/xorg and some in /usr/X11R6. This may be a glitch on my end; not sure yet. I had to restart my ports build because I screwed up and didn't do a fetch before building x11/xorg, and that may have created some bad directories. Can anyone verify if /usr/X11R6 under 9.1 is supposed to be a symlink to /usr/local? ___ 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 X driver for NVIDIA Quadro FX 570M?
On 02/03/13 03:33, Anton Shterenlikht wrote: > I'm considering buying this Thinkpad T61p laptop: > http://www.ebay.co.uk/itm/321063105251 > > It lists this graphics card: > > NVIDIA Quadro FX 570M > > I'm not sure what driver, if any, will support it. > > There seems to be the official Nvidia FreeBSD driver > provided for it: > > http://www.nvidia.com/object/freebsd_100.14.09.html > > but this apparently has to be installed outside of > the ports tree. > > xf86-video-nv drivers list several other Quadro cards, > but not specifically 570M. > > Maybe somebody has used this card, so can give a > definite reply? I can't specifically address that issue, but according to this page: http://www.freebsd.org/doc/en/articles/compiz-fusion/nvidia-setup.html recent nvidia cards should be supported by the x11/nvidia-driver port The nvidia legacy driver page does not list that card, so it may be supported with the current x11/nvidia-driver port http://www.nvidia.com/object/IO_32667.html I have a GT-610 and it is also not listed. I am in the process of upgrading to 9.1 as well, but am fighting a bad SSD and have to reconfigure. Don't know if this helps or not... Gary ___ 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: Crucial SSD firmware upgrade -- usb flash drive issues
On 02/01/13 22:06, Zoran Kolic wrote: > If I understand correctly, it is iso image from ssd manufacturer. > They tend to think everybody uses win and has cd drive. Quick > search might give easy answer, if win/linux box is available. You > could try out unetbootin. Tutorial says it takes an image and > makes bootable usb stick. On 02/01/13 17:05, Warren Block wrote: > The implications of trying to custom build an SSD firmware update image from > a CD could be big, and it's really not something to experiment with unless > you feel lucky. > >> From a user support standpoint, the first thing to do is send a "Why > aren't you supporting your users with a memory stick firmware update? Many > people no longer have CD drives." > > Practically speaking, that is not likely to result in a quick result, or > possibly any result. So use a program they recommend, or use an external CD > drive to update the firmware. The mfg claims the iso image is suitable for booting either from CD or a usb stick; with the caveat that you use some magic software to write the bootable usb stick. I guess I'll just find a way to write a CD. ___ 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: Crucial SSD firmware upgrade -- usb flash drive issues
On 02/01/13 11:03, Sean Cavanaugh wrote: >> -Original Message- >> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- >> questi...@freebsd.org] On Behalf Of Gary Aitken >> Sent: Friday, February 01, 2013 12:55 PM >> To: FreeBSD Mailing List >> Subject: Crucial SSD firmware upgrade -- usb flash drive issues >> >> I've got a Crucial m4 SSD which needs a firmware upgrade. >> From the Crucial website I've downloaded an image which supposedly is an >> iso image bootable from either CD or a usb stick. >> >> Since the fbsd install images are different for booting from cd and usb > flash >> drives (the flash image is significantly larger), I'm wondering if there's >> anything I need to be aware of when attempting this. >> >> I tried copying the ssd firmware update image to a flash drive using: >> dd if=firmwareupdate.iso of=/dev/da0 bs=64k which seemed to work. >> >> However, when I attempt to boot the device, BIOS complains about it not >> being bootable and says to fix it or select something else which is > bootable. >> >> I know the drive can be bootable because I used it for the fbsd 9.1 usb > boot >> image and it worked fine. >> >> The documentation for the SSD firmware upgrade says "Create a Bootable >> USB Drive" >> with the following steps (summarized here, no real content omitted): >> >> 1. Start with a newly formatted USB drive >> 2. Open a USB installer program. If you don't have one, you may > download >> a free one such as Universal USB Installer... >> 3. If you are using the Universal USB Installer, then: >> 3a. At the Step 1 drop down box, scroll to the bottom and select >> the last option: Try Unlisted Linux ISO >> 3b. Go to step 2 (in the pgm) and browse to the firmware ISO that you >> downloaded earlier >> 3c. Go to step 3 (in the pgm) and select the flash drive on which you >> want to install the ISO >> 3d. Click the Create button and click Format E:\Drive >> 3e. A sequence of screens will appear and disappear... >> >> The above is all highly confusing to me, as it's not clear who's doing > what. >> I'm guessing the "Universal Installer Program" actually writes a boot > block >> and then the bootable image someplace beyond that, and the iso image >> supplied is not really a complete bootable image for a flash drive -- it's >> missing the boot blocks. >> >> Can anyone suggest a way to create a bootable flash drive using this > image? >> ___ >> 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" > > > > Please see the below site for a script to convert the .ISO into a .IMG that > can be dd written to the thumb drive > > http://www.daemonforums.org/showthread.php?t=4361 Thanks, that was a help. However, when it boots, I get the following: No /boot/loader FreeBSD/x86 boot Default: 0:ad(0,a)/boot/kernel/kernel boot: I can mount the thumb drive as a ufs file system, which looks like this: /boot/ solinux/ boot.cat boot2880.img bootmsg.txt isolinux.bin isolinux.cfg memdisk splash.lss /legal.txt /revision.txt Assuming this is all good as a stand-alone linux image, what do I need to enter at the boot: prompt to get it to boot? It's not clear to me what the code to be booted is. The isolinux.cfg file looks like this: PROMPT 1 TIMEOUT 30 DEFAULT default DISPLAY bootMsg.txt LABEL default KERNEL memdisk append initrd=boot2880.img floppy raw LABEL alternate KERNEL memdisk append initrd=boot2880.img floppy Thanks for any hints... Gary ___ 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"
Crucial SSD firmware upgrade -- usb flash drive issues
I've got a Crucial m4 SSD which needs a firmware upgrade. >From the Crucial website I've downloaded an image which supposedly is an iso image bootable from either CD or a usb stick. Since the fbsd install images are different for booting from cd and usb flash drives (the flash image is significantly larger), I'm wondering if there's anything I need to be aware of when attempting this. I tried copying the ssd firmware update image to a flash drive using: dd if=firmwareupdate.iso of=/dev/da0 bs=64k which seemed to work. However, when I attempt to boot the device, BIOS complains about it not being bootable and says to fix it or select something else which is bootable. I know the drive can be bootable because I used it for the fbsd 9.1 usb boot image and it worked fine. The documentation for the SSD firmware upgrade says "Create a Bootable USB Drive" with the following steps (summarized here, no real content omitted): 1. Start with a newly formatted USB drive 2. Open a USB installer program. If you don't have one, you may download a free one such as Universal USB Installer... 3. If you are using the Universal USB Installer, then: 3a. At the Step 1 drop down box, scroll to the bottom and select the last option: Try Unlisted Linux ISO 3b. Go to step 2 (in the pgm) and browse to the firmware ISO that you downloaded earlier 3c. Go to step 3 (in the pgm) and select the flash drive on which you want to install the ISO 3d. Click the Create button and click Format E:\Drive 3e. A sequence of screens will appear and disappear... The above is all highly confusing to me, as it's not clear who's doing what. I'm guessing the "Universal Installer Program" actually writes a boot block and then the bootable image someplace beyond that, and the iso image supplied is not really a complete bootable image for a flash drive -- it's missing the boot blocks. Can anyone suggest a way to create a bootable flash drive using this image? ___ 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: 9.1 install wipes out gpart boot blocks?
On 01/30/13 17:20, Warren Block wrote: > On Wed, 30 Jan 2013, Gary Aitken wrote: >> clean up (delete) the original partitions >> gpart destroy ada3 > > These two steps can be replaced with > gpart destroy -F ada3 I prefer doing it piecemeal to see what's happening when along the way. >> gpart create -s GPT ada3 >> gpart bootcode -b /boot/pmbr ada3 >> gpart add -t freebsd-boot -i 1 -s 512K -l gptboot ada3 >> gpart bootcode -p /boot/gptboot -i 1 ada3 > > I do the bootcode in one step: > gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada3 Again, I prefer incremental steps so it's more obvious what any diagnostics are referring to, if they should appear. >> gpart add -t freebsd-ufs -a 4K -b 1M -s 4G -i 2 -l fbsdroot ada3 # / >> gpart add -t freebsd-swap -a 4K -s 2G -i 3 -l fbsdswap ada3 # swap >> gpart add -t freebsd-ufs -a 4K -s 2G -i 4 -l fbsdvar ada3 # /var >> gpart add -t freebsd-ufs -a 4K -s 2G -i 5 -l fbsdtmp ada3 # /tmp >> gpart add -t freebsd-ufs -a 4K -i 6 -l fbsdusr ada3 # /usr > > It's not necessary to use partition numbers with "add", gpart will just use > the next one available. True, but if things get out of order for some reason, then you have a mess. > Here are my notes: > http://www.wonkity.com/~wblock/docs/html/disksetup.html Thanks, already read that and bookmarked it quite a while ago. ___ 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: 9.1 install wipes out gpart boot blocks? [solved]
On 01/30/13 15:02, Robert Huff wrote: > > Gary Aitken writes: > >> I used gpart to set up a new disk, >> then went through a 9.1 install. >> Everything seemed to go fine, but when time came to boot the new drive, >> it wouldn't boot. > > While the "it wouldn't boot" is catastrophically imprecise, I knew I'd get hammered on that :-) Screen goes blank, spinner spins maybe two notches, then just sits there. So gptboot isn't even started. > I > had what sounds like a similar problem about a month ago. > I installed from the 9.0 CD and everything appeared to go > correctly. However, on final re-boot the loader couldn't identify > the root partition. > The solution was to identify the disks using the GPT labels in > fstab. > Check the archive of questions@ for more details. Found the archive, didn't really help. However, I did rewrite both boot areas and that solved the problem: gpart bootcode -b /boot/pmbr ada3 gpart bootcode -p /boot/gptboot -i 1 ada3 So apparently the 9.1 installer wipes out at least the boot code in partition 1. Since the spinner went a few notches, I suspect the primary boot block is ok, but it crashed when it can't execute the gptboot code. ___ 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"
9.1 install wipes out gpart boot blocks?
I used gpart to set up a new disk, then went through a 9.1 install. Everything seemed to go fine, but when time came to boot the new drive, it wouldn't boot. When doing the 9.1 install, I selected the disk and had to assign the partitions to the various filesystems. AFIK, I did not otherwise modify the filesystems. Does the 9.1 install process trash the boot areas? My gpart setup was: clean up (delete) the original partitions gpart destroy ada3 gpart create -s GPT ada3 gpart bootcode -b /boot/pmbr ada3 gpart add -t freebsd-boot -i 1 -s 512K -l gptboot ada3 gpart bootcode -p /boot/gptboot -i 1 ada3 gpart add -t freebsd-ufs -a 4K -b 1M -s 4G -i 2 -l fbsdroot ada3 # / gpart add -t freebsd-swap -a 4K -s 2G -i 3 -l fbsdswap ada3 # swap gpart add -t freebsd-ufs -a 4K -s 2G -i 4 -l fbsdvar ada3 # /var gpart add -t freebsd-ufs -a 4K -s 2G -i 5 -l fbsdtmp ada3 # /tmp gpart add -t freebsd-ufs -a 4K -i 6 -l fbsdusr ada3 # /usr newfs /dev/ada3p2 # / newfs -U -b 4096 -g 8192 -i 1024 /dev/ada3p4# /var newfs -U /dev/ada3p5# /tmp newfs -U /dev/ada3p6 At this point: gpart show -l ada3 => 34 488397101 ada3 GPT (232G) 34 1024 1 gptboot (512k) 1058 6- free - (3.0k) 10648388608 2 fbsdroot (4.0G) 83896724194304 3 fbsdswap (2.0G) 125839764194304 4 fbsdvar (2.0G) 167782804194304 5 fbsdtmp (2.0G) 20972584 467424544 6 fbsdusr (222G) 488397128 7- free - (3.5k) The / /var and /usr partitions seem to have been written properly. Do I simply need to rewrite the boot areas, or is something more fundamental screwed up? ___ 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"
help with SVN needed {slightly off-topic}
(hm, well, other than to say that im installing 9.1 on my uni-CPU laptop, this is =really= OT.) okay, here's what I need help with and some of the whys and wherefors, etc: much to my surprise, my little speech application for the impaired is gaining recognition rapidly. ive heard from people from oz, from somewshere in the philippines, from england-- or maybe I should say "u.k.", as well as from a few locales here in the states. mostly, tho, my focus remains on writing or finishing this program fro the one computer per child project that is/was from MIT. I'm not sure I believe this, but according to some source, there are some unholy number of children with some disability. of the 7 billion there are 100 million children with some disability. not all speech, of course, but still--- a gtk+ wizard took my posted VBC code and make mods to it. he suggested that I set up an account on sourceforge.net so he and others could contribute. I have an acct there but couldn't figure anything out. a fellow on fbook suggested google. I spent most of saturday setting up a forum and a place for my code on google.code. if it sounds like I'm making progress, well, that's debatable. nothing to do with hacking. just the peripheral stuff. the part I need help with is Subversion. I used CVS about 15 years ago, and svn looks slightly familiar. the project on google.code are looking for me to use svn to install my base files. I think; not sure. on my desktop here I have one development directory for all my source files. I have subversion installed here. briefly: what now? do I create a svn directory here? or do I ftp/scp/<> things to the voice-by-computer account to the google.code project? thanks for any help. gary ps: from the ``ya don' hafta be a hacker to help Dept:'' a speech therapist wrote with some thoughts on what I should =avoid= as well as things to include. things I had never thought of!! -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: suggestions wanted.... {OT}
On Sat, Jan 12, 2013 at 12:51:19PM +0700, Erich Dollansky wrote: > Hi, > > On Fri, 11 Jan 2013 15:52:16 -0800 > Gary Kline wrote: > > > > > note that this question is =OT=. > > > > sorry if this is a re-request for clues. I =did= ask a very > > similar question a year or three ago; I'm just not sure > > where. > > Ah, I remember. Wans't it when the Newton was released? is the newton still around? I thought it was a huge flop. I'll ck, tx. > > I'm looking for a small and portable tablet [or whatever] > > device to use on the once-every-75-years when I do get out. I am not > > looking for a cell phone. the one I have works fine for auto- > > dialing <>. instead, im thinking of something with > > a small screen and somekind of keyboard. it has to have a speaker. > > some version of 'unix' is essential. > > > > have you looked at Samsung. They have a quiet interesting range from > hand phones to tablets. I do not know the size up to which they can be > used as hand phones but some pretty large models have this function > built-in. great if there's a model w/ a 5" to 7" screen. kybd, speaker. any idea if I can install gvim and espeak...? and add my own code. > > My daughter has one I would still call a hand phone. She is very happy > with it. > > The keyboard has to be an external one in all cases. I do not know it > this works on all models. so the keybd is a plug-in for the phones. how about the tablets? I AM/[have been] looking for a book-device that can read to me. thanks for the clue, gary > > Erich > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: suggestions wanted.... {OT}
On Sat, Jan 12, 2013 at 06:41:43AM +0100, Polytropon wrote: > On Fri, 11 Jan 2013 15:52:16 -0800, Gary Kline wrote: > > I'm looking for a small and portable tablet [or whatever] device > > to use on the once-every-75-years when I do get out. I am not > > looking for a cell phone. the one I have works fine for auto- > > dialing <>. instead, im thinking of something with a > > small screen and somekind of keyboard. it has to have a speaker. > > some version of 'unix' is essential. > > Have you considered using something like a small laptop > (like the Asus eeePC) which is "small enough" and provides > sufficient UNIX compatibility? Additionally, a regular > keyboard (even if in small size) provides tactile feedback > which can be an advantage (as you don't need visual > confirmation about something that's covered by your > fingers). > > I think such kind of netbook can be obtained for few money. > Some of them were shipped with Linux, if I remember correctly, > and if you wish to install FreeBSD, it's also possible. > Here are some examples which illustrate the feasibility > of such a project: > > http://wiki.freebsd.org/AsusEee > > http://www.freebsdgr.org/articles/en_US.ISO8859-1/articles/install-eeepc/article.html these look hopeful since I need to update my debian 5.X. > > http://www.unixarea.de/installEeePC.txt > > The requirements are met: small screen, physical keyboard, > built-in speakers. If getting online with it is required, > that's also possible by using some selected USB "web stick". > I have an EEE-900A that I bought on ebay about two years ago. it works fine for my speech program. I got something about a google tablet, and [i think] a nook tablet. [?]. then theres the amazon tablet. is there a samsung tablet? does the windoze tablet have the ability to be unixified, or is it stuck with its crappy op- sys? you can see the problem of there being dozens of these small gadgets out there--yes, including thed android--. Can anything be overwritten with anything like we are all used to? unix. > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
suggestions wanted.... {OT}
note that this question is =OT=. sorry if this is a re-request for clues. I =did= ask a very similar question a year or three ago; I'm just not sure where. I'm looking for a small and portable tablet [or whatever] device to use on the once-every-75-years when I do get out. I am not looking for a cell phone. the one I have works fine for auto- dialing <>. instead, im thinking of something with a small screen and somekind of keyboard. it has to have a speaker. some version of 'unix' is essential. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: which version of FBSD should i install?
On Wed, Jan 09, 2013 at 12:55:49PM +0700, Erich Dollansky wrote: > Hi, > > On Tue, 8 Jan 2013 18:55:04 -0800 > Gary Kline wrote: > > > ms well use my 2005 Thinkpad. it is reasonably fast at > > 3.06GHz. should clue me in on how much stuff I need to compile to > > test. > > You should be able to run anything from 7.4, 8.3, 9.1 to 10.0. > > I mention 7.4 here for a simple reason. It could be that your old > machine uses some USB hardware, which is not supported from 8.0 onwards. > > I would say, if it works, use 9.1. If not check out 7.4. If this then > works, you could check 10 out. > > 8.3 is the version which is the most robust one as the new stuff did > not arrive there yet. > > Erich Thanks for this. VBC uses no USB hardware... well, AFAIK. I =believe= it should work on anything unix. That is: Unix, BSD, Linux, Android. VBC doe require a keyboard since the disabled user needs to type what he wants to have spoken. If there are and USB issues there, I have no idea. gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
which version of FBSD should i install?
guys, I used my EEE-900a [[last year]] to wow the medical team downtown with my unfinished VBC program. since nobody seems willing to volunteer to test the (*almost*)-finished version, I figure I ms well use my 2005 Thinkpad. it is reasonably fast at 3.06GHz. should clue me in on how much stuff I need to compile to test. I want the Gnome Desktop, espeak, and gvim. If there is a CD or DVD with 9.x, can somebody give me a URL? tia, gary PS: The reason that vbc is only "almost" finished is that I need to do a much better job outlining a.) the basics of using gvim, b.) the basics of using the application, and c.) figuring the best way of using the "File" menu dropdown to _Save the existing files ... and more. the worst part is the documentation... . PPS: ive found and expanding a few lines {maybe 15-20} on gvim/vim/vi. ineed to know how this reads. figure you guys will know. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: AARGH... give me some idea for ad-blockers
On Tue, Jan 08, 2013 at 11:16:05AM +0100, Harald Weis wrote: > On Sun, Jan 06, 2013 at 07:40:37PM -0800, Gary Kline wrote: > > > > > >itHOught I'd ask the best list which ad-blocking software I should > >use. > > > >firefox is my std browsers; also use ixquick. > > > >thanks for some tips, > > Have a look at midori. thanks, iwill. > -- > Harald Weis > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: AARGH... give me some idea for ad-blockers
On Mon, Jan 07, 2013 at 04:44:18PM +0200, Aldis Berjoza wrote: > 07.01.2013, 05:43, "Gary Kline" : > > itHOught I'd ask the best list which ad-blocking software I should > > use. > > > > firefox is my std browsers; also use ixquick. > > > > thanks for some tips, > > > > gary > > > > -- > > Gary Kline kl...@thought.org http://www.thought.org Public Service Unix > > Twenty-six years of service to the Unix community. > > > > > I use dns/pdnsd to block (with dns) many advertisement sites, facebook, > twitter etc > I also use www/privoxy for html content blocking > Finally if something remains, that I can't filter, then I use ad-block > -- > Aldis Berjoza > FreeBSD addict to everybody on adblocking:: Thanks! I was about to go apeshit with all rthese bloody ads. I mean, enuf already. --g. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: sendmail not working
On 01/07/13 19:45, Robert Huff wrote: > > On a system running: > > FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012 amd64 > > I have compiled sendmail following the instructions in the cyrus-sasl > port. > Sendmail starts, but no mail is processed either way. /var/log/maillog > has this: > > > Jan 7 21:07:42 jerusalem sm-mta[69792]: r05KsfdB048780: forward > /home/huff/.forward: Group writable directory > Jan 7 21:07:42 jerusalem sm-mta[69792]: r05KsfdB048780: smtpquit: mailer > local exited with exit value 1 > Jan 7 21:07:42 jerusalem sm-mta[69792]: r05KsfdB048780: to=, > delay=2+05:11:25, xdelay=00:00:00, mailer=local, pri=52831038, relay=local, > dsn=4.4.2, stat=Deferred: Connection reset by local > > The sendmail.cf and submit.cf are attached. > > Any idea what I've screwed up, or my next step in finding out? No clue, except the first message might be saying it's not going to honor anything from .forward because it's in a group writable directory which would be considered a security issue. Try making /home/huff group read only? ___ 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"
AARGH... give me some idea for ad-blockers
itHOught I'd ask the best list which ad-blocking software I should use. firefox is my std browsers; also use ixquick. thanks for some tips, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: somewhat OT ... in parts
On Sat, Jan 05, 2013 at 08:43:18AM +0100, Polytropon wrote: > On Fri, 4 Jan 2013 13:59:45 -0800, Gary Kline wrote: > > On Fri, Jan 04, 2013 at 08:03:39AM +0100, Polytropon wrote: > > > On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote: > > > > one question I have may solve the problem of vim displaying > > > > all the ^/search terms and displaying them in some color. > > > > the default brown is awful, but dark blue isn't much bbetter. > > > > > > If you try :colorscheme blue you can see that the results have > > > orange background with dark text (maybe black?), while the editor > > > background is blue (as the name of the color scheme suggests). > > > > > > > > > > > > > So: can I add something to my ~/.vimrc that =limits= > > > > the "search" to displaying one term? if I am searching for, > > > > say, "the" or I guess /\, I dont want every "the" in my > > > > file. I want only one. or one at a time, and not necessarily > > > > in color. > > > > > > If you have :set hlsearch activated, all (visible) matches will > > > be highlighted, and the cursor will be placed at the first match. > > > > > > I don't see an option to highlight the _next_ result only. However, > > > if you do _not_ set hlsearch, searching and continuing searching > > > will not highlight anything, instead let the cursor skip to the > > > next match (tried here with "gvim /COPYRIGHT", /this, /, /, / and > > > so on), with :set nohlsearch for testing. > > > > > > > Hm. there must be "something" in Muttrc. I dont see it in my > > local ~/.muttrc; this "something" is controlling every /search > > term and highlighting it. > > That should be the default of :set hls (usually in ~/.vimrc), > as I assume Mutt "inlines" vim. > > > > > the regular vim /tmp/foofile.c /tmp/footext is fine. it's only > > in mutt that highlights EVERY instance that I'm searching for. > > I'll figure it out eventually if you don't know offhand. or > > anybody else. > > Search for "flags to vim as editor", :set hlsearch or :set hls. > You can add your own :set nohlsearch or :set nohls at the end > of the file to try to deactivate the effect. This should also > work when manually entered during an editor session. > > > > > maybe I should just find keith bostic's newvi; see if they have it > > for linux; theyve got everything else... {grumble} > > I know there's nvi in ports. > > Maybe those will be helpful: > > http://garage.linux.student.kuleuven.be/~skimo//nvi/ > > > > nvi download here: > > https://sites.google.com/a/bostic.com/keithbostic/files > > > > Project page and FAQ: > > https://sites.google.com/a/bostic.com/keithbostic/vi > > thankee, polyt. the URL's were right on the money! okay, here's the update. I spent much of saturday cleaning and fixing the VBC program. I will probably split some things off into a vbc.h header file to make things a bit neater. but here is where I need at least one volunteer from the BSD world. you'll need to have espeak and vim/gvim installed. And, of course, the gtk libraries. and maybe gnome, altho I cant see why. this stuff already works on three versions of linux that run the GNOME Desktop. anybody have time to test in, say, a week or two? gary ps: if the Makefile works and it builds and execs, that will be a ++good sign :) > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: somewhat OT ... in parts
On Sat, Jan 05, 2013 at 08:43:18AM +0100, Polytropon wrote: > On Fri, 4 Jan 2013 13:59:45 -0800, Gary Kline wrote: > > On Fri, Jan 04, 2013 at 08:03:39AM +0100, Polytropon wrote: > > > On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote: > > > > one question I have may solve the problem of vim displaying > > > > all the ^/search terms and displaying them in some color. > > > > the default brown is awful, but dark blue isn't much bbetter. > > > > > > If you try :colorscheme blue you can see that the results have > > > orange background with dark text (maybe black?), while the editor > > > background is blue (as the name of the color scheme suggests). > > > > > > > > > > > > > So: can I add something to my ~/.vimrc that =limits= > > > > the "search" to displaying one term? if I am searching for, > > > > say, "the" or I guess /\, I dont want every "the" in my > > > > file. I want only one. or one at a time, and not necessarily > > > > in color. > > > > > > If you have :set hlsearch activated, all (visible) matches will > > > be highlighted, and the cursor will be placed at the first match. > > > > > > I don't see an option to highlight the _next_ result only. However, > > > if you do _not_ set hlsearch, searching and continuing searching > > > will not highlight anything, instead let the cursor skip to the > > > next match (tried here with "gvim /COPYRIGHT", /this, /, /, / and > > > so on), with :set nohlsearch for testing. > > > > > > > Hm. there must be "something" in Muttrc. I dont see it in my > > local ~/.muttrc; this "something" is controlling every /search > > term and highlighting it. > > That should be the default of :set hls (usually in ~/.vimrc), > as I assume Mutt "inlines" vim. > > > > > the regular vim /tmp/foofile.c /tmp/footext is fine. it's only > > in mutt that highlights EVERY instance that I'm searching for. > > I'll figure it out eventually if you don't know offhand. or > > anybody else. > > Search for "flags to vim as editor", :set hlsearch or :set hls. > You can add your own :set nohlsearch or :set nohls at the end > of the file to try to deactivate the effect. This should also > work when manually entered during an editor session. > > > > > maybe I should just find keith bostic's newvi; see if they have it > > for linux; theyve got everything else... {grumble} > > I know there's nvi in ports. > > Maybe those will be helpful: > > http://garage.linux.student.kuleuven.be/~skimo//nvi/ > > > > nvi download here: > > https://sites.google.com/a/bostic.com/keithbostic/files > > > > Project page and FAQ: > > https://sites.google.com/a/bostic.com/keithbostic/vi > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... super! dank! I had no idea that keith's stuff was still around--well, except for our nvi in ports/editors/. one quick and easy solution would be to set editor = nvi in my .muttrc and see if that works. sometimes colors are helpful; usually I can get along fine w/out :-) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: somewhat OT ... in parts
On Fri, Jan 04, 2013 at 06:09:53AM -0800, Devin Teske wrote: > > On Jan 3, 2013, at 11:03 PM, Polytropon wrote: > > > On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote: > >>one question I have may solve the problem of vim displaying > >>all the ^/search terms and displaying them in some color. > >>the default brown is awful, but dark blue isn't much bbetter. > > > > If you try :colorscheme blue you can see that the results have > > orange background with dark text (maybe black?), while the editor > > background is blue (as the name of the color scheme suggests). > > > > > > > >>So: can I add something to my ~/.vimrc that =limits= > >>the "search" to displaying one term? if I am searching for, > >>say, "the" or I guess /\, I dont want every "the" in my > >>file. I want only one. or one at a time, and not necessarily > >>in color. > > > > If you have :set hlsearch activated, all (visible) matches will > > be highlighted, > > :set hls > :set nohls > > for short to enable/disable (respectively). > > > > and the cursor will be placed at the first match. > > > YES! well, at least it works when I reply in mutt --which ive got set to use vim. the "set" strings immediately vanished from deep blue ... in other words, I can read the reply much more easily. I put the ":set nohls" in my ~/.muttrc and got an error when I exec'd mutt. I'll try without the colon. > On a side note, there's also :set incsearch > > That will make you jump ahead as you type (I personally don't care for it). > right; I see that "incsearch" jumps ahead to the next /search term [.] I can see a use if you are searching for, say "/\" or "/\" , maybe. > > I don't see an option to highlight the _next_ result only. However, > > if you do _not_ set hlsearch, searching and continuing searching > > will not highlight anything, instead let the cursor skip to the > > next match (tried here with "gvim /COPYRIGHT", /this, /, /, / and > > so on), with :set nohlsearch for testing. > > > > > > > > > > -- > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > > _ > The information contained in this message is proprietary and/or confidential. > If you are not the intended recipient, please: (i) delete the message and all > copies; (ii) do not disclose, distribute or use the message in any manner; > and (iii) notify the sender immediately. In addition, please be aware that > any message addressed to our domain is subject to archiving and review by > persons other than the intended recipient. Thank you. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: somewhat OT ... in parts
On Fri, Jan 04, 2013 at 08:03:39AM +0100, Polytropon wrote: > On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote: > > one question I have may solve the problem of vim displaying > > all the ^/search terms and displaying them in some color. > > the default brown is awful, but dark blue isn't much bbetter. > > If you try :colorscheme blue you can see that the results have > orange background with dark text (maybe black?), while the editor > background is blue (as the name of the color scheme suggests). > > > > > So: can I add something to my ~/.vimrc that =limits= > > the "search" to displaying one term? if I am searching for, > > say, "the" or I guess /\, I dont want every "the" in my > > file. I want only one. or one at a time, and not necessarily > > in color. > > If you have :set hlsearch activated, all (visible) matches will > be highlighted, and the cursor will be placed at the first match. > > I don't see an option to highlight the _next_ result only. However, > if you do _not_ set hlsearch, searching and continuing searching > will not highlight anything, instead let the cursor skip to the > next match (tried here with "gvim /COPYRIGHT", /this, /, /, / and > so on), with :set nohlsearch for testing. > Hm. there must be "something" in Muttrc. I dont see it in my local ~/.muttrc; this "something" is controlling every /search term and highlighting it. the regular vim /tmp/foofile.c /tmp/footext is fine. it's only in mutt that highlights EVERY instance that I'm searching for. I'll figure it out eventually if you don't know offhand. or anybody else. maybe I should just find keith bostic's newvi; see if they have it for linux; theyve got everything else... {grumble} thanks, polyt. gary > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: somewhat OT ... in parts
On Thu, Jan 03, 2013 at 08:44:22AM -0500, Rod Person wrote: > On Wed, 2 Jan 2013 18:53:05 -0800 > Gary Kline wrote: > > > > thanks in advance for a few url's. > > > > I love this color scheme, I use it for everything. There is a vim > specific version...http://ethanschoonover.com/solarized > tx; if it is just plug-and-work, I'll try it out. --note that to use this blue/green scheme, I swiped a couple lines. Voila. > > -- > Just because it can been done, does not mean it should be done. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: somewhat OT ... in parts
On Thu, Jan 03, 2013 at 07:27:41AM +0100, Polytropon wrote: > On Wed, 2 Jan 2013 18:53:05 -0800, Gary Kline wrote: > > one reason ive stuck with vim-as-vi was of the colors that vim > > defaults to. I'v fought the dark/crap/puke brown / > > color that seems to be the default on my linux desktop. it's hard > > to see my block cursor when I search for words. und`zo, today I > > spend a couple hours tracking down this color feature in vim. was > > pleased to find that there was a blue-tone color set. my joints > > are complaining so I'll ask if any of you can give me the right > > terms to google for. I'd like to find a lighter blue or play > > around with the colors. {am assuming that vim is the same across > > the linux and berkeley distributions.} > > In case you're using gvim (a GUI "enclosing" for vim) you can > do the following: Load some text or source code, :syntax on, > then in the menu: Edit -> Color Scheme, and pin the resulting > menu next to the editor window; click the different schemes > to check if one of the predefined 17 schemes looks usable to > you; when done, unpin the menu. This approach is just for > testing and "looking around" in the first place, not for > actual permanent use. :-) > wow! [apologies: I fergot that I had an appt =all day== downtown.] I am seeing this in mutt as all-green. I guess it's not that bad. one question I have may solve the problem of vim displaying all the ^/search terms and displaying them in some color. the default brown is awful, but dark blue isn't much bbetter. So: can I add something to my ~/.vimrc that =limits= the "search" to displaying one term? if I am searching for, say, "the" or I guess /\, I dont want every "the" in my file. I want only one. or one at a time, and not necessarily in color. > > > > PS: OH; the offtopic thing. I'm done, or =very= close with my > > voice by computer program. It's in C with gtk and AFAICT works > > only on linux. ive got a few months of cleaning up before > > release 0.51 will be finished. in the FBSD world, this would > > fit into the accessibility directory. now, the speech-impaired > > who can type will be able to communicate with anyone. VBC requires > > espeak and gvim. > > There are both gvim and /usr/ports/audio/espeak in ports, and > Gtk is also in there. What would cause this software to refuse > working on FreeBSD? > hm. dunno. but then , since I was using FBSD only as a server, I only put in ctwm. no gnome, no gtk, no espeak. actually, my VBC certainly ought to work under gnome and with gtk, espeak, and gvim [as the pop-up editor]. I'll put the tarball on my deadbbs.com site where ive got all my other portballs ... if you or anybody wants to try it out. just gimmee a couple weeeks. the code is seriously messy. --I hang my head... . > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
somewhat OT ... in parts
guys, it was bill joy and friends who clued me in on how-to use the vi that he was writing in the late 70's. I've been stuck on that editor--or VIIM in recent years. Bill's original editor became COPYRIGHT of UNIX {TM}, and of course you just didnt mess with "the telephone company." I was glad when keith bostic wrote an exact clone of bill joy's editor. I'm still getting used to vim. one reason ive stuck with vim-as-vi was of the colors that vim defaults to. I'v fought the dark/crap/puke brown / color that seems to be the default on my linux desktop. it's hard to see my block cursor when I search for words. und`zo, today I spend a couple hours tracking down this color feature in vim. was pleased to find that there was a blue-tone color set. my joints are complaining so I'll ask if any of you can give me the right terms to google for. I'd like to find a lighter blue or play around with the colors. {am assuming that vim is the same across the linux and berkeley distributions.} thanks in advance for a few url's. gary PS: OH; the offtopic thing. I'm done, or =very= close with my voice by computer program. It's in C with gtk and AFAICT works only on linux. ive got a few months of cleaning up before release 0.51 will be finished. in the FBSD world, this would fit into the accessibility directory. now, the speech-impaired who can type will be able to communicate with anyone. VBC requires espeak and gvim. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
which C function is best to check for directory EXISTANCE?
which C function is best to check for the existence of a *directory*? say that I am want to make postitve that "/tmp/foo/" exists. ALso: which will make sure that the directory AND ffile "tmp/foo/filename12345" exists and that I have read access to it? in other words, can playing around with access() and stat() be best? is there any new dirstat("PATh") that would work? just want to see which way is best? dank mucho, y'all! gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"