Re: Sending alarms to my mobile phone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/06/2010 05:25:10, Olivier Nicole wrote: I would like my FreeBSD server to send alarms to my mobile phone, it could be voice messages or SMS. I think I can hook a voice modem to that machine, but any suggestion on the software side? Precisely what you need to do depends on who your phone company is. It is frequently done by sending e-mail to an SMS gateway. There are various ports designed to enable scripting of sending SMS-es to particular providers -- see comms/p5-SMS-Send-* If you have a GSM modem or mobile, there are about 4 or 5 ports you could choose from. Just do a 'make search name=sms' in /usr/ports. No idea about leaving a voice message -- doing voice synthesis is pretty well covered, but making a computer dial a phone and speak into it? Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwErPIACgkQ8Mjk52CukIyREQCeI7g5LbIz1CelvR7sJElt+Oi8 NVwAnikaATGOt7oJcbESWkBbbFwOOBH5 =wAzi -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: text editor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/05/2010 21:31:15, Chad Perrin wrote: On Mon, May 31, 2010 at 08:48:22PM +0300, Giorgos Keramidas wrote: On Mon, 31 May 2010 11:36:53 -0500 (CDT), Robert Bonomi bon...@mail.r-bonomi.com wrote: Giorgos Keramidas keram...@ceid.upatras.gr wrote: Vim is much smaller than Emacs but it still a few MB's here: keram...@kobe:/usr/ports/packages/All$ ls -ld vim* -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-lite-7.2.344.tbz Yeah, but EMACS is (currently) reputed to stand for Eighty Megabytes And Constantly Swapping! *GRIN* That's an old joke, but it's not particularly good anymore. . . . probably because it's increasingly inaccurate. Eighty was the good ol' days. Young whippersnappers. *Eight* was the good old days, back before the web was invented. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwErZQACgkQ8Mjk52CukIycDACdF6huoSCi8fLetC9yZPLKhkDF WlcAnRk9Q8Ro9wzs3NwsKnimmgenbbAc =sJKj -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: Sending alarms to my mobile phone
Hi, Precisely what you need to do depends on who your phone company is. It is frequently done by sending e-mail to an SMS gateway. There are various ports designed to enable scripting of sending SMS-es to particular providers -- see comms/p5-SMS-Send-* I have to check if my phone comapny provides that service. It seems they have a web plateform though. But Murphy's law being in the middle, that's precisely when my system will try to send me an alarm message that the SMS email gateway or the SMS web gateway of the phone company will be down. No idea about leaving a voice message -- doing voice synthesis is pretty well covered, but making a computer dial a phone and speak into it? Yes, but that would be the fun part of it, wouldn't it? Thanks, olivier ___ freebsd-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: Sending alarms to my mobile phone
El día Tuesday, June 01, 2010 a las 07:47:14AM +0100, Matthew Seaman escribió: On 01/06/2010 05:25:10, Olivier Nicole wrote: I would like my FreeBSD server to send alarms to my mobile phone, it could be voice messages or SMS. I think I can hook a voice modem to that machine, but any suggestion on the software side? Precisely what you need to do depends on who your phone company is. It is frequently done by sending e-mail to an SMS gateway. There are various ports designed to enable scripting of sending SMS-es to particular providers -- see comms/p5-SMS-Send-* If you have a GSM modem or mobile, there are about 4 or 5 ports you could choose from. Just do a 'make search name=sms' in /usr/ports. No idea about leaving a voice message -- doing voice synthesis is pretty well covered, but making a computer dial a phone and speak into it? Concerning voice messages, in the past (around 1995) I experimented with 'vgetty' which was fine to build a UNIX based answering machine. Google for it, it seems it is still maintained. 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/ Solidarity with the imperialistic Israel?Not in my name! ¿Solidaridad con el imperialismo de Israel? ¡No en mi nombre! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What's the difference between portupgrade and portmaster ?
On Tue, Jun 1, 2010 at 3:37 AM, zaxis z_a...@163.com wrote: Why do we need two tools ? Its three. Add portmanager. The answer is personal choice and we number of bikesheds. Also portmaster used to not be able to work with packages when portupgrade could. -- Eitan Adler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What's the difference between portupgrade and portmaster ?
2010/6/1 Eitan Adler li...@eitanadler.com: On Tue, Jun 1, 2010 at 3:37 AM, zaxis z_a...@163.com wrote: Why do we need two tools ? Its three. Add portmanager. The answer is personal choice and we number of bikesheds. Also portmaster used to not be able to work with packages when portupgrade could. portmaster can! See portmaster manpage. -P[P] options. The differences are that portupgrade use a database, it's written in ruby while portmaster is only one shell script. That's why I really prefere portmaster that also have zsh completion and is faster. -- Demelier David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What's the difference between portupgrade and portmaster ?
On Tue, Jun 1, 2010 at 10:46 AM, David DEMELIER demelier.da...@gmail.com wrote: 2010/6/1 Eitan Adler li...@eitanadler.com: On Tue, Jun 1, 2010 at 3:37 AM, zaxis z_a...@163.com wrote: Why do we need two tools ? Its three. Add portmanager. The answer is personal choice and we number of bikesheds. Also portmaster used to not be able to work with packages when portupgrade could. portmaster can! See portmaster manpage. -P[P] options. Also portmaster used to not be able to work with packages when portupgrade could. -- Eitan Adler ___ freebsd-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: Squid not starting from rc in Jail, however works when run from root as command??
Kaya Saman wrote: Hi guys, I've just built a new BSD server running on a Mini-ITX NAS chassis and it's working beautifully :-) I also took the time to learn how to build jails too as this is only my second BSD build so am still really new to it although not to UNIX as I use Solaris and Linux frequently. Anyhow I'm trying to migrate config which was on an old SPARC server running Solaris 9 with a version of Squid got from the Blastwave repos and currently I'm having major issues with it. Basically I think I've worked through to figure out that running as user Squid or Proxy doesn't give me access to ports 1024, basically the 'well known' ports. Here is the error message I get from Squid when trying to start it using the rc.d file: May 31 17:47:11 proxy squid[4360]: Cannot open HTTP Port May 31 17:47:11 proxy squid[4358]: Squid Parent: child process 4360 exited due to signal 6 May 31 17:47:14 proxy squid[4358]: Squid Parent: child process 4364 started May 31 17:47:15 proxy squid[4364]: Cannot open HTTP Port May 31 17:47:15 proxy squid[4358]: Squid Parent: child process 4364 exited due to signal 6 May 31 17:47:18 proxy squid[4358]: Squid Parent: child process 4367 started May 31 17:47:18 proxy squid[4367]: Cannot open HTTP Port May 31 17:47:18 proxy squid[4358]: Squid Parent: child process 4367 exited due to signal 6 May 31 17:47:21 proxy squid[4358]: Squid Parent: child process 4370 started May 31 17:47:21 proxy squid[4370]: Cannot open HTTP Port May 31 17:47:21 proxy squid[4358]: Squid Parent: child process 4370 exited due to signal 6 If however I start Squid using /usr/local/sbin/squid -NCd1 as root I get this and Squid works: proxy# /usr/local/sbin/squid -NCd1 2010/05/31 17:55:54| Starting Squid Cache version 2.7.STABLE7 for amd64-portbld-freebsd8.0... 2010/05/31 17:55:54| Process ID 4484 2010/05/31 17:55:54| With 11095 file descriptors available 2010/05/31 17:55:54| Using kqueue for the IO loop 2010/05/31 17:55:54| Performing DNS Tests... 2010/05/31 17:55:54| Successful DNS name lookup tests... 2010/05/31 17:55:54| DNS Socket created at 0.0.0.0, port 39116, FD 6 2010/05/31 17:55:54| Adding nameserver 192.168.1.100 from /etc/resolv.conf 2010/05/31 17:55:54| Adding nameserver 192.168.1.101 from /etc/resolv.conf 2010/05/31 17:55:54| logfileOpen: opening log /var/log/squid/access.log 2010/05/31 17:55:54| Unlinkd pipe opened on FD 11 2010/05/31 17:55:54| Swap maxSize 102400 + 8192 KB, estimated 8507 objects 2010/05/31 17:55:54| Target number of buckets: 425 2010/05/31 17:55:54| Using 8192 Store buckets 2010/05/31 17:55:54| Max Mem size: 8192 KB 2010/05/31 17:55:54| Max Swap size: 102400 KB 2010/05/31 17:55:54| logfileOpen: opening log /var/log/squid/store.log 2010/05/31 17:55:54| Rebuilding storage in /usr/local/squid/cache (DIRTY) 2010/05/31 17:55:54| Using Least Load store dir selection 2010/05/31 17:55:54| Set Current Directory to /var/spool/squid 2010/05/31 17:55:54| Loaded Icons. 2010/05/31 17:55:54| Accepting accelerated HTTP connections at 192.168.1.110, port 80, FD 13. 2010/05/31 17:55:54| Accepting ICP messages at 0.0.0.0, port 3130, FD 14. 2010/05/31 17:55:54| Accepting SNMP messages on port 3401, FD 15. 2010/05/31 17:55:54| WCCP Disabled. 2010/05/31 17:55:54| Configuring x-ray Parent x-ray/80/0 2010/05/31 17:55:54| Configuring zeta-ray Parent zeta-ray/80/0 2010/05/31 17:55:54| Configuring delta-ray Parent delta-ray/80/0 2010/05/31 17:55:54| Configuring g-stat-1 Parent g-stat-1/80/0 2010/05/31 17:55:54| Ready to serve requests. 2010/05/31 17:55:54| Done reading /usr/local/squid/cache swaplog (0 entries) 2010/05/31 17:55:54| Finished rebuilding storage from disk. 2010/05/31 17:55:54| 0 Entries scanned 2010/05/31 17:55:54| 0 Invalid entries. 2010/05/31 17:55:54| 0 With invalid flags. 2010/05/31 17:55:54| 0 Objects loaded. 2010/05/31 17:55:54| 0 Objects expired. 2010/05/31 17:55:54| 0 Objects cancelled. 2010/05/31 17:55:54| 0 Duplicate URLs purged. 2010/05/31 17:55:54| 0 Swapfile clashes avoided. 2010/05/31 17:55:54| Took 0.4 seconds ( 0.0 objects/sec). 2010/05/31 17:55:54| Beginning Validation Procedure 2010/05/31 17:55:54| Completed Validation Procedure 2010/05/31 17:55:54| Validated 0 Entries 2010/05/31 17:55:54| store_swap_size = 0k 2010/05/31 17:55:55| storeLateRelease: released 0 objects Running uname -a gives me this: FreeBSD Zeta-Ray.optiplex-networks.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 and also Squid was built from ports too!! Because I built the system in a Jail I am using this syntax to bind the port to the IP address: http_port 192.168.1.110:80 accel defaultsite=domain.com vhost When I mean Jail I am talking about FreeBDS Jails and not chroot syntax :-) Can anybody offer me any advice or anywhere else to turn as I really don't know what's going on
Re: text editor
On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote: Unfortunately, the killer feature that keeps me with Vim instead of nvi is its support for multiple levels of undo. Have you ever tried u (undo command) followed by . (repeat last command)? ;-) -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cron not sending emails
Cron is still not sending emails. Any idea? Is there any output in the 'maillog' log? May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No recipient addresses found in message header ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Automatic shutdown with devd.
Hi, I recently asked to make an automatic shutdown when I excess a specific percent. I ran devd with -Dd flags to run in background and when the battery was at a critical state it said : Processing event '!system=ACPI subsystem=CMBAT type=\_SB_.BAT0 notify=0x80' Pushing table setting system=ACPI setting subsystem=CMBAT setting type=\_SB_.BAT0 setting notify=0x80 Then I tried (for testing) something like this in my /etc/devd.conf notify 10 { match system ACPI; match subsystem CMBAT; match notify 0x80; action logger LETGOSHUTDOWN; }; And then I can see the following output in /var/log/messages : Jun 1 10:48:54 Melon power_profile: changed to 'performance' Jun 1 10:48:56 Melon root: LETGOSHUTDOWN Jun 1 10:49:12 Melon root: LETGOSHUTDOWN Jun 1 10:51:06 Melon last message repeated 2 times It works, but the problem is that it makes this even the cable is plugged ! i.e : the computer was not powered on so with 3% of remaining time but AC plugged in after booting it (always with the AC plugged in) these messages appears too. I guess the ACPI/CMBAT do not care if there is an AC plugged in or not. Is there a way to make this conditional to do only if the laptop is not charging, AC plugged in ? With king regards. -- Demelier David ___ freebsd-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: cron not sending emails
It doesn't work. With, or without the MAILTO. Just for completeness, I have used this: MAILTO=gandalf The gandalf user is a local user on the system. I can send local mail to this user using the sendmail postfix program (checked twice). Cron is still not sending emails. Any idea? Yes, check the log of cron (/var/log/cron) if you job is run at all; if so check the log of mails (/var/log/maillog). Cron jobs are started. Just their output are not sent in emails. The output of the maillog I already sent before: May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No recipient addresses found in message header Btw: what is the purpose of putting TEST into ? I tend to use double quotes for command line parameters. This is just a habit that I use it even when it is not really necessary. Output from /var/log/cron follows Jun 1 04:55:00 shopzeus /usr/sbin/cron[89378]: (tmp.27734) ORPHAN (no passwd entry) Jun 1 04:55:00 shopzeus /usr/sbin/cron[89378]: (root) RELOAD (tabs/root) Jun 1 04:55:00 shopzeus /usr/sbin/cron[89378]: NSSWITCH(_nsdispatch): nis, passwd_compat, endpwent, not found, and no fallback provided Jun 1 04:55:00 shopzeus /usr/sbin/cron[27073]: (operator) CMD (/usr/libexec/save-entropy) Jun 1 04:55:00 shopzeus /usr/sbin/cron[27075]: (root) CMD (/usr/libexec/atrun) Jun 1 04:55:00 shopzeus cron[27075]: NSSWITCH(_nsdispatch): nis, passwd_compat, endpwent, not found, and no fallback provided Jun 1 04:55:00 shopzeus /usr/sbin/cron[27082]: (root) CMD (echo Test) (Followed by other similar rows with NSSWITCH and CMD.) Thanks Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What's the difference between portupgrade and portmaster ?
On Tue, 1 Jun 2010 10:26:18 +0300 Eitan Adler li...@eitanadler.com articulated: On Tue, Jun 1, 2010 at 3:37 AM, zaxis z_a...@163.com wrote: Why do we need two tools ? Its three. Add portmanager. The answer is personal choice and we number of bikesheds. Also portmaster used to not be able to work with packages when portupgrade could. I use portmanager with the '-p' flag for when I absolutely, positively have to insure that all dependencies are updated correctly. Neither of the other two utilities seem to get it correct 100% of the time. Plus, portmanmager is written in 'C' and IMHO is quicker than the other two. Just my 2¢. -- Jerry freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ INTOXICATED: When you feel sophisticated without being able to pronounce it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
IP-Based Apache Config
Hi there, I could need a quick hand from someone with apache22 and maybe apache-in-a-jail experience. I want to set up locally apache22 on a given IP (it's in a jail here) and use files for name service. nsswitch.conf does this per default so files take precedence -- if resolution worked that way which I currently am not that much sure about anymore. I set Servername to IP:80 just as to resolv-conf-hostname:80 after reading another post [1] and some more of the apache dox [2] (but left the rest of the config alone for the time being). A also do see the connection via tcpdump both at the router connected to the jail as well as the jail server itself as much as I see the connections in netstat both in and outside the jail. However, I do NOT see ANYthing in any apache logs, and tcpdump confirms that all that is established is the TCP connection. Also, when I telnet IP 80 and GET /, it goes into the server, and all remains quiet thereafter. I think I probably overlook something utterly obvious and simple but since I don't have any straws from logs to cling to, I currently don't seem to be able to get my head around it. Hence, any help appreciated. Thanks, Peter. --- [1] http://lists.freebsd.org/pipermail/freebsd-jail/2009-November/001057.html [2] http://httpd.apache.org/docs/2.2/dns-caveats.html -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
uname -r and patchlevel
Can somebody explain about the -plevel one sees in the output of the uname -r ? Under *exactly* what conditions the patch level changes to a new value after you applied a freebsd-update install ? Does -plevel only change if a) a change of the file /boot/kernel/kernel was part of the update or also if b) *some* /boot/kernel/* files (but not /boot/kernel/kernel itself) changed as part of the update Will in any case a new -plevel be shown only after a reboot is done ? I have confusing differences in -plevel increase/not increase in different FreeBSD systems after applying freebsd-update install. The handbook is too vague about what conditions *exactly* will make uname -r show the newest -plevel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
nmap - error during compile
Hi, Upon compiling nmap (5.21_1) from scratch I got the following error: -- Cut here -- # make === Building for nmap-5.21_1 Makefile:341: makefile.dep: No such file or directory c++ -MM -I/usr/include/lua -I/usr/local/include/lua51 -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include -Inbase -Insock/include main.cc nmap .cc targets.cc tcpip.cc nmap_error.cc utils.cc idle_scan.cc osscan.cc osscan2.cc output.cc payload.cc scan_engine.cc timing.cc charpool.cc services.cc protocols .cc nmap_rpc.cc portlist.cc NmapOps.cc TargetGroup.cc Target.cc FingerPrintResul ts.cc service_scan.cc NmapOutputTable.cc MACLookup.cc nmap_tty.cc nmap_dns.cc tr aceroute.cc portreasons.cc nse_main.cc nse_nsock.cc nse_fs.cc nse_nmaplib.cc nse _debug.cc nse_pcrelib.cc nse_binlib.cc nse_bit.cc nse_openssl.cc nse_ssl_cert.cc makefile.dep In file included from nse_openssl.cc:11: /usr/include/openssl/md2.h:64:2: error: #error MD2 is disabled. gmake: *** [makefile.dep] Error 1 *** Error code 1 Stop in /usr/ports/security/nmap. -- Cut here -- When I start the build-process agin (make) it again stops with an error related to md2: -- Cut here -- . . . c++ -c -I/usr/include/lua -I/usr/local/include/lua51 -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include -Inbase -Insock/include -O -pipe -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\Nmap\ -DNMAP_URL=\http://nmap.org\; -DNMAP_PLATFORM=\amd64-portbld-freebsd7.3\ -DNMAPDATADIR=\/usr/local/share/nmap\ -D_FORTIFY_SOURCE=2 nse_bit.cc -o nse_bit.o c++ -c -I/usr/include/lua -I/usr/local/include/lua51 -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include -Inbase -Insock/include -O -pipe -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\Nmap\ -DNMAP_URL=\http://nmap.org\; -DNMAP_PLATFORM=\amd64-portbld-freebsd7.3\ -DNMAPDATADIR=\/usr/local/share/nmap\ -D_FORTIFY_SOURCE=2 nse_openssl.cc -o nse_openssl.o In file included from nse_openssl.cc:11: /usr/include/openssl/md2.h:64:2: error: #error MD2 is disabled. gmake[1]: *** [nse_openssl.o] Error 1 gmake[1]: Leaving directory `/usr/ports/security/nmap/work/nmap-5.21' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/security/nmap. -- Cut here -- My machine is running FreeBSD 7.3, portstree cvsup-ed as per today, platform AMD64. I've got openssl installed from the ports: # pkg_info -rx openssl-1.0.0 Information for openssl-1.0.0_1: Depends on: # Any idea what's going on here and why I can't compile nmap? Thanks much in advance for your help. -ewald ___ freebsd-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: nmap - error during compile
On Tue, 1 Jun 2010 13:41:08 +0200 Ewald Jenisch a...@jenisch.at articulated: Hi, Upon compiling nmap (5.21_1) from scratch I got the following error: -- Cut here -- # make === Building for nmap-5.21_1 Makefile:341: makefile.dep: No such file or directory c++ -MM -I/usr/include/lua -I/usr/local/include/lua51 -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include -Inbase -Insock/include main.cc nmap .cc targets.cc tcpip.cc nmap_error.cc utils.cc idle_scan.cc osscan.cc osscan2.cc output.cc payload.cc scan_engine.cc timing.cc charpool.cc services.cc protocols .cc nmap_rpc.cc portlist.cc NmapOps.cc TargetGroup.cc Target.cc FingerPrintResul ts.cc service_scan.cc NmapOutputTable.cc MACLookup.cc nmap_tty.cc nmap_dns.cc tr aceroute.cc portreasons.cc nse_main.cc nse_nsock.cc nse_fs.cc nse_nmaplib.cc nse _debug.cc nse_pcrelib.cc nse_binlib.cc nse_bit.cc nse_openssl.cc nse_ssl_cert.cc makefile.dep In file included from nse_openssl.cc:11: /usr/include/openssl/md2.h:64:2: error: #error MD2 is disabled. gmake: *** [makefile.dep] Error 1 *** Error code 1 Stop in /usr/ports/security/nmap. -- Cut here -- When I start the build-process agin (make) it again stops with an error related to md2: -- Cut here -- . . . c++ -c -I/usr/include/lua -I/usr/local/include/lua51 -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include -Inbase -Insock/include -O -pipe -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\Nmap\ -DNMAP_URL=\http://nmap.org\; -DNMAP_PLATFORM=\amd64-portbld-freebsd7.3\ -DNMAPDATADIR=\/usr/local/share/nmap\ -D_FORTIFY_SOURCE=2 nse_bit.cc -o nse_bit.o c++ -c -I/usr/include/lua -I/usr/local/include/lua51 -Ilibdnet-stripped/include -I/usr/local/include -I/usr/local/include -Inbase -Insock/include -O -pipe -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\Nmap\ -DNMAP_URL=\http://nmap.org\; -DNMAP_PLATFORM=\amd64-portbld-freebsd7.3\ -DNMAPDATADIR=\/usr/local/share/nmap\ -D_FORTIFY_SOURCE=2 nse_openssl.cc -o nse_openssl.o In file included from nse_openssl.cc:11: /usr/include/openssl/md2.h:64:2: error: #error MD2 is disabled. gmake[1]: *** [nse_openssl.o] Error 1 gmake[1]: Leaving directory `/usr/ports/security/nmap/work/nmap-5.21' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/security/nmap. -- Cut here -- My machine is running FreeBSD 7.3, portstree cvsup-ed as per today, platform AMD64. I've got openssl installed from the ports: # pkg_info -rx openssl-1.0.0 Information for openssl-1.0.0_1: Depends on: # Any idea what's going on here and why I can't compile nmap? I have had several ports fail because I had openssl installed via the ports system. These were on FreeBSD-8/amd64 systems. I filed two PRs and they were fixed. I might suggest that you do the same here. It does seem rather strange that considering the number of ports that require openssl, there was not more testing done to confirm that the ports version was compatible with ports requiring openssl. -- Jerry freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ signature.asc Description: PGP signature
Re: uname -r and patchlevel
On 01/06/2010 2:33 ?.?., n dhert wrote: Can somebody explain about the -plevel one sees in the output of the uname -r ? Under *exactly* what conditions the patch level changes to a new value after you applied a freebsd-update install ? If you are using the GENERIC kernel AND the kernel was updated as part of the freebsd-update process, the patch level is changed. You will need to reboot. If you are using the GENERIC kernel AND the kernel was not updated as part of the freebsd-update process, the patch level reported is unchanged if you are using a CUSTOM kernel, the reported patch level is not changed until you rebuild your kernel with the new sources as updated by freebsd-update. After rebuilding your kernel it always reflects the latest -p version, even if there were no actual kernel changes. The reported -p level is contained in this file: /usr/src/sys/conf/newvers.sh and this is always updated when an update comes through. If you rebuild your custom kernel (or even GENERIC) it will always report the value from this file. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text editor
On Tue, Jun 01, 2010 at 12:21:20PM +0400, Boris Samorodov wrote: On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote: Unfortunately, the killer feature that keeps me with Vim instead of nvi is its support for multiple levels of undo. Have you ever tried u (undo command) followed by . (repeat last command)? ;-) . . . but how do you redo what you've undone? I've scanned through nvi's awful viusage list of commands (awful mostly because it's a pain in the ass to use it as a help system for vi) and haven't found an answer to that question. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpiVasLVPJ6J.pgp Description: PGP signature
Re: text editor
On Tue, Jun 01, 2010 at 07:49:56AM +0100, Matthew Seaman wrote: Young whippersnappers. *Eight* was the good old days, back before the web was invented. No -- those are the even better old days. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpsisp2Mnyyg.pgp Description: PGP signature
Re: text editor
On Tue, 1 Jun 2010 07:08:42 -0600 Chad Perrin wrote: On Tue, Jun 01, 2010 at 12:21:20PM +0400, Boris Samorodov wrote: On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote: Unfortunately, the killer feature that keeps me with Vim instead of nvi is its support for multiple levels of undo. Have you ever tried u (undo command) followed by . (repeat last command)? ;-) . . . but how do you redo what you've undone? If I understand the question correctly then: it's just one more u (undo command) followed by . (repeat last command)... -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cron not sending emails
2010/5/28 Laszlo Nagy gand...@shopzeus.com: Hi All! After upgrading to 8.0 RELEASE, I'm not getting any emails from cron. If I put this into root's crontab * * * * * echo TEST then I see this in the maillog: May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No recipient addresses found in message header Just as a side note, I started having this problem a while ago with 7.2-RELEASE, I believe. I was using the base-system sendmail and no special configuration with cron or anything. I never found a solution. I posted on this mailing list and nothing anyone suggested solved it. I ended up just piping every single cron command into /usr/bin/mail: 0 */4 * * * root /usr/local/backups/daily_backup.sh | /usr/bin/mail -E -s Daily Backup em...@address.tld That works fine. ___ freebsd-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: cron not sending emails
El día Tuesday, June 01, 2010 a las 09:41:11AM -0400, APseudoUtopia escribió: 2010/5/28 Laszlo Nagy gand...@shopzeus.com: Hi All! After upgrading to 8.0 RELEASE, I'm not getting any emails from cron. If I put this into root's crontab * * * * * echo TEST then I see this in the maillog: May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No recipient addresses found in message header Just as a side note, I started having this problem a while ago with 7.2-RELEASE, I believe. I was using the base-system sendmail and no special configuration with cron or anything. I never found a solution. I posted on this mailing list and nothing anyone suggested solved it. I ended up just piping every single cron command into /usr/bin/mail: 0 */4 * * * root /usr/local/backups/daily_backup.sh | /usr/bin/mail -E -s Daily Backup em...@address.tld That works fine. current# uname -a FreeBSD current.unixarea.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Jan 10 09:55:14 CET 2010 g...@current.unixarea.de:/usr/obj/usr/src/sys/GENERIC i386 current# crontab -l | fgrep 15 56 15 * * * /usr/sbin/ntpdate -b ntps1-0.cs.tu-berlin.de current# tail -3 /var/log/cron Jun 1 15:56:00 current /usr/sbin/cron[1509]: (root) RELOAD (tabs/root) Jun 1 15:56:00 current /usr/sbin/cron[8209]: (root) CMD (/usr/sbin/ntpdate -b ntps1-0.cs.tu-berlin.de) Jun 1 15:57:17 current crontab[8220]: (root) LIST (root) current# tail /var/log/maillog Jun 1 15:56:01 current sm-mta[8213]: o51Du1q1008212: to=r...@current.unixarea.de, ctladdr=r...@current.unixarea.de (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30877, relay=local, dsn=2.0.0, stat=Sent i.e. no problem on my system; 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/ Solidarity with the zionistic pirates of Israel? Not in my name! ¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Add watermark to PDF
I've just spent a couple hours googling for an answer to this question without success... This is probably a bit off topic, but this list seems to be able to come up with answers to questions that stump other lists, so... I would like to add a customized footer (a stamp or watermark) to an existing PDF, like the guys at Pragmatic Programmers do with their PDFs. So basically this script would have to read in the PDF and (ideally) a plain text file, and output a PDF with the plain text merged into the PDF as a footer. Anyone know of an existing utility that might do something like this? Probably not, so anyone know of a PDF library that I could use to roll my own? I'm competent in Perl, PHP, and Ruby, and at this point, would be willing to learn Sanskrit if it could solve this problem for me. Unfortunatley, I've never done any PDF programming, so not quite sure where to start. Any ideas, much appreciated. -- 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: Add watermark to PDF
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1 June 2010 10:15, John Almberg jalmb...@identry.com wrote: I would like to add a customized footer (a stamp or watermark) to an existing PDF, like the guys at Pragmatic Programmers do with their PDFs. I used to do something similar using the fpdf/pdftk toolkits. http://www.fpdf.org/ http://www.accesspdf.com/pdftk/ kmw -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) iEYEARECAAYFAkwFGGAACgkQsKMTOtQ3fKGfkwCfQyJSOON7k6liWggyYV2P+rKC OokAn3jpAWqarsvenlRKyThR0/DryaKe =6v3V -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: command to rename a directory
On Sun, May 30, 2010 at 03:42:59PM +0800, Aiza wrote: Is there a command to rename a directory in place. Like mv does for a file name. mv works on directory names too. jerry ___ freebsd-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: nmap - error during compile
On Tue, Jun 01, 2010 at 08:27:38AM -0400, Jerry wrote: Any idea what's going on here and why I can't compile nmap? I have had several ports fail because I had openssl installed via the ports system. These were on FreeBSD-8/amd64 systems. I filed two PRs and they were fixed. I might suggest that you do the same here. It does seem rather strange that considering the number of ports that require openssl, there was not more testing done to confirm that the ports version was compatible with ports requiring openssl. Hi Jerry, Do you mean filing a PR for openssl or nmap? -ewald ___ freebsd-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: Squid not starting from rc in Jail, however works when run from root as command??
On 06/01/2010 03:14 AM, Kaya Saman wrote: Kaya Saman wrote: Hi guys, I've just built a new BSD server running on a Mini-ITX NAS chassis and it's working beautifully :-) I also took the time to learn how to build jails too as this is only my second BSD build so am still really new to it although not to UNIX as I use Solaris and Linux frequently. Anyhow I'm trying to migrate config which was on an old SPARC server running Solaris 9 with a version of Squid got from the Blastwave repos and currently I'm having major issues with it. Basically I think I've worked through to figure out that running as user Squid or Proxy doesn't give me access to ports 1024, basically the 'well known' ports. Here is the error message I get from Squid when trying to start it using the rc.d file: May 31 17:47:11 proxy squid[4360]: Cannot open HTTP Port May 31 17:47:11 proxy squid[4358]: Squid Parent: child process 4360 exited due to signal 6 May 31 17:47:14 proxy squid[4358]: Squid Parent: child process 4364 started May 31 17:47:15 proxy squid[4364]: Cannot open HTTP Port May 31 17:47:15 proxy squid[4358]: Squid Parent: child process 4364 exited due to signal 6 May 31 17:47:18 proxy squid[4358]: Squid Parent: child process 4367 started May 31 17:47:18 proxy squid[4367]: Cannot open HTTP Port May 31 17:47:18 proxy squid[4358]: Squid Parent: child process 4367 exited due to signal 6 May 31 17:47:21 proxy squid[4358]: Squid Parent: child process 4370 started May 31 17:47:21 proxy squid[4370]: Cannot open HTTP Port May 31 17:47:21 proxy squid[4358]: Squid Parent: child process 4370 exited due to signal 6 If however I start Squid using /usr/local/sbin/squid -NCd1 as root I get this and Squid works: proxy# /usr/local/sbin/squid -NCd1 2010/05/31 17:55:54| Starting Squid Cache version 2.7.STABLE7 for amd64-portbld-freebsd8.0... 2010/05/31 17:55:54| Process ID 4484 2010/05/31 17:55:54| With 11095 file descriptors available 2010/05/31 17:55:54| Using kqueue for the IO loop 2010/05/31 17:55:54| Performing DNS Tests... 2010/05/31 17:55:54| Successful DNS name lookup tests... 2010/05/31 17:55:54| DNS Socket created at 0.0.0.0, port 39116, FD 6 2010/05/31 17:55:54| Adding nameserver 192.168.1.100 from /etc/resolv.conf 2010/05/31 17:55:54| Adding nameserver 192.168.1.101 from /etc/resolv.conf 2010/05/31 17:55:54| logfileOpen: opening log /var/log/squid/access.log 2010/05/31 17:55:54| Unlinkd pipe opened on FD 11 2010/05/31 17:55:54| Swap maxSize 102400 + 8192 KB, estimated 8507 objects 2010/05/31 17:55:54| Target number of buckets: 425 2010/05/31 17:55:54| Using 8192 Store buckets 2010/05/31 17:55:54| Max Mem size: 8192 KB 2010/05/31 17:55:54| Max Swap size: 102400 KB 2010/05/31 17:55:54| logfileOpen: opening log /var/log/squid/store.log 2010/05/31 17:55:54| Rebuilding storage in /usr/local/squid/cache (DIRTY) 2010/05/31 17:55:54| Using Least Load store dir selection 2010/05/31 17:55:54| Set Current Directory to /var/spool/squid 2010/05/31 17:55:54| Loaded Icons. 2010/05/31 17:55:54| Accepting accelerated HTTP connections at 192.168.1.110, port 80, FD 13. 2010/05/31 17:55:54| Accepting ICP messages at 0.0.0.0, port 3130, FD 14. 2010/05/31 17:55:54| Accepting SNMP messages on port 3401, FD 15. 2010/05/31 17:55:54| WCCP Disabled. 2010/05/31 17:55:54| Configuring x-ray Parent x-ray/80/0 2010/05/31 17:55:54| Configuring zeta-ray Parent zeta-ray/80/0 2010/05/31 17:55:54| Configuring delta-ray Parent delta-ray/80/0 2010/05/31 17:55:54| Configuring g-stat-1 Parent g-stat-1/80/0 2010/05/31 17:55:54| Ready to serve requests. 2010/05/31 17:55:54| Done reading /usr/local/squid/cache swaplog (0 entries) 2010/05/31 17:55:54| Finished rebuilding storage from disk. 2010/05/31 17:55:54| 0 Entries scanned 2010/05/31 17:55:54| 0 Invalid entries. 2010/05/31 17:55:54| 0 With invalid flags. 2010/05/31 17:55:54| 0 Objects loaded. 2010/05/31 17:55:54| 0 Objects expired. 2010/05/31 17:55:54| 0 Objects cancelled. 2010/05/31 17:55:54| 0 Duplicate URLs purged. 2010/05/31 17:55:54| 0 Swapfile clashes avoided. 2010/05/31 17:55:54| Took 0.4 seconds ( 0.0 objects/sec). 2010/05/31 17:55:54| Beginning Validation Procedure 2010/05/31 17:55:54| Completed Validation Procedure 2010/05/31 17:55:54| Validated 0 Entries 2010/05/31 17:55:54| store_swap_size = 0k 2010/05/31 17:55:55| storeLateRelease: released 0 objects Running uname -a gives me this: FreeBSD Zeta-Ray.optiplex-networks.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 and also Squid was built from ports too!! Because I built the system in a Jail I am using this syntax to bind the port to the IP address: http_port 192.168.1.110:80 accel defaultsite=domain.com vhost When I mean Jail I am talking about FreeBDS Jails and not chroot syntax :-) Can
Re: tcpdump filter maximum number?
Just want to find out the limit of bpf filters that i can write on tcpdump or on my special packet capture program that uses bpf subsystem. Openfile limits is acceptable of course if that is the only limit there is no problem i can raise it On Mon, May 31, 2010 at 7:45 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote: From owner-freebsd-questi...@freebsd.org Mon May 31 04:19:25 2010 Date: Mon, 31 May 2010 12:17:32 +0300 From: Omer Faruk Sen omerf...@gmail.com To: FreeBSD freebsd-questions@freebsd.org Subject: tcpdump filter maximum number? Hi, Is there any limit on writing filters on tcpdump? Or is there any? I use FreeBSD as the operating system. Maybe this limit is not on tcpdump but on bpf on FreeBSD that is why I have stated FreeBSD There are _always_ limits to anything. grin If nothing else, your filters are going to be limited by the number of open file descriptors. Not terribly helpful, I know, but if you explain more/better what you're trying to do, something more helpful may emerge. ___ freebsd-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: Automatic shutdown with devd.
In freebsd-questions Digest, Vol 313, Issue 4, Message: 26 On Tue, 1 Jun 2010 10:55:08 +0200 David DEMELIER demelier.da...@gmail.com wrote: I recently asked to make an automatic shutdown when I excess a specific percent. I ran devd with -Dd flags to run in background and when the battery was at a critical state it said : Processing event '!system=ACPI subsystem=CMBAT type=\_SB_.BAT0 notify=0x80' Pushing table setting system=ACPI setting subsystem=CMBAT setting type=\_SB_.BAT0 setting notify=0x80 You should be aware that notify 0x80 for CMBAT indicates 'BST' or Battery State Change; you'll get these on shifting to any new state. You can check the new state with 'sysctl -n hw.acpi.battery.state'. 'acpiconf -i0' shows a translation between state masks and names. Then I tried (for testing) something like this in my /etc/devd.conf notify 10 { match system ACPI; match subsystem CMBAT; match notify 0x80; action logger LETGOSHUTDOWN; }; And then I can see the following output in /var/log/messages : Jun 1 10:48:54 Melon power_profile: changed to 'performance' Reflecting your AC line state changing from Battery to AC. devd.conf and /etc/rc.d/power_profile have good clues for handling devd notifies. Jun 1 10:48:56 Melon root: LETGOSHUTDOWN Jun 1 10:49:12 Melon root: LETGOSHUTDOWN Jun 1 10:51:06 Melon last message repeated 2 times It works, but the problem is that it makes this even the cable is plugged ! i.e : the computer was not powered on so with 3% of remaining time but AC plugged in after booting it (always with the AC plugged in) these messages appears too. I guess the ACPI/CMBAT do not care if there is an AC plugged in or not. See /sys/dev/acpica/acpi_cmbat.c for the gory details. Yes, ACAD and CMBAT are independent subsystems, so rather than an inline action like logger .. here, you might follow the examples to run your own script, passing the notify to that (if you may also want to check for notify 0x81, BIF battery info changes, though these occur rarely) Is there a way to make this conditional to do only if the laptop is not charging, AC plugged in ? Your script can check whether the AC power is on with: AC=`sysctl -n hw.acpi.acline` if [ $AC = 1 ]; then exit 0 # or whatever, when on AC power elif [ $AC = 0 ]; then : # do whatever when on battery else : # AC/Battery state unknown .. fi You could try just logging all state changes for a while; from critical charging to charging to high to discharging to critical discharging, I think that's the lot .. you can also check hw.acpi.battery.life etc. However, your system should do an 'emergency suspend' on critical low battery anyway .. usually set at 1% capacity but some BIOS will let you adjust that (see acpiconf -i0). Only if suspend/resume works of course. 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
Re: Add watermark to PDF
On Tue, Jun 1, 2010 at 10:15 AM, John Almberg jalmb...@identry.com wrote: I've just spent a couple hours googling for an answer to this question without success... This is probably a bit off topic, but this list seems to be able to come up with answers to questions that stump other lists, so... I would like to add a customized footer (a stamp or watermark) to an existing PDF, like the guys at Pragmatic Programmers do with their PDFs. So basically this script would have to read in the PDF and (ideally) a plain text file, and output a PDF with the plain text merged into the PDF as a footer. Anyone know of an existing utility that might do something like this? Probably not, so anyone know of a PDF library that I could use to roll my own? I'm competent in Perl, PHP, and Ruby, and at this point, would be willing to learn Sanskrit if it could solve this problem for me. Unfortunatley, I've never done any PDF programming, so not quite sure where to start. Any ideas, much appreciated. -- 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 I do something very similar, using PDF file as a template and mysql database as input and filling in form-fields and also adding a JPEG to the bottom of the page as a 'produced by' with some plain text also adding the 'generated on' tag to the bottom. I use a simple wrapper script written in PERL as a cgi script - basically to generate dynamic PDF reports on the fly via webserver. I use PDF::Reuse Perl module to do it, it's well documented/supported and very easy to work with. See: http://search.cpan.org/~larslund/PDF-Reuse-0.35/Reuse.pmhttp://search.cpan.org/%7Elarslund/PDF-Reuse-0.35/Reuse.pm for further details. -- Nathan Vidican nat...@vidican.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: Automatic shutdown with devd.
2010/6/1 Ian Smith smi...@nimnet.asn.au: In freebsd-questions Digest, Vol 313, Issue 4, Message: 26 On Tue, 1 Jun 2010 10:55:08 +0200 David DEMELIER demelier.da...@gmail.com wrote: I recently asked to make an automatic shutdown when I excess a specific percent. I ran devd with -Dd flags to run in background and when the battery was at a critical state it said : Processing event '!system=ACPI subsystem=CMBAT type=\_SB_.BAT0 notify=0x80' Pushing table setting system=ACPI setting subsystem=CMBAT setting type=\_SB_.BAT0 setting notify=0x80 You should be aware that notify 0x80 for CMBAT indicates 'BST' or Battery State Change; you'll get these on shifting to any new state. You can check the new state with 'sysctl -n hw.acpi.battery.state'. 'acpiconf -i0' shows a translation between state masks and names. Then I tried (for testing) something like this in my /etc/devd.conf notify 10 { match system ACPI; match subsystem CMBAT; match notify 0x80; action logger LETGOSHUTDOWN; }; And then I can see the following output in /var/log/messages : Jun 1 10:48:54 Melon power_profile: changed to 'performance' Reflecting your AC line state changing from Battery to AC. devd.conf and /etc/rc.d/power_profile have good clues for handling devd notifies. Jun 1 10:48:56 Melon root: LETGOSHUTDOWN Jun 1 10:49:12 Melon root: LETGOSHUTDOWN Jun 1 10:51:06 Melon last message repeated 2 times It works, but the problem is that it makes this even the cable is plugged ! i.e : the computer was not powered on so with 3% of remaining time but AC plugged in after booting it (always with the AC plugged in) these messages appears too. I guess the ACPI/CMBAT do not care if there is an AC plugged in or not. See /sys/dev/acpica/acpi_cmbat.c for the gory details. Yes, ACAD and CMBAT are independent subsystems, so rather than an inline action like logger .. here, you might follow the examples to run your own script, passing the notify to that (if you may also want to check for notify 0x81, BIF battery info changes, though these occur rarely) So I will check deeper. Is there a way to make this conditional to do only if the laptop is not charging, AC plugged in ? Your script can check whether the AC power is on with: AC=`sysctl -n hw.acpi.acline` if [ $AC = 1 ]; then exit 0 # or whatever, when on AC power elif [ $AC = 0 ]; then : # do whatever when on battery else : # AC/Battery state unknown .. fi You could try just logging all state changes for a while; from critical charging to charging to high to discharging to critical discharging, I think that's the lot .. you can also check hw.acpi.battery.life etc. Okay I will try a script like this one. However, your system should do an 'emergency suspend' on critical low battery anyway .. usually set at 1% capacity but some BIOS will let you adjust that (see acpiconf -i0). Only if suspend/resume works of course. It would be great if suspend/resume would works yes ! For the moment it's not the case : http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/146715 Thanks for your answer ;-) -- Demelier David ___ freebsd-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: text editor
I remember writing our own text editor, and it had to fit in 64K. On Jun 01 2010 07:09, Chad Perrin wrote: On Tue, Jun 01, 2010 at 07:49:56AM +0100, Matthew Seaman wrote: Young whippersnappers. *Eight* was the good old days, back before the web was invented. No -- those are the even better old days. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -- Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.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: text editor
On Sun, 30 May 2010, Fbsd1 wrote: Been using ee and been happy. Now I have need for an editor with block commands. I'd suggest looking into aee. -- Walter M. Pawley w...@wump.org Wump Research Company 676 River Bend Road, Roseburg, OR 97471 541-672-8975 ___ freebsd-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: Add watermark to PDF
On Tue, Jun 1, 2010 at 4:15 PM, John Almberg jalmb...@identry.com wrote: So basically this script would have to read in the PDF and (ideally) a plain text file, and output a PDF with the plain text merged into the PDF as a footer. Maybe this will help? http://www.reportlab.com/software/opensource/rl-toolkit/ There's even a FreeBSD port for it: print/py-reportlab2 Any ideas, much appreciated. -- John -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What's the difference between portupgrade and portmaster ?
Jerry wrote: On Tue, 1 Jun 2010 10:26:18 +0300 Eitan Adler li...@eitanadler.com articulated: On Tue, Jun 1, 2010 at 3:37 AM, zaxis z_a...@163.com wrote: Why do we need two tools ? Its three. Add portmanager. The answer is personal choice and we number of bikesheds. Also portmaster used to not be able to work with packages when portupgrade could. I use portmanager with the '-p' flag for when I absolutely, positively have to insure that all dependencies are updated correctly. Neither of the other two utilities seem to get it correct 100% of the time. Plus, portmanmager is written in 'C' and IMHO is quicker than the other two. Just my 2¢. +1 for including portmanager in any list of port management tools, just doesn't get 'official' sanction for some reason. Chris ___ freebsd-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: [#24529544] Re: Network sort of stops working with the em (intel) driver under load.
Ticket subject: Re: Network sort of stops working with the em (intel) driver under load. Ticket number: 24529544 Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24529544 Ticket body: On Mon, May 31, 2010 at 9:30 PM, mark rowlands rowlands.m...@gmail.com wrote: Newly built and cvsupped system,with GENERIC kernel, when copying large amounts of data over a gigabit link via scp the network will hang after a couple of gig. I can then no longer login via ssh. If I leave it be, after about 12-24 hours I can then login again. (A reboot of course fixes the issue immediately...) . snip... I can now confirm that a similar copy to the vr card does not cause the same problem... so it would appear more likely that it might be an em related problem. and after replacing the em0 with a realtek gigabit card, the problem also does not occur. (the vr0 was only 100mb) So it would seem there is something hinky with at least the em (82540) card . ___ freebsd-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: [#24529544] Re: Network sort of stops working with the em (intel) driver under load.
On Tue, Jun 1, 2010 at 3:34 PM, mark rowlands rowlands.m...@gmail.com wrote: Ticket subject: Re: Network sort of stops working with the em (intel) driver under load. Ticket number: 24529544 Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24529544 Ticket body: On Mon, May 31, 2010 at 9:30 PM, mark rowlands rowlands.m...@gmail.com wrote: Newly built and cvsupped system,with GENERIC kernel, when copying large amounts of data over a gigabit link via scp the network will hang after a couple of gig. I can then no longer login via ssh. If I leave it be, after about 12-24 hours I can then login again. (A reboot of course fixes the issue immediately...) . snip... I can now confirm that a similar copy to the vr card does not cause the same problem... so it would appear more likely that it might be an em related problem. and after replacing the em0 with a realtek gigabit card, the problem also does not occur. (the vr0 was only 100mb) So it would seem there is something hinky with at least the em (82540) card . ___ freebsd-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: Network sort of stops working with the em (intel) driver under load.
On Mon, May 31, 2010 at 3:30 PM, mark rowlands rowlands.m...@gmail.com wrote: Newly built and cvsupped system,with GENERIC kernel, when copying large amounts of data over a gigabit link via scp the network will hang after a couple of gig. I can then no longer login via ssh. If I leave it be, after about 12-24 hours I can then login again. (A reboot of course fixes the issue immediately...) . I've had this behavior also with Intel Pro 1000 cards using the em driver. I picked up a lot of 4 of them off ebay and never figured out if it was a driver problem or faulty hardware. I went back to FreeNAS on that same box (7.2-RELEASE-p4) and it seems ok except my Netgear gigabit switch also died so I'm currently plugged into a 100Mbps switch. ___ freebsd-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: Sending alarms to my mobile phone
Thanks Matthias, Concerning voice messages, in the past (around 1995) I experimented with 'vgetty' which was fine to build a UNIX based answering machine. Actually vgetty is in FreeBSD ports: it is part of comms/mgetty+sendfax Sounds interesting. Best regards, Olivier ___ freebsd-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: Sending alarms to my mobile phone
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Matthew Seaman Sent: Tuesday, June 01, 2010 4:47 PM To: Olivier Nicole Cc: freebsd-questions@freebsd.org Subject: Re: Sending alarms to my mobile phone -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/06/2010 05:25:10, Olivier Nicole wrote: I would like my FreeBSD server to send alarms to my mobile phone, it could be voice messages or SMS. I think I can hook a voice modem to that machine, but any suggestion on the software side? Precisely what you need to do depends on who your phone company is. It is frequently done by sending e-mail to an SMS gateway. There are various ports designed to enable scripting of sending SMS-es to particular providers -- see comms/p5-SMS-Send-* If you have a GSM modem or mobile, there are about 4 or 5 ports you could choose from. Just do a 'make search name=sms' in /usr/ports. No idea about leaving a voice message -- doing voice synthesis is pretty well covered, but making a computer dial a phone and speak into it? Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW Hi all, I use gsmsmsd from ports and a wavecom GSM modem on a serial port for my embedded monitor systems... It works very well, with a bit of SNMP / .sh / awk scripting. It can also work with a number of mobile phones that have a serial link. Typical send / receive rate is 1 message / 7 seconds due to cell negotiation for each message being sent. Or I go full power on main servers and use kannel from ports and a Telco SMPP service. Send / receive rates are 30 messages / second Murray Taylor Bytecraft Systems Special Projects Engineer P: +61 3 8710 0600 D: +61 3 9238 4275 F: +61 3 9238 4140 -- |_|0|_|Absence of evidence |_|_|0|is not evidence of absence |0|0|0|Carl Sagan --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Bob Falanga wants to chat
--- Bob Falanga wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-57cb37aca1-9b1131bce3-X-GTz_KWexz0X-oykVWNas5Ui74 You'll need to click this link to be able to chat with Bob Falanga. To get Gmail - a free email account from Google with over 2,800 megabytes of storage - and chat with Bob Falanga, visit: http://mail.google.com/mail/a-57cb37aca1-9b1131bce3-X-GTz_KWexz0X-oykVWNas5Ui74 Gmail offers: - Instant messaging right inside Gmail - Powerful spam protection - Built-in search for finding your messages and a helpful way of organizing emails into conversations - No pop-up ads or untargeted banners - just text ads and related information that are relevant to the content of your messages All this, and its yours for free. But wait, there's more! By opening a Gmail account, you also get access to Google Talk, Google's instant messaging service: http://www.google.com/talk/ Google Talk offers: - Web-based chat that you can use anywhere, without a download - A contact list that's synchronized with your Gmail account - Free, high quality PC-to-PC voice calls when you download the Google Talk client We're working hard to add new features and make improvements, so we might also ask for your comments and suggestions periodically. We appreciate your help in making our products even better! Thanks, The Google Team To learn more about Gmail and Google Talk, visit: http://mail.google.com/mail/help/about.html http://www.google.com/talk/about.html (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser). ___ freebsd-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: fonts qstns.
On Sat, May 29, 2010 at 5:11 PM, Gary Kline kl...@thought.org wrote: guys, given the depth and wide scope of knoweldge on this list, i'm hoping that somebody can clue me in on font stuff... BUT: the fonts i'm interested in have to work with openoffice. first, i'm looking for a font that is apropos for long manscripts. printed. books rather than newspapers or other ink+paper material. to me, GEorgia works quite nicely for my book JOURNEY. but am wondering if there is such a thing as a semi-bold [or darker than usual regular] typeface. Hi, URW Bookman L seems to fit that bill, IMHO Best, Alejandro Imass i hope you're all sitting down now; i'm ready to pay for this font. --hope nodybody fell over :) thanks in advance, gary, who is almost done with his final copyedit. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 97/100% Guaranteed Novel ___ freebsd-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
sife sife would like to connect with you on Yahoo!
X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: do-not-re...@profiles.yahoo.com List-Id: User questions freebsd-questions.freebsd.org List-Unsubscribe: http://lists.freebsd.org/mailman/listinfo/freebsd-questions, mailto:freebsd-questions-requ...@freebsd.org?subject=unsubscribe List-Archive: http://lists.freebsd.org/pipermail/freebsd-questions List-Post: mailto:freebsd-questions@freebsd.org List-Help: mailto:freebsd-questions-requ...@freebsd.org?subject=help List-Subscribe: http://lists.freebsd.org/mailman/listinfo/freebsd-questions, mailto:freebsd-questions-requ...@freebsd.org?subject=subscribe Content-Type: multipart/mixed; boundary2032211044== Sender: owner-freebsd-questi...@freebsd.org Errors-To: owner-freebsd-questi...@freebsd.org --===2032211044== Content-transfer-encoding: base64 Content-Type: text/plain; charset=us-ascii PGh0bWw+CiAgICA8aGVhZD4KICAgICAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LV R5cGUi IGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1VVEYtOCI+CiAgICAgICAgPHRpdGxlPk Nvbm5l Y3Qgd2l0aCBGcmllbmRzIGFuZCBGYW1pbHkgb24gWWFob28hPC90aXRsZT4KICAgIDwvaG VhZD4K ICAgIDxib2R5IGxlZnRtYXJnaW49IjAiIHRvcG1hcmdpbj0iMCIgYmdjb2xvcj0iI2QyZT RmMCIg bWFyZ2luaGVpZ2h0PSIwIiBtYXJnaW53aWR0aD0iMCI+CiAgICAgICAgPHRhYmxlIGJvcm Rlcj0i MCIgY2VsbHBhZGRpbmc9IjAiIGNlbGxzcGFjaW5nPSIwIiB3aWR0aD0iMTAwJSI+CiAgIC AgICAg ICAgIDx0Ym9keT4KICAgICAgICAgICAgICAgIDx0cj4KICAgICAgICAgICAgICAgICAgIC A8dGQg c3R5bGU9InBhZGRpbmc6IDJwdCAwcHQgMHB0IDBwdDsiIGFsaWduPSJjZW50ZXIiPgogIC AgICAg ICAgICAgICAgICAgICAgICA8dGFibGUgYm9yZGVyPSIwIiBjZWxscGFkZGluZz0iMCIgY2 VsbHNw YWNpbmc9IjAiIHdpZHRoPSI1NzAiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPH Rib2R5 PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0cj4KICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgPHRkIGFsaWduPSJsZWZ0Ij48aW1nIHdpZHRoPSIxNDIiIG hlaWdo dD0iMzgiIHNyYz0iaHR0cDovL2wueWltZy5jb20vYS9pL2JyYW5kL3B1cnBsZWxvZ28vYm FzZS91 cy5naWYiIGFsdD0iWWFob28hIj48L3RkPgogICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg IDwvdHI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3Rib2R5PgogICAgICAgIC AgICAg ICAgICAgICAgICA8L3RhYmxlPgogICAgICAgICAgICAgICAgICAgIDwvdGQ+CiAgICAgIC AgICAg ICAgICA8L3RyPgogICAgICAgICAgICAgICAgPHRyPgogICAgICAgICAgICAgICAgICAgID x0ZCBz dHlsZT0icGFkZGluZzogMTBweCAwcHQgMzBweDsiIGFsaWduPSJjZW50ZXIiIHZhbGlnbj 0idG9w Ij4KICAgICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGJvcmRlcj0iMCIgY2VsbHBhZG Rpbmc9 IjAiIGNlbGxzcGFjaW5nPSIwIiB3aWR0aD0iNTcwIj4KICAgICAgICAgICAgICAgICAgIC AgICAg PHRib2R5PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRyPgogICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgIDx0ZCBoZWlnaHQ9IjEyIiB3aWR0aD0iNTcwIj48aW1nIHNyYz 0iaHR0 cDovL2wueWltZy5jb20vYS9pL3VzL2Njcy9jY3MvNzkyOC9ib3hfdG9wLmdpZiIgaGVpZ2 h0PSIx MiIgd2lkdGg9IjU3MCI+PC90ZD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdH I+CiAg ICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+CiAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgPHRkIGFsaWduPSJjZW50ZXIiIGJhY2tncm91bmQ9Imh0dHA6Ly9sLnlpbWcuY2 9tL2Ev aS91cy9jY3MvY2NzLzc5MjgvYm94X2JrZy5naWYiIHZhbGlnbj0idG9wIj4KICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGJvcmRlcj0iMCIgY2VsbHBhZGRpbm c9IjAi IGNlbGxzcGFjaW5nPSIwIiB3aWR0aD0iNTUyIj4KICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgIDx0Ym9keT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICA8dHI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgIDx0ZCBjb2xzcGFuPSI0Ij48aW1nIHNyYz0iaHR0cDovL2wueWltZy5jb20vYS9pL3 VzL2Nj cy9jY3MvNzkyOC9mcmllbmRfdG9wLmdpZiIgaGVpZ2h0PSIxNyIgd2lkdGg9IjU1MiI+PC 90ZD4K ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RyPgogIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0cj4KICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkIGJhY2tncm91bmQ9Imh0dH A6Ly9s LnlpbWcuY29tL2EvaS91cy9jY3MvY2NzLzc5MjgvZnJpZW5kX2xlZnQuZ2lmIiB2YWxpZ2 49InRv cCIgd2lkdGg9IjYiPjxpbWcgc3JjPSJodHRwOi8vbC55aW1nLmNvbS9hL2kvdXMvY2NzL2 Njcy83 OTI4L2ZyaWVuZF9sZWZ0LmdpZiIgaGVpZ2h0PSIxNTkiIHdpZHRoPSI2Ij48L3RkPgogIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgc3R5bGU9In BhZGRp bmc6NXB0IDBwdCAwcHQgMTJwdDsiIGFsaWduPSJjZW50ZXIiIGJhY2tncm91bmQ9Imh0dH A6Ly9s LnlpbWcuY29tL2EvaS91cy9jY3MvY2NzLzc5MjgvZnJpZW5kX2JrZy5naWYiIHZhbGlnbj 0idG9w IiB3aWR0aD0iMTI1Ij4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICA8YSBocmVmPSJodHRwOi8vcHJvZmlsZXMueWFob28uY29tL3UvUE 5SSUFJ U1FJSVVXTUlBUUxIQU5ST0hXN1E/LmdwPXFvcUYxUTJZTGN4amg2Z1ZuUVZkemVFTFRxQV VjekU0 enJYSktrSk5IN01NcW4wS2l0bmZraUhpN0pNViZxPTAiPgogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgIC AgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgIC AgICAg
Re: fonts qstns.
On Wed, Jun 02, 2010 at 05:21:53AM +0200, Bernt Hansson wrote: 2010-05-30 09:51, Gary Kline skrev: according to one fellow, the top display shows only 72dpi; that is why sans serif [like arial] render better than, say, times. does this still hold? No it does not. My display has 96 DPI and it is 12-15 years old and 35 Kg. thabks! it may be that this guy is too used to the DOG/Lose program-loader. he did show me my www.thought.org page on an LCD display, and my time or time-roman fonts did not render very well using XP. or whatever. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org