Re: is there a way to code this .... without curses?
On Thu, Sep 29, 2011 at 09:46:45PM -0700, Gary Kline wrote: guys, i have written a small program using curses; that isn't the problem. but does anybody onlist know how to code the following in C: void foo() { system(stty raw); man cfmakeraw . . . system(stty cooked); } See f_sane in /usr/src/bin/stty/key.c. The parameters set in f_sane are eventually passed to tcsetattr(3), so see 'man tcsetattr' anybody? yoa! 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) pgpP0YKWkhsDd.pgp Description: PGP signature
Re: FreeBSD 9-Beta3 and FlashPlayer
Hi, this mail is from Japan. My name is Hiroshi Saeki, a hobby user of FreeBSD. I think that this issue is invoked by kernel of FreeBSD 9.0-BETA3. /usr/src/sys/kern/uipc_usrreq.c 1.244.2.2 may have problem. I recommend you to revert older kernel. For example, downgrade to FreeBSD 9.0-BETA2, BETA1. ftp://ftp2.jp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/9.0/FreeBSD-9.0-BETA1-amd64-disc1.iso may of your help. With warm regards. On Thu, 29 Sep 2011 15:40:37 +0200 crsnet.pl crs...@crsnet.pl wrote: On Thu, 29 Sep 2011 08:22:56 -0500, Edgar Rodolfo cybernaut...@gmail.com wrote: 2011/9/29, crsnet.pl crs...@crsnet.pl: Hello. I make update yesterday with csup. And i have build new firefox 7 from src. And today i see my flashplayer dont work (under Opera/Firefox). i had flash player on freebsd 8.2, but the major result is with ports, try install it, but using port check handbook. I can try, but that configuration works to yesterday and im now confuse. I see im not alone that flash stop to work after buidling firefox from sources (or one of its dependencies). Regards. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Volume control in mplayer resetting 50% when starting / stopping video clips
On Thu Sep 29 11, Antonio Olivares wrote: try 'sysctl hw.snd.vpc_autoreset=0'. Question, On one of my home machines, I have mixer pcm vol set to 100% : [olivares@tricorehome /usr/home/olivares]$ mixer Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer rec is currently set to 81:81 Mixer igainis currently set to 0:0 Mixer ogainis currently set to 50:50 Mixer monitor is currently set to 75:75 Recording source: mic in /boot/device.hints hint.pcm.0.vol=100 hint.pcm.1.vol=100 hint.pcm.2.vol=100 But when I play with mplayer, the pcm setting is at 48% I then increase the sound level by using the (*) key to increase it and the (/) key to lower it. I had reason to believe that once I would set up the sound using /boot/device.hints, it would be (set in stone) forever, but on starting up the system, mplayer puts it back at 48%. Will the systcl hw.snd.vpc autoreset=0 command cure this illness as well? If it does, do I add it to /boot/device.hints? and it is a done deal! or no deal! :( I have always wanted to ask but was not sure it it was freebsd or mplayer's configuration. try the following: rm /var/db/mixer*-state sysctl hw.snd.vpc_reset=1 systcl hw.snd.vpc_autoreset=0 echo hw.snd.vpc_autoreset=0 /etc/sysctl.conf cheers. alex Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9-Beta3 and FlashPlayer
On Fri, 30 Sep 2011 16:10:29 +0900, Hiroshi Saeki hsa...@wmail.plala.or.jp wrote: Hi, this mail is from Japan. My name is Hiroshi Saeki, a hobby user of FreeBSD. I think that this issue is invoked by kernel of FreeBSD 9.0-BETA3. /usr/src/sys/kern/uipc_usrreq.c 1.244.2.2 may have problem. I recommend you to revert older kernel. For example, downgrade to FreeBSD 9.0-BETA2, BETA1. ftp://ftp2.jp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/9.0/FreeBSD-9.0-BETA1-amd64-disc1.iso may of your help. With warm regards. Hello. True, i boot today from my old kernel, and flash works fine. I can say in 100% that is problem with uipc, but i realy belive that Hiroshi have right. Realy thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is there a way to code this .... without curses?
From owner-freebsd-questi...@freebsd.org Thu Sep 29 23:48:18 2011 Date: Thu, 29 Sep 2011 21:46:45 -0700 From: Gary Kline kl...@thought.org To: FreeBSD Mailing List freebsd-questions@freebsd.org Cc: Subject: is there a way to code this without curses? guys, i have written a small program using curses; that isn't the problem. but does anybody onlist know how to code the following in C: void foo() { system(stty raw); . . . system(stty cooked); } anybody? yoa! 'man 3 stty' 'man 4 tty' 'man tcsetattr' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dump/restore, how to reduce slice size
# df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a 2G206M1.6G11%/ devfs 1.0k1.0k 0B 100%/dev /dev/ad4s1e3.9G 13M3.6G 0%/tmp /dev/ad4s1f 40G 25G 12G67%/usr /dev/ad4s1d 31G3.6G 24G13%/var procfs 4.0k4.0k 0B 100%/proc /dev/ad2s1f 39G 25G 10G71%/mnt devfs 1.0k1.0k 0B 100%/var/named/dev as you can see /dev/ad4s1f is 40G and /dev/ad2s1f is 39G but on ad4s1f only 25G used. How can I dump /dev/ad4s1f and restore it on /dev/ad2s1f? You can't. ad4s1f has 25G of files, but ad2s1f only has 10G of free space. You need a bigger disk. If you're just moving things around, I agree that a $100 USB disk is the best way to store backups temporarily. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: About suidperl in FreeBSD
The things you've tried don't make any sense to me; where did you get such weird advice? I'd say to get rid of the things you added, then # cd /usr/ports/lang/perl5.12 (or the directory for which ever other perl you want), then # make config (so you can select the SUIDPERL option), then # make clean install clean I would also suggest that you take a look at the ports section in the FreeBSD Handbook, and then the manual page. Since Perl 5.12 there is no SUIDPERL option in config. I compiled 5.10 and now I have /usr/local/bin/suidpperl. The big problem is: everything I compiled depending on perl is linked against 5.12 and some apps are broken (spamassassin, for example). How could I find every port that depends on 5.12 and recompile with 5.10? thanks Alberto Mijares ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dump/restore, how to reduce slice size
On Fri, Sep 30, 2011 at 03:41:26PM +0200, Damien Fleuriot wrote: On 9/29/11 10:09 PM, Jerry McAllister wrote: On Thu, Sep 29, 2011 at 10:36:38PM +0300, ??? ??? wrote: Hi, Freebsd-questions. # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a 2G206M1.6G11%/ devfs 1.0k1.0k 0B 100%/dev /dev/ad4s1e3.9G 13M3.6G 0%/tmp /dev/ad4s1f 40G 25G 12G67%/usr /dev/ad4s1d 31G3.6G 24G13%/var procfs 4.0k4.0k 0B 100%/proc /dev/ad2s1f 39G 25G 10G71%/mnt devfs 1.0k1.0k 0B 100%/var/named/dev as you can see /dev/ad4s1f is 40G and /dev/ad2s1f is 39G but on ad4s1f only 25G used. How can I dump /dev/ad4s1f and restore it on /dev/ad2s1f? These commands: #mount /dev/ad2s1f /mnt #cd /mnt #dump -0Lf - /usr | restore -rf - does not help, because of ad2s1f does not have space to restore 'end of ' /dev/ad4s1f. May help any? Well, you are going to have difficulty putting 50 GB on a 39 GB partition. (25GB + 25GB = 50GB). It won't work. You could try compressing the dump, but dump files do not tend to compress well and even if you got a 50% compression, you would still be really close to overfill. Probably you need to go to the store and get a nice big USB drive and slice and partition it in to a bunch of 50 GB partitions and pipe your dump to a restore in those partitions on that drive. You can round-robin your backups to those USB partitions. My backup to a USB hard drive just saved me the beginning of this week when the old machine died of heat prostration. Dump is supposed to take only the used space. Yes. He already has 25 GB used on the partition and wants to add another approx 25 GB in a 39 GB partition. There ain't room. jerry @OP, refer the following link for correct dump/restore syntax: http://www.wonkity.com/~wblock/docs/html/backup.html#_tt_dump_tt_with_compression ___ freebsd-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: FreeBSD 9-Beta3 and FlashPlayer
Now flash plugin and skype 2.0 doesn't work after applying the lastest security patch to 8.2-RELEASE $ uname -srm FreeBSD 8.2-RELEASE-p3 amd64 launching skype doesn't show any output in console, it's just silently hangs. there is nothing in logs either. Opera, firefox and nspluginwrapper are able to detect flash plugin, but there is just black square instead of flash content on web page. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
8_RELEASE buildkernel fails
Hi: I csup'ed my source tree and rebuilt world succesfully, but buildkernel fails with the following error: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/local/src/sys -I/usr/local/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /usr/local/src/sys/net/if_vlan.c /usr/local/src/sys/net/if_vlan.c: In function 'vlan_ioctl': /usr/local/src/sys/net/if_vlan.c:1424: error: stray '\1' in program *** Error code 1 Stop in /usr/local/obj/usr/local/src/sys/GENERIC. *** Error code 1 Stop in /usr/local/src. *** Error code 1 Stop in /usr/local/src. I've cleaned and retried a few times, csup'ed again, but it fails at the same point. Any suggestions? Thanks, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is there a way to code this .... without curses?
On Fri, Sep 30, 2011 at 08:20:35AM +0200, Roland Smith wrote: Date: Fri, 30 Sep 2011 08:20:35 +0200 From: Roland Smith rsm...@xs4all.nl Subject: Re: is there a way to code this without curses? To: Gary Kline kl...@thought.org Cc: FreeBSD Mailing List freebsd-questions@freebsd.org On Thu, Sep 29, 2011 at 09:46:45PM -0700, Gary Kline wrote: guys, i have written a small program using curses; that isn't the problem. but does anybody onlist know how to code the following in C: void foo() { system(stty raw); man cfmakeraw . . . system(stty cooked); } See f_sane in /usr/src/bin/stty/key.c. The parameters set in f_sane are eventually passed to tcsetattr(3), so see 'man tcsetattr' anybody? yoa! well, i forget that i am/was using the linux stty, so my question probably should go to that flavor on Nix ... just because there may be somed differences between the bsd flavor of stty and the linux version. this hads to do with my port of the python key-click script i was asking about about a week ago. i do have something working in C/C++. i'm getting going with the volume option today. i just wanted some few lines of C to replace the system() calls forf stty. thanks, gary ps: what i'm working on just _may_ work on both bsd and linux. dunno yet. 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 Journey Toward the Dawn, E-Book: http://www.thought.org The 8.51a 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[2]: dump/restore, how to reduce slice size
Здравствуйте, Robert. Вы писали 30 сентября 2011 г., 4:11:15: From owner-freebsd-questi...@freebsd.org Thu Sep 29 14:37:35 2011 Date: Thu, 29 Sep 2011 22:36:38 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= kes-...@yandex.ru To: freebsd-questions@freebsd.org Subject: dump/restore, how to reduce slice size Hi, Freebsd-questions. # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a 2G206M1.6G11%/ devfs 1.0k1.0k 0B 100%/dev /dev/ad4s1e3.9G 13M3.6G 0%/tmp /dev/ad4s1f 40G 25G 12G67%/usr /dev/ad4s1d 31G3.6G 24G13%/var procfs 4.0k4.0k 0B 100%/proc /dev/ad2s1f 39G 25G 10G71%/mnt devfs 1.0k1.0k 0B 100%/var/named/dev as you can see /dev/ad4s1f is 40G and /dev/ad2s1f is 39G but on ad4s1f only 25G used. How can I dump /dev/ad4s1f and restore it on /dev/ad2s1f? These commands: #mount /dev/ad2s1f /mnt #cd /mnt #dump -0Lf - /usr | restore -rf - does not help, because of ad2s1f does not have space to restore 'end of ' /dev/ad4s1f. May help any? RB ad2s1f already has 25 gigs of stuff on it. with ounly 14 gigs 'free'. RB ad4s1f has 25 gigs of stuff on _it_. RB The 25 gigs of ad4s1f will not fit in the 14 gigs of free space on RB ad2s1f. It is state after restoration. Before that I do the prestine file system with: newfs /dev/ad2s1f mount /dev/ad2s1f /mnt cd /mnt dump -0Lf - /usr | restore -rf - at the end of restore process I got error about that on target file system there is no inode . abourt? [yn] I type 'n'. there are about 10 inodes missed. when I compare files it seems that are same on source and target. Is that Ok, may I do not worry about that error messages? RB Now, RB *IF* the existing 'stuff' on ad2s1f is of no value, and the -only- thing RB you want to have on that filesystem is the 'copy' of ad4s1f, RB *THEN* there is 'simple' solution. You need to delete the files on RB ad4s1f -before- trying the dump/restor. In the commnds you show, above, RB fter the 'cd /mnt', and before the dump/restore, Type in 'rm -fr /mnt/*', RB but DO NOT hit the enter key. Look at what you typed, and make sure RB that there is no white-spce immediately before the '*'. Double check RB that there is no whitespce after the first '/'. or before the 2nd one. RB TRIPLE CHECK that there are no spaces before the '*'. Have you made RB a full back-up of the system recently? If not, abort this commqnd, and RB make the full backup before trying this again. RB *IF* you are absolutely certain you have typed the commnd correctly, _and_ RB you have current full-system backup, then go ahead nd press the enter RB key. thank you for attention. I understand that. RB As my friend Dante Brown once remarked: RB All hope abandon RB ye who press Enter RB here. -- С уважением, Коньков mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: About suidperl in FreeBSD
Since Perl 5.12 there is no SUIDPERL option in config. It's not a FreeBSD change. SUIDPERL is gone from the 5.12 perl distribution. Using 5.10 is a temporary band-aid, but sooner or later you'll need to rewrite your scripts not to need suid perl programs, either by writing a small suid C wrapper, or perhaps using sudo. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FN Keys in Lenovo X300
Hello. Im searching for any information about FN Keys. I make it working under FreeBSD 8/9. Speaker Off key and Light key works, Volume +/-, Brightness +/- dont ;/ [cr4sh@x300 ~]$ uname -a FreeBSD x300 9.0-BETA3 FreeBSD 9.0-BETA3 #3: Tue Sep 27 10:47:57 CEST 2011 cr4sh@x300:/sys/amd64/compile/GENERIC amd64 [cr4sh@x300 ~]$ kldstat | grep ibm 71 0x8161 5b28 acpi_ibm.ko I try to use /usr/ports/deskutils/tpb port, but with no luck. Regards, Adrian. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Printing using CUPS
I am in the process of setting up a Brother MFC-9560CDW printer on a FreeBSD-8.2 amd64 machine. It is a network printer and works fine with the Windows machines on the network. Not so much with the FreeBSD machine. CUPS detects the printer: Description:Brother MFC-9560CDW Location: Local Printer Driver: Brother MFC-9560CDW CUPS (color, 2-sided printing) Connection: lpd://BRW0022587025CB/BINARY_P1 Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided However, the connection does not work correctly. I changed it to:lpd://192.168.1.100/BINARY_P1 and I can print a self text page from CUPS. However, I cannot print a test page from within CUPS, nor can I print anything from any other application. I have perused the log files without any success. This limited printing has got me totally baffled. I am open to suggestions as to what to try next. If there are any CUPS experts out there, please feel free to contact me off-list if you prefer. -- Carmel ✌ carmel...@hotmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
maildrop logging overwriting instead of appending
Ok, I finally took the plunge today and converted my .procmailrc into a .mailfilter, adjusted my .forward file, and am now, for the most part, a contented new maildrop user. :-) Just one problem: on each invocation of maildrop, the logfile is being overwritten, rather than appended to. I have the following in my .mailfilter file (this is outside of any specific filtering rule): logfile Mail/maildrop.log I can't see anything else anywhere in the maildrop docs that might affect the way the logfile is handled. According to the manpage, if the logfile already exists, it should be appended to, but this isn't what's happening. Clues, anyone? -- Conrad J. Sabatier conr...@cox.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9-Beta3 and FlashPlayer
On Fri, 30 Sep 2011 09:58:48 +0200 crsnet.pl crs...@crsnet.pl wrote: On Fri, 30 Sep 2011 16:10:29 +0900, Hiroshi Saeki hsa...@wmail.plala.or.jp wrote: I think that this issue is invoked by kernel of FreeBSD 9.0-BETA3. /usr/src/sys/kern/uipc_usrreq.c 1.244.2.2 may have problem. I recommend you to revert older kernel. For example, downgrade to FreeBSD 9.0-BETA2, BETA1. ftp://ftp2.jp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/9.0/FreeBSD-9.0-BETA1-amd64-disc1.iso may of your help. With warm regards. Hello. True, i boot today from my old kernel, and flash works fine. I can say in 100% that is problem with uipc, but i realy belive that Hiroshi have right. Strange, flash works fine for me under 9.0-BETA3. Go figure. -- Conrad J. Sabatier conr...@cox.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: maildrop logging overwriting instead of appending
On Fri, 30 Sep 2011, Conrad J. Sabatier wrote: Ok, I finally took the plunge today and converted my .procmailrc into a .mailfilter, adjusted my .forward file, and am now, for the most part, a contented new maildrop user. :-) Just one problem: on each invocation of maildrop, the logfile is being overwritten, rather than appended to. I have the following in my .mailfilter file (this is outside of any specific filtering rule): logfile Mail/maildrop.log Maybe use an absolute path like ~/Mail/maildrop.log or $HOME/Mail/maildrop.log? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9-Beta3 and FlashPlayer
On Fri, 30 Sep 2011 19:07:26 -0500, Conrad J. Sabatier conr...@cox.net wrote: On Fri, 30 Sep 2011 09:58:48 +0200 crsnet.pl crs...@crsnet.pl wrote: On Fri, 30 Sep 2011 16:10:29 +0900, Hiroshi Saeki hsa...@wmail.plala.or.jp wrote: I think that this issue is invoked by kernel of FreeBSD 9.0-BETA3. /usr/src/sys/kern/uipc_usrreq.c 1.244.2.2 may have problem. I recommend you to revert older kernel. For example, downgrade to FreeBSD 9.0-BETA2, BETA1. ftp://ftp2.jp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/9.0/FreeBSD-9.0-BETA1-amd64-disc1.iso may of your help. With warm regards. Hello. True, i boot today from my old kernel, and flash works fine. I can say in 100% that is problem with uipc, but i realy belive that Hiroshi have right. Strange, flash works fine for me under 9.0-BETA3. Go figure. [cr4sh@x300 ~]$ uname -a FreeBSD x300 9.0-BETA3 FreeBSD 9.0-BETA3 #3: Tue Sep 27 10:47:57 CEST 2011 cr4sh@x300:/sys/amd64/compile/GENERIC amd64 For me too. But i make csup yesterday, and when i build it. I get BETA3 but with damaged flash. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: maildrop logging overwriting instead of appending
On Fri, 30 Sep 2011 18:16:17 -0600 (MDT) Warren Block wbl...@wonkity.com wrote: On Fri, 30 Sep 2011, Conrad J. Sabatier wrote: Ok, I finally took the plunge today and converted my .procmailrc into a .mailfilter, adjusted my .forward file, and am now, for the most part, a contented new maildrop user. :-) Just one problem: on each invocation of maildrop, the logfile is being overwritten, rather than appended to. I have the following in my .mailfilter file (this is outside of any specific filtering rule): logfile Mail/maildrop.log Maybe use an absolute path like ~/Mail/maildrop.log or $HOME/Mail/maildrop.log? Well, I'll try that. The Mail/maildrop.log *is* being written to, but I've only seen at most a single delivery noted in it each time I've looked. Kinda weird. Let me see if an absolute path will somehow make a difference... -- Conrad J. Sabatier conr...@cox.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: maildrop logging overwriting instead of appending
On Fri, 30 Sep 2011 20:31:36 -0500 Conrad J. Sabatier conr...@cox.net wrote: On Fri, 30 Sep 2011 18:16:17 -0600 (MDT) Warren Block wbl...@wonkity.com wrote: On Fri, 30 Sep 2011, Conrad J. Sabatier wrote: Just one problem: on each invocation of maildrop, the logfile is being overwritten, rather than appended to. I have the following in my .mailfilter file (this is outside of any specific filtering rule): logfile Mail/maildrop.log Maybe use an absolute path like ~/Mail/maildrop.log or $HOME/Mail/maildrop.log? Well, I'll try that. The Mail/maildrop.log *is* being written to, but I've only seen at most a single delivery noted in it each time I've looked. Kinda weird. Let me correct that: I'm seeing the deliveries for a single instance of maildrop only each time, not necessarily just a single delivery. Let me see if an absolute path will somehow make a difference... Well, that didn't have any effect. Just tried using: logfile ${HOME}/Mail/maildrop.log Same behavior. This is really odd. Maybe I'll try rebuilding/ reinstalling maildrop. May be some quirk related to having built it under 9.0-BETA2 and then running it now under 9.0-BETA3? Who knows? :-) Anyway, like I just mentioned in #bsdports a few minutes ago, maildrop is already working so well, I hardly even need any logging. But I'd still like to clear up this mystery. I hate things like this! :-) As an aside to anyone still hesitant to convert from procmail to maildrop: Fear not! It's a remarkably easy transition, and the .mailfilter syntax is *so* much less arcane than procmail's. A real breath of fresh air, if I do say so. :-) -- Conrad J. Sabatier conr...@cox.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Volume control in mplayer resetting 50% when starting / stopping video clips
try the following: rm /var/db/mixer*-state sysctl hw.snd.vpc_reset=1 sysctl hw.snd.vpc_autoreset=0 echo hw.snd.vpc_autoreset=0 /etc/sysctl.conf cheers. alex Thank you very much Alex :) I was getting an error with this command: systcl hw.snd.vpc_autoreset=0 but it was a typo on my part, it sysctl not systcl :) Also, the first time I had put sysctl hw.snd.vpc_autoreset=0 in /etc/sysctl.conf and there should have been no sysctl call :) but I have fixed this. The instructions you have provided do the job and it is working on 2 out of 2 machines (8.2 amd 64 machines). I am a very happy camper! Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9-Beta3 and FlashPlayer
On Sat, 01 Oct 2011 02:31:24 +0200 crsnet.pl crs...@crsnet.pl wrote: On Fri, 30 Sep 2011 19:07:26 -0500, Conrad J. Sabatier conr...@cox.net wrote: Strange, flash works fine for me under 9.0-BETA3. Go figure. [cr4sh@x300 ~]$ uname -a FreeBSD x300 9.0-BETA3 FreeBSD 9.0-BETA3 #3: Tue Sep 27 10:47:57 CEST 2011 cr4sh@x300:/sys/amd64/compile/GENERIC amd64 For me too. But i make csup yesterday, and when i build it. I get BETA3 but with damaged flash. Hmmm, most peculiar. My last update was Wed Sep 28 04:37:01 CDT. Was your last kernel/world build a clean build? You may want to try updating your sources, nuking /usr/obj, and rebuilding/installing, just in case there's a bit of incompatible cruft lying about somewhere (not likely, I know, but it doesn't hurt to make sure). Also, I have my plugins setup in a local, rather than a system-wide fashion. I did do a normal install from ports of all of the relevant packages, but then I either copied or symlinked the needed stuff under ${HOME}/.mozilla. I remember when I first went about setting up the flash plugin and the plugin wrapper, I couldn't get it to work properly until I did this. Honestly, I don't know exactly why I've been spared from this recent round of complaints I've seen from people re: flash, acroread, etc. and the linux emulator in general. I'm just glad that I have! Must be living right. :-) -- Conrad J. Sabatier conr...@cox.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: maildrop logging overwriting instead of appending
On Fri, 30 Sep 2011 20:48:39 -0500 Conrad J. Sabatier conr...@cox.net wrote: On Fri, 30 Sep 2011 20:31:36 -0500 Conrad J. Sabatier conr...@cox.net wrote: On Fri, 30 Sep 2011 18:16:17 -0600 (MDT) Warren Block wbl...@wonkity.com wrote: On Fri, 30 Sep 2011, Conrad J. Sabatier wrote: Just one problem: on each invocation of maildrop, the logfile is being overwritten, rather than appended to. [snip] Doh! I just realized what was causing the log to be overwritten. When I was first setting up and testing my .mailfilter file, I put the following in my .forward file: |exec /usr/local/bin/maildrop 2Mail/maildrop.log || exit 75 Changing the redirection operator to , of course, solved the problem. Sheesh, I feel almost as dumb as the author(s) of Bumblebee. :-) Conrad, giving himself a well-deserved palm-whack on the forehead -- Conrad J. Sabatier conr...@cox.net|exec /usr/local/bin/maildrop 2Mail/maildrop.log || exit 75 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
dvd1 in CD image names? (was Re: FreeBSD 9.0-BETA3 available here)
On Wed, 28 Sep 2011 12:21:32 -0400 Fbsd8 fb...@a1poweruser.com wrote: FreeBSD 9.0 BETA3 is available here ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/9.0/ I've been wondering, why the recent change to using dvd1 in the names of the full CD images? These *are* CD, not DVD images, aren't they? The misnomer is more than a little misleading, and could easily cause people some difficulties. Or am I missing something here? -- Conrad J. Sabatier conr...@cox.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [0.5 OT] Looking for recommendation on Unix shell account
On Tue, 27 Sep 2011 09:29:26 -0300 Carlos A. M. dos Santos unixma...@gmail.com wrote: Hi, For reasons hard to explain I need to set-up a Unix (preferably FreeBSD) shell account that I can access from anywhere. Arbornet and PBS were the first names that came to my mind, but I'm open to other options. I don't mind paying a regular fee for it. Privacy and security are my main concerns. Thanks in advance for your recommendations. I looked briefly one night at SDF.org. http://sdf.org/?join For a contribution of, like, $1.00, you get full access, and I suspect that they're running FreeBSD (I haven't actually paid to see, but among the list of commands that *would* be available as a full member, I noticed pkg_info). -- Conrad J. Sabatier conr...@cox.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dvd1 in CD image names? (was Re: FreeBSD 9.0-BETA3 available here)
On Fri, 30 Sep 2011, Conrad J. Sabatier wrote: On Wed, 28 Sep 2011 12:21:32 -0400 Fbsd8 fb...@a1poweruser.com wrote: FreeBSD 9.0 BETA3 is available here ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/9.0/ I've been wondering, why the recent change to using dvd1 in the names of the full CD images? These *are* CD, not DVD images, aren't they? They are ISOs. You can burn them to either a CD or a DVD, since they are small enough to fit on a CD. -- Chris Hill ch...@monochrome.org ** [ Busy Expunging / ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Printing using CUPS
El día Friday, September 30, 2011 a las 04:57:14PM -0400, Carmel escribió: I am in the process of setting up a Brother MFC-9560CDW printer on a FreeBSD-8.2 amd64 machine. It is a network printer and works fine with the Windows machines on the network. Not so much with the FreeBSD machine. CUPS detects the printer: Description: Brother MFC-9560CDW Location: Local Printer Driver: Brother MFC-9560CDW CUPS (color, 2-sided printing) Connection: lpd://BRW0022587025CB/BINARY_P1 Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided However, the connection does not work correctly. I changed it to:lpd://192.168.1.100/BINARY_P1 and I can print a self text page from CUPS. However, I cannot print a test page from within CUPS, nor can I print anything from any other application. I have perused the log files without any success. This limited printing has got me totally baffled. I am open to suggestions as to what to try next. While configuring the printer in CUPS, have you used some PPD file? If so, check the PPD file which filter it will use. Set also the LogLevel to 'debug' in cupsd.conf, print a text file and check the messages in CUPS' log file. HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org