Re: lament about freebsd sacrifices
On Wed, Apr 14, 2004 at 11:36:05AM -0700, Peter Leftwich wrote: I thought I would post this as something of a warning. Using FreeBSD as a primary, non-dual-boot OS means sacrificing. Here is a partial list of sacrifices, as compared to Microsoft Windows XP: snip * websites that use ActiveX (Windows) controls I count this as a net gain. ;-) Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
printing manpages
So I'm about to go shopping for a brand-new ath-based WiFi card for my firewall. Love the hardware support section of the manpage, and I'd like to print it out to take with me. But I can't for the life of me figure out how to print a manpage. The closest man man gives me is: -t Use /usr/bin/groff -S -man to format the manual page, passing the output to stdout. The output from /usr/bin/groff -S -man may need to be passed through some filter or another before being printed. Any suggestions on what the command line for that filter looks like? thanks, Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: directories like Hotel California
On Mon, Mar 22, 2004 at 02:15:29PM -0700, Elliot Finley wrote: I have a directory that I export via NFS. I want people to be able to do a directory listing to see whats there. I also want them to be able to copy files into this directory. but I don't want them to be able to copy files out of this directory. I don't see any way to accomplish this with file permissions. Am I missing something? The file permissions model allows you to accomplish this, but you'll have to change permissions on the files as well. The permissions on the directory should be writable by everyone, but the sticky bit will be set so that nobody except the owner of the directory, or the owner of a file will be able to delete files. $ mkdir directory $ chmod ugo+rwxt directory $ ls -ld directory drwxrwxrwt 2 aelmore users 512 Mar 22 13:53 directory $ You will need to make sure that each file within the directory is not readable by anyone (because to copy out implies reading the file). $ touch directory/file $ chmod ugo-rwx directory/file $ cp directory/file /tmp cp: directory/file: Permission denied $ Note that the owner of the file is allowed to delete that file. Hope this helps. AE ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Playing DVDs with xine
On Thu, Mar 18, 2004 at 06:39:00PM -0600, Michael Madden wrote: Has anyone gotten xine to play DVDs? I have installed it from /usr/ports/multimedia/xine and setup /dev/dvd, but I keep getting this error: This is xine (X11 gui) - a free video player v0.9.23. (c) 2000-2003 The xine Team. libdvdnav: Using dvdnav version 1-rc3a from http://xine.sf.net libdvdread: Using libdvdcss version 1.2.8 for DVD access libdvdread: Could not open /dev/dvd with libdvdcss. libdvdread: Can't open /dev/dvd for reading libdvdnav: vm: faild to open/read the DVD ls -l /dev/dvd /dev/cd0 crw-rw-rw- 1 root operator4, 20 Mar 18 07:47 /dev/cd0 lrwxr-xr-x 1 root wheel3 Mar 18 17:51 /dev/dvd - /dev/cd0 Despite the error message, you probably need to make sure your userid can write to the dvd device. A good tool to use for solving this kind of problem is truss or ktrace. That will show you what the program is *really* doing! regards, Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ``Resource temporarily unavailable'' in vi
On Tue, Jul 15, 2003 at 12:43:40AM +0200, Matthias Buelow wrote: Mikhail Teterin writes: Every once in a while, a vi-session dies on me with: input: Resource temporarily unavailable Are you running ksh93 per chance? I've seen this after I started an OpenGL program such as xscreensaver-demo from ksh93 (however that could have influenced the terminal settings or whatever is beyond my current understanding.) I've seen this intermittently on both -CURRENT and with 4.7; whatever causes it seems to corrupt the state of the tty, as the only thing that seems to reset is entering/exiting gdb. I use ksh93. Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]