I Guess I Don't Understand NFS As Well As I Thought
Can someone kindly explain what is going on here: Machine A: FreeBSD - was running 8, just upgraded to 9.1-PRE (I don't recall seeing the behavior described below in V8, but then, I don't think I ever tried it). Machine B: Linux Mint Desktop - Machine A acts as an NFS server for Machine B. - Machine A exports a particular directory like this: /usr/foo -maproot=myid -network ... - /usr/foo/bar is owned by root on Machine A and has files therein owned as root:root with permissions of 600. - If I access /usr/foo/bar/file1 from Machine B, I cannot read it but - and this is the part I don't get - I CAN *rename* it. What's going on? Since /foo/bar/ is owned by root and everything in it is 600 root:root, I would not expect a remote access to allow things like renaming. Clearly I am missing something here, but I don't get it. -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/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: I Guess I Don't Understand NFS As Well As I Thought
On 24 November 2012, at 12:32, Tim Daneliuk wrote: Can someone kindly explain what is going on here: Machine A: FreeBSD - was running 8, just upgraded to 9.1-PRE (I don't recall seeing the behavior described below in V8, but then, I don't think I ever tried it). Machine B: Linux Mint Desktop - Machine A acts as an NFS server for Machine B. - Machine A exports a particular directory like this: /usr/foo -maproot=myid -network ... - /usr/foo/bar is owned by root on Machine A and has files therein owned as root:root with permissions of 600. - If I access /usr/foo/bar/file1 from Machine B, I cannot read it but - and this is the part I don't get - I CAN *rename* it. What's going on? Since /foo/bar/ is owned by root and everything in it is 600 root:root, I would not expect a remote access to allow things like renaming. Clearly I am missing something here, but I don't get it. What are the permissions on the directory /usr/foo/bar? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: I Guess I Don't Understand NFS As Well As I Thought
On 11/24/2012 03:25 PM, Doug Hardie wrote: On 24 November 2012, at 12:32, Tim Daneliuk wrote: Can someone kindly explain what is going on here: Machine A: FreeBSD - was running 8, just upgraded to 9.1-PRE (I don't recall seeing the behavior described below in V8, but then, I don't think I ever tried it). Machine B: Linux Mint Desktop - Machine A acts as an NFS server for Machine B. - Machine A exports a particular directory like this: /usr/foo -maproot=myid -network ... - /usr/foo/bar is owned by root on Machine A and has files therein owned as root:root with permissions of 600. - If I access /usr/foo/bar/file1 from Machine B, I cannot read it but - and this is the part I don't get - I CAN *rename* it. What's going on? Since /foo/bar/ is owned by root and everything in it is 600 root:root, I would not expect a remote access to allow things like renaming. Clearly I am missing something here, but I don't get it. What are the permissions on the directory /usr/foo/bar? 775 Let me correct something. The files in that directory are owned by root:wheel (not root:root - I got my *nixes confused), but they definitely have 600 perms. On Machine A, user 'myid' is IN the wheel group but I still don't see how he's getting permission to rename the file. ___ 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 -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/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: I Guess I Don't Understand NFS As Well As I Thought
On 24 November 2012, at 14:37, Tim Daneliuk wrote: On 11/24/2012 03:25 PM, Doug Hardie wrote: On 24 November 2012, at 12:32, Tim Daneliuk wrote: Can someone kindly explain what is going on here: Machine A: FreeBSD - was running 8, just upgraded to 9.1-PRE (I don't recall seeing the behavior described below in V8, but then, I don't think I ever tried it). Machine B: Linux Mint Desktop - Machine A acts as an NFS server for Machine B. - Machine A exports a particular directory like this: /usr/foo -maproot=myid -network ... - /usr/foo/bar is owned by root on Machine A and has files therein owned as root:root with permissions of 600. - If I access /usr/foo/bar/file1 from Machine B, I cannot read it but - and this is the part I don't get - I CAN *rename* it. What's going on? Since /foo/bar/ is owned by root and everything in it is 600 root:root, I would not expect a remote access to allow things like renaming. Clearly I am missing something here, but I don't get it. What are the permissions on the directory /usr/foo/bar? 775 Let me correct something. The files in that directory are owned by root:wheel (not root:root - I got my *nixes confused), but they definitely have 600 perms. On Machine A, user 'myid' is IN the wheel group but I still don't see how he's getting permission to rename the file.\ Renaming a file does not change the file itself. It updates the directory. Any user in group wheel has the authority to write to the directory (e.g., change a file's name). The directory permissions are rwx for group wheel. You can either try a user on machine B who is not in group wheel or change the directory permissions to 755 on /usr/foo/bar. Then it would work as you expect. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: I Guess I Don't Understand NFS As Well As I Thought
On 11/24/2012 05:13 PM, Doug Hardie wrote: On 24 November 2012, at 14:37, Tim Daneliuk wrote: On 11/24/2012 03:25 PM, Doug Hardie wrote: On 24 November 2012, at 12:32, Tim Daneliuk wrote: Can someone kindly explain what is going on here: Machine A: FreeBSD - was running 8, just upgraded to 9.1-PRE (I don't recall seeing the behavior described below in V8, but then, I don't think I ever tried it). Machine B: Linux Mint Desktop - Machine A acts as an NFS server for Machine B. - Machine A exports a particular directory like this: /usr/foo -maproot=myid -network ... - /usr/foo/bar is owned by root on Machine A and has files therein owned as root:root with permissions of 600. - If I access /usr/foo/bar/file1 from Machine B, I cannot read it but - and this is the part I don't get - I CAN *rename* it. What's going on? Since /foo/bar/ is owned by root and everything in it is 600 root:root, I would not expect a remote access to allow things like renaming. Clearly I am missing something here, but I don't get it. What are the permissions on the directory /usr/foo/bar? 775 Let me correct something. The files in that directory are owned by root:wheel (not root:root - I got my *nixes confused), but they definitely have 600 perms. On Machine A, user 'myid' is IN the wheel group but I still don't see how he's getting permission to rename the file.\ Renaming a file does not change the file itself. It updates the directory. Any user in group wheel has the authority to write to the directory (e.g., change a file's name). The directory permissions are rwx for group wheel. You can either try a user on machine B who is not in group wheel or change the directory permissions to 755 on /usr/foo/bar. Then it would work as you expect. D'oh ... of course that's it. Thanks. -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/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: well, try here first...
Hi, On Wed, 14 Nov 2012 03:58:14 +0100 Polytropon free...@edvax.de wrote: On Wed, 14 Nov 2012 08:26:00 +0700, Erich Dollansky wrote: Hi, On Tue, 13 Nov 2012 17:07:38 -0800 Gary Kline kl...@thought.org wrote: On Wed, Nov 14, 2012 at 04:47:48AM +0700, Erich Dollansky wrote: Hi, On Tue, 13 Nov 2012 11:00:07 -0800 Gary Kline kl...@thought.org wrote: On Tue, Nov 13, 2012 at 09:12:55AM +0100, Polytropon wrote: On Tue, 13 Nov 2012 15:10:33 +0700, Erich Dollansky wrote: Hi, ja vohl. futher dhclient is there. I'll go back to you wanted to say 'jawohl'? Jawohl mein Herr! :-) What, no comma!? what the Playboy did to the German language ... Playboy's German tag line missed out on a comma too. It was obviously a mistake. I have heard that they brought it back after decades of no comma in the tag line. do you mean that it was Play boy? or what? what was the tag line? Playboy alles was Maennern Spass macht Ouch. Unlike in English, the comma in German is an important symbol in grammar. It brings structure to sentences. In English, there is the word order that achieves this goal, and a comma is mostly optional or left to preferences. In German, there are rules where to place a comma, and where not to. Those rules are relatively easy to understand, and luckily they do not leave much space for individual preferences. :-) In the above example, Playboy, alles was Maennern Spass macht or better using a hyphen Playboy - alles was Maennern Spass macht would have been correct, as it's shown on the current web page in a correct manner. I have had to open playboy.de again. Just for the comma. I think that it is a bit more complicated. Especially as Playboy is here the brand 'Alles, was Maennern Spass macht' is the tag line and needs a comma after alles. Playboy does it now properly in the header of their site but wrongly in the title. Your second line with the hyphen is there the best option if there would be the comma after alles. I never would have believed that Playboy becomes part of a serious discussion which started with an sshd problem. Ok, the world knows now the importance of Playboy for the IT world. 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
Re: well, try here first...
On Wed, 14 Nov 2012 00:58:02 -0600 (CST) Robert Bonomi wrote: In 'classic' English (as taught in the 60s and earlier), a comma was _required_ before a trailing 'and' in a list of 3 or more items, and forbidden if there were only two items. Not really: http://oxforddictionaries.com/words/what-is-the-oxford-comma Perhaps is should be taken to chat, it has nothing to do with FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, try here first...
On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote: On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote: Anyway, linux is installed; the box is on my internal IP net. I can ssh *out*. to my server, vut from my server or wherever, I cant ssh back in. doing an % ssh 10.47.0.114 OR ssh tao gives me an instant Connection refused. if I try an ssh -X tao I get a string like Connnection closed. can any of you network wizards or setup wizards clue me in. {FWIW:: the ssh stuff is from OpenBSD.} Have you checked that tao is actually running a SSH server? ja vohl. futher dhclient is there. I'll go back to comparing tao to ethic. The way _how_ to enable it depends on the distribution you're using and is very different among the Linusi. rt., and this is fedora, my least fav distro. But I've always had trouble with ssh, even with FBSD. The FreeBSD equivalent would be something like # /etc/rc.d/sshd start or putting sshd_enable=YES into /etc/rc.conf to have this task at boot. Depending on what Linux you are using, this may be as easy as on FreeBSD... or overcomplicated, because nobody needs this anyway. :-) no mo' energy. I hear my bed singing sirens' songs:) 5 mins later: I ssh'd from tao to ethic then used the ssh-vvv for debug. Somewhere this string shoewd up. as noted, this is from OBSD: SSH2_MSG_IGNORE so if anybody running openbsd or fedora, or anybody who has stubbed his toe this way, give a hollar. S'All, gary -- 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: well, try here first...
On Mon, 12 Nov 2012 23:57:21 -0800, Gary Kline wrote: On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote: On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote: Anyway, linux is installed; the box is on my internal IP net. I can ssh *out*. to my server, vut from my server or wherever, I cant ssh back in. doing an % ssh 10.47.0.114 OR ssh tao gives me an instant Connection refused. if I try an ssh -X tao I get a string like Connnection closed. can any of you network wizards or setup wizards clue me in. {FWIW:: the ssh stuff is from OpenBSD.} Have you checked that tao is actually running a SSH server? ja vohl. futher dhclient is there. I'll go back to comparing tao to ethic. The dhclient is a client (just as the ssh program), while the system has to run some kind of SSH _server_ (sshd on FreeBSD for example). Additionally, network configuration and especially firewall has to _permit_ the access to that specific service (that has to be enabled). The way _how_ to enable it depends on the distribution you're using and is very different among the Linusi. rt., and this is fedora, my least fav distro. But I've always had trouble with ssh, even with FBSD. There is a nice summary on how to get the OpenSSH server set up on Fedora: http://www.techotopia.com/index.php/Configuring_Fedora_Linux_Remote_Access_using_SSH Basically, it's about installing and enabling it. The article also discusses how to enable configure the firewall properly. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, try here first...
Hi, On Mon, 12 Nov 2012 23:57:21 -0800 Gary Kline kl...@thought.org wrote: On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote: On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote: Anyway, linux is installed; the box is on my internal IP net. I can ssh *out*. to my server, vut from my server or wherever, I cant ssh back in. doing an % ssh 10.47.0.114 OR ssh tao gives me an instant Connection refused. if I try an ssh -X tao I get a string like Connnection closed. can any of you network wizards or setup wizards clue me in. {FWIW:: the ssh stuff is from OpenBSD.} Have you checked that tao is actually running a SSH server? ja vohl. futher dhclient is there. I'll go back to you wanted to say 'jawohl'? 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
Re: well, try here first...
On Tue, Nov 13, 2012 at 09:08:12AM +0100, Polytropon wrote: On Mon, 12 Nov 2012 23:57:21 -0800, Gary Kline wrote: On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote: On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote: Anyway, linux is installed; the box is on my internal IP net. I can ssh *out*. to my server, vut from my server or wherever, I cant ssh back in. doing an % ssh 10.47.0.114 OR ssh tao gives me an instant Connection refused. if I try an ssh -X tao I get a string like Connnection closed. can any of you network wizards or setup wizards clue me in. {FWIW:: the ssh stuff is from OpenBSD.} Have you checked that tao is actually running a SSH server? ja vohl. futher dhclient is there. I'll go back to comparing tao to ethic. The dhclient is a client (just as the ssh program), while the system has to run some kind of SSH _server_ (sshd on FreeBSD for example). Additionally, network configuration and especially firewall has to _permit_ the access to that specific service (that has to be enabled). hmmm. that might be it. my firewall is in a nice small, 4w netgear box. it's got a web interface and runs some flavor of firewall that I never studied. yuk. The way _how_ to enable it depends on the distribution you're using and is very different among the Linusi. rt., and this is fedora, my least fav distro. But I've always had trouble with ssh, even with FBSD. There is a nice summary on how to get the OpenSSH server set up on Fedora: http://www.techotopia.com/index.php/Configuring_Fedora_Linux_Remote_Access_using_SSH Basically, it's about installing and enabling it. The article also discusses how to enable configure the firewall properly. thank you. I'll ck it out. also google other stuff if I have to. -- 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: well, try here first...
On Tue, Nov 13, 2012 at 03:10:33PM +0700, Erich Dollansky wrote: Hi, On Mon, 12 Nov 2012 23:57:21 -0800 Gary Kline kl...@thought.org wrote: On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote: On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote: Anyway, linux is installed; the box is on my internal IP net. I can ssh *out*. to my server, vut from my server or wherever, I cant ssh back in. doing an % ssh 10.47.0.114 OR ssh tao gives me an instant Connection refused. if I try an ssh -X tao I get a string like Connnection closed. can any of you network wizards or setup wizards clue me in. {FWIW:: the ssh stuff is from OpenBSD.} Have you checked that tao is actually running a SSH server? ja vohl. futher dhclient is there. I'll go back to you wanted to say 'jawohl'? Erich Ha! yes! I did not know it was one word, but should have remembered the v should be a w ... -- 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: well, try here first...
On Tue, Nov 13, 2012 at 09:12:55AM +0100, Polytropon wrote: On Tue, 13 Nov 2012 15:10:33 +0700, Erich Dollansky wrote: Hi, On Mon, 12 Nov 2012 23:57:21 -0800 Gary Kline kl...@thought.org wrote: On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote: On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote: Anyway, linux is installed; the box is on my internal IP net. I can ssh *out*. to my server, vut from my server or wherever, I cant ssh back in. doing an % ssh 10.47.0.114 OR ssh tao gives me an instant Connection refused. if I try an ssh -X tao I get a string like Connnection closed. can any of you network wizards or setup wizards clue me in. {FWIW:: the ssh stuff is from OpenBSD.} Have you checked that tao is actually running a SSH server? ja vohl. futher dhclient is there. I'll go back to you wanted to say 'jawohl'? Jawohl mein Herr! :-) What, no comma!? :) -- 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: well, try here first...
Hi, On Tue, 13 Nov 2012 11:00:07 -0800 Gary Kline kl...@thought.org wrote: On Tue, Nov 13, 2012 at 09:12:55AM +0100, Polytropon wrote: On Tue, 13 Nov 2012 15:10:33 +0700, Erich Dollansky wrote: Hi, On Mon, 12 Nov 2012 23:57:21 -0800 Gary Kline kl...@thought.org wrote: On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote: On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote: Anyway, linux is installed; the box is on my internal IP net. I can ssh *out*. to my server, vut from my server or wherever, I cant ssh back in. doing an % ssh 10.47.0.114 OR ssh tao gives me an instant Connection refused. if I try an ssh -X tao I get a string like Connnection closed. can any of you network wizards or setup wizards clue me in. {FWIW:: the ssh stuff is from OpenBSD.} Have you checked that tao is actually running a SSH server? ja vohl. futher dhclient is there. I'll go back to you wanted to say 'jawohl'? Jawohl mein Herr! :-) What, no comma!? what the Playboy did to the German language ... Playboy's German tag line missed out on a comma too. It was obviously a mistake. I have heard that they brought it back after decades of no comma in the tag line. You know, while in other countries man could say that they read Playboy only because of the articles, in Germany they read Playboy only to check on the comma. 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
Re: well, try here first...
On Tue, Nov 13, 2012 at 09:08:12AM +0100, Polytropon wrote: On Mon, 12 Nov 2012 23:57:21 -0800, Gary Kline wrote: On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote: On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote: Anyway, linux is installed; the box is on my internal IP net. I can ssh *out*. to my server, vut from my server or wherever, I cant ssh back in. doing an % ssh 10.47.0.114 OR ssh tao gives me an instant Connection refused. if I try an ssh -X tao I get a string like Connnection closed. can any of you network wizards or setup wizards clue me in. {FWIW:: the ssh stuff is from OpenBSD.} Have you checked that tao is actually running a SSH server? ja vohl. futher dhclient is there. I'll go back to comparing tao to ethic. The dhclient is a client (just as the ssh program), while the system has to run some kind of SSH _server_ (sshd on FreeBSD for example). Additionally, network configuration and especially firewall has to _permit_ the access to that specific service (that has to be enabled). and I believe you need to give the full path name; that's one of the things ii just did. The way _how_ to enable it depends on the distribution you're using and is very different among the Linusi. rt., and this is fedora, my least fav distro. But I've always had trouble with ssh, even with FBSD. There is a nice summary on how to get the OpenSSH server set up on Fedora: http://www.techotopia.com/index.php/Configuring_Fedora_Linux_Remote_Access_using_SSH Basically, it's about installing and enabling it. The article also discusses how to enable configure the firewall properly. well, it works. im not sure what I did, but no comp;laints! I'm running pfSense in a netgear box. before I rebooted, my local IP ended in .114; after and now it moved to .113. when I did an ssh 10.47.0.113, voila! the new tao requested my password. and I was in. and go ssh back and forth. Whew! thanks for the help, guys. gary ps: I'v got to figure out how to remove gnome and install kde, c, but at least that should be easy. -- 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: well, try here first...
On Wed, Nov 14, 2012 at 04:47:48AM +0700, Erich Dollansky wrote: Hi, On Tue, 13 Nov 2012 11:00:07 -0800 Gary Kline kl...@thought.org wrote: On Tue, Nov 13, 2012 at 09:12:55AM +0100, Polytropon wrote: On Tue, 13 Nov 2012 15:10:33 +0700, Erich Dollansky wrote: Hi, ja vohl. futher dhclient is there. I'll go back to you wanted to say 'jawohl'? Jawohl mein Herr! :-) What, no comma!? what the Playboy did to the German language ... Playboy's German tag line missed out on a comma too. It was obviously a mistake. I have heard that they brought it back after decades of no comma in the tag line. do you mean that it was Play boy? or what? what was the tag line? You know, while in other countries man could say that they read Playboy only because of the articles, in Germany they read Playboy only to check on the comma. :-) funny. I, of course, =always= read playboy for the articles, just like every other guy. {that line goes back to the early 1970s. at least.} 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: well, try here first...
Hi, On Tue, 13 Nov 2012 17:07:38 -0800 Gary Kline kl...@thought.org wrote: On Wed, Nov 14, 2012 at 04:47:48AM +0700, Erich Dollansky wrote: Hi, On Tue, 13 Nov 2012 11:00:07 -0800 Gary Kline kl...@thought.org wrote: On Tue, Nov 13, 2012 at 09:12:55AM +0100, Polytropon wrote: On Tue, 13 Nov 2012 15:10:33 +0700, Erich Dollansky wrote: Hi, ja vohl. futher dhclient is there. I'll go back to you wanted to say 'jawohl'? Jawohl mein Herr! :-) What, no comma!? what the Playboy did to the German language ... Playboy's German tag line missed out on a comma too. It was obviously a mistake. I have heard that they brought it back after decades of no comma in the tag line. do you mean that it was Play boy? or what? what was the tag line? Playboy alles was Maennern Spass macht Playboy corrected this meanwhile as you can see on www.playboy.de. Just on the side. Does playboy.com still mirror FreeBSD as they did many years ago? Erich You know, while in other countries man could say that they read Playboy only because of the articles, in Germany they read Playboy only to check on the comma. :-) funny. I, of course, =always= read playboy for the articles, just like every other guy. {that line goes back to the early 1970s. at least.} A brother-in-law does this for another professional reason. He does or did those days plastic surgery and has had to see the results of other people's work. Of course, he was also interested in the articles. Listening to his comments was more fun than reading the humour page of Playboy. 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
Re: well, try here first...
On Tue, 13 Nov 2012 10:50:40 -0800, Gary Kline wrote: On Tue, Nov 13, 2012 at 09:08:12AM +0100, Polytropon wrote: On Mon, 12 Nov 2012 23:57:21 -0800, Gary Kline wrote: On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote: On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote: Anyway, linux is installed; the box is on my internal IP net. I can ssh *out*. to my server, vut from my server or wherever, I cant ssh back in. doing an % ssh 10.47.0.114 OR ssh tao gives me an instant Connection refused. if I try an ssh -X tao I get a string like Connnection closed. can any of you network wizards or setup wizards clue me in. {FWIW:: the ssh stuff is from OpenBSD.} Have you checked that tao is actually running a SSH server? ja vohl. futher dhclient is there. I'll go back to comparing tao to ethic. The dhclient is a client (just as the ssh program), while the system has to run some kind of SSH _server_ (sshd on FreeBSD for example). Additionally, network configuration and especially firewall has to _permit_ the access to that specific service (that has to be enabled). hmmm. that might be it. my firewall is in a nice small, 4w netgear box. it's got a web interface and runs some flavor of firewall that I never studied. yuk. I assume your HW firewall protects you to the outside. Of course it should allow SSH connections from the outside to the tao box _if_ you want it that way. But I was thinking about the firewall run by the Fedora OS that might block SSH connections to tao, no matter from where they come, just as if you would have set up FreeBSD's ipfw with the default to deny connections: without explicitely enabling SSH connections the server cannot be reached, no matter if it's running. The way _how_ to enable it depends on the distribution you're using and is very different among the Linusi. rt., and this is fedora, my least fav distro. But I've always had trouble with ssh, even with FBSD. There is a nice summary on how to get the OpenSSH server set up on Fedora: http://www.techotopia.com/index.php/Configuring_Fedora_Linux_Remote_Access_using_SSH Basically, it's about installing and enabling it. The article also discusses how to enable configure the firewall properly. thank you. I'll ck it out. also google other stuff if I have to. Check if the Techotopia article matches your version of Fedora. It shows how to install and enable the SSH server and also mentions the built-in firewall that has to be configured to allow connections to that server. From my limited experience with Fedora (haven't used it for some time), this looks like what you need to do. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, try here first...
2012-11-13 06:22, Gary Kline skrev: guys, hold your flame-throwers, because this is about how to get ssh working from an outside computer into my brand new tao that is running a flavor of linux. I just got my quad i5 box to replace the old, broken tao. this was the box with the busted USB. [!] Anyway, linux is installed; the box is on my internal IP net. I can ssh *out*. to my server, vut from my server or wherever, I cant ssh back in. doing an % ssh 10.47.0.114 OR ssh tao gives me an instant Connection refused. if I try an ssh -X tao I get a string like Connnection closed. can any of you network wizards or setup wizards clue me in. {FWIW:: the ssh stuff is from OpenBSD.} anybody know what im NOT doing? You have to start the ssh daemon (sshd) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, try here first...
On Wed, 14 Nov 2012 08:26:00 +0700, Erich Dollansky wrote: Hi, On Tue, 13 Nov 2012 17:07:38 -0800 Gary Kline kl...@thought.org wrote: On Wed, Nov 14, 2012 at 04:47:48AM +0700, Erich Dollansky wrote: Hi, On Tue, 13 Nov 2012 11:00:07 -0800 Gary Kline kl...@thought.org wrote: On Tue, Nov 13, 2012 at 09:12:55AM +0100, Polytropon wrote: On Tue, 13 Nov 2012 15:10:33 +0700, Erich Dollansky wrote: Hi, ja vohl. futher dhclient is there. I'll go back to you wanted to say 'jawohl'? Jawohl mein Herr! :-) What, no comma!? what the Playboy did to the German language ... Playboy's German tag line missed out on a comma too. It was obviously a mistake. I have heard that they brought it back after decades of no comma in the tag line. do you mean that it was Play boy? or what? what was the tag line? Playboy alles was Maennern Spass macht Ouch. Unlike in English, the comma in German is an important symbol in grammar. It brings structure to sentences. In English, there is the word order that achieves this goal, and a comma is mostly optional or left to preferences. In German, there are rules where to place a comma, and where not to. Those rules are relatively easy to understand, and luckily they do not leave much space for individual preferences. :-) In the above example, Playboy, alles was Maennern Spass macht or better using a hyphen Playboy - alles was Maennern Spass macht would have been correct, as it's shown on the current web page in a correct manner. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, try here first...
On Wed, Nov 14, 2012 at 03:58:14AM +0100, Polytropon wrote: On Wed, 14 Nov 2012 08:26:00 +0700, Erich Dollansky wrote: Hi, On Tue, 13 Nov 2012 17:07:38 -0800 Gary Kline kl...@thought.org wrote: On Wed, Nov 14, 2012 at 04:47:48AM +0700, Erich Dollansky wrote: Playboy alles was Maennern Spass macht Ouch. Unlike in English, the comma in German is an important symbol in grammar. It brings structure to sentences. In English, there is the word order that achieves this goal, and a comma is mostly optional or left to preferences. In German, there are rules where to place a comma, and where not to. Those rules are relatively easy to understand, and luckily they do not leave much space for individual preferences. :-) In the above example, Playboy, alles was Maennern Spass macht or better using a hyphen Playboy - alles was Maennern Spass macht would have been correct, as it's shown on the current web page in a correct manner. So! this explains a lot that I've noticed over the years. remember that im beyong =getting= old; I really Am old. before I started high school, the rules for commas were almost set in concrete. my english teacher took points off if there was an incorrect comma. it looks like in germany language has remained very strict. {but then, that's why punctuation exists.} I've noticed an easing of punctuation--esp'ly in the use of commas--in how I was taught. but let's face it: it's easier to text by slacking off. :) -- 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: well, try here first...
On Wed, Nov 14, 2012 at 02:35:43AM +0100, Polytropon wrote: box. it's got a web interface and runs some flavor of firewall that I never studied. yuk. I assume your HW firewall protects you to the outside. Of course it should allow SSH connections from the outside to the tao box _if_ you want it that way. my netgear and pfSense setup surprised me this afternoon. the initial setup listed my internal IP as 10.47.0.114, but something I did changed the DHCP leases section to 10.47.0.113 . after that, I could ssh out and then ssh back to tao. But I was thinking about the firewall run by the Fedora OS that might block SSH connections to tao, no matter from where they come, just as if you would have set up FreeBSD's ipfw with the default to deny connections: without explicitely enabling SSH connections the server cannot be reached, no matter if it's running. I havent used ipfw for many years. the most recent firewall I ran was on FBSD 5.X and was {i think} pfw. I got quite good at it. I should learn more about plain pf and pfSense. do you know if pf/pfsense defaults to DENY incoming connections? that would explain a Lot! The way _how_ to enable it depends on the distribution you're using and is very different among the Linusi. rt., and this is fedora, my least fav distro. But I've always had trouble with ssh, even with FBSD. There is a nice summary on how to get the OpenSSH server set up on Fedora: http://www.techotopia.com/index.php/Configuring_Fedora_Linux_Remote_Access_using_SSH Basically, it's about installing and enabling it. The article also discusses how to enable configure the firewall properly. thank you. I'll ck it out. also google other stuff if I have to. Check if the Techotopia article matches your version of Fedora. It shows how to install and enable the SSH server and also mentions the built-in firewall that has to be configured to allow connections to that server. the URL you had was fedora-13; what I installed fedora-17. and just recently--maybe when I rebooted--i saw fedora-19[?] not sure... . From my limited experience with Fedora (haven't used it for some time), this looks like what you need to do. well, the deal is that my volunteer system admin worked for red hat for about 5 years. I'm more used to ubuntu, but my friend says that im on my own anyway, things are starting to eork. [!] -- 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: well, try here first...
On Nov 13, 2012, at 7:58 PM, Polytropon wrote: Ouch. Unlike in English, the comma in German is an important symbol in grammar. It brings structure to sentences. In English, there is the word order that achieves this goal, and a comma is mostly optional or left to preferences. In German, there are rules where to place a comma, and where not to. Those rules are relatively easy to understand, and luckily they do not leave much space for individual preferences. :-) In the above example, Playboy, alles was Maennern Spass macht or better using a hyphen Playboy - alles was Maennern Spass macht would have been correct, as it's shown on the current web page in a correct manner. To be fair, a lot of the same rules exist for English. The comma is not optional or left to preferences in English, either. There are definite rules and it brings structure. Unfortunately, lots of people forget (or don't pay attention to) these rules, or, they are casual with them in the casual forms of communication, like email. (And there are some people who believe that the text language is English -- OMG, WTF, GR8, B4, LOL, etc -- http://en.wikipedia.org/wiki/Text_language ) Wie mit deutscher Sprache, man kann (mit englischer Sprache) vieles mit der Wortstellung machen. Und dazu, ist, natürlich, die richtige Anwendung (und Verständnis) der Grammatik wichtig. (Like with the German language, one can do a lot with word order (in English). And for that, the proper use and understanding of Grammar is important) http://en.wikipedia.org/wiki/Eats,_Shoots_%26_Leaves Und Playboy alles was Maennern Spass macht ist 100% verständlich auf deutsch, da es einen richtigen Dativ Kasus gibt, im Gegensatz zu englischer Sprache. (and playboy -- everything that is fun for men [in German] is 100% understandable in German, because there is a real dative case in German, unlike in english.) Gruss aus Utah Chad
Re: well, try here first...
On Wed, Nov 14, 2012 at 04:01:20AM +0100, Bernt Hansson wrote: 2012-11-13 06:22, Gary Kline skrev: guys, hold your flame-throwers, because this is about how to get ssh working from an outside computer into my brand new tao that is running a flavor of linux. I just got my quad i5 box to replace the old, broken tao. this was the box with the busted USB. [!] Anyway, linux is installed; the box is on my internal IP net. I can ssh *out*. to my server, vut from my server or wherever, I cant ssh back in. doing an % ssh 10.47.0.114 OR ssh tao gives me an instant Connection refused. if I try an ssh -X tao I get a string like Connnection closed. can any of you network wizards or setup wizards clue me in. {FWIW:: the ssh stuff is from OpenBSD.} anybody know what im NOT doing? You have to start the ssh daemon (sshd) this may have been what did the trick; also, you need the full path. -- 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: well, try here first...
On Tue, 13 Nov 2012 20:09:08 -0800, Gary Kline wrote: On Wed, Nov 14, 2012 at 02:35:43AM +0100, Polytropon wrote: box. it's got a web interface and runs some flavor of firewall that I never studied. yuk. I assume your HW firewall protects you to the outside. Of course it should allow SSH connections from the outside to the tao box _if_ you want it that way. my netgear and pfSense setup surprised me this afternoon. the initial setup listed my internal IP as 10.47.0.114, but something I did changed the DHCP leases section to 10.47.0.113 . after that, I could ssh out and then ssh back to tao. If you have the option of configuring the DHCP subsystem to hand out IPs according to MAC addresses, that should make you safe from reboots and _possible_ new IPs. (At least that's how I've configured my home system so every device will get the same IP, no matter how or when it requests one from the DHCP server. It also includes certain port redirections so a SSH request from external source will _always_ be directed to the _correct_ machine on the LAN.) But I was thinking about the firewall run by the Fedora OS that might block SSH connections to tao, no matter from where they come, just as if you would have set up FreeBSD's ipfw with the default to deny connections: without explicitely enabling SSH connections the server cannot be reached, no matter if it's running. I havent used ipfw for many years. the most recent firewall I ran was on FBSD 5.X and was {i think} pfw. I got quite good at it. I should learn more about plain pf and pfSense. do you know if pf/pfsense defaults to DENY incoming connections? that would explain a Lot! That depends on the pre-configuration of the firewall on the Linux side. From reading the article I've mentioned, I got the impression that the firewall would deny SSH connections per default, and that _you_ would have to enable it if you wanted to use that service. That is comparable to OpenBSD's service disabled by default policy. I'm still not sure if this idea will get much love or understanding in Linux land where an do everything out of the box experience seems to be very important among some distributions. :-) On FreeBSD, ipfw can DEFAULT_TO_DENY or DEFAULT_TO_ACCEPT, and you have to specify your rules usually according to the chosen paradigm. Of course, there are rules to achieve the same effect, even if in the opposite paradigm. The way _how_ to enable it depends on the distribution you're using and is very different among the Linusi. rt., and this is fedora, my least fav distro. But I've always had trouble with ssh, even with FBSD. There is a nice summary on how to get the OpenSSH server set up on Fedora: http://www.techotopia.com/index.php/Configuring_Fedora_Linux_Remote_Access_using_SSH Basically, it's about installing and enabling it. The article also discusses how to enable configure the firewall properly. thank you. I'll ck it out. also google other stuff if I have to. Check if the Techotopia article matches your version of Fedora. It shows how to install and enable the SSH server and also mentions the built-in firewall that has to be configured to allow connections to that server. the URL you had was fedora-13; what I installed fedora-17. and just recently--maybe when I rebooted--i saw fedora-19[?] not sure... . Then there's the possibility that things have changed. Even though there should not be a massive or paradigm-wide shift in things, you never know when using automated updating on Linux. Still the instructions should be usable at least to identify the steps involved and the tools to be used. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, try here first...
On Tue, 13 Nov 2012 20:20:51 -0700, Chad Leigh Shire.Net LLC wrote: On Nov 13, 2012, at 7:58 PM, Polytropon wrote: Ouch. Unlike in English, the comma in German is an important symbol in grammar. It brings structure to sentences. In English, there is the word order that achieves this goal, and a comma is mostly optional or left to preferences. In German, there are rules where to place a comma, and where not to. Those rules are relatively easy to understand, and luckily they do not leave much space for individual preferences. :-) In the above example, Playboy, alles was Maennern Spass macht or better using a hyphen Playboy - alles was Maennern Spass macht would have been correct, as it's shown on the current web page in a correct manner. To be fair, a lot of the same rules exist for English. The comma is not optional or left to preferences in English, either. There are definite rules and it brings structure. That matches what I've learned in school, but it doesn't match realitiy anymore. :-) A famous thing is comma in lists: Unlike German, where and substitutes a comma, in English it seems to be valid to put a comma infront of and: He bought a glass, a towel, a toothpick, and a nose. In German, that would be Er kaufte ein Glas, ein Handtuch, einen Zahnstocker und eine Nase. There are in fact only two exceptions of comma prior to 'and' in German. But I don't want to start a school lesson here. The exceptions are closures and appended main clause. :-) Unfortunately, lots of people forget (or don't pay attention to) these rules, or, they are casual with them in the casual forms of communication, like email. Well, I don't think that the e-mail (as a medium) implies abandoning rules for written language. Sure, it's sloppy very often, but it should not mangle the languge in a way that the reader has to guess or to ask for what the writer wanted to express. Proper spelling and punctuation help a lot, and it should not be too much struggle to get it right: children learn it in the early years in school, so why should adults forget it? (And there are some people who believe that the text language is English -- OMG, WTF, GR8, B4, LOL, etc -- http://en.wikipedia.org/wiki/Text_language ) There is also a transition of this written representation to spoken language - some (young) people actually speaking like SMS. I don't think that people actually confuse SMS text with the actual english language. They could have done so almost 100 years ago with Q groups and abbreviations used in amateur radio telegraphy (and even in phone mode), ok dr om, hw? :-) All those specific language deviations have their place and are fully valid. It depends on context. For example, if you got a business letter with every 3rd word spelled wrong and containing SMS and L33T slang, would you take it as a serious information? Form and content have to match. Nobody would accept a tax form printed on toilet paper, even if it would be 100% correct in all content and number details. Wie mit deutscher Sprache, man kann (mit englischer Sprache) vieles mit der Wortstellung machen. Und dazu, ist, natürlich, die richtige Anwendung (und Verständnis) der Grammatik wichtig. Sure it is, but it's not about an 1:1 translation. You need to think in German if you want to get it fully right. Baumkuchen... :-) Your sentence would have been: In der deutschen Sprache kann man (wie in der englischen Sprache) vieles mit der Wortstellung machen. Dazu ist natürlich die richtige Anwendung (und das Verstaendnis) der Grammatik wichtig. That is little difference, but it makes a big difference in readability. Note that the structure of a sentence, aided by punctuation, is an important part during the reading experience. Sentences that do not show any structure are hard to read and to understand, and a missing comma can decide about life or death easily: KILL HIM NOT WAIT UNTIL I ARRIVE It's either kill him, not wait until I arrive or kill him not, wait until I arrive, and this translation is not very good as nicht ~= do not cannot be represented so nicely as in the german equivalent sentence. Er begann seinen Hut auf dem Kopf zu essen. is another (famous) example of how a missing comma can confuse the reader: He started eating the hat on his head is the first interpretation, even if He started eating, (having) the hat on his head, and the comma already makes this difference. (Like with the German language, one can do a lot with word order (in English). And for that, the proper use and understanding of Grammar is important) http://en.wikipedia.org/wiki/Eats,_Shoots_%26_Leaves Haha, nice! :-) But pleese pay atension too, the new englis orfograffy which make`s every thing easyer to under stand and, more freedems to mak punctation and les speeling errer's. Funkzionier't auch in, Deutsch! :-) Und Playboy alles
Re: well, try here first...
On Nov 13, 2012, at 9:48 PM, Polytropon wrote: That matches what I've learned in school, but it doesn't match realitiy anymore. :-) A famous thing is comma in lists: Unlike German, where and substitutes a comma, in English it seems to be valid to put a comma infront of and: He bought a glass, a towel, a toothpick, and a nose. In German, that would be Er kaufte ein Glas, ein Handtuch, einen Zahnstocker und eine Nase. This is interesting, because the comma before the and in a list is much more understandable, because it is open to less interpretation. This is where the eats shoots and leaves comes in, kind of. There are similar examples where ambiguity arises from the lack of a comma before and in a list. The comma before the and is traditional English. There are, however, lots of people who advocate for the lack of a comma before the and in a list and that is taught in some classes in some schools. I don't claim to be a great German speaker or writer. I have not visited there in 12 years nor lived there in almost 20 years. But people at least can understand me and I can get my point across. :) Most of my post was meant to support what you were saying, btw. As well as give examples and interesting tidbits. I agree that proper grammar is important in language, even when I don't always use it or do it; especially in informal speech like email lists, forums, etc. But pleese pay atension too, the new englis orfograffy which make`s every thing easyer to under stand and, more freedems to mak punctation and les speeling errer's. Funkzionier't auch in, Deutsch! :-) You must really be taking a conniption fit with the changes (Verbilligen -- cheapening -- though the exact words I was searching for have failed me tonight) that have happened in German in the last 10 or so years ( striking of ß; to always be written with ss now, etc)... Und Playboy alles was Maennern Spass macht ist 100% verständlich auf deutsch, da es einen richtigen Dativ Kasus gibt, im Gegensatz zu englischer Sprache. It may be 100% understandable, but it's not correct, because it's not a sentence or a grammatically valid construct. The translation would have been (quite literally, I admit): Playboy everything what men fun makes Actually, no. A more correct translation would be:Playboy everything that to men fun makes. [Or, if you wanted the same mistake (lack of comma or hyphen) but proper English word order: Playboy everything that is fun for men.] Männern is dative case, which, when used without a preposition, is best translated as to something where something is written with dative case endings. Again, a hyphen after the 1st word would it much more readable. (and playboy -- everything that is fun for men [in German] is 100% understandable in German, because there is a real dative case in German, unlike in english.) In _that_ translation, you've used the hyphen correctly (which was missing in the german version discussed). Yes, my bad. I was trying to write it the same but fixed it unconsciously. regards Chad
Re: well, try here first...
On Tue, 13 Nov 2012 22:27:37 -0700, Chad Leigh Shire.Net LLC wrote: On Nov 13, 2012, at 9:48 PM, Polytropon wrote: That matches what I've learned in school, but it doesn't match realitiy anymore. :-) A famous thing is comma in lists: Unlike German, where and substitutes a comma, in English it seems to be valid to put a comma infront of and: He bought a glass, a towel, a toothpick, and a nose. In German, that would be Er kaufte ein Glas, ein Handtuch, einen Zahnstocker und eine Nase. This is interesting, because the comma before the and in a list is much more understandable, because it is open to less interpretation. This is different to 'and' substitutes a comma, but makes sense. For example, I prefer reading the english documentation of FreeBSD (manpages, handbook, FAQ and articles) over their often sloppily and quite mechanically done translations. Good quality in documentation helps to raise the quality of the complete product. This is where the eats shoots and leaves comes in, kind of. There are similar examples where ambiguity arises from the lack of a comma before and in a list. The comma before the and is traditional English. Interesting, thanks for this pointer. So modern English is what makes the difference here... There are, however, lots of people who advocate for the lack of a comma before the and in a list and that is taught in some classes in some schools. This kind of arbitraryness is not good. Whatever way is preferred, it should be used consistently. I don't claim to be a great German speaker or writer. I have not visited there in 12 years nor lived there in almost 20 years. But people at least can understand me and I can get my point across. :) With enough mental variability, that shouldn't be a problem. :-) Most of my post was meant to support what you were saying, btw. As well as give examples and interesting tidbits. I agree that proper grammar is important in language, even when I don't always use it or do it; especially in informal speech like email lists, forums, etc. Personally I do not make such differences. Proper spelling is easier (at least for me) than artificially avoiding it, like _not_ putting a comma where it belongs to, _not_ capitalizing a word that is to be capitalized, or _not_ using the proper spelling in favour of some variant. However, I'm not considered normal so whatever I do does not imply anything. :-) But pleese pay atension too, the new englis orfograffy which make`s every thing easyer to under stand and, more freedems to mak punctation and les speeling errer's. Funkzionier't auch in, Deutsch! :-) You must really be taking a conniption fit with the changes (Verbilligen -- cheapening -- though the exact words I was searching for have failed me tonight) that have happened in German in the last 10 or so years ( striking of ß; to always be written with ss now, etc)... The Eszett has been abolished in Switzerland, not in Germany. The new rule (historically: old, has been abolished after about 100 years in use because too much prone to errors) says something about short vs. long vowels which is nonsense (as vowel length depends on dialect, not on spelling), so some valid ß get turned into ss. Effect: Most valid ß get turned into ss, and even some innocent s get turned into ss, like Massband or Zeugniss. :-) I'm still looking for a valid translation of bespaßen, an accusative-passive construct of to entertain somebody. :-) Und Playboy alles was Maennern Spass macht ist 100% verständlich auf deutsch, da es einen richtigen Dativ Kasus gibt, im Gegensatz zu englischer Sprache. It may be 100% understandable, but it's not correct, because it's not a sentence or a grammatically valid construct. The translation would have been (quite literally, I admit): Playboy everything what men fun makes Actually, no. A more correct translation would be: Playboy everything that to men fun makes. Yes, that's much more valid, that's why I wrote literally, which means sloppy and possibly wrong, because I didn't find a proper way to have the dative case encoding without adding additional words, so it's even wronger. :-) [Or, if you wanted the same mistake (lack of comma or hyphen) but proper English word order: Playboy everything that is fun for men.] Whom is it fun for? +Dativ. Whom is it fun to? +Dativ. Sadly, I can't bring the Dativ joke here: Ulli hat Dativ mitgebracht - für jedem einem. Ulli has brought Dativ - one for everyone. Yes, the translation isn't funny anymore. :-( Männern is dative case, which, when used without a preposition, is best translated as to something where something is written with dative case endings. Case endings and clear preposition requirements are something much stronger for example in the russian language. They are represented even in spelling. Here we have to get them from context
Re: well, try here first...
Date: Wed, 14 Nov 2012 05:48:48 +0100 From: Polytropon free...@edvax.de Subject: Re: well, try here first... On Tue, 13 Nov 2012 20:20:51 -0700, Chad Leigh Shire.Net LLC wrote: To be fair, a lot of the same rules exist for English. The comma is not optional or left to preferences in English, either. There are definite rules and it brings structure. That matches what I've learned in school, but it doesn't match realitiy anymore. :-) A famous thing is comma in lists: Unlike German, where and substitutes a comma, in English it seems to be valid to put a comma infront of and: In 'classic' English (as taught in the 60s and earlier), a comma was _required_ before a trailing 'and' in a list of 3 or more items, and forbidden if there were only two items. The famous eats roots, shoots... would parse as eating 3 objects, with the comma before the 'and'. for three actions, change the 'and' to 'then', comma before 'then'. If eating two objects, eats roots AND shoots *comma* and... (emphasis added) The accepted 'rules' changed about the time new math was foisted on the world. The most visible ones involved comma placement, and punctuation inside trailing quotes. The password is frodo. It is 5 characters long. The password is frodo. It is 6 characters long. BAH, HUMBUG!!! Make the first one: The password is frodo. and all the ambiguity goes away.*snarl* He bought a glass, a towel, a toothpick, and a nose. In German, that would be Er kaufte ein Glas, ein Handtuch, einen Zahnstocker und eine Nase. how do you write: The sandwich choices are: tuna salad, chicken, roast beef and ham, and cheese. *without* making the last option a '{2 meats} and cheese' sandwich ?? (the next-to-last has two types of meat on it) *EVIL* grin Note that the structure of a sentence, aided by punctuation, is an important part during the reading experience. Sentences that do not show any structure are hard to read and to understand, and a missing comma can decide about life or death easily: KILL HIM NOT WAIT UNTIL I ARRIVE the traditional one of these in English is: Go kill Joe Brown _who_ is to die depends on whether or not there is a comma after the second word. Ditto for who -does- the deed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, try here first...
Hi, On Mon, 12 Nov 2012 21:22:00 -0800 Gary Kline kl...@thought.org wrote: hold your flame-throwers, because this is about how to get you do not allow us some fun? ssh working from an outside computer into my brand new tao that is running a flavor of linux. I just got my quad i5 box to replace the old, broken tao. this was the box with the busted USB. [!] Anyway, linux is installed; the box is on my internal IP net. I can ssh *out*. to my server, vut from my server or wherever, I cant ssh back in. doing an % ssh 10.47.0.114 OR ssh tao gives me an instant Connection refused. if I try an ssh -X tao I get a string like Connnection closed. can any of you network wizards or setup wizards clue me in. {FWIW:: the ssh stuff is from OpenBSD.} anybody know what im NOT doing? Proper setup? Firewall? inetd? It sounds like something very, very obvious. But I know how it feels if one cannot see the tiny thing. 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
Re: well, try here first...
On 2012.11.13 06:22, Gary Kline wrote: anybody know what im NOT doing? running sshd ? :) Have you installed it ? sshd is the server program, it is fairly independent from ssh, the client program. ___ 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
ImageMagick, pecl-imagick (FreeBSD vs Ubuntu) problem (djvu as well?)
I have a server that I just put together to work with image creation. Its running lighttpd with php being handled by php-fpm all from ports running 8.2 amd64. My problem is quite strange; a simple php script reading in a djvu file (via Imagick()) causes php to hang and not do anything. - no errors, nothing. Running the script via php -f also does the same thing.. cat -n something.php 1 ?php 2 $im = new Imagick('/tmp/c3067.djvu');// open DjVu image 3 $im-setImageFormat('png');// force output format to PNG 4 5 // now write to browser 6 header('Content-type: '.$im-getImageFormat()); 7 echo $im-getimageblob(); 8 ? So aside from the problem that this php does not do anything.. root@fbsd [/tmp]# 28 convert /tmp/c3067.djvu /tmp/file.png echo $? 0 root@fbsd [/tmp]# 29 file file.png file.png: PNG image, 957 x 1063, 8-bit/color RGBA, non-interlaced Running the command to convert the djvu file manually seems to have no problems at all.. The problem lies in that the developer of this (I am not the main developer) says that all this works perfectly on my Ubuntu 10.04 LTS server at home.. *sigh* He sent me a php -m to compare my minimal setup to his bloated one; and I built every damn module to match.. no difference.. I've asked for a: `convert -list format` output from the lts machine to compare it against my own; as well as a `convert -list configure` Tried to do an strace to see what I could see.. but strace doesn't work on amd64.. So can someone offer *something* that I could start to look at or use to look at what is causing this to happen? Otherwise it is looking like I will be loosing a perfectly good FreeBSD machine to an Ubuntu one.. *sniff* Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Well.... {was:: Re: Which php??}
On Tue, Jan 11, 2011 at 10:49:26AM -0800, Gary Kline wrote: On Tue, Jan 11, 2011 at 04:10:02PM -0200, Rodrigo Gonzalez wrote: It isn't esp'ly tasty to have to eat one's own words, but that is what happened for about 90 mins this morning. ---I could have _sworn_ that I had cron'd the ports upgrade stuff at least weekly. Nope. At least I think things are back on track. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.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: Well, I broke it! FreeBSD V8.1 release
On 22 Dec 2010 at 9:49, Chris Brennan wrote: IIRC ';' isn't a valid bash comment ... (which has been previously discussed elsewhere). It's usually safer to use '#' for comment in /etc/rc.conf and other system config files as they typically use BASH style structs. Accepted and acknowledged as my finger trouble. As earlier, that issue is now fixed. Thanks. Dave B. ___ 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
Well, I broke it! FreeBSD V8.1 release
Hi... I was trying to disable the console screensaver, and found that in sysinstall, there is no way to select none as an option. So I went and edited /etc/rc.conf to comment out the line:- Saver=fire (or whatever it is) I put a ; at the beginning of the line, and now FreeBSD wont come up, showing an error (unexpected ;) and leaving me with a # prompt. How do I get to re-edit rc.conf, to correct the problem, as all command line commands result in a not found error. Also. What's the Correct way to disable a console screensaver? Sysinstall alows you to select and enable one, but not remove it! Bit of an oversight that I suspect Regards. Dave B. (Chief numpty!) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
Your PATH isn't set. # fsck / # mount -uw / # /bin/sed -i.bak -e 's/^;//' /etc/rc.conf Or (can't remember where des is kept) # fsck /usr # mount /usr # /usr/bin/sed -i.bak -e 's/^;//' /etc/rc.conf Good luck! Chris Sorry for top-posting, Android won't let me quote, but K-9 can't yet do threading. On 22 Dec 2010 11:01, Dave d...@g8kbv.demon.co.uk wrote: Hi... I was trying to disable the console screensaver, and found that in sysinstall, there is no way to select none as an option. So I went and edited /etc/rc.conf to comment out the line:- Saver=fire (or whatever it is) I put a ; at the beginning of the line, and now FreeBSD wont come up, showing an error (unexpected ;) and leaving me with a # prompt. How do I get to re-edit rc.conf, to correct the problem, as all command line commands result in a not found error. Also. What's the Correct way to disable a console screensaver? Sysinstall alows you to select and enable one, but not remove it! Bit of an oversight that I suspect Regards. Dave B. (Chief numpty!) ___ 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: Well, I broke it! FreeBSD V8.1 release
On Wed, Dec 22, 2010 at 2:27 PM, Chris Rees utis...@gmail.com wrote: Your PATH isn't set. # fsck / # mount -uw / # /bin/sed -i.bak -e 's/^;//' /etc/rc.conf Or (can't remember where des is kept) # fsck /usr # mount /usr # /usr/bin/sed -i.bak -e 's/^;//' /etc/rc.conf For someone who asked a question like the OP, this is a too advanced to understand. mount -u / is almost enough unless he cold-booted the computer at some point. Yes, it's safe to do fsck I agree. Just tell the poster that it id necessary to edit /etc/rc.conf by doing xyz. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
dave wrote: ... I was trying to disable the console screensaver, and found that in sysinstall, there is no way to select none as an option. So I went and edited /etc/rc.conf to comment out the line:- Saver=fire (or whatever it is) I put a ; at the beginning of the line, and now FreeBSD wont come up, showing an error (unexpected ;) and leaving me with a # prompt. How do I get to re-edit rc.conf, to correct the problem, as all command line commands result in a not found error. You didn't provide much information, but probably what happened is that your defective rc.conf caused an error when booting, and your normal boot aborted and dropped into single-user. This typically means that some partitions that are mounted by default during a normal boot and that contain editors and other programs are not initially mounted. So probably if you did something like: fsck -p / mount -uw / swapon -a mount -a you could then edit /etc/rc.conf with your favorite editor. Or you could just use sed, ed, or vi from /rescue, or from the release media, to make the necessary changes, rather than attempting to mount all partitions. Also. What's the Correct way to disable a console screensaver? Sysinstall alows you to select and enable one, but not remove it! On the fly, you can use vidcontrol -t ... To change the default setting, comment out or delete the saver=... line, or change it to saver=NO which is what is originally in /etc/defaults/rc.conf. Sysinstall is only one tool you can use to install or configure the system. It's not necessary, and for minor changes like this, it's not the method of choice. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
On Wed, Dec 22, 2010 at 11:01:10AM -, Dave wrote: Hi... I was trying to disable the console screensaver, and found that in sysinstall, there is no way to select none as an option. So I went and edited /etc/rc.conf to comment out the line:- Saver=fire (or whatever it is) I put a ; at the beginning of the line, and now FreeBSD wont come up, showing an error (unexpected ;) and leaving me with a # prompt. To comment out a line in a shell script (which is what rc.conf actually is) you should put a '#' at the beginning of the line, not a ';'. How do I get to re-edit rc.conf, to correct the problem, as all command line commands result in a not found error. Also. What's the Correct way to disable a console screensaver? Changing rc.conf is the Correct way. If you do it by hand or use some other tool (like sysinstall) to do it does not really matter. Putting 'saver=NO' in rc.conf or not having and 'saver=' line there will both do the same thing - not starting any screen saver. Sysinstall alows you to select and enable one, but not remove it! Bit of an oversight that I suspect Probably. The shortcomings of sysinstall are many and varied, so one more is not surprise. -- Insert your favourite quote here. Erik Trulsson ertr1...@student.uu.se ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
On 22 Dec 2010 at 11:41, b. f. wrote: dave wrote: ... I was trying to disable the console screensaver, and found that in sysinstall, there is no way to select none as an option. So I went and edited /etc/rc.conf to comment out the line:- Saver=fire (or whatever it is) I put a ; at the beginning of the line, and now FreeBSD wont come up, showing an error (unexpected ;) and leaving me with a # prompt. How do I get to re-edit rc.conf, to correct the problem, as all command line commands result in a not found error. You didn't provide much information, but probably what happened is that your defective rc.conf caused an error when booting, and your normal boot aborted and dropped into single-user. This typically means that some partitions that are mounted by default during a normal boot and that contain editors and other programs are not initially mounted. So probably if you did something like: fsck -p / mount -uw / swapon -a mount -a you could then edit /etc/rc.conf with your favorite editor. Or you could just use sed, ed, or vi from /rescue, or from the release media, to make the necessary changes, rather than attempting to mount all partitions. Also. What's the Correct way to disable a console screensaver? Sysinstall alows you to select and enable one, but not remove it! On the fly, you can use vidcontrol -t ... To change the default setting, comment out or delete the saver=... line, or change it to saver=NO which is what is originally in /etc/defaults/rc.conf. Sysinstall is only one tool you can use to install or configure the system. It's not necessary, and for minor changes like this, it's not the method of choice. b. Thank you Sir, it's back working again, with no screen saver. Thank's also to others who responded, much apprecaited. I'll be back later, now I can see the error messages that were hidden behind the saver when something burped, only becoming visible as the otherwise stalled machine shutdown on one short press of the power key.. I just need to wait now for the trouble to manifest itself again. Cheers All Dave B. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
On Wed, 22 Dec 2010 11:01:10 - Dave d...@g8kbv.demon.co.uk wrote: Sysinstall alows you to select and enable one, but not remove it! Bit of an oversight that I suspect Fixed in r216651 :) -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
On Wed, Dec 22, 2010 at 8:07 AM, Bruce Cran br...@cran.org.uk wrote: On Wed, 22 Dec 2010 11:01:10 - Dave d...@g8kbv.demon.co.uk wrote: Sysinstall alows you to select and enable one, but not remove it! Bit of an oversight that I suspect Fixed in r216651 :) IIRC ';' isn't a valid bash comment ... (which has been previously discussed elsewhere). It's usually safer to use '#' for comment in /etc/rc.conf and other system config files as they typically use BASH style structs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
On Wed, 22 Dec 2010 09:49:46 -0500 Chris Brennan xa...@xaerolimit.net articulated: On Wed, Dec 22, 2010 at 8:07 AM, Bruce Cran br...@cran.org.uk wrote: On Wed, 22 Dec 2010 11:01:10 - Dave d...@g8kbv.demon.co.uk wrote: Sysinstall alows you to select and enable one, but not remove it! Bit of an oversight that I suspect Fixed in r216651 :) IIRC ';' isn't a valid bash comment ... (which has been previously discussed elsewhere). It's usually safer to use '#' for comment in /etc/rc.conf and other system config files as they typically use BASH style structs. If you want to insert a really long comment block: : IMPORTANT mumble bla bla bla ... IMPORTANT You can pretty much put anything you want between the: : IMPORTANT and IMPORTANT tags. You don't have to use IMPORTANT either. It works with Bash; however, I am unsure of how it works with other shells. Unless you have a really long comment block, I think the # syntax is easier to use. Plus, I don't know if it would even work in an rc file. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ When taxes are due, Americans tend to feel quite bled-white and blue. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
From owner-freebsd-questi...@freebsd.org Wed Dec 22 05:01:28 2010 From: Dave d...@g8kbv.demon.co.uk To: freebsd-questions@freebsd.org Date: Wed, 22 Dec 2010 11:01:10 - Subject: Well, I broke it! FreeBSD V8.1 release Hi... I was trying to disable the console screensaver, and found that in sysinstall, there is no way to select none as an option. So I went and edited /etc/rc.conf to comment out the line:- Saver=fire (or whatever it is) I put a ; at the beginning of the line, and now FreeBSD wont come up, showing an error (unexpected ;) and leaving me with a # prompt. It's rogt. you did wrong;. Should have been a '#', not a ';' How do I get to re-edit rc.conf, to correct the problem, as all command line commands result in a not found error. # fsck -p || fsck # mount -a # vi /etc/rc.conf{ or editor of your choice } # reboot Also. What's the Correct way to disable a console screensaver? # vidcontrol -t off see 'man splash' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
On Wed, 22 Dec 2010 09:54:02 -0600 (CST), Robert Bonomi bon...@mail.r-bonomi.com wrote: From: Dave d...@g8kbv.demon.co.uk Also. What's the Correct way to disable a console screensaver? # vidcontrol -t off see 'man splash' Also see /etc/defaults/rc.conf which states: blanktime=300 # blank time (in seconds) or NO to turn it off. saver=NO # screen saver: Uses /boot/kernel/${saver}_saver.ko -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
On Wed, 22 Dec 2010 09:49:46 -0500, Chris Brennan xa...@xaerolimit.net wrote: On Wed, Dec 22, 2010 at 8:07 AM, Bruce Cran br...@cran.org.uk wrote: On Wed, 22 Dec 2010 11:01:10 - Dave d...@g8kbv.demon.co.uk wrote: Sysinstall alows you to select and enable one, but not remove it! Bit of an oversight that I suspect Fixed in r216651 :) IIRC ';' isn't a valid bash comment ... (which has been previously discussed elsewhere). It's usually safer to use '#' for comment in /etc/rc.conf and other system config files as they typically use BASH style structs. Putting emphasize on _BA_sh seems to be a typical Linuxism. :-) FreeBSD's standard scripting shell is the Bourne Shell, /bin/sh. The Bourne Again Shell, bash, isn't even part of the FreeBSD (base) system. Only under exceptional circumstances there will be a /bin/bash. As it has been pointed out, /etc/rc.conf is a shell script (or to be correct: part of a shell script) that basically consists of variable assignments, name=value. In this context, ; has the default meaning in sh syntax - this refers to Bourne Shell syntax. The ; means command separator. It is a valid syntactical element of the sh language. A command like ; saver=NO causes the shell to stop processing the script (which causes the system boot to stop as it interrupts reading /etc/rc.conf, which interrupts the start of /etc/rc). Infont of ; there has to be a command, and in this case, nothing is there. As the Bourne Shell is the standard scripting shell on most UNIX systems, relying on bash specific constructs may have impact to script portability (which may develop into an issue if you have to create scripts that should run on many different kinds of UNIX). The form : DELIMITER ... pile ... ... of ... ... text ... DELIMITER is indirectly refered to in man sh: The following redirection is often called a ``here-document''. [n] delimiter here-doc-text ... delimiter All the text on successive lines up to the delimiter is saved away and made available to the command on standard input, or file descriptor n if it is specified. If the delimiter as specified on the initial line is quoted, then the here-doc-text is treated literally, otherwise the text is subjected to parameter expansion, command substitution, and arithmetic expansion (as described in the section on Word Expansions). If the oper- ator is ``-'' instead of ``'', then leading tabs in the here-doc-text are stripped. // The option of specifying : as a file descriptor works with the standard /bin/sh of FreeBSD, but I'm not sure this should be encouraged for use in configuration files like /etc/rc.conf. Using the form # blah is also better for use with syntax highlighting as comments can be determined more easily, whereas the form using the here-doc is primarily a here-doc and NOT a comment (unless directed toward :). From man sh: The character `#' introduces a comment if used at the beginning of a word. The word starting with `#' and the rest of the line are ignored. // The use of # also makes sure there is NO kind of variable expansion or arithmetic operation done - which you could achieve using : 'DELIMITER' ... pile ... ... of ... ... text ... $((the)) $USER `/bin/laden` ${causes `NO' touble here! 'DELIMITER' but # is the really safe form, as you can write ANYTHING behind it. Again, the form illustrated above could cause some interpretation problems for syntax highlighting algorithms. See man rc.conf for details. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
On Wed, Dec 22, 2010 at 09:49:46AM -0500, Chris Brennan thus spake: On Wed, Dec 22, 2010 at 8:07 AM, Bruce Cran br...@cran.org.uk wrote: On Wed, 22 Dec 2010 11:01:10 - Dave d...@g8kbv.demon.co.uk wrote: Sysinstall alows you to select and enable one, but not remove it! Bit of an oversight that I suspect Fixed in r216651 :) IIRC ';' isn't a valid bash comment ... (which has been previously discussed elsewhere). It's usually safer to use '#' for comment in /etc/rc.conf and other system config files as they typically use BASH style structs. IMHO... It seems that /etc/rc.conf is in need of a sytax check script. Something similiar to visudo for editing /usr/local/etc/sudoers. -jgh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
On Wed, Dec 22, 2010 at 12:45, Jason Helfman jhelf...@e-e.com wrote: IMHO... It seems that /etc/rc.conf is in need of a sytax check script. Something similiar to visudo for editing /usr/local/etc/sudoers. Just run it with /bin/sh. If no errors appear the syntax is good. Or you can use /bin/sh -x to see more detail. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
Jason Helfman jhelf...@e-e.com writes: On Wed, Dec 22, 2010 at 09:49:46AM -0500, Chris Brennan thus spake: On Wed, Dec 22, 2010 at 8:07 AM, Bruce Cran br...@cran.org.uk wrote: On Wed, 22 Dec 2010 11:01:10 - Dave d...@g8kbv.demon.co.uk wrote: Sysinstall alows you to select and enable one, but not remove it! Bit of an oversight that I suspect Fixed in r216651 :) IIRC ';' isn't a valid bash comment ... (which has been previously discussed elsewhere). It's usually safer to use '#' for comment in /etc/rc.conf and other system config files as they typically use BASH style structs. IMHO... It seems that /etc/rc.conf is in need of a sytax check script. Something similiar to visudo for editing /usr/local/etc/sudoers. Well, rc.conf isn't supposed to have anything but variable settings, so for syntax alone, /bin/sh /etc/rc.conf is a perfectly fine test. If you want to check semantics as well, things get complicated very quickly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, I broke it! FreeBSD V8.1 release
On Wed, Dec 22, 2010 at 3:08 PM, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Well, rc.conf isn't supposed to have anything but variable settings, so for syntax alone, /bin/sh /etc/rc.conf is a perfectly fine test. If you want to check semantics as well, things get complicated very quickly. rcorder(8) is a good starting point for basic semantic checking. -- Adam Vande More ___ 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
Attempting to use the kernel debugger over the serial port not working (well)
All, Cannot seem to find anything on the net to collaborate my experience with remote KGDB over a serial port. Here is my setup - +--+-+--- | | | bce0 eth1 bce0 | | | +---+--+ +---++ +---+---+ | HP Proliant GL360 G5 | | Cyclades ACS32 || HP Proliant GL360 G5 | +---+--+ ++---+ +---+ | | ttyu0(uart0)port 28 | | +---+ The Cyclades is a 32 port terminal server that has serial port 28 connected to the DB9 locate on the back of the HP server. I am running KGDB inside of an emacs session on the Sony Vaio. The HP's are running in 64-bit (amd64) FreeBSD 8.0. The uart0 on the target is configured as (from dmesg.boot): uart0: 16550 or compatible port 0x3f8-0x3ff irq 4 flags 0x90 on acpi0 uart0: [FILTER] uart0: console (9600,n,8,1) The Cyclades port is configured the same. My kernel is built with the following options: options KDB options DDB options GDB The kernel is built with -O2 -g In /boot/loader.conf I have the following lines: console=comconsole vidconsole comconsole_speed=9600 hint.uart.0.flags=0x90 I invoke the kernel debugger on the target using: 'sysctl debug.kdb.enter=1' Which gets me to the DB prompt where I enter the following: DBgdb Step to enter the gdb debugger DBs I am invoking KGDB inside of emacs on the build server in the 'obj' tree where the kernel build is located. kgdb -fullname kernel.debug Once I have the gdb prompt, I enter the following target command: target remote 10.10.29.111:7028 Where 10.10.29.111 is the address of the Cyclades and port 7028 connects me to serial port 28 on the Cyclades. This brings up the kernel with the break point. I then set my break point(s) and enter 'c' to continue. Sometimes the break points fire, sometimes they don't. However, in some indeterminant time (seconds) I start seeing the following on the Video console (not the serial one). Fatal double fault rip = 0x8055bdc4 rsp = 0xff8078405000 rbp = 0xff8078405000 cpuid = 1; apic id = 01 panic: double fault cpuid = 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a kdb_backtrace() at kdb_backtrace+0x32 mi_switch() at mi_switch+0x70 sched_bind() at sched_bind+0x60 boot() at boot+0x45 panic() at panic+0x1f2 dblfault_handler() at dblfault_handler+0xab Xdblfault() at Xdblfault+0xac --- trap 0x17, rip = 0x8055bdc4, rsp = 0xff817ff0, rbp = 0xff8078405000 --- _thread_lock_flags() at _thread_lock_flags+0x4 critical_exit() at critical_exit+0x5d spinlock_exit() at spinlock_exit+0x17 mi_switch() at mi_switch+0x6b Then it repeats over and over again, the box becomes unresponsive and I am unable to proceed. My googling turned up this issue only in relation to lock order reversals, but I am not seeing that issue here and I don't have the kernel compiled with 'options WITNESS'. Any pointers would be appreciated. Thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Thu, Aug 19, 2010 at 08:26:11AM +0700, C. Bergstr?m wrote: Gary Kline wrote: ok guys, i have been waiting for [a] a better/faster/more generally useful computer as well as =mostly= cheaper unit. i figured i would wait until fall to ask, but it's close enough. can i watch a streamed movie on am atom [[[1.6ghz intel]]] chip. (Disclaimer I work for a commercial compiler company) If you experience problems with performance of Atom I would generally not blame the processor. There are *zero* very well tuned compilers for Atom that I'm aware of. Most are content that the compiler works good enough(tm) and it's difficult (impossible) to get the low level timing data details out of Intel. Unless you're hand writing inline asm (*cough* ffmpeg) then it's certainly possible the code isn't optimized well enough. Depending on what else the processor is busy with, codec type and video size it should certainly possible to stream an average sized movie with no problem. Now can it handle Blu-ray I doubt it... i am not planning on watching a movie that is on a DVD-RW but via [say] kmplayer via video stream. and rather than the std 'movie-length' of 120 minutes, an hour or less streamed by PBS. with my 2.4ghz Dell loaded at its usual 0.25 - 0.4, and using kmplayer or vlc, the video is jerky or hangs for several seconds. i probably should get-real and use whatever notebook i buy for what i originally intended it for: as a small and usable computer than can produce understandable speech. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.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: well, i guess it's time to ask.....
On Wed, Aug 18, 2010 at 10:38:20PM -0300, Gonzalo Nemmi wrote: On Wed, Aug 18, 2010 at 10:10 PM, Gary Kline kl...@thought.org wrote: ok guys, i have been waiting for [a] a better/faster/more generally useful computer as well as =mostly= cheaper unit. i figured i would wait until fall to ask, but it's close enough. can i watch a streamed movie on am atom [[[1.6ghz intel]]] chip. i have trouble on my 2003 dell that has a 2.4ghz cpu. it has plenty of ram, disk, etc. so i've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a 7 - 10 screen, can i use it for things other than a text-to-speech computer? how thrifty | cheap should i be? i'd like to buy the optical device rather than install via one of those stick memory devices. i have never used anything but the disc. i think it is at least two hundred bux more, but if it is a must, then so be it. i've looked for am atom notebook fo r 200 bux. pretty hard to find, so are there any places i can trust? i saw an A9 tablet with some kind of keyboard that might work as a speech computer. this is my real goal, leaving shit and shinola behind. but i'm not sure that a tablet would be as useful as a notebook. RESt of the story: i'm using the kde ktt* along with the festival speech toolkit. i also have vi/nvi or vim set up with around 125 abbrv so that people who type slowly can be more efficient. Way OT .. but it just hit me that some folks could benefit from that vim set up with around 125 abbrv if you posted somewhere ;) sure thing! i can put it up onmy bsd.thought.org page---if i still have that site. the backstory is pretty short. years before i tore up my shoulder, typing wasn't exactly =easy= so i used the 'abbrev' functionality of the original vi and added ~130 or so of the most freq english words [ plus computer-geek jargon ]. the stats showed that the average person could save about 31% of his time if he memorized this list. 130-150 words was the drop-off point. i.e., memorizing 160 abbreviations might save 31.9% or whatever it was. i gave up on this project after an almost-new SCSI drive crashed (nov, '99). my tape backup overwrote itself. my BAD. And so it goes... gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.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: well, i guess it's time to ask.....
On Wed, Aug 18, 2010 at 10:16:51PM -0500, Depo Catcher wrote: On 8/18/2010 8:10 PM, Gary Kline wrote: 've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a Stream what kind of movies? Some video players (like VLC) have hardware acceleration that will help a lot if your video card/driver supports it. Things like Flash based movies might be kind of iffy though since they can't take advantage of the video hardware [?]. Once you start moving up to high def video you might have some problems, but know a lot of Home Theater guys that use Atoms for media centers: http://hardforum.com/forumdisplay.php?f=103 hm and hm. do you have any idea if linux/ubuntu may have done this? i've got ubuntu 8.04 on my 'G41 Thinkpad' and it handles whatever i stream pretty well. even if i click fr 'full screen' size. My gfs Atom 330 plays videos in VLC fine and flash fine, but full screen flash drops frames. This is under WinXP. The new D510 CPU are faster in benchmarks; it has dual cores with hyperthreading. If you wait a few months, the new D525 CPUs should be out in consumer computers - these are 1.8Ghz (instead of 1.6Ghz) and support DDR3 (instead of DDR2). That might help a bit. Both are limited to 4 gigs. you are going way over my head in talking brand name terminology, :) now i'm back to my original quandry of: do i want to hide in my room and watch streaming video or built a tts device. it's like: Well, if i =wait= [just a bit longer] ... :-D So, I would bet that 90% of the time it'll be enough if you have a good video card with good drivers. I'm not an expert on them though, I think they are neat though. i had no clue that there were flash movies until your note; but it points u p the value of having a good driver. Another options would be to go with an i3/i5 or get a used 775 (core 2) system. My Core2Duo 2.2Ghz runs more than fast enough and can probably get them for cheap if you buy them used. need to have a small screen and low weight, pref. but yeah, it's an option. thanks much for the datapoints. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.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: well, i guess it's time to ask.....
On Thu, Aug 19, 2010 at 11:54:53AM -0700, Gary Kline wrote: i am not planning on watching a movie that is on a DVD-RW but via [say] kmplayer via video stream. and rather than the std 'movie-length' of 120 minutes, an hour or less streamed by PBS. with my 2.4ghz Dell loaded at its usual 0.25 - 0.4, and using kmplayer or vlc, the video is jerky or hangs for several seconds. A 2.4 GHz machine with a decent grahics card should have no problem with displaying full screen video, if you are using the XVideo extension. For mplayer try '-vo xv' on the mplayer command line, or put 'vo=xv' in ~/.mplayer/config. For VLC choose tools-preferences, and in the dialog window check Accelerated video output in the Video tab. It sounds more like a network issue. (you can confirm that if you can play files from a local disk without hiccups) Maybe increasing the buffering might help. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpnjV89yAmAF.pgp Description: PGP signature
Re: well, i guess it's time to ask.....
On Wed, Aug 18, 2010 at 09:01:56PM -0700, Charlie Kester wrote: On Wed 18 Aug 2010 at 20:16:51 PDT Depo Catcher wrote: On 8/18/2010 8:10 PM, Gary Kline wrote: 've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a Stream what kind of movies? Some video players (like VLC) have hardware acceleration that will help a lot if your video card/driver supports it. Things like Flash based movies might be kind of iffy though since they can't take advantage of the video hardware [?]. Once you start moving up to high def video you might have some problems, but know a lot of Home Theater guys that use Atoms for media centers: http://hardforum.com/forumdisplay.php?f=103 My gfs Atom 330 plays videos in VLC fine and flash fine, but full screen flash drops frames. This is under WinXP. The new D510 CPU are faster in benchmarks; it has dual cores with hyperthreading. But be aware that the Xorg intel driver in the current portstree does NOT support the graphics controller built into the D510 and other Pineview Atoms. The vesa driver works, but doesn't take advantage of AGP or other graphics niftiness. I have one of these myself, and can confirm that downloaded videos play acceptably well, despite using vesa. I can't speak to streaming video performance, however, since I don't use Flash and usually don't watch online videos. I've seen reviews of the D510 that say HD video performance is sub-par even on operating systems with drivers that fully support the graphics controller. If you wait a few months, the new D525 CPUs should be out in consumer computers - these are 1.8Ghz (instead of 1.6Ghz) and support DDR3 (instead of DDR2). That might help a bit. Both are limited to 4 gigs. So, I would bet that 90% of the time it'll be enough if you have a good video card with good drivers. I'm not an expert on them though, I think they are neat though. There are Atom-based systems available with Nvidia graphics. Gary might want to consider one of those, although it probably won't be as dirt cheap or as low-wattage as a Pineview system. (I have no experience with them myself.) jeez, and to think i was a =hardware= major. hm. is there a website than can explain the pros/cons? a friend is helping me move from 5 tower cases to two. money is always a concern, but saving watts is more important. 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 The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.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: well, i guess it's time to ask.....
On Thu, Aug 19, 2010 at 10:05:47PM +0200, Roland Smith wrote: On Thu, Aug 19, 2010 at 11:54:53AM -0700, Gary Kline wrote: i am not planning on watching a movie that is on a DVD-RW but via [say] kmplayer via video stream. and rather than the std 'movie-length' of 120 minutes, an hour or less streamed by PBS. with my 2.4ghz Dell loaded at its usual 0.25 - 0.4, and using kmplayer or vlc, the video is jerky or hangs for several seconds. A 2.4 GHz machine with a decent grahics card should have no problem with displaying full screen video, if you are using the XVideo extension. For mplayer try '-vo xv' on the mplayer command line, or put 'vo=xv' in ~/.mplayer/config. For VLC choose tools-preferences, and in the dialog window check Accelerated video output in the Video tab. It sounds more like a network issue. (you can confirm that if you can play files from a local disk without hiccups) Maybe increasing the buffering might help. i actually do have some discs that i BOUGHT. they are by the late scholar, Joseph Campbell who taught literature at Sarah Lawrence or wehatever and became a mythologist. I think I have every one of his books, most of his lectures, and the four dvd's of his 13-hour broadcast. they play flawlessly, so it it may be hanging on the network side. how can i increase the buffering? say using kmplayer or vlc? i've poked around here and there but do not see anyplace to tune the buffering. meanwhile, i will try the 'accelerated video output' with vlc. thanks! gary Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.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: well, i guess it's time to ask.....
There are Atom-based systems available with Nvidia graphics. Gary might want to consider one of those, although it probably won't be as dirt cheap or as low-wattage as a Pineview system. (I have no experience with them myself.) jeez, and to think i was a =hardware= major. hm. is there a website than can explain the pros/cons? a friend is helping me move from 5 tower cases to two. money is always a concern, but saving watts is more important. gary Money wise for Motherboard, memory and CPU the Atom or 775 (Core 2 Duo) will probably be cheapest. Then i3 and most expensive is i5. AMD also have options that would probably be cheaper, but I'm not familiar with their product line. I would set your budget of $X and then compare the best system in each class you can get for that price. Power wise; if it's idle, the Atom and i3/i5 should be about the same. With 775 (core 2 duo) probably drawing the most. In fact, in some cases the i3/i5 might draw less power at idle: http://www.servethehome.com/intel-core-i5-650-v-atom-n330-nvida-ion-review/ The other thing to concern is when it's under load, the Atom will be the clear winner here. The i3/i5/c2d can and will draw a good amount under load. Atom doesn't go up much under heavy load, the other systems can skyrocket in power usage when hit hard. The other thing you have to concern is how many devices you'll have hooked up to this. If you need an external video card it's going to be drawing more power... as with external NICs, sata, sound, etc In general I would suggest picking up a board that has most of what you need and nothing of what you don't. For example, I don't use sound on my home server, so I always buy a board without integrated sound. Also the Atom, i3 and i5 all have integrated video in their CPUs. That might save some power if you find one that supports that (and not an embedded integrated video) Performance wise, i3/i5 is winner then 775 and last atom. This thread has some links to some reviews: http://hardforum.com/showthread.php?t=1538918 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Thu, Aug 19, 2010 at 05:24:39PM -0500, Depo Catcher wrote: Money wise for Motherboard, memory and CPU the Atom or 775 (Core 2 Duo) will probably be cheapest. Then i3 and most expensive is i5. AMD also have options that would probably be cheaper, but I'm not familiar with their product line. I would set your budget of $X and then compare the best system in each class you can get for that price. Power wise; if it's idle, the Atom and i3/i5 should be about the same. With 775 (core 2 duo) probably drawing the most. In fact, in some cases the i3/i5 might draw less power at idle: http://www.servethehome.com/intel-core-i5-650-v-atom-n330-nvida-ion-review/ thanks for the url; i'll check it out when i'm using a GUI MUA. it looks like i wanted too much out of my next laptop. looks like i'll need to wait a few more years to get what i really want: 1st) as a small-footprint computer to use for the speech impaired, and 2nd) to let me hide [wherever] and stream NOVA or *whatever* far from the noise and distraction. i have had the first goal in mind for five years or so. my hearing is fine but my speech is impaired, so with kmouth, ksayit or ktts* and vi, then using the festival suite, i can type what i want to say and have the computer speak my words clearly. ---yes, it takes some messing-with to have the voices sound good. in recent months i ran my ideas past a second speech pathologist. she trotted out an off-the-shelf Windows device that has pre-programmed sentences -or- use the touch-screen keyboard to spell out whatever. touching a last square lets the computer speak. the cost of this dos/win device is $9,000 to $12,000. the box is heavy, the screen is brightly lit. my bias was against the touch touch screen. there was a beep you could turn on if you needed to, and giving my crummy typing, i did. the feedback for my free idea was that most people are not computer savvy and would need support. so i gave up on going the medical route and got in touch with the laptop for children. i learned that the number of people that my hodge-podge could help is well into the millions. that's the only reason i'm still at it. my thinking is that people who can type even with one finger can make use of the festival+kde software. either exactly as-is or with some trivial script(s). The other thing to concern is when it's under load, the Atom will be the clear winner here. The i3/i5/c2d can and will draw a good amount under load. Atom doesn't go up much under heavy load, the other systems can skyrocket in power usage when hit hard. sounds like the atom processor is the way to go. --at least when i'm out i would prefer to not have to hunt for a wall socket:) The other thing you have to concern is how many devices you'll have hooked up to this. If you need an external video card it's going to be drawing more power... as with external NICs, sata, sound, etc In general I would suggest picking up a board that has most of what you need and nothing of what you don't. For example, I don't use sound on my home server, so I always buy a board without integrated sound. Also the Atom, i3 and i5 all have integrated video in their CPUs. That might save some power if you find one that supports that (and not an embedded integrated video) i never thought about hooking anything to the kind of computer i'm thinking of. this is where less is more. they had one of these 10 notebooks at costco last spring but it was locked down by cable and i had to get up from my wheelchair to check it out. the keys had a nice feel--maybe 2 to 4mm before the key hit bottom. the sound was off so i couldn't get an idea if the speakers would be loud enough to be heard if i went shopping and had a question for someone. volume was =not= an issue for the windows speech device! i think that could have been upped to hear from 50 meters. --i may have to just shut up and pony up the $Whatever before going much further. meanwhile, thanks again for your insights and url's. before school starts and the day swings back into starting during the middle of the night. ---can you spell GAK---, in other words, while i still have time and energy, maybe the best plan is just Do-It. Performance wise, i3/i5 is winner then 775 and last atom. This thread has some links to some reviews: http://hardforum.com/showthread.php?t=1538918 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http
well, i guess it's time to ask.....
ok guys, i have been waiting for [a] a better/faster/more generally useful computer as well as =mostly= cheaper unit. i figured i would wait until fall to ask, but it's close enough. can i watch a streamed movie on am atom [[[1.6ghz intel]]] chip. i have trouble on my 2003 dell that has a 2.4ghz cpu. it has plenty of ram, disk, etc. so i've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a 7 - 10 screen, can i use it for things other than a text-to-speech computer? how thrifty | cheap should i be? i'd like to buy the optical device rather than install via one of those stick memory devices. i have never used anything but the disc. i think it is at least two hundred bux more, but if it is a must, then so be it. i've looked for am atom notebook fo r 200 bux. pretty hard to find, so are there any places i can trust? i saw an A9 tablet with some kind of keyboard that might work as a speech computer. this is my real goal, leaving shit and shinola behind. but i'm not sure that a tablet would be as useful as a notebook. RESt of the story: i'm using the kde ktt* along with the festival speech toolkit. i also have vi/nvi or vim set up with around 125 abbrv so that people who type slowly can be more efficient. gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.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: well, i guess it's time to ask.....
Gary Kline wrote: ok guys, i have been waiting for [a] a better/faster/more generally useful computer as well as =mostly= cheaper unit. i figured i would wait until fall to ask, but it's close enough. can i watch a streamed movie on am atom [[[1.6ghz intel]]] chip. (Disclaimer I work for a commercial compiler company) If you experience problems with performance of Atom I would generally not blame the processor. There are *zero* very well tuned compilers for Atom that I'm aware of. Most are content that the compiler works good enough(tm) and it's difficult (impossible) to get the low level timing data details out of Intel. Unless you're hand writing inline asm (*cough* ffmpeg) then it's certainly possible the code isn't optimized well enough. Depending on what else the processor is busy with, codec type and video size it should certainly possible to stream an average sized movie with no problem. Now can it handle Blu-ray I doubt 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: well, i guess it's time to ask.....
Gary Kline wrote: ok guys, i have been waiting for [a] a better/faster/more generally useful computer as well as =mostly= cheaper unit. i figured i would wait until fall to ask, but it's close enough. can i watch a streamed movie on am atom [[[1.6ghz intel]]] chip. i have trouble on my 2003 dell that has a 2.4ghz cpu. One other quick note.. it's likely that the graphics will make a bigger impact in movie performance than the host processor. (Look at the examples of how efficient Tegra2 is at decoding videos..) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Wed, Aug 18, 2010 at 10:10 PM, Gary Kline kl...@thought.org wrote: ok guys, i have been waiting for [a] a better/faster/more generally useful computer as well as =mostly= cheaper unit. i figured i would wait until fall to ask, but it's close enough. can i watch a streamed movie on am atom [[[1.6ghz intel]]] chip. i have trouble on my 2003 dell that has a 2.4ghz cpu. it has plenty of ram, disk, etc. so i've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a 7 - 10 screen, can i use it for things other than a text-to-speech computer? how thrifty | cheap should i be? i'd like to buy the optical device rather than install via one of those stick memory devices. i have never used anything but the disc. i think it is at least two hundred bux more, but if it is a must, then so be it. i've looked for am atom notebook fo r 200 bux. pretty hard to find, so are there any places i can trust? i saw an A9 tablet with some kind of keyboard that might work as a speech computer. this is my real goal, leaving shit and shinola behind. but i'm not sure that a tablet would be as useful as a notebook. RESt of the story: i'm using the kde ktt* along with the festival speech toolkit. i also have vi/nvi or vim set up with around 125 abbrv so that people who type slowly can be more efficient. Way OT .. but it just hit me that some folks could benefit from that vim set up with around 125 abbrv if you posted somewhere ;) gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.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
Re: well, i guess it's time to ask.....
On 8/18/2010 8:10 PM, Gary Kline wrote: 've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a Stream what kind of movies? Some video players (like VLC) have hardware acceleration that will help a lot if your video card/driver supports it. Things like Flash based movies might be kind of iffy though since they can't take advantage of the video hardware [?]. Once you start moving up to high def video you might have some problems, but know a lot of Home Theater guys that use Atoms for media centers: http://hardforum.com/forumdisplay.php?f=103 My gfs Atom 330 plays videos in VLC fine and flash fine, but full screen flash drops frames. This is under WinXP. The new D510 CPU are faster in benchmarks; it has dual cores with hyperthreading. If you wait a few months, the new D525 CPUs should be out in consumer computers - these are 1.8Ghz (instead of 1.6Ghz) and support DDR3 (instead of DDR2). That might help a bit. Both are limited to 4 gigs. So, I would bet that 90% of the time it'll be enough if you have a good video card with good drivers. I'm not an expert on them though, I think they are neat though. Another options would be to go with an i3/i5 or get a used 775 (core 2) system. My Core2Duo 2.2Ghz runs more than fast enough and can probably get them for cheap if you buy them used. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Wed 18 Aug 2010 at 20:16:51 PDT Depo Catcher wrote: On 8/18/2010 8:10 PM, Gary Kline wrote: 've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a Stream what kind of movies? Some video players (like VLC) have hardware acceleration that will help a lot if your video card/driver supports it. Things like Flash based movies might be kind of iffy though since they can't take advantage of the video hardware [?]. Once you start moving up to high def video you might have some problems, but know a lot of Home Theater guys that use Atoms for media centers: http://hardforum.com/forumdisplay.php?f=103 My gfs Atom 330 plays videos in VLC fine and flash fine, but full screen flash drops frames. This is under WinXP. The new D510 CPU are faster in benchmarks; it has dual cores with hyperthreading. But be aware that the Xorg intel driver in the current portstree does NOT support the graphics controller built into the D510 and other Pineview Atoms. The vesa driver works, but doesn't take advantage of AGP or other graphics niftiness. I have one of these myself, and can confirm that downloaded videos play acceptably well, despite using vesa. I can't speak to streaming video performance, however, since I don't use Flash and usually don't watch online videos. I've seen reviews of the D510 that say HD video performance is sub-par even on operating systems with drivers that fully support the graphics controller. If you wait a few months, the new D525 CPUs should be out in consumer computers - these are 1.8Ghz (instead of 1.6Ghz) and support DDR3 (instead of DDR2). That might help a bit. Both are limited to 4 gigs. So, I would bet that 90% of the time it'll be enough if you have a good video card with good drivers. I'm not an expert on them though, I think they are neat though. There are Atom-based systems available with Nvidia graphics. Gary might want to consider one of those, although it probably won't be as dirt cheap or as low-wattage as a Pineview system. (I have no experience with them myself.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
All iz well
Hai, Well Come on this wonderful site http://allizwellonline.com http://allizwellonline.com/ . Welcome to and have nice stay here. Allizwell is an information portal for every one. Regards Tina This email was sent by Tina to freebsd-questions@freebsd.org Dated 05/05/2010 . You can stop receiving emails here mailto:donotwanttoreceivema...@allizwellonline.com?subject=donot Want To Receive Mails or reply to this email with the words REMOVE ME as the subject. You can contact Janice at #27/8, rostan villa, CP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why my Firefox doesn't display Cyrillic fonts well?
webfont works well. You can also install ttf fonts from windows.Or use Ubuntu). 2009/11/28 Yuri y...@rawbw.com: Boris Samorodov wrote: Install x11-fonts/webfonts and do apropriate changes to xorg.conf. I have webfonts right after misc fonts at xorg.conf. That always gave me good results. I placed 'webfonts' into xorg.conf after 'misc' but firefox still shows Cyrillic texts in a messed up way. Also in Belarussian texts letters і and ў stand out (ex. http://be-x-old.wikipedia.org). And Opera shows Cyrillic texts very neatly. I don't quite understand what causes such difference. Ubuntu Linux doesn't have such problem at all, not in firefox and not in opera. Yuri ___ 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: Why my Firefox doesn't display Cyrillic fonts well?
S4mmael wrote: webfont works well. You can also install ttf fonts from windows.Or use Ubuntu). webfonts is installed on my system and doesn't work in ff, as I mentioned before. My question is why ff shows Cyrillic so poorly, as opposed opera on the same system, and you didn't answer it. Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why my Firefox doesn't display Cyrillic fonts well?
Boris Samorodov wrote: Install x11-fonts/webfonts and do apropriate changes to xorg.conf. I have webfonts right after misc fonts at xorg.conf. That always gave me good results. I placed 'webfonts' into xorg.conf after 'misc' but firefox still shows Cyrillic texts in a messed up way. Also in Belarussian texts letters і and ў stand out (ex. http://be-x-old.wikipedia.org). And Opera shows Cyrillic texts very neatly. I don't quite understand what causes such difference. Ubuntu Linux doesn't have such problem at all, not in firefox and not in opera. Yuri ___ 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
What VM does FreeBSD run well under
I am planing on rebuilding my laptop shortly. I am going to put Ubuntu 9.10 on as the base OS, and I want to be able to run various versions of FreebSD as guest OS'es under one of the free (EG not VMWare) virtual machine choices. Which of these does FreebSD run well under? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What VM does FreeBSD run well under
Hi, Which of these does FreebSD run well under? It runs okay under virtualbox. Cheers, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What VM does FreeBSD run well under
On Sat, Oct 31, 2009 at 04:19:21PM +0100, Robert Joosten wrote: Hi, Which of these does FreebSD run well under? It runs okay under virtualbox. OK, thanks. I tried this a couple of months ago, and had troube witj either OpenBSD, or FrebSD under VirtualBox. Given your commnet, my problems must have been with OpenBSD. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What VM does FreeBSD run well under
On Sat, Oct 31, 2009 at 10:14 AM, stan st...@panix.com wrote: I am planing on rebuilding my laptop shortly. I am going to put Ubuntu 9.10 on as the base OS, and I want to be able to run various versions of FreebSD as guest OS'es under one of the free (EG not VMWare) virtual machine choices. Which of these does FreebSD run well under? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ 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 I have tried FreeBSD 7.2 on both VmWare and Virtualbox. Just make sure you have NTP running, I have experienced time issues. , -- - Amiga, The Computer for the creative Mind! - UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - People who hate Microsoft Windows use Linux but people who love UNIX use BSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What VM does FreeBSD run well under
On Sat, 31 Oct 2009, stan wrote: I am planing on rebuilding my laptop shortly. I am going to put Ubuntu 9.10 on as the base OS, and I want to be able to run various versions of FreebSD as guest OS'es under one of the free (EG not VMWare) virtual machine choices. Which of these does FreebSD run well under? Although I can't say I've tested it much, FreeBSD 7 seems to run fine on qemu. -Warren Block * Rapid City, South Dakota 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
Re: What VM does FreeBSD run well under
Virtual Box runs it great, both as a host and a guest (its also in the port 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
Re: Why my Firefox doesn't display Cyrillic fonts well?
On Thu, 01 Oct 2009 11:19:20 -0700 Yuri wrote: I have this problem for a long time. Firefox shows all Cyrillic fonts with very large spaces between letters, almost the same as the real space character. So it's very difficult to read. Interestingly, Opera shows the same pages very neatly in different font looking very well. I attach here fonts section from my xorg.conf. What's wrong in my configuration? Yuri --- fonts section from xorg.conf --- Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ FontPath /usr/local/lib/X11/fonts/TrueType/ FontPath /usr/local/lib/X11/fonts/tmu/ FontPath /usr/local/lib/X11/fonts/cyrillic/ FontPath /usr/local/lib/X11/fonts/dejavu EndSection --- cyrillic fonts installed --- font-cronyx-cyrillic-1.0.0 X.Org Cronyx Cyrillic font font-misc-cyrillic-1.0.0 X.Org miscellaneous Cyrillic font font-screen-cyrillic-1.0.1 X.Org Screen Cyrillic font font-winitzki-cyrillic-1.0.0 X.Org Winitzki Cyrillic font xorg-fonts-cyrillic-7.4 X.Org Cyrillic bitmap fonts Install x11-fonts/webfonts and do apropriate changes to xorg.conf. I have webfonts right after misc fonts at xorg.conf. That always gave me good results. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why my Firefox doesn't display Cyrillic fonts well?
Boris Samorodov wrote: Install x11-fonts/webfonts and do apropriate changes to xorg.conf. I have webfonts right after misc fonts at xorg.conf. That always gave me good results. Boris, Thanks for the advice. I did what you suggested but there is no visible change. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why my Firefox doesn't display Cyrillic fonts well?
Yuri ?: Boris Samorodov wrote: Install x11-fonts/webfonts and do apropriate changes to xorg.conf. I have webfonts right after misc fonts at xorg.conf. That always gave me good results. Boris, Thanks for the advice. I did what you suggested but there is no visible change. Yuri ___ 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 Well, personally I used the apparently old, as I was informed, method, described in the handbook, e.g. I borrowed the fonts from the Windows system, mapped them with the appropriate tool (read the handbook) and edited xorg.conf . Worked nicely, the default font was revolting ^_^ ___ 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
Why my Firefox doesn't display Cyrillic fonts well?
I have this problem for a long time. Firefox shows all Cyrillic fonts with very large spaces between letters, almost the same as the real space character. So it's very difficult to read. Interestingly, Opera shows the same pages very neatly in different font looking very well. I attach here fonts section from my xorg.conf. What's wrong in my configuration? Yuri --- fonts section from xorg.conf --- Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ FontPath /usr/local/lib/X11/fonts/TrueType/ FontPath /usr/local/lib/X11/fonts/tmu/ FontPath /usr/local/lib/X11/fonts/cyrillic/ FontPath /usr/local/lib/X11/fonts/dejavu EndSection --- cyrillic fonts installed --- font-cronyx-cyrillic-1.0.0 X.Org Cronyx Cyrillic font font-misc-cyrillic-1.0.0 X.Org miscellaneous Cyrillic font font-screen-cyrillic-1.0.1 X.Org Screen Cyrillic font font-winitzki-cyrillic-1.0.0 X.Org Winitzki Cyrillic font xorg-fonts-cyrillic-7.4 X.Org Cyrillic bitmap fonts ___ 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: Lenovo s9e or well supported netbook
Tuesday, 19 May 2009 at 6:38:05 -0600, Tim Judd said: On Tue, May 19, 2009 at 5:32 AM, Peter Harrison peter.piggy...@virgin.netwrote: Is anyone running FreeBSD on a Lenovo s9e? I'm in the market for a netbook, and have seen these fairly cheap but can't find anything on Google about anyone trying FreeBSD on one. I'd rather not run Linux, so can anyone share experiences of the Lenovo, or suggest a better supported netbook? Thanks, Peter Harrison Look at the T-series. Google can probably confirm the general answer that they run unixen well. The X series I think work, but you might and might not have better success with them. I use BSD on a Lenovo T60 with no problems. The USB bio-reader isn't recognized and sometimes the wpi0 looses it's link (but it looses it sometimes in Windows too). Bring the link back up by ifconfig wpi0 up scan I don't know about the other series, but the T and X have got lots of google hits last time I checked. Thanks for the suggestion Tim - and everyone else who replied. Sorry for not responding earlier. I can certainly pick up a T23 reasonably cheaply, but I was thinking more of something kind of netbook sized - ie. with a 9in screen. Something that's a bit easier to lug around. The s9e runs an Intel 945GSE chipset apparently. Any thoughts on that? Thanks for the help. Peter Harrison. ___ 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
Lenovo s9e or well supported netbook
Is anyone running FreeBSD on a Lenovo s9e? I'm in the market for a netbook, and have seen these fairly cheap but can't find anything on Google about anyone trying FreeBSD on one. I'd rather not run Linux, so can anyone share experiences of the Lenovo, or suggest a better supported netbook? Thanks, Peter Harrison ___ 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: Lenovo s9e or well supported netbook
Is anyone running FreeBSD on a Lenovo s9e? I'm in the market for a netbook, and have seen these fairly cheap but can't find anything on Google about anyone trying FreeBSD on one. I'd rather not run Linux, so can anyone share experiences of the Lenovo, or suggest a better supported netbook? Thanks, Peter Harrison ___ 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 I've tried on a Lenovo R500. Install went ok but ACPI did give me some problems. I also tried PC-BSD but it wouldn't boot from install DVD. /Leslie -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ 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: Lenovo s9e or well supported netbook
Peter Harrison wrote: Is anyone running FreeBSD on a Lenovo s9e? I'm in the market for a netbook, and have seen these fairly cheap but can't find anything on Google about anyone trying FreeBSD on one. I'd rather not run Linux, so can anyone share experiences of the Lenovo, or suggest a better supported netbook? I'm use FreeBSD on my Lenovo T61. All works perfect. -- Alexandr Matveev ___ 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: Lenovo s9e or well supported netbook
On Tue, May 19, 2009 at 5:32 AM, Peter Harrison peter.piggy...@virgin.netwrote: Is anyone running FreeBSD on a Lenovo s9e? I'm in the market for a netbook, and have seen these fairly cheap but can't find anything on Google about anyone trying FreeBSD on one. I'd rather not run Linux, so can anyone share experiences of the Lenovo, or suggest a better supported netbook? Thanks, Peter Harrison Look at the T-series. Google can probably confirm the general answer that they run unixen well. The X series I think work, but you might and might not have better success with them. I use BSD on a Lenovo T60 with no problems. The USB bio-reader isn't recognized and sometimes the wpi0 looses it's link (but it looses it sometimes in Windows too). Bring the link back up by ifconfig wpi0 up scan I don't know about the other series, but the T and X have got lots of google hits last time I checked. ___ 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: Lenovo s9e or well supported netbook
I'm use FreeBSD on my Lenovo T61. All works perfect. and T23 -- Alexandr Matveev ___ 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
MPlayer experiment not working out well
Robert Huff wrote: Erik Gustafson writes: Have you tried the ports multimedia/mplayer or multimedia/vlc? I can't live without mplayer on my desktop and it usually just works on everything i try to play. I use mplayer too, but (as far as I know) the list of supported codecs hasn't changed in several years. That's mostly not a problem, but there are certain file types (.wmvs I have been told are handled correctly by Windows Media Player 10/11; this may be a DRM thing) that completely do not play. If you want a fancy GUI, search in ports/multimedia for mplayer and you will find kde-mplayer, gnome-mplayer and friends. Mplayer has a gui (gmplayer) but it's pretty minimal. Robert Huff Hello Robert / Erik / All, The mplayer installation went pretty smoothly - no problems with that. And the gui is more than acceptable - I don't need the gnome-mplayer add-on. But the application has failed to play any file/CD/DVD for me so far. The typical complaint for unencrypted vob files/iso-images is 'Too many packets in the buffer', whereas for encrypted DVD's the application produces garbage. (Please note it is willing to take dvd://1 on the commandline but not dvdnav://1, even though libdvd[nav/read/css] are all installed on my system). My DVD device in mplayer is /dev/dvd (permissions 644), which is a symlink to /dev/acd0 (permissions 444). For .dat files copies straight from CD's, the playback seems to occur at the rate of one frame per annum. On more than a couple of occasions, I remember getting some warning message to the effect 'gl missing : be prepared for a severe performance penalty'. Needless to say, my spirits are dampened after all the initial enthusiasm and effort. Maybe somebody can point out what might be wrong with my setup. Following is the output of my 'make showconfig' in /usr/ports/multimedia/mplayer : === The following configuration options are available for mplayer-0.99.11_12: DEBUG=off Include debug symbols in mplayer's binary files RTCPU=on Let mplayer dynamically check for CPU features OCFLAGS=on Use optimized compiler flags SIMD=on Allow mplayer to use vector engines (MMX...) IPV6=off Include inet6 network support X11=on Enable X11 support for mplayer's video output X11XV=on X11 video drivers: XV X11DGA=on X11 video drivers: DGA X11GL=on X11 video drivers: OpenGL X11XIN=on X11 video drivers: Xinerama X11VM=off X11 VidMode support GUI=on Enable GTK2 graphical user interface with X11 SDL=off Enable SDL video output VIDIX=off Enable VIDIX video output on supported archs SKINS=on Force dependency on mplayer-skins FREETYPE=on Use freetype for OSD fonts (TrueType!) RTC=off Add support for kernel real time clock timing ARTS=off Enable KDE sound system support ESOUND=on Enable GNOME esound support JACK=off Enable JackIt audio server support NAS=off Enable NAS sound server support OPENAL=off Enable OpenAL sound support LIBUNGIF=on Enable gif support AALIB=off Enable aalib support LIBCACA=off Enable libcaca support SVGALIB=off Enable svgalib support LIBDV=off Enable libdv support MAD=on Enable mad MPEG audio engine support DTS=on Enable DTS audio codec support LIBMPCDEC=off Enable libmpcdec support LADSPA=off Enable LADSPA plugin support SPEEX=off Enable speex audio codec support TREMOR=on Use built-in tremor instead of libvorbis XMMS=on Enable XMMS plugin support THEORA=off Enable ogg theora video support WIN32=on Enable win32 codec set on the IA32 arch AMR=off Enable AMR audio codec support X264=on Enable x264 (H.264) video codec support XANIM=on Enable xanim DLL support XVID=on Enable XVID video codec support REALPLAYER=off Enable real player plugin LIVEMEDIA=off Enable LIVE555 streaming support SMB=off Enable Samba input support FRIBIDI=off Enable FriBiDi support LIRC=off Enable lirc support LIBCDIO=off Enable libcdio support CDPARANOIA=off Enable cdparanoia support LIBLZO=off Enable external liblzo library JOYSTICK=off Enable joystick support === Use 'make config' to modify these settings In mplayer's Preferences/codecs, I am using the DirectShow codecs. Could that be a problem ? Any help would be greatly appreciated. -- Thank you and Regards Manish Jain invalid.poin...@gmail.com +91-99830-62246 NB : Laast year I kudn't spell Software Engineer. Now I are won. ___ 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: MPlayer experiment not working out well
On Sun, Apr 12, 2009 at 05:04:52PM +0530, Manish Jain wrote: The mplayer installation went pretty smoothly - no problems with that. And the gui is more than acceptable - I don't need the gnome-mplayer add-on. But the application has failed to play any file/CD/DVD for me so far. The typical complaint for unencrypted vob files/iso-images is 'Too many packets in the buffer', whereas for encrypted DVD's the application produces garbage. (Please note it is willing to take dvd://1 on the commandline but not dvdnav://1, even though libdvd[nav/read/css] are all installed on my system). My DVD device in mplayer is /dev/dvd (permissions 644), which is a symlink to /dev/acd0 (permissions 444). I'm pretty sure that you need write access to the (real) DVD device as well. A good way to do that would be to create a group named e.g. cdrom, and add yourself to that group. Next you need to set the following in /etc/devfs.conf: own acd0 root:cdrom permacd0 0660 linkacd0 cdrom linkacd0 dvd For .dat files copies straight from CD's, the playback seems to occur at the rate of one frame per annum. On more than a couple of occasions, I remember getting some warning message to the effect 'gl missing : be prepared for a severe performance penalty'. What video output are you using? If supported by you graphics card driver, use the xv video device (vo=xv in ~/.mplayer/config). Needless to say, my spirits are dampened after all the initial enthusiasm and effort. Maybe somebody can point out what might be wrong with my setup. Following is the output of my 'make showconfig' in /usr/ports/multimedia/mplayer : === The following configuration options are available for The config looks OK. In mplayer's Preferences/codecs, I am using the DirectShow codecs. Could that be a problem. Any help would be greatly appreciated. Are those the binary-only windows codecs? I've always run mplayer with none in those preferences. Works fine here. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpYZTxgkW4i6.pgp Description: PGP signature
Issues with OpenLDAP 2.4.15 and FreeBSD 8.0-CUrrent as well as with FreeBSD 7.2-PRE using DB 4.7
I reported this earlier here and now I'm about to file a PR. Before that, I will ask whether there is a solution out here or someone can give a hint in case I ran into a hidden misconfiguration. First I see on all FreeBSD flavours (7.2 and 8.0) a coredump of LDAP clients when doing ldapsearch, ldappasswd. The client performs well, but at the end it terminates with some SIG 11. Another very severe issue is with Db 4.7 and OpenLDAP 2.4.15 as taken from ports. On FreeBSD 7.1/7.2 I was running a OpenLDAP 1.4.15 server, used with DB 4.6. Several experimental boxes with FreeBSD 8.0-CURRENT and FreeBSD 7.1/7.2 were referring to that LDAP server for user authetication. After backing up the database, installing DB 4.7, recompiling everything that depends on DB 4.X, recompiling at last OpenLDAP and doing a Db recover ends up in a problem. The clients which were willing to perform logins via ssh by autheticating users via this LDAP server refuses now authentication! The same client authenticates the users of the LDAP server via LDAP authentication when accessing protected webpages served by lighttpd. I also can enumerate /home with users taken from the LDAP server, except login in via ssh. I did not change sshd's config, so I suspect something else. Watching console log and slapd log I see no issues aside the slapd log, but console and sshd log tell something about an unknown user with uid . Googling for this error I find a lot of sshd/nss/ldap related issues - but no solution. Doinf a 'sudo' or 'su' on the same machine to users residing on LDAP db is possible. But connection via ssh isn't possible. Another very strange behaviour occurs on FreeBSD 8.0-CURRENT serving as OpenLDAP 2.4.15 server with cysrus-sasl compiled in and DB 4.7. Authentication to this server, even from the local host, takes approximately 20 - 30 seconds, connecting LUMA for administering also takes that long, even showing up the DIT in LUMA takes unconveniently long times to perform. This happens when this server was updated from FreeBSD 7.2-PRE to FreeBSD 8.0-CURRENT with all the stuff completely fresh installed. Before the upgrade, the OpenLDAP server was running 2.4.15 with DB 4.7 as well as it does now under FreeBSD 8.0-CUR. Well, even with fresh standard installations taken from the templates when using nss_ldap/pam_ldap/OpenLDAP shows those strange issues on all mentioned boxes and OS flavours. Now I think I ran into a severe issue with either OpenLDAP 2.4.15 and/or FreeBSD 8.0. Regards, Oliver ___ 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: Issues with OpenLDAP 2.4.15 and FreeBSD 8.0-CUrrent as well as with FreeBSD 7.2-PRE using DB 4.7
O. Hartmann pisze: I reported this earlier here and now I'm about to file a PR. Before that, I will ask whether there is a solution out here or someone can give a hint in case I ran into a hidden misconfiguration. First I see on all FreeBSD flavours (7.2 and 8.0) a coredump of LDAP clients when doing ldapsearch, ldappasswd. The client performs well, but at the end it terminates with some SIG 11. That's really funny when ldapadd just do what you want it to do, and gives you core dump instead of bye bye ;) I have the same issue with FreeBSD 7.2 (I'm not using OpenLDAP on CURRENT). From my observations this behaviour depends on options checked with 'make config'. SIG 11 occurs with default settings, so I checked ONLY bdb, perl and SASL (just what I needed for shared address book). and now it is working like a charm. However it's not a SOLUTION for this problem, especially when you need other options from config. -- Bartosz Stec ___ 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: Issues with OpenLDAP 2.4.15 and FreeBSD 8.0-CUrrent as well as with FreeBSD 7.2-PRE using DB 4.7
First I see on all FreeBSD flavours (7.2 and 8.0) a coredump of LDAP clients when doing ldapsearch, ldappasswd. The client performs well, but at the end it terminates with some SIG 11. http://www.mail-archive.com/openldap-softw...@openldap.org/msg15161.html Regards, Thierry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Well, almost back to normal....
Guys, Anybody know what I have to rebuild/fix to get rid of the following error output: Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. I had a system crash and had to reboot via using /boot/kernel.prev, then was able to do a complete upgrade to the latest 7.1; then did a wholesale upgrade. After 4 days it finished. I Did an X -configure to get a new xorg . conf and thought everything was Fixed. Still, whenever I initiate a new Konsole; whenever I ssh in from elsewhere, I get the Xlib missing on display 0.0 errs.What' is still not right? [back to thesis. hope some of you knows what's going on with this! tia, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, almost back to normal....
On Thu, Feb 19, 2009 at 1:43 PM, Gary Kline kl...@thought.org wrote: Guys, Anybody know what I have to rebuild/fix to get rid of the following error output: Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. I had a system crash and had to reboot via using /boot/kernel.prev, then was able to do a complete upgrade to the latest 7.1; then did a wholesale upgrade. After 4 days it finished. I Did an X -configure to get a new xorg . conf and thought everything was Fixed. Still, whenever I initiate a new Konsole; whenever I ssh in from elsewhere, I get the Xlib missing on display 0.0 errs.What' is still not right? [back to thesis. hope some of you knows what's going on with this! tia, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php ___ 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 nothing the xserver does not support that extension yet so that is a normal thing as of right now for Xorg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Well, almost back to normal....
Gary Kline wrote: Guys, Anybody know what I have to rebuild/fix to get rid of the following error output: Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. This is apparently harmless. It's happened because development of Xlib has got a bit ahead of development of the X server -- so Xlib incorporates features not yet released in X server. The story is this will be fixed when xorg-server-1.6 hits the tree. That could be at any moment. In the mean time, just ignore the excess verbiage. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: well, blew it... sed or perl q again.
On Tue, 30 Dec 2008 11:31:14 -0800, Gary Kline kl...@thought.org said: G The problem is that there are many, _many_ embedded A G HREF=http://whatever Site/A in my hundreds, or thousands, or G files. I only want to delete the http://junkfoo.com lines, _not_ G the other Href links. Use perl. You'll want the i option to do case-insensitive matching, plus m for matching that could span multiple lines; the first quoted line above shows one of several places where a URL can cross a line-break. You might want to leave the originals completely alone. I never trust programs to modify files in place: you% mkdir /tmp/work you% find . -type f -print | xargs grep -li http://junkfoo.com FILES you% pax -rwdv -pe /tmp/work FILES Your perl script can just read FILES and overwrite the stuff in the new directory. You'll want to slurp the entire file into memory so you catch any URL that spans multiple lines. Try the script below, it works for input like this: This a HREF=http://junkfoo.com; Site/A should go away too. And so should a HREF= http://junkfoo.com/; Site/A this And finally a HREF=http://junkfoo.com/;Site/A this -- Karl Vogel I don't speak for the USAF or my company The average person falls asleep in seven minutes. --item for a lull in conversation --- #!/usr/bin/perl -w use strict; my $URL = 'href=(.*?)http://junkfoo.com/*;'; my $contents; my $fh; my $infile; my $outfile; while () { chomp; $infile = $_; s{^./}{/tmp/}; $outfile = $_; open ($fh, $infile) or die $infile; $contents = do { local $/; $fh }; close ($fh); $contents =~ s{ # substitute ... a(.*?) # ... URL start $URL # ... actual link (.*?)# ... min # of chars including newline /a # ... until we end } { }gixms; # ... with a single space open ($fh, $outfile) or die $outfile; print $fh $contents; close ($fh); } exit(0); ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, blew it... sed or perl q again.
On Wed, Dec 31, 2008 at 03:20:14PM -0500, Karl Vogel wrote: On Tue, 30 Dec 2008 11:31:14 -0800, Gary Kline kl...@thought.org said: G The problem is that there are many, _many_ embedded A G HREF=http://whatever Site/A in my hundreds, or thousands, or G files. I only want to delete the http://junkfoo.com lines, _not_ G the other Href links. Use perl. You'll want the i option to do case-insensitive matching, plus m for matching that could span multiple lines; the first quoted line above shows one of several places where a URL can cross a line-break. You might want to leave the originals completely alone. I never trust programs to modify files in place: you% mkdir /tmp/work you% find . -type f -print | xargs grep -li http://junkfoo.com FILES you% pax -rwdv -pe /tmp/work FILES ^^^ pax is like cpio, isn't it? anyway, yes, i'll ponder this. i [mis]-spent hours undoing something bizarre that my scrub.c binary did to directories, turning foo and bar, (and scores more) into foo and foo.bar, bar and bar.bak. the bak were the saved directories. the foo, bar were bizarre. i couldn't write/cp/mv over them. had to carefully rm -f foo; mv foo.bar foo [et cetera].. then i scp'd my files to two other computers. (*mumcle) Your perl script can just read FILES and overwrite the stuff in the new directory. You'll want to slurp the entire file into memory so you catch any URL that spans multiple lines. Try the script below, it works for input like this: This a HREF=http://junkfoo.com; Site/A should go away too. And so should a HREF= http://junkfoo.com/; Site/A this And finally a HREF=http://junkfoo.com/;Site/A this -- Karl Vogel I don't speak for the USAF or my company The average person falls asleep in seven minutes. --item for a lull in conversation --- #!/usr/bin/perl -w use strict; my $URL = 'href=(.*?)http://junkfoo.com/*;'; my $contents; my $fh; my $infile; my $outfile; while () { chomp; $infile = $_; s{^./}{/tmp/}; $outfile = $_; open ($fh, $infile) or die $infile; $contents = do { local $/; $fh }; close ($fh); $contents =~ s{ # substitute ... a(.*?) # ... URL start $URL # ... actual link (.*?)# ... min # of chars including newline /a # ... until we end } { }gixms; # ... with a single space open ($fh, $outfile) or die $outfile; print $fh $contents; close ($fh); } exit(0); ___ 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 http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php ___ 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
well, blew it... sed or perl q again.
Guys, Someone send a sed website that i thought i had bookmarked on firefox3. I don't see it in history; it is not b'marked. This question may not be do-able in sed, I don't know. BEen searching around for over an hour and a half; have tried things that have failed in my /tmp/test directory; time to ask the list. The problem is that there are many, _many_ embedded A HREF=http://whatever Site/A in my hundreds, or thousands, or files. I only want to delete the http://junkfoo.com lines, _not_ the other Href links. Which would be best to use, given that a backup is critical? sed or perl? tia, as always, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, blew it... sed or perl q again.
On Tue, Dec 30, 2008 at 11:31:14AM -0800, Gary Kline wrote: The problem is that there are many, _many_ embedded A HREF=http://whatever Site/A in my hundreds, or thousands, or files. I only want to delete the http://junkfoo.com lines, _not_ the other Href links. Which would be best to use, given that a backup is critical? sed or perl? IMHO, perl with the -i option to do in-place editing with backups. You could also use the -p option to loop over files. See perlrun(1). Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp0lBFjVoSUO.pgp Description: PGP signature
Re: well, blew it... sed or perl q again.
On Tue, Dec 30, 2008 at 09:16:23PM +0100, Roland Smith wrote: On Tue, Dec 30, 2008 at 11:31:14AM -0800, Gary Kline wrote: The problem is that there are many, _many_ embedded A HREF=http://whatever Site/A in my hundreds, or thousands, or files. I only want to delete the http://junkfoo.com lines, _not_ the other Href links. Which would be best to use, given that a backup is critical? sed or perl? IMHO, perl with the -i option to do in-place editing with backups. You could also use the -p option to loop over files. See perlrun(1). Roland All right, then is this the right syntax. In other words, do I need the double quotes to match the http: string? perl -pi.bak -e 'print unless /m/http:/ || eof; close ARGV if eof' * gary -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, blew it... sed or perl q again.
On Tue, Dec 30, 2008 at 12:51:31PM -0800, Gary Kline wrote: On Tue, Dec 30, 2008 at 09:16:23PM +0100, Roland Smith wrote: On Tue, Dec 30, 2008 at 11:31:14AM -0800, Gary Kline wrote: The problem is that there are many, _many_ embedded A HREF=http://whatever Site/A in my hundreds, or thousands, or files. I only want to delete the http://junkfoo.com lines, _not_ the other Href links. Which would be best to use, given that a backup is critical? sed or perl? IMHO, perl with the -i option to do in-place editing with backups. You could also use the -p option to loop over files. See perlrun(1). Roland All right, then is this the right syntax. In other words, do I need the double quotes to match the http: string? perl -pi.bak -e 'print unless /m/http:/ || eof; close ARGV if eof' * In years past I used fetch(1) to download the day's page from a comic strip site, awk to extract the URL of the day's comic strip, and fetch again to put a copy of the comic strip in my archive. This application sounds similar. -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. ___ 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