ANNOUNCE: 64 bit 8.0-RELEASE-p1 Custom XFCE build available
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, I have just completed the long awaited, first 64bit build of the 'Custom releases' project hosted here: http://freebsd-custom.wikidot.com You may download the ISO file immediately using the downloads page: http://freebsd-custom.wikidot.com/downloads-page This release is based on the latest XFCE desktop and includes a wide variety of desktop-related packages, like OpenOffice, abiword, gnumeric, firefox35, gimp, inkscape, evince and so on. The base system is 8.0-RELEASE-p1 which includes the latest security fixes. Make sure to read the README file: http://freebsd.dev-urandom.com/iso/amd64/README.TXT as it contains important information on installation and esp. a few steps that are required for a successful install. In particular note: * The 'doc' set (FreeBSD documentation) is not included in this release due to problems in the related package builds. We will include them in next releases when the problem is resolved. * The 'libchek-0.9.8' will have to be selected manually in the package selection dialog. This seems to be a problem with the INDEX file. * Installing linux related packages during initial setup needs a few more steps. This is due to differences in sysinstall between 7.X and 8.0 releases. A detailed explanation is provided in the README file. As always, please report any problems, success stories, comments and criticisms to mano...@freebsd.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAks1yCYACgkQZ/MxGm4PtJT1VACdGI9nn/MFWmvanW6L5gfqIe6W sS4AnRpLq2W+49upLFWyIKEV1pgU5Dj9 =vap7 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd for children
http://www.xm1math.net/algobox/index.html is a very nice french software for beginer be seeing you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Punam Chowhan sent you a private message on Feed Share - please respond
[1]If you can't see this email please click here to respond [t_no_photo.gif] Punam Chowhan Punam Chowhan has added you as a friend Is Punam Chowhan your friend? Click Yes if Punam Chowhan is your friend, otherwise click No. But you have to click! Please respond or Punam Chowhan may think you said no :( [2]Click here to block all emails from Infoaxe Inc., 440 N.Wolfe Rd, Sunnyvale, CA. 94085. [3]Privacy Policy References Visible links 1. http://invites.infoaxe.com/signup_e.html?fullname=email=freebsd-questi...@freebsd.orginvitername=Punam%20Chowhaninviterid=2482079 2. http://invites.infoaxe.com/unsubscribe.jsp?email=freebsd-questi...@freebsd.orgiid=106219289 3. http://invites.infoaxe.com/privacy.html Hidden links: 4. http://invites.infoaxe.com/signup_e.html?fullname=email=freebsd-questi...@freebsd.orginvitername=Punam%20Chowhaninviterid=2482079 5. http://invites.infoaxe.com/signup_e_no.html?fullname=email=freebsd-questi...@freebsd.orginvitername=Punam%20Chowhaninviterid=2482079 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: location of discussion of lives
leeoliveshackelf...@surewest.net wrote: Good morning, dear FreeBSD enthusiast. Can you help me to negotiate the FreeBSD website? I am trying to find a general discussion about livefs. I have not been successful at entering the correct sequence of search terms to find a general discussion about this topic. I would like to know what this feature does, and the situation in which a user would wish to install it. My question would refer to either release 7 or release 8. Thanks for any and all enlightenment. Yours truly, Lee S. 'livefs' is not something I recognize that you can install like that. In fact, it's not something I heard of in exactly those terms. About the closest thing is 'live filesystem' -- which is usually used in the context of the .iso CD/DVD images used for installation. In this sense, the installation media contain a ready-to-run copy of FreeBSD, and it's 'live' in the sense that you can just boot up from one of the CDs and drop into a fully function copy of the OS running from the CD. ie. it's an ordinary filesystem, but presented so that it can be used live. To do this, boot from FreeBSD installation media, and select 'Fixit' mode from the main menu, then (I think) 'Live Filesystem' from the next screen. Note that although this is a fully functional FreeBSD system, it's *just* FreeBSD -- no add-on software. Which means: no X windows, no graphical applications. You will need to be capable with a Unix CLI to use it. If you want a Live-CD with all the glitz and windowing stuff, then search for Freesbie -- the projects main page should be at http://www.freesbie.org/ but it seems to have been down for some months. You can still get the disk images though. eg: http://ftp.uk.freesbie.org/sites/ftp.freesbie.org/pub/FreeSBIE/ 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: clicky driver
Gary Kline wrote: The short answer [Guess] is no, I dont think so. If getting the keys to have an auditory feedback with beeps or shorter clicks were that easy, it would have been done after 15 years. Even Linux lacks this--and I'd bet Minux too. Uh, it was done years ago. Look at the xset(1) manual page -- there are options there to turn on key-click. They've been there since before the millennium as I recall. Most people find key-click intensely annoying (even more so if it's on someone else's machine) so it's turned off by default. As it's an X windows thing, it should be available on any OS where you can run an X server, so any Linux or FreeBSD. Of course, you will need some sort of speaker in the machine to generate the noises, but that can be very rudimentary. If your machine can emit a beep, then it can probably do key click too. 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: Wireless USB adapter
On 12/26/09, Roland Smith rsm...@xs4all.nl wrote: On Fri, Dec 25, 2009 at 05:24:32PM +0100, Paul B Mahol wrote: On 12/25/09, Carmel carmel...@hotmail.com wrote: On Fri, 25 Dec 2009 15:29:20 +0100 Paul B Mahol one...@gmail.com replied: Argh, sorry but 7.2 doesnt have NDIS usb support. You need FreeBSD 8.0 I have been reading up on this. So I assume that it is not possible to get this adapter working under FreeBSD-7.2 then. Is there a native driver for this adapter under 8.0 or will I need to build the driver from the Windows driver? On 8.0 you can use NDISulator or run(4) driver, for the last solution search forums.freebsd.org There exists a run(4) in OpenBSD that suppports the RT2870 in the WUSB600N. But not in FreeBSD yet, not in 8-STABLE http://svn.freebsd.org/viewvc/base/stable/8/sys/dev/usb/wlan/ and not even in HEAD; http://svn.freebsd.org/viewvc/base/head/sys/dev/usb/wlan/ I did not said that run(4) is available in STABLE or HEAD. I said that code for HEAD and STABLE is available on the net. -- Paul B Mahol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clicky driver
At 2009-12-26 09:36:14+, Matthew Seaman writes: Uh, it was done years ago. Look at the xset(1) manual page -- there are options there to turn on key-click. They've been there since before the millennium as I recall. Most people find key-click intensely annoying (even more so if it's on someone else's machine) so it's turned off by default. I seem to recall an irritating colleague who had click turned on, circa 1990. Nick 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: Upgrade 7.0 to 7.2 installworld failed - SOLVED
On 25/12/2009 00:44, Mel Flynn wrote: Take the reboot out of the equation and keep it simple: su to root mkdir /usr/testdir cd /usr/src env -i make buildworld env -i make installworld DESTDIR=/usr/testdir Kernel has nothing to do with installworld target. Taking the reboot out of the equation with the normal process doesn't make a difference however using env -i doe thus it must be a setting. Can I safely rm /ust/testdir without anything breaking now? On 25/12/2009 06:36, Igor V. Ruzanov wrote: These things are for cvsup utility setup and they are not invoked to point on options responsible for specific system building. Try to add the following lines to /etc/make.conf: CFLAGS= -O -pipe NO_FORTRAN= true NO_OBJC=true NO_X= true NO_GAMES=true NO_PROFILE= true and re-make buildworld, then make installworld. When I run cvsup it uses a specific supfile anyway that has much the same settings, I think the ones in make.conf are there for one of my nightly port updating scripts. Adding the options you have mentioned to make.conf however made no difference to the installworld error. Thus I started playing I took out the following which make it work: #PERL_VERSION=5.8.9 #BATCH=YES #CRYPT_DES=0 #WITHOUT_ALT_CONFIG_PREFIX=YES Take your pick as to which one it was but I thought I'd post back so anyone else having the problem can look into it. Its a bit odd that moving make.conf aside didn't work though so there must be some other stuff in make.conf that is also required to prevent the problem.. Thanks for all the help folks! Now on to the ports... -- Regards, Colin Waring, +44 (0)1704 564047 Southport Computers Local IT Support http://www.southportcomputers.co.uk Southport Web Web Design and Hosting Services http://www.southportweb.co.uk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firefox 3.5 and Epiphany crashing since the GNOME 2.28 update
On Fri, 25 Dec 2009 21:36:36 -0800 (PST) Neil Short nesh...@yahoo.com wrote: I am suddenly running into the same problem. I was running Firefox 2.0... and when I right-clicked an image and selected save as the program segment-faulted. I upgraded to firefox-3.0.16_1,1. Same issue. I'm guessing it's related to some other port that got updated along the way. Data: FreeBSD 7.2-RELEASE Running blackbox-0.70.1_2 == Please check your disk space (esp. the free space for your home directory and /tmp). Firefox will almost crash if there aren't any available blocks for saving/temporary files. Regards, -- Anh Ky Huynh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portaudit php vulnerabilities
On Fri, 25 Dec 2009 23:45:39 -0800 Nerius Landys nlan...@gmail.com replied: For the past week or so, portaudit has been warning me that the installed version of php on my system (php5-5.2.11_1) has known vulnerabilties. Fair enough. However, I've not seen a fix in the ports tree since then. Is my only option to deinstall php until this gets fixed? Hi. I've been experiencing the same problem. Apparently 5.2.12 is not in the ports yet, but probably will be soon. If found it necessary to do some port-related commands even though 5.2.11 is currently blacklisted by portaudit. You can use DISABLE_VULNERABILITIES in your commands as outlined here until there is an updated port: Same problem here. I was going to update to FreeBSD-8 this weekend; however, I thought better of it. As sure as death and taxes, I know that as soon as I install FBSD-8 with PHP the new version of PHP will become available. I'll install it and something will break. I'll just wait until this problem is resolved. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | Genuine happiness is when a wife sees a double chin on her husband's old girl friend. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clicky driver
//* OFFLIST On Fri, 25 Dec 2009 15:50:48 -0800, Gary Kline kl...@thought.org wrote: On Fri, Dec 25, 2009 at 10:53:43PM +0100, Polytropon wrote: On Fri, 25 Dec 2009 13:37:13 -0800, Gary Kline kl...@thought.org wrote: There are a few who actually *do* have text-only pages. And fewer do have alt= and longdesc= for included images. Being suitable for blind users doesn't mean to completely look boring to viewing users. Careful HTML coding is the key. But sadly, it's not considered modern... :-( Right on the money there! I suppose it's easier to slap up some pix. maybe I do things with fewer photos because I hand-code html. In any case, I'm very conscious of my markup; I always check it via lynx . I work the same way, but I even apply the step of validating the HTML code through W3C validator. I would appreciate an urge to web developers to code valid HTML. And web browsers should implement it. Then all the scary non-HTML pages could not be viewable anymore, the browser shows nothing, or gives an error message: The page you're intending to view does not contain valid HTML and cannot be displayed. Contact the author to request a valid version of the document. :-) Education is the only solution, even tho it will take generations. That's why I think the XO is a win++ It can help, if properly used. Wrong use can lead into the opposite. I can only tell you from Germany where school and education are epically failing since 1990, even though they employ modern means of education... a joke from an educational (scientifical) point of view. Are there regional differences, still? East/west? whatever? Of course. First off all, basic education in the eastern part (GDR) is still a bit better due to better teachers who are still on duty. In the western part (FRG), education is worse, basically. Then, there are differences between the federal countries. There's no common educational concept. Schools are organized differently (different layers, different names, different degrees), horizontally and vertically. Degrees are not comparable inside Germany, so for example when you leave Gymnasium (high school) in Hamburg, you can join a university in Hamburg, but you cannot join a university in Munich because it doesn't recognize your degree from Hamburg. There are no common teaching plans. If you move from Leipzig to Hannover, you're doomed. The GDR didn't have those problems. Teaching plans were the same in every school. Same plans, same books, same speed. Results were comparable. Sweden has adopted the unified GDR educational system, with success. In the FRG, education selects the future of the children by the income of their parents. If you have rich parents, you can affort to go to Gymnasium (high school, 13 years) and go to university later on. If your parents are poor, e. g. unemployed, you have to go to Hauptschule (main school, 8 years), and maybe Realschule (real school, 10 years), but you cannot go to university with such a degree. You will even have major problems finding a professional education in order to get a job. The levels of how good schools are considered in society have lowered through the years. In approx. 1995, Gymnasium was over-qualified, Realschule was ideal for a very good job and Hauptschule was good for a normal job. 10 years later, in approx. 2005, everything was shifted , with Hauptschule now just for a helper job, e. g. carrying sand bags on a building site. Today, this is what Real- schule was, again shifted , and Hauptschule is the direct way to unemployment after school. And how does GErmany stack up compared to the rest of the EU? Quite bad. The reason is simple: Basal knowledge isn't taught in schools anymore. After 8 or 10 years, there are still massive deficites in reading and basic calculating. Other copuntries in the EU are already recognizing the development and are investigating about how to improve the educational system. The FRG, of course, can't do that. Today's educational system is the same as of Kaiser's and Hitler's time. So it CANNOT BE CHANGED. Period. A good comparison is Japan or China. The first stages of education are quite frontal. Basic things are repeated until you can rely on them. Later on, there's no repeatition anymore. And why? Because it isn't needed. Pupils and teachers can rely on their presence. The GDR had the concept of the Kindergarten, which prepared children for school, equipping them with basic knowledge and some handcrafting skills. And the States. I always considered the States to have not a very good educational system (this is due to how Americans are precepted here, especially on TV), but it has one advantage which I consider very modern: It gives you the right NOT to send your kids to a public school (where they have to wear weapons and are slapped into the face by classmates if they don't hand over their money or mobile phone),
Re: setlocale command is missing
On Sat, 26 Dec 2009 02:04:44 +0100, Daniel Dvořák dan...@hellteam.net wrote: BTW in mc there is not any settings with display bits, there is only options menu with display bits. Wrong help dialogs ? The ini file for MC contains: .mc/ini:use_8th_bit_as_meta=0 .mc/ini:display_codepage=Other_8_bit But I didn't find a menu / setting corresponding to the first setting which I had to change from 1 to 0 manually in order to use Umlauts in the MC editor. Therefore, I have set the LC_* variables to en_US.ISO8859-1 or de_DE.ISO8859-1 respectively. Did you include the language part of the LC setting, as well as the correct charset name? -- 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: clicky driver
On Sat, 26 Dec 2009 02:43:56 +0100, Roland Smith rsm...@xs4all.nl wrote: On Fri, Dec 25, 2009 at 12:47:49PM -0800, Gary Kline wrote: Nothing tactile, and because neither Linux nor BSD has an audio click, not even that. Sun does have a command line It should. The X window system provides a way to get keyclicks with xset(1). The command 'xset c 100' whould generate the loudest click possible. Whether you hear something depends e.g. on how the X server is started, and wether the hardware supports it. On my PC I hear the 'bell' from the PC speaker, but no clicks. Same here, too. Even xset c on (as mentioned in man xset) doesn't work. Maybe the AT / USB keyboard is missing a speaker. The Sun type = 4 keyboards included one. :-) -- 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: clicky driver
On Fri, 25 Dec 2009 20:23:22 -0800, Gary Kline kl...@thought.org wrote: What I've got to do is pick up where I kwit ten years ago with the kernel driver code and drop the the code to make the speaker-audio create tiny, brief clicks, preferably low, thunky sounds like ye ancient IBM Selectrics. Connect an IBM 3270 to your server and you'll have the keyclicks implemented in hardware. :-) -- 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: clicky driver
On Sat, 26 Dec 2009 13:01:07 +0100, Polytropon free...@edvax.de wrote: //* OFFLIST Sorry, hit the wrong button - I hope it doesn't bother anyone. If it does, don't read it. Outdoor concert will start today at 3 p.m., but if it rains a 3 p.m., we'll already begin at 1 p.m. :-) -- 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: clicky driver
On Fri, 25 Dec 2009 20:23:22 -0800 Gary Kline kl...@thought.org wrote: On Sat, Dec 26, 2009 at 01:10:45AM +, Chris Whitehouse wrote: Gary Kline wrote: On Fri, 25 Dec 2009 13:37:13 -0800, Gary Kline kl...@thought.org wrote: at first I'm lookings for a cots (commericial, off-the-shelf) solution. The XO has stereo speakers and so do the notebooks. I am thinking of the 'PC speaker'; something that would sound for around a 25th/second, very low and with at least some loudness control. Hi Gary, someone posted recently about the play-string language for /dev/speaker, see speaker(4). Could you do something with that? btw thanks to whoever posted the play-string code for frere jaques - cracked me up :) Chris Yeah :) I play little tunelets on certain battery power events, when some IP gets blacklisted by some logtailing script, things like that. Wow; the stuff I've never heard about:-) --I just tried spkrtest and have no /dev/speaker. # kldload speaker device speaker isn't in kernel GENERIC. If it doesn't work immediately, try adding speaker_load=YES to /boot/loader.conf .. this assumes that your box _has_ a working speaker, eg beeps once while booting? Some laptops use the sound'card' for speaker, and provide a mixer level. The short answer [Guess] is no, I dont think so. If getting the keys to have an auditory feedback with beeps or shorter clicks were that easy, it would have been done after 15 years. Even Linux lacks this--and I'd bet Minux too. What I've got to do is pick up where I kwit ten years ago with the kernel driver code and drop the the code to make the speaker-audio create tiny, brief clicks, preferably low, thunky sounds like ye ancient IBM Selectrics. You can do quite a lot with various tempos, intervals and frequencies; see speaker(4) and play around. Making a short click or thunk! should be easy enough, but spkrtest and echoing playstrings /dev/speaker are userland processes; I've no idea how much 'fun' it would be to invoke /dev/speaker ioctls from the kbd drivers. But if you're really keen: % find /sys/ -name speaker* -o -name spkr* cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
stylesheet not loading..
Hello people.. Well, maybe this is not the prober list to ask, but as long we all use FreeBSD and i wonder if someone had this problem : I'm on FreeBSD 7.2-R P5 PHP 5.2.11 (most extensions installed) apache-2.0.63_3 MySql4.1 I have noticed stylesheet is not loading within this server.. i have tried to disable extensions, enable others.. I added .css in httpd.conf, deinstalled many packages and installed others.. Webages with stylesheets never loads, pages broken and only plain texts.. no frames no css files loaded. I have moved the website with css stuff to another FreeBSD 4.8 with apache2 mysql4-1 and it works just fine. I have copied the httpd.conf from the working server (4.8-R) to 7.2-R still css nothing loads.. anyone has anything similar to this problem with this combination of FreeBSD 7.2, php 5.2.11 and apache2 ? Thank you -Marwan _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/171222985/direct/01/___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: example c program that does beep
On Fri, Dec 25, 2009 at 08:49:14PM +0100, Polytropon wrote: On Fri, 25 Dec 2009 18:58:26 +, Anton Shterenlikht me...@bristol.ac.uk wrote: How can I get a beep from c? I looked at curses and syscons.c, but still not clear. If you want to use NCURSES / CURSES, it's a bit complicated. Otherwise, just output %c (the character) 0x07, BEL, which generates an audible bell, or beep. *** text/plain attachement has been stripped *** RETRY *** /* beepflash.c * --- * cc -Wall -lcurses -o beepflash beepflash.c * */ #include stdio.h #include ncurses.h int main(int argc, char *argv[]) { initscr(); cbreak(); noecho(); nonl(); intrflush(stdscr, FALSE); keypad(stdscr, TRUE); start_color(); printf(beep: %d\n, beep()); fflush(stdout); printf(flash: %d\n, flash()); fflush(stdout); return 0; } Instead of a beep and a flash I get: beep: 0./beepflash flash: 0 HAMOR on the console. Hamor is a tcsh prompt. Maybe something is wrong with my installation? Or maybe I'm too stupid and missed something obvious? thank you -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: example c program that does beep
On Fri, Dec 25, 2009 at 02:02:19PM -0500, Joe Marcus Clarke wrote: On Fri, 2009-12-25 at 18:58 +, Anton Shterenlikht wrote: How can I get a beep from c? I looked at curses and syscons.c, but still not clear. Could somebody send me an example. I'd be soo grateful. #include stdio.h int main(int argc, char **argv) { printf(%c, 7); return(0); } Doesn't seem to do anything. Maybe there's something wrong with my sound? But mp3 player seems to come out ok. Or maybe I missed something obvious.. thanks a lot anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: example c program that does beep
On Sat, Dec 26, 2009 at 03:33:27PM +, Anton Shterenlikht wrote: On Fri, Dec 25, 2009 at 08:49:14PM +0100, Polytropon wrote: On Fri, 25 Dec 2009 18:58:26 +, Anton Shterenlikht me...@bristol.ac.uk wrote: How can I get a beep from c? I looked at curses and syscons.c, but still not clear. If you want to use NCURSES / CURSES, it's a bit complicated. Otherwise, just output %c (the character) 0x07, BEL, which generates an audible bell, or beep. *** text/plain attachement has been stripped *** RETRY *** /* beepflash.c * --- * cc -Wall -lcurses -o beepflash beepflash.c * */ #include stdio.h #include ncurses.h int main(int argc, char *argv[]) { initscr(); cbreak(); noecho(); nonl(); intrflush(stdscr, FALSE); keypad(stdscr, TRUE); start_color(); printf(beep: %d\n, beep()); fflush(stdout); printf(flash: %d\n, flash()); fflush(stdout); return 0; } Instead of a beep and a flash I get: beep: 0./beepflash flash: 0 HAMOR That sounds about right, given the code shown above. If you'd used just beep(); refresh(); instead of the printf/fflush, it would clear the screen and beep - if the terminal description says it can do the beep. In the ncurses sources, progs/clear.c is a simple program which sets up the terminal and calls the tputs function - something like what you're trying to do. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpJ5yl6kbLCZ.pgp Description: PGP signature
Re: example c program that does beep
On Sat, Dec 26, 2009 at 11:50:06AM -0500, Thomas Dickey wrote: instead of the printf/fflush, it would clear the screen and beep - if the terminal description says it can do the beep. I have echo $TERM xterm xterm can do beep, can't it? But I can't get it to beep on anything. I probably don't get some basic idea.. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@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-questions Digest, Vol 290, Issue 12
Hello, I am looking a convenient way using C to retrieve the current CPU and memory utilization of a process of which I have the pid. Can somebody please give me a hint of which system-calls/library-functions to use for this ? I don't want to use the system() function or grep for information via the /proc filesystem. I would be grateful if you could also please mention whether the suggested method[s] is/are FreeBSD-specific or would be portable to other environments like Solaris/Linux ? Thanks for any help. Regards Happy New Year Manish Jain invalid.poin...@gmail.com freebsd-questions-requ...@freebsd.org wrote: Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-requ...@freebsd.org You can reach the person managing the list at freebsd-questions-ow...@freebsd.org When replying, please edit your Subject line so it is more specific than Re: Contents of freebsd-questions digest... Today's Topics: 1. setlocale command is missing (Daniel Dvo??k) 2. Re: clicky driver (Roland Smith) 3. Package Dependency Issue (Joseph L. Casale) 4. Re: setlocale command is missing (Rolf G Nielsen) 5. Fwd: location of discussion of livefs (leeoliveshackelf...@surewest.net) 6. Failed port upgrade (Rem P Roberti) 7. Re: freebsd for children (Ian Smith) 8. Re: clicky driver (Gary Kline) 9. Re: clicky driver (Gary Kline) 10. portaudit php vulnerabilities (Aleksandr Miroslav) 11. Re: Firefox 3.5 and Epiphany crashing since the GNOME 2.28 update (Neil Short) 12. Re: portaudit php vulnerabilities (Nerius Landys) 13. ANNOUNCE: 64 bit 8.0-RELEASE-p1 Custom XFCE build available (Manolis Kiagias) 14. Re: freebsd for children (Dh?nin Jean-Jacques) 15. Punam Chowhan sent you a private message on Feed Share - pleaserespond (Punam Chowhan) 16. Re: location of discussion of lives (Matthew Seaman) 17. Re: clicky driver (Matthew Seaman) 18. Re: Wireless USB adapter (Paul B Mahol) 19. Re: clicky driver (Nick Barnes) 20. Re: Upgrade 7.0 to 7.2 installworld failed - SOLVED (Colin) 21. Re: Firefox 3.5 and Epiphany crashing since the GNOME 2.28 update (Anh Ky Huynh) 22. Re: portaudit php vulnerabilities (Jerry) -- Message: 1 Date: Sat, 26 Dec 2009 02:04:44 +0100 From: Daniel Dvo??k dan...@hellteam.net Subject: setlocale command is missing To: freebsd-questions@freebsd.org Message-ID: 9ffca7e178c44c10994e4c52ac40e...@tocnet28.jspoj.czf Content-Type: text/plain; charset=utf-8 Hi, I updated a mc port to the last one, version 4.7.0pre4 and wanted to run mc, but mc display a warning message that the selected display charset or source codeset does not match one set via locale. I have never seen this message since I am a user of mc. Propably it is something new in this new version. The version 4.6.2 does not show you this message durring starting application. I wanted to set my locale, but I found out that command setlocale is missing on FreeBSD 7.2. Files in directory /etc: login.conf, login.conf.db, csh.login and profile are set as HANDBOOK recommends for language localization. My shells are bash, tcsh or zsh, csh for root user. The results are the same. bash: [u...@server ~]$ LC_ALL=ISO-8859-2; export LC_ALL -bash: varovánÃ: setlocale: LC_ALL: cannot change locale (ISO-8859-2): No such file or directory zsh: server% setlocale LC_ALL ISO-8859-2 zsh: command not found: setlocale tcsh: setlocale LC_ALL ISO-8859-2 setlocale: Command not found. root csh: server# setlocale LC_ALL ISO-8859-2 setlocale: Command not found. So my simple question is why is setlocale command missing in FreeBSD 7.2 ? And if user could not use locale and setlocale commands like on Linux, how can I solve my problem with new version of MC ? The mc message: Confirmation Chosen display charset (Settings-Display bits) or source codeset (in mcedit ctrl-t) does not match one set via locale. Set correct codeset manually or press Fix it to set locale default. Or set 'don' task again' and press Skip [ ] don't ask again [ Fix it ] [ Skip ] BTW in mc there is not any settings with display bits, there is only options menu with display bits. Wrong help dialogs ? Thank you Daniel -- Message: 2 Date: Sat, 26 Dec 2009 02:43:56 +0100 From: Roland Smith rsm...@xs4all.nl Subject: Re: clicky driver To: Gary Kline kl...@thought.org Cc: FreeBSD Mailing List freebsd-questions@freebsd.org Message-ID: 20091226014356.gb10...@slackbox.xs4all.nl Content-Type: text/plain; charset=us-ascii On Fri, Dec 25, 2009 at 12:47:49PM -0800, Gary Kline wrote:
Ssh: Disconnecting: Corrupted MAC on input
Hi, I am seeing a problem using ssh with a long-running job. After some time, it shuts down, reporting Disconnecting: Corrupted MAC on input. Sometimes it reports a checksum error instead. Sometimes it runs to completion (which takes about two hours). This is between two 7.2 machines; it also occurs between one 7.2 machine and a 5.4 machine (which I will convert as soon as I have all my stuff running properly on 7.2). I'm using ssh here because I need to pipe a large data stream from machine to machine. When it works--and it will sometimes work for days on end--it's great. But recently this problem has become the rule rather than the exception. Any ideas? Mark Terribile materrib...@yahoo.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
Re: example c program that does beep
On Sat, 26 Dec 2009 17:16:23 +, Anton Shterenlikht me...@bristol.ac.uk wrote: On Sat, Dec 26, 2009 at 11:50:06AM -0500, Thomas Dickey wrote: instead of the printf/fflush, it would clear the screen and beep - if the terminal description says it can do the beep. The exanple I posted displays the return code of the functions, which is of (int) type. Of course, the common way to use them is to just call beep(); and it should beep if the terminal can do it. I have echo $TERM xterm xterm can do beep, can't it? It can. I've just checked from within the xterm terminal emulator. Are you possibly using Konsole or the Gnome terminal program, or rxvt? In fact, it shouldn't matter. But I can't get it to beep on anything. I probably don't get some basic idea.. You're sure that yu haven't turned beeping completely off with some xset call? As far as I remember, for simple beeping, the speaker device (device SPEAKER or speaker_load=YES) isn't required. Maybe some wild mixer-settings? -- 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
alerts for stopped daemons
Hi all, I was wondering how I can configure bsd to send an email or sms when a daemons stops running- i.e. perl5.10.0 stops for whatever reason send alert. thx and happy holidays ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: alerts for stopped daemons
Jean-Paul Natola jnat...@familycareintl.org wrote: Hi all, I was wondering how I can configure bsd to send an email or sms when a daemons stops running- i.e. perl5.10.0 stops for whatever reason send alert. net-snmp can do this. So can Nagios and a slew of other monitoring/ reporting packages. -- Bill Moran http://www.potentialtech.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
Re: example c program that does beep
On Sat, Dec 26, 2009 at 08:08:52PM +0100, Polytropon wrote: On Sat, 26 Dec 2009 17:16:23 +, Anton Shterenlikht me...@bristol.ac.uk wrote: On Sat, Dec 26, 2009 at 11:50:06AM -0500, Thomas Dickey wrote: instead of the printf/fflush, it would clear the screen and beep - if the terminal description says it can do the beep. The exanple I posted displays the return code of the functions, which is of (int) type. Of course, the common way to use them is to just call beep(); and it should beep if the terminal can do it. I have echo $TERM xterm xterm can do beep, can't it? It can. I've just checked from within the xterm terminal emulator. Are you possibly using Konsole or the Gnome terminal program, or rxvt? In fact, it shouldn't matter. it's on a text terminal, without X looks like it's sparc issue, I do get beeps with this code on ia386. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: example c program that does beep
On Sat, Dec 26, 2009 at 05:16:23PM +, Anton Shterenlikht wrote: On Sat, Dec 26, 2009 at 11:50:06AM -0500, Thomas Dickey wrote: instead of the printf/fflush, it would clear the screen and beep - if the terminal description says it can do the beep. I have echo $TERM xterm xterm can do beep, can't it? usually. I broke it (and fixed it) last spring. There's a workaround by setting a resource value, noted in the change comment: http://invisible-island.net/xterm/xterm.log.html#xterm_243 -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpNznqBird5K.pgp Description: PGP signature
(no subject)
Hello, I have a question about a ethernet card is supported or not in freebsd? 32-bit PCI,Realtek RTL8169S http://www.komplett.no/k/ki.aspx?sku=120787 Best Regards Erik Hildrum Saltveit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (no subject)
Hi On Sat, Dec 26, 2009 at 1:46 PM, Erik Hildrum Saltveit erik.hildrum.saltv...@gmail.com wrote: Hello, I have a question about a ethernet card is supported or not in freebsd? 32-bit PCI,Realtek RTL8169S You should use a more descriptive subject next time. The re(4) driver appears to support this device in 7.2 and 8.0. Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
flash-plugin and epiphany
Hello, my desktop's memory is so low (256M). Therefore i can not run firefox. Instead, i'm running epiphany. That's too proper to me. Anyway is there any way to install flash plugin with epiphany? Currently, my version is 8.0-RELEASE. Really i want to see YouTube under FreeBSD! Sincerely, -- When the guests have left. Genco will wait for me. -- Vito Corleone, Chapter 1, page 41 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: flash-plugin and epiphany
On Sun, Dec 27, 2009 at 06:01:17AM +0900, Byung-Hee HWANG wrote: Hello, my desktop's memory is so low (256M). Therefore i can not run firefox. Instead, i'm running epiphany. That's too proper to me. Anyway is there any way to install flash plugin with epiphany? Currently, my version is 8.0-RELEASE. Really i want to see YouTube under FreeBSD! Why don't you just use something like dl-youtube, and then use mplayer or something to view the video? Oh, and last I checked, RAM is cheap --- why can't you at least get 512? -- Thomas Adam -- It was the cruelest game I've ever played and it's played inside my head. -- Hush The Warmth, Gorky's Zygotic Mynci. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RFC: Fam/Python based script for bruteforce blocking
On 2009-12-19 (Sat) at 03:38:26 -0900, Mel Flynn wrote: Well, my first problem with it is obviously that I now need python, where I don't want python. In fact, my firewalls/gateways only have /bin/sh and /bin/csh as scripting languages. It's one reason I switched from custom sysutils/grok rules to using security/sshguard - it got me rid of perl. That makes sense -- I'm using it on a general purpose server as opposed to a dedicated firewall box. Secondly, you have matching rules coded in the script. If there would be one reason to prefer this script over sshguard, it would be that I can add attack patterns more easily, in config file with a syntax that's not too obscure. Interesting thought, I will definitely make the matching rules configurable and potentially make possible to monitor multiple logfiles for attack patterns (potentially configurable per-logfile). Last but not least, you assume that once an IP is at fault, I want that IP blocked permanently. In practice you end up with an extremely large table that might eventually be too big for a default PF table and recurring scans from the same IP are not that common (you see the IP in a 12-24 hour window, then not again). You've misread the script. IPs are expired after a configurable number of seconds. Hope this helps. Thanks kindly for the feedback! --Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clicky driver
On Sat, Dec 26, 2009 at 09:36:14AM +, Matthew Seaman wrote: Gary Kline wrote: The short answer [Guess] is no, I dont think so. If getting the keys to have an auditory feedback with beeps or shorter clicks were that easy, it would have been done after 15 years. Even Linux lacks this--and I'd bet Minux too. Uh, it was done years ago. Look at the xset(1) manual page -- there are options there to turn on key-click. They've been there since before the millennium as I recall. Most people find key-click intensely annoying (even more so if it's on someone else's machine) so it's turned off by default. Oh, yeah. In the late 80's when I joined my Nth startup and worked with several fellow hackers in a large room, my Sun was the only one with the click turned on. It drove my fellow programmers nuts, but that wasn't much I could do. If there were a speaker jack on the 3/80 computers, I would have been willing to wear earphones... As it's an X windows thing, it should be available on any OS where you can run an X server, so any Linux or FreeBSD. Of course, you will need some sort of speaker in the machine to generate the noises, but that can be very rudimentary. If your machine can emit a beep, then it can probably do key click too. It beep--my old Dell, just extremely faint. My hearing is still good--it's amazing I'm not out chasing cars. But I've tried turing on the key click. Zero. This older computer was high end in 2003 but I don't remember seeing a real speaker, so if it's some IC that's producing the 'beep', I'm outta luck. ...I'm staring at xset.c; maybe the clues are in there. Nothin in the README. gary PS: HA: the click percent is set to the SERVER_DEFAULT. (-1) well, golly-gee-wilikers... . 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a 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
which IP+gateway for Freebsd guest VM in VMware workstation
VMWare has lots of info how to set up the (Windows XP) VMWare Workstation networking side, but not much on setting up networking in the guest OS. I've tried NAT and bridging, no DHCP, and can't ping anything except the localhost IPs. XP ipconfig shows the fixed IP, plus 2 192.168.c.d IPs from VMnet1 and VMnet8. I'm sure this is really simple, but my experimentation has come up with zilch. Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clicky driver
On Sat, Dec 26, 2009 at 01:14:46PM +0100, Polytropon wrote: On Fri, 25 Dec 2009 20:23:22 -0800, Gary Kline kl...@thought.org wrote: What I've got to do is pick up where I kwit ten years ago with the kernel driver code and drop the the code to make the speaker-audio create tiny, brief clicks, preferably low, thunky sounds like ye ancient IBM Selectrics. Connect an IBM 3270 to your server and you'll have the keyclicks implemented in hardware. :-) [Heart throb.] about one of those beasts is my limit. An office full of people thunk-thunking on those things would have driven me around the bend. ... . 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 http://jottings.thought.org http://transfinite.thought.org The 7.79a 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
Sendmail client configuration to connect to ISP's SMTP server
What configuration do I need to set in my freebsd.submit.mc in order to connect to the ISP's SMTP server? The ISP is blocking all the emails unless it goes through their mail server, so I need my FreeBSD box to connect to the ISP's SMTP server for outbound emails. The client also needs to be authenticated as well. Please help Thanks Afi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clicky driver
On Sat, 26 Dec 2009 13:42:33 -0800, Gary Kline kl...@thought.org wrote: Oh, yeah. In the late 80's when I joined my Nth startup and worked with several fellow hackers in a large room, my Sun was the only one with the click turned on. It drove my fellow programmers nuts, but that wasn't much I could do. If there were a speaker jack on the 3/80 computers, I would have been willing to wear earphones... On early 386 PCs where there was a real powerful speaker inside the box, I created a headphone out by removing the speaker and replacing it by a 3.5mm jack, so I could attach earphones. A program I wrote could output waveform data through the PC speaker (in absence of a real sound card), so this was a kind of do it yourself soundcard. Imagine the fun of connecting a PA. :-) This older computer was high end in 2003 but I don't remember seeing a real speaker, so if it's some IC that's producing the 'beep', I'm outta luck. In modern PCs, the speaker is often replaced by a kind of micro-speaker, a black cylindrical object with 0.5mm radius and a small hole in its top. It's a kind of piezo-speaker, sufficient for a friendly little Beep! at boot time. The development of recent PCs, as well as of notebooks and netbooks, makes me think that there won't be a speaker (a physical one) in the future anymore. On some systems, e. g. a Siemens-Fujitsu notebook I own, the speaker's functionality is given by the sound card and through its speakers, but the control for the speaker is still the traditional way. Maybe this way - simply sending 0x07 / BEL, or something like /dev/speaker implements - won't be possible in the future... This will force the output of any sounds through the sound card (or its representation by the chipset respectively), requiring a specific driver to access the particular hardware. -- 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: clicky driver
On Sun, Dec 27, 2009 at 01:19:49AM +1100, Ian Smith wrote: On Fri, 25 Dec 2009 20:23:22 -0800 Gary Kline kl...@thought.org wrote: On Sat, Dec 26, 2009 at 01:10:45AM +, Chris Whitehouse wrote: Gary Kline wrote: On Fri, 25 Dec 2009 13:37:13 -0800, Gary Kline kl...@thought.org wrote: at first I'm lookings for a cots (commericial, off-the-shelf) solution. The XO has stereo speakers and so do the notebooks. I am thinking of the 'PC speaker'; something that would sound for around a 25th/second, very low and with at least some loudness control. Hi Gary, someone posted recently about the play-string language for /dev/speaker, see speaker(4). Could you do something with that? btw thanks to whoever posted the play-string code for frere jaques - cracked me up :) Chris Yeah :) I play little tunelets on certain battery power events, when some IP gets blacklisted by some logtailing script, things like that. Wow; the stuff I've never heard about:-) --I just tried spkrtest and have no /dev/speaker. # kldload speaker Thanks! I just listened to the opening few notes of Star Trek [!] But very faint and I don't know if the dinky BEL is a chip or a real speaker. Anybody know how I can redirect the beep to my speakers? I miss the confirmation that vi/vim puts out. device speaker isn't in kernel GENERIC. If it doesn't work immediately, try adding speaker_load=YES to /boot/loader.conf .. this assumes that your box _has_ a working speaker, eg beeps once while booting? Probably help to be a dog! --That reminds me of what my parents generation were saying about mine [with its loud music]. That we'd all be nerve-deaf by age 55.-- Teh computer does beep as an error sound. How adjustable it is other than just beeping, dunno. Some laptops use the sound'card' for speaker, and provide a mixer level. Should be a way to send the beep to my desktop speakers, then, right? I've got volume and power, treble/bass. The short answer [Guess] is no, I dont think so. If getting the keys to have an auditory feedback with beeps or shorter clicks were that easy, it would have been done after 15 years. Even Linux lacks this--and I'd bet Minux too. What I've got to do is pick up where I kwit ten years ago with the kernel driver code and drop the the code to make the speaker-audio create tiny, brief clicks, preferably low, thunky sounds like ye ancient IBM Selectrics. You can do quite a lot with various tempos, intervals and frequencies; see speaker(4) and play around. Making a short click or thunk! should be easy enough, but spkrtest and echoing playstrings /dev/speaker are userland processes; I've no idea how much 'fun' it would be to invoke /dev/speaker ioctls from the kbd drivers. But if you're really keen: Def !fun, but not rocket science either. I'll poke around at this stuff. % find /sys/ -name speaker* -o -name spkr* I've found spkr.c; still there after all these months, :) thanks again, gary PS: this might be interesting: I just tried to get % xset c 50 and % xset on on my Ubuntu Thinkpad. Zip. At least here I've got the code! cheers, Ian -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a 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
will these (bluetooth) devices work with freeBSD
Can anyone tell me if either of these devices are likely to work with freeBSD for a bluetooth headset? http://www.newegg.com/Product/Product.aspx?Item=N82E16833242004cm_re=bluetooth_dongle-_-33-242-004-_-Product http://www.newegg.com/Product/Product.aspx?Item=N82E16833242004cm_re=bluetooth_adapter-_-33-242-004-_-Productf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Sendmail client configuration to connect to ISP's SMTP server
On Sat, 2009-12-26 at 11:20 -0800, Aflatoon Aflatooni wrote: What configuration do I need to set in my freebsd.submit.mc in order to connect to the ISP's SMTP server? The ISP is blocking all the emails unless it goes through their mail server, so I need my FreeBSD box to connect to the ISP's SMTP server for outbound emails. The client also needs to be authenticated as well. Please help Thanks Afi Hey, afi Check out SMART_HOST in /usr/src/contrib/sendmail/cf/README The change doesn't go in freebsd.submit.mc, but in freebsd.mc. Or hostname.mc, if you've already tweaked it before SMART_HOST is the upstream smtp server where all outgoing email is sent. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clicky driver
On Sat, 26 Dec 2009 15:07:34 -0800, Gary Kline kl...@thought.org wrote: Thanks! I just listened to the opening few notes of Star Trek [!] But very faint and I don't know if the dinky BEL is a chip or a real speaker. You can determine it easily: If you plug something into the sound card in order to mute the built-in speakers, and you still hear a sound, it's a real speaker besides the sound card's speakers. If you don't hear anything, all audio output - sound card AND PC speaker - is done by the built-in speakers. Anybody know how I can redirect the beep to my speakers? I miss the confirmation that vi/vim puts out. Early sound cards (e. g. the Logitech SoundMan 16) had an option to copy PC speaker output to the sound card output, even allowing to set the volume of this channel (treated like any other channel, e. g. CD, PCM, MIDI). Probably help to be a dog! --That reminds me of what my parents generation were saying about mine [with its loud music]. That we'd all be nerve-deaf by age 55.-- Teh computer does beep as an error sound. How adjustable it is other than just beeping, dunno. The kind of beep that is emitted (e. g. via BEL) doesn't seem to be adjustable. I had different systems, one of them just gave a clicking sound, where the other one made a long tone, and a third one made a normal tone. It seems to be determined by hardware. Should be a way to send the beep to my desktop speakers, then, right? I've got volume and power, treble/bass. If the PC speaker output is realized through the sound card (and its speakers), it will leave the computer through those speakers, or through the headphone jack. -- 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: Sendmail client configuration to connect to ISP's SMTP server
On Sat, 26 Dec 2009 17:50:39 -0600, Lane Holcombe l...@joeandlane.com wrote: Check out SMART_HOST in /usr/src/contrib/sendmail/cf/README I'm using the SMART_HOST functionality, too. But there's no authentification (username + password). The relay I'm using - my ISP's - seems to be happy with a valid IP from their range. -- 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
chroot SSH users.
Hello people, Im on FreeBSD 7.2-R P5 Its easy to chroot ftp users - adding users to /etc/ftpchroot -makes the job easy. How about if I want to chroot the SSH users (not ftp) any easy way? no need for jail installation or anything like this.. I saw sshd_config file and it has a chrootdirectory but not sure how to use it.. Anyone? any tips? any easy way? Thank you -Marwan _ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/171222984/direct/01/___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Max kernel dump size
Hello everybody. How can I calculate max kernel dump size? I want to create my swap partition as small as possible, just to fit kernel dump needs. Thanks. -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clicky driver
On Sat, Dec 26, 2009 at 01:18:48PM +0100, Polytropon wrote: On Sat, 26 Dec 2009 13:01:07 +0100, Polytropon free...@edvax.de wrote: //* OFFLIST Sorry, hit the wrong button - I hope it doesn't bother anyone. If it does, don't read it. Ja vohl; I caught it. 'Most everybody know my leanings; just didnt want to waste that many electrons! Outdoor concert will start today at 3 p.m., but if it rains a 3 p.m., we'll already begin at 1 p.m. :-) Ah, life [tra-la, tra-la] ... . -- 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 http://jottings.thought.org http://transfinite.thought.org The 7.79a 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: Sendmail client configuration to connect to ISP's SMTP server
On Sat, Dec 26, 2009 at 11:20:27AM -0800, Aflatoon Aflatooni wrote: What configuration do I need to set in my freebsd.submit.mc in order to connect to the ISP's SMTP server? The ISP is blocking all the emails unless it goes through their mail server, so I need my FreeBSD box to connect to the ISP's SMTP server for outbound emails. The client also needs to be authenticated as well. Fix your word wrap. Have you checked the Handbook? If not, start with Section 28.10 SMTP Authentication. Read that and follow the link to http://www.sendmail.org/~ca/email/auth.html where you'll find the rest of what you need to know. You're using sendmail as a client, so be sure to focus on the section entitled Using sendmail as a client with AUTH. Fairly straightforward stuff, but there may be a lot to take in at first glance. Post back if you have any questions or need to be walked through any part of the process. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Sendmail client configuration to connect to ISP's SMTP server
On Sun, 2009-12-27 at 01:13 +0100, Polytropon wrote: On Sat, 26 Dec 2009 17:50:39 -0600, Lane Holcombe l...@joeandlane.com wrote: Check out SMART_HOST in /usr/src/contrib/sendmail/cf/README I'm using the SMART_HOST functionality, too. But there's no authentification (username + password). The relay I'm using - my ISP's - seems to be happy with a valid IP from their range. See if /usr/ports/mail/sendmail-sasl is what you need My ISP requires authentication, so I had to install that port and then add the AuthInfo line in /etc/mail/access My ISP is only using plain authentication, but sasl will work for more exotic needs, I understand. But, of course, if it ain't broke then don't try to fix it :) lane ~ The bikeshed should be orange for this to work properly ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clicky driver
On Sat, Dec 26, 2009 at 03:07:34PM -0800, Gary Kline wrote: On Sun, Dec 27, 2009 at 01:19:49AM +1100, Ian Smith wrote: On Fri, 25 Dec 2009 20:23:22 -0800 Gary Kline kl...@thought.org wrote: On Sat, Dec 26, 2009 at 01:10:45AM +, Chris Whitehouse wrote: Gary Kline wrote: On Fri, 25 Dec 2009 13:37:13 -0800, Gary Kline kl...@thought.org wrote: at first I'm lookings for a cots (commericial, off-the-shelf) solution. The XO has stereo speakers and so do the notebooks. I am thinking of the 'PC speaker'; something that would sound for around a 25th/second, very low and with at least some loudness control. Hi Gary, someone posted recently about the play-string language for /dev/speaker, see speaker(4). Could you do something with that? btw thanks to whoever posted the play-string code for frere jaques - cracked me up :) Chris Yeah :) I play little tunelets on certain battery power events, when some IP gets blacklisted by some logtailing script, things like that. Wow; the stuff I've never heard about:-) --I just tried spkrtest and have no /dev/speaker. # kldload speaker Thanks! I just listened to the opening few notes of Star Trek [!] But very faint and I don't know if the dinky BEL is a chip or a real speaker. Anybody know how I can redirect the beep to my speakers? I miss the confirmation that vi/vim puts out. device speaker isn't in kernel GENERIC. If it doesn't work immediately, try adding speaker_load=YES to /boot/loader.conf .. this assumes that your box _has_ a working speaker, eg beeps once while booting? [[ ... ]] FWIW, I just got things set up on my new dell. But, like the '03 computer, the beep is too soft to do any good. Somehow, my Ubuntu desktop has the vim beep working thru the powered speakers on my Thinkpad. But the xset click simply does not work. Not here on my main desktop, not on the laptop. Some laptops use the sound'card' for speaker, and provide a mixer level. Should be a way to send the beep to my desktop speakers, then, right? I've got volume and power, treble/bass. The short answer [Guess] is no, I dont think so. If getting the keys to have an auditory feedback with beeps or shorter clicks were that easy, it would have been done after 15 years. Even Linux lacks this--and I'd bet Minux too. What I've got to do is pick up where I kwit ten years ago with the kernel driver code and drop the the code to make the speaker-audio create tiny, brief clicks, preferably low, thunky sounds like ye ancient IBM Selectrics. You can do quite a lot with various tempos, intervals and frequencies; see speaker(4) and play around. Making a short click or thunk! should be easy enough, but spkrtest and echoing playstrings /dev/speaker are userland processes; I've no idea how much 'fun' it would be to invoke /dev/speaker ioctls from the kbd drivers. But if you're really keen: Def !fun, but not rocket science either. I'll poke around at this stuff. % find /sys/ -name speaker* -o -name spkr* Another tidbit is that I found my audio code from 1996; it runs into compiler errors because some of the DSP things have been moved. holy bleep, batboy gary cheers, Ian -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a 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: (no subject)
Should not be any problem and should show up as rl0 On Sun, Dec 27, 2009 at 12:46 AM, Erik Hildrum Saltveit erik.hildrum.saltv...@gmail.com wrote: Hello, I have a question about a ethernet card is supported or not in freebsd? 32-bit PCI,Realtek RTL8169S http://www.komplett.no/k/ki.aspx?sku=120787 Best Regards Erik Hildrum Saltveit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Aftab Jahan Subedar CEO/Software Engineer Subedar Technologies Ltd Subedar Baag Bibir Bagicha #1 North Jatra Bari Dhaka 1204 Bangladesh 88027554546 8801552635208 8801190753891 Radio: S21ST cc. kindly see the recipients address list ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clicky driver
Anybody know how I can redirect the beep to my speakers? I miss the confirmation that vi/vim puts out. Outside of X, our kbdcontrol(1) offers pitch and duration (but not volume) control for the console bell via the -b flag. The volume is often dependent upon the hardware and/or the bios, and in some cases cannot be easily changed. Unfortunately, our keyboard-handling code does not seem to allow the remapping of individual keys to strings -- I think that can be done in Linux -- so we can't add a bel to every keypress by defining an alternative keymap via kbdcontrol, without hacking the code (but since ed@ is working on a new console driver, this might be a good time to request features...). However, at a slightly higher level, many shells and editors will allow you to rebind keys. And some will allow you to redefine the action taken when the bell is sounded: for instance, out csh(1) has the nifty beepcmd. You could customize this to play a sound file of your own choice through your sound card, where you presumably have more control over the sound, and then try to use bindkey to issue bels with keypresses. Of course, this will only take effect while you're in that shell or editor, but you could use the idea to hack the syscons(4) driver to redefine sc_bell() if a certain sysctl is set... 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
Looking for a convenient way in C to retrieve CPU and memory usage of a process
Hello, I am looking for a convenient way using C to retrieve the current CPU and memory utilization of a process of which I have the pid. Can somebody please give me a hint of which system-calls/library-functions to use for this ? I don't want to use the system() function or grep for information via the /proc filesystem. I would be grateful if you could also please mention whether the suggested method[s] is/are FreeBSD-specific or would be portable to other environments like Solaris/Linux ? Thanks for any help. Regards Happy New Year Manish Jain invalid.poin...@gmail.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
Package Size Discrepency
Why is gcc42 from: ftp://ftp3.ca.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/gcc42.tbz ~66.6Mbs and has libobjc.so.2 but gcc42 from: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/gcc42.tbz ~18.9 and doesn't have this library? Thanks, jlc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org