Re: virtualbox

2010-08-07 Thread Chip Camden
Quoth Chip Camden on Thursday, 05 August 2010:
 Quoth Brandon Gooch on Thursday, 05 August 2010:
  On Thu, Aug 5, 2010 at 10:53 PM, kalin m ka...@el.net wrote:
  
  
   hi all..
  
   just wondering how mature is virtualbox to be used with freebsd - either 
   as
   host or as guest. is viable to be used in production environment?
  
  
  From my experience (running the latest 3.2.6 on 8.1-RELEASE, 8-STABLE,
  and 9-CURRENT) as both host and guest systems, YES.
  
  I'm also using 32- and 64-bit Windows and Linux guests; performance
  and stability are very, very good.
  
  Please try VirtualBox for yourself -- I think you will be pleased with
  the effort that's been put in to the port by the developers :)
  
  -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
 
 I'll second that.  I haven't used FreeBSD as a guest yet, but as a host
 VirtualBox performs very nicely, and (touch wood) I haven't had any
 problems with using Windows 7 and Windows XP as guests.  I'm on amd64
 FreeBSD, and I've run both 64-bit and 32-bit Windows guests.
 

Just to follow up, as part of my Bugathon participation I created a VM with
8.1-RELEASE as a guest for testing.  The i386 version is running like a champ.  
I
couldn't get the amd64 iso to boot under VirtualBox, though.  It just
appeared to hang after loading most of the system -- sorry, I don't have
a log.

When running Xorg under VirtualBox, I had to add the following to
xorg.conf to get the keyboard and mouse to respond:

Section ServerFlags
Option  AutoAddDevices off
EndSection

Everything else worked out of the box (so to speak).

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpWmqojjmRAe.pgp
Description: PGP signature


Re: virtualbox

2010-08-06 Thread Chip Camden
Quoth Adam Vande More on Thursday, 05 August 2010:
 On Thu, Aug 5, 2010 at 11:17 PM, kalin m ka...@el.net wrote:
 
 
 
  awesome...  i will.  i'm basically intending to use it for production
  servers. i'll give it try...
 
  was reading something about not supporting usb...  how about serial ports?
 
  i was reading the documentation. not much there...  how about management,
  data backup and recovery? real time vm swaps?
 
 
 My fav VBox bookmark:
 
 http://www.virtualbox.org/manual/ch08.html, but there are other portions of
 that manual which should answer your questions as well.
 
 

A CLI for Vbox?  You just made my day.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgp0YdniwSljp.pgp
Description: PGP signature


Re: Good Terminal for X?

2010-08-06 Thread Chip Camden
Quoth Roland Smith on Friday, 06 August 2010:
 On Fri, Aug 06, 2010 at 03:12:11AM -0500, Depo Catcher wrote:
  
  I use Icewm, so don't want to install all that kde/gnome 
  libs/dependencies and such to get konsole or gnome-console (but both are 
  nice)
  
  xterm does display some things correctly (like sysinstall type command 
  line GUIs).
 
 Try x11/rxvt-unicode. It doesn't require Gnome nor KDE libraries, and it does
 handle unicode well. It's a lot lighter than xterm. And it has transparancy or
 backgrounds if you like that.
  
 Roland
 -- 
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

On the subject of unicode, can anyone recommend a good terminal font that
includes all (or most) unicode characters?


-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpYLkCgP4fns.pgp
Description: PGP signature


mercurial port broken?

2010-08-06 Thread Chip Camden
I just pulled mercurial, and the build nowfails:

for f in bash_completion  convert-repo  dumprevlog  hg-ssh  hgdiff  hgk
logo-droplets.svg  memory.py  mercurial.el  mergetools.hgrc  mq.el
perf.py  pylintrc  python-hook-examples.py  rewrite-log  sample.hgrc
shrink-revlog.py  simplemerge  tcsh_completion  tcsh_completion_build.sh
tmplrewrite.py  undumprevlog  zsh_completion  git-viz/git-cat-file
git-viz/git-diff-tree  git-viz/git-rev-list  git-viz/git-rev-tree
git-viz/hg-viz  hgsh/Makefile  hgsh/hgsh.c  vim/HGAnnotate.vim
vim/hg-menu.vim  vim/hgcommand.vim  vim/patchreview.txt
vim/patchreview.vim; do  /bin/cp -p
/usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/${f}
/usr/local/share/mercurial/contrib/${f};  done
cp: /usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/hgdiff: No
such file or directory
*** Error code 1

Indeed there is no directory:
/usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/hgdiff

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpzZ0vkGTyVI.pgp
Description: PGP signature


Re: looking for a buildable version of OpenOffice.org

2010-08-05 Thread Chip Camden
Quoth Scott Bennett on Thursday, 05 August 2010:
  On Wed, 4 Aug 2010 09:59:52 -0400 Jerry McAllister jerr...@msu.edu
 wrote:
 On Wed, Aug 04, 2010 at 02:00:00AM -0500, Scott Bennett wrote:
 
   I have tried all of the versions of OpenOffice.org that are currently
  in the ports tree on a 7.3-STABLE system, and all of them fail to build to
  completion.  Is there somewhere that I can find one that actually works?
  Or at least some alternative package that will build and work on a FreeBSD
  7.3-STABLE system?  No packages appear to be available for these ports.
  (Transcripts of the failed builds are available on request.)
   And what would be available if I were to upgrade my system to 
  8.1-STABLE?
   Thanks in advance for any help!
 
 You didn't give any information on what the failures were.
 
  True enough.  That's because I wasn't really looking for help in fixing
 the broken ports, but rather for an OOo port that is *not* broken.
  However, here are some abbreviated descriptions of the build failures in
 case someone cares to pursue them or sees some obvious fix to apply.  Blank
 lines have been deleted from the output excerpts below in order to shorten 
 this
 message.
 
snip
 
 editors/openoffice.org-3:
 
 Checking DLL ../unxfbsdi.pro/lib/check_slideshow.uno.so ...-rwxr-xr-x  1 root 
  wheel  6559304 Jul 31 04:03 ../unxfbsdi.pro/lib/slideshow.uno.so
 -
 SHL2FILTERFILE not set!
 -
 dummy file to keep the dependencies for later use.
 --
 Making: ../unxfbsdi.pro/lib/libslideshowtestfi.so
 
 [A line link-editing something called
 ../unxfbsdi.pro/lib/libslideshowtestfi.so
 was too long for vi here, so I've omitted it.  SB]
 
 rm -f ../unxfbsdi.pro/lib/check_libslideshowtestfi.so
 mv ../unxfbsdi.pro/lib/libslideshowtestfi.so 
 ../unxfbsdi.pro/lib/check_libslideshowtestfi.so
 /backups/w/misc/work/usr/ports/editors/openoffice.org-3/work/OOO320_m19/solenv/bin/checkdll.sh
  -L../unxfbsdi.pro/lib 
 -L/backups/w/misc/work/usr/ports/editors/openoffice.org-3/work/OOO320_m19/solver/320/unxfbsdi.pro/lib
   ../unxfbsdi.pro/lib/check_libslideshowtestfi.so
 Checking DLL ../unxfbsdi.pro/lib/check_libslideshowtestfi.so ...-rwxr-xr-x  1 
 root  wheel  6963499 Jul 31 04:03 ../unxfbsdi.pro/lib/libslideshowtestfi.so
 -
 Running processes: 0
 Name main::name used only once: possible typo at 
 /backups/w/misc/work/usr/ports/editors/openoffice.org-3/work/OOO320_m19/solenv/bin/deliver.pl
  line 1312.
 deliver -- version: -
 Module 'slideshow' delivered successfully. 2 files copied, 2 files unchanged
 2 module(s):
 nss
 openssl
 need(s) to be rebuilt
 Reason(s):
 ERROR: error 65280 occurred while making 
 /backups/w/misc/work/usr/ports/editors/openoffice.org-3/work/OOO320_m19/nss/
 ERROR: error 65280 occurred while making 
 /backups/w/misc/work/usr/ports/editors/openoffice.org-3/work/OOO320_m19/openssl/
 Attention: if you build and deliver the above module(s) you may prolongue 
 your the build issuing command build --from nss openssl
 rmdir /tmp/NnlQ9YQZ77
 *** Error code 1
 Stop in /usr/ports/editors/openoffice.org-3.
 === make failed for editors/openoffice.org-3
 === Aborting update
 
/snip


Looks like you just need to upgrade some dependent ports (nss and
openssl).

portupgrade -R nss
portupgrade -R openssl

 ___
 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

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpKeFY6fV2KM.pgp
Description: PGP signature


Re: copyright for man pages

2010-08-05 Thread Chip Camden
Quoth Chad Perrin on Thursday, 05 August 2010:
 On Thu, Aug 05, 2010 at 07:16:20AM -0400, r...@mlg3.com wrote:
  Hello,
  
  Sorry of this is the wrong list but what is the copyright situation for 
  things like man pages? If I want to host a copy of one on the web or 
  something, is there some additional disclaimer I need to add?
 
 As I understand it, most man pages and other FreeBSD documentation is
 distributed under the terms of the FreeBSD Documentation License:
 
 http://www.freebsd.org/copyright/freebsd-doc-license.html
 
 Anything that says GNU in it (because it's related to GNU software) is
 likely to be distributed under the terms of the GNU Free Documentation
 License:
 
 http://www.gnu.org/copyleft/fdl.html
 
 Some man pages are likely to be distributed under the standard BSD
 License.  There may or may not be some stuff distributed under the terms
 of the BSD Documentation License, which is actually a derivative of the
 FreeBSD Documentation License.  There may be a couple here and there
 distributed under other licenses as well.
 
 I'm not anyone officially associated with the documentation project,
 though, so don't just take my word for it if you have reason to question
 what I've said.
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

Man pages for ports might have their own licensing -- perhaps (though not
necessarily) under the same license as their corresponding ports.


-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpFwBZpy4ZsJ.pgp
Description: PGP signature


Re: virtualbox

2010-08-05 Thread Chip Camden
Quoth Brandon Gooch on Thursday, 05 August 2010:
 On Thu, Aug 5, 2010 at 10:53 PM, kalin m ka...@el.net wrote:
 
 
  hi all..
 
  just wondering how mature is virtualbox to be used with freebsd - either as
  host or as guest. is viable to be used in production environment?
 
 
 From my experience (running the latest 3.2.6 on 8.1-RELEASE, 8-STABLE,
 and 9-CURRENT) as both host and guest systems, YES.
 
 I'm also using 32- and 64-bit Windows and Linux guests; performance
 and stability are very, very good.
 
 Please try VirtualBox for yourself -- I think you will be pleased with
 the effort that's been put in to the port by the developers :)
 
 -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

I'll second that.  I haven't used FreeBSD as a guest yet, but as a host
VirtualBox performs very nicely, and (touch wood) I haven't had any
problems with using Windows 7 and Windows XP as guests.  I'm on amd64
FreeBSD, and I've run both 64-bit and 32-bit Windows guests.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpXN2KxKZSfY.pgp
Description: PGP signature


Re: how to parse output of application?

2010-08-03 Thread Chip Camden
 
 Can you help me with this task I have? I have a lot of files in a 
 subdirectory containing the following text:
 
 Correctly Classified Instances 3018117   56.6808 %
 Incorrectly Classified Instances   2306643   43.3192 %
 Kappa statistic  0.2443
 Mean absolute error  0.4304
 Root mean squared
  error  0.4586
 Relative absolute error    124.1251 %
 Root relative squared error    110.1308 %
 Total Number of Instances  5324760 
 
 
 === Detailed Accuracy By Class ===
 
 TP Rate   FP Rate   Precision   Recall  F-Measure   ROC Area  Class
   0.618 0.343  0.681 0.618 0.648  0.697    1
   0.519 0.244  0.617
  0.519 0.564  0.693    2
   0.296 0.141  0.056 0.296 0.094  0.66 3
 
 
 === Confusion Matrix ===
 
    a   b   c   -- classified as
  1784321  684983  416649 |   a = 1
   787342 1190428  314537 |   b = 2
    49255   53877   43368 |   c = 3
 
 I need to parse this file to get in a csv file the following information:
 
 Correctly Classified Instances, Kappa statistic, Total Number of Instances, 
 Precision {1}, Recall {1}, F-Measure
  {1},Precision {2}, Recall {2}, F-Measure {2},Precision {3}, Recall {3}, 
 F-Measure {3},a,b,c,a,b,c,a,b,c
 56.6808,
  0.2443, 5324760, 0.681,0.618,0.648,0.617,0.519,0.564, 
 0.056,0.296,0.094,1784321,684983,416649,787342,1190428,314537,49255,53877,43368
 
 Does anyone have an idea how this could be accomplished?
 
 I not that great in programming so writing a ruby or shell script do do this 
 would take me weeks:-(
 
 Thanks
 Dino
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Well, I'd use Ruby.  Read the whole file into a string and find the
relevant bits with Regexp.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpdJgqaVHQV3.pgp
Description: PGP signature


[sterl...@camdensoftware.com: Re: Firefox printing]

2010-08-02 Thread Chip Camden

Quoth Warren Block on Monday, 02 August 2010:
 Firefox 3.6.8,1 coredumps on print preview or print.  Can anyone else=20
 confirm this?  (8.1-stable using lpd.)

Works fine here, but I'm using cups (8.1-stable, firefox 3.6.8,1, amd64)

FreeBSD libertas.local.camdensoftware.com 8.1-STABLE FreeBSD 8.1-STABLE #23: 
Sun Aug  1 10:41:36 PDT 2010 
sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/LIBERTAS  amd64
firefox-3.6.8,1 =3D  up-to-date with port=20

--
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgp5otb0hwdVI.pgp
Description: PGP signature


Re: ok, i give up...

2010-07-31 Thread Chip Camden
Quoth Gary Kline on Saturday, 31 July 2010:
 On Sat, Jul 31, 2010 at 03:40:00PM +0100, Frank Shute wrote:
  On Thu, Jul 29, 2010 at 07:08:20PM -0700, per...@pluto.rain.com wrote:
  
   Frank Shute fr...@shute.org.uk wrote:
On Wed, Jul 28, 2010 at 07:04:51PM -0700, Gary Kline wrote:
 guys, i've been searching for a calender/reminder prog
 than i had YEARS ago.  cannot find.  
 
 it had a ~/.datafile that was ascii.  things like
 
 QUOTE
 
 # Bill's birthday:
 08 08 echo Send Bill a birthday card.
 
 # watch one-time broadcast!!
 08 09 2010  echo: Watch PBS show at 20:00 hours
 
 /QUOTE
   ...
deskutils/ical ?
   
   Good program, but probably not what the OP had in mind.
   ical's .calendar file, while ascii, is in a structured
   format which would be a bit of a pain to edit by hand;
   and I don't recall its being set up to send email.
   
  
  No, it's not able to send email AFAIK.
  
  If Gary just wants reminders of when to take pills, then I would
  recommend him to use at(1) and get it to call a file which calls
  xmessage at the correct times of day. E.g. that file contains:
  
  export DISPLAY=:0.0
  xmessage -geom 100x100+100+100 Take pills!
  
  or if you want to use email use mail(1) and at(1)
   
  I don't think anybodys mentioned at(1). It's in base and not a port,
  xmessage is a port.
  
 
 
 
   This might work for ssomething like a reminder to down my pills.
   I completely forgot about 'at'.  
 
   :-
   )
 
   gary

Using the 'when' scripts I developed, you can generate reminders that will
pipe to anything, including mail or xmessage 
(http://chipstips.com/?tag=rbremindwhen)

I send mine to my xmobar in bright yellow, so it gets my attention but
doesn't require me to close a dialog or anything.

 
 
  
  Regards,
  
  -- 
  
   Frank
  
   Contact info: http://www.shute.org.uk/misc/contact.html
  
  
 
 -- 
  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

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgp3dGqxSWTTA.pgp
Description: PGP signature


Re: BSD logo

2010-07-29 Thread Chip Camden
Quoth Chad Perrin on Thursday, 29 July 2010:
 On Thu, Jul 29, 2010 at 07:30:02PM +0200, Polytropon wrote:
  On Thu, 29 Jul 2010 14:05:03 +0200, Antonio Vieiro 
  anto...@antonioshome.net wrote:
   The logo means that all the people not trying out FreeBSD are going to 
   go directly to hell after death.
  
  No need to wait such a long time... :-)
 
 No . . . before death, they're in Pergatory, being (hopefully) cleansed
 of their sins.  If they never repent of those other OSes, though, *then*
 they go to Hell.
 
 . . . or something.
 
Thank Beastie and Chad (who was instrumental in my conversion) that I saw
the light, after 20 years of serving the *real* devil:
http://egomania.nu/gates.html


-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpC4tyF9nabm.pgp
Description: PGP signature


Re: BSD logo (a moderate opinion)

2010-07-29 Thread Chip Camden
Quoth Mario Lobo on Thursday, 29 July 2010:
 On Thursday 29 July 2010 19:45:02 Antonio Olivares wrote:
  I am sorry but I am now confused, the BSD Logo :
  
  http://www.freebsd.org/layout/images/logo-red.png
  
  is the sex toy right?
  
  Because Beastie just has his pitchfork 
  
 
 Well, don't forget that sado-masochists would find tons of usages for the 
 pitchfork, maybe even beastie's horns along with it :)
 

... and what about that long tail with the potentially useful tip?

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpEtonJE88vK.pgp
Description: PGP signature


Re: BSD logo

2010-07-28 Thread Chip Camden
Quoth David Brodbeck on Wednesday, 28 July 2010:
 On Tue, July 27, 2010 3:09 pm, Chip Camden wrote:
  Quoth Paul Schmehl on Tuesday, 27 July 2010:
  --On Tuesday, July 27, 2010 15:49:47 -0500 Reid Linnemann
  lr...@cs.okstate.edu wrote:
 
  On final analysis, I think the OP should abandon any desire for
  FreeBSD in favor of this: http://pudge.net/jesux/
 
  Sheesh.  Now I really have seen everything.
 
  Not quite.  Someone needs to come out with an OS named Atheix, and
  another called Agnostix.  Then we'll be complete.
 
 I tried Agnostix, but it's impossible to get support; every bug report
 gets closed with a status of not enough information.
 

With Atheix, they're all closed with Not a problem.

With Jesux, it's always, Will be fixed in Coming 2.0 (to be
released soon, we promise).  Workaround: apply more faith.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgptdkt7Q19od.pgp
Description: PGP signature


Re: ok, i give up...

2010-07-28 Thread Chip Camden
Quoth Gary Kline on Wednesday, 28 July 2010:
 guys, i've been searching for a calender/reminder prog than i had YEARS
 ago.  cannot find.  
 
 it had a ~/.datafile that was ascii.  things like
 
 QUOTE
 
 # Bill's birthday:
 08 08 echo Send Bill a birthday card.
 
 # watch one-time broadcast!!
 08 09 2010  echo: Watch PBS show at 20:00 hours
 
 /QUOTE
 
 
 i have forgotten the exact name of the ascii datafile and the calander
 program.  can't find it in ports despite around 2.75 hours of make
 search key=calender |grep -1 Info | more 
 
 I'm pretty sure i wasn't//am NOT hallucinating.  --there was an X popuo
 when the date time was hit.  i had to click on the Popup/dialog? to get
 rid of it.
 
 anybody know what this was? it goes back at least to the late 1990's.
 
 tia, y'all,
 
 gary
 
 PS: and now, time for a brew or maybe a =NAP=
 
 []
 
 
/usr/ports/deskutils/when

my favorite.  I've written a lot of scripts to supplement it, too:

http://chipstips.com/?tag=rbremindwhen

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpLDUmG473De.pgp
Description: PGP signature


Re: apps update from ports

2010-07-27 Thread Chip Camden
Quoth Polytropon on Tuesday, 27 July 2010:
 On Tue, 27 Jul 2010 07:16:15 +0200, claudiu vasadi claudiu.vas...@gmail.com 
 wrote:
 
 Finally, when I want to test out new features, both in OS and
 applications, I usually go with bleeding edge. I'm often
 surprised to see how well things do work.
 

That's my experience, too.  When I was told that in order to get my
wireless device working I would need to upgrade to STABLE, I shuddered
with the fearful anticipation of using a development version of the
O/S.  But it has lived up to the name STABLE.

Likewise with recently released ports.  Occasionally there's a breakage,
but I've always (touch wood) been pleasantly surprised by how easy it is
to set things right.  Not like the can't get there from here without a
wipe and load situations in which I often found myself during the 20
years in which my main system ran Windows (oh, the waste!)

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpV0Sw5iSXlZ.pgp
Description: PGP signature


Re: BSD logo

2010-07-27 Thread Chip Camden
Quoth Paul Schmehl on Tuesday, 27 July 2010:
 --On Tuesday, July 27, 2010 15:49:47 -0500 Reid Linnemann 
 lr...@cs.okstate.edu wrote:
 
 On final analysis, I think the OP should abandon any desire for
 FreeBSD in favor of this: http://pudge.net/jesux/
 
 Sheesh.  Now I really have seen everything.

Not quite.  Someone needs to come out with an OS named Atheix, and
another called Agnostix.  Then we'll be complete.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpGPGBXG6m9V.pgp
Description: PGP signature


Re: BSD logo

2010-07-27 Thread Chip Camden
Quoth Terrence Koeman on Wednesday, 28 July 2010:
  -Original Message-
  From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
  questi...@freebsd.org] On Behalf Of Chip Camden
  Sent: Wednesday, July 28, 2010 12:10 AM
  To: freebsd-questions@freebsd.org
  Subject: Re: BSD logo
 
  Quoth Paul Schmehl on Tuesday, 27 July 2010:
   --On Tuesday, July 27, 2010 15:49:47 -0500 Reid Linnemann
   lr...@cs.okstate.edu wrote:
  
   On final analysis, I think the OP should abandon any desire for
   FreeBSD in favor of this: http://pudge.net/jesux/
  
   Sheesh.  Now I really have seen everything.
 
  Not quite.  Someone needs to come out with an OS named Atheix, and
  another called Agnostix.  Then we'll be complete.
 
 
 I'm imagining Agnostix would need  uncertain values for true and false, and 
 Atheix wouldn't believe in the PATH and therefore won't look for it.
 

Well, Agnostix allow that there might be a kernel of truth.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpGuFMseMpvH.pgp
Description: PGP signature


Re: OpenOffice 3.2.1 in FreeBSD 8.1

2010-07-26 Thread Chip Camden
Quoth Antonio Vieiro on Monday, 26 July 2010:
 Hi all,
 
 For those trying to test OpenOffice 3.2.1 in FreeBSD 8.1-RELEASE (no 
 official package yet):
 
 This:
 ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/3.2.1/i386/OOo_3.2.1_FreeBSD81Intel_install_es.tbz
 
 From
 ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/3.2.1/i386/
 
 is working for me.
 
 (I now most of you already knew this, but I didn't!, I'm a FreeBSD newbie!)
 
 Cheers,
 Antonio

Umm... what's wrong with the port?  Works okay here (well, as OK as
OpenOffice.org ever is).

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpEKX3ni2A4t.pgp
Description: PGP signature


Re: BSD logo

2010-07-25 Thread Chip Camden
Quoth Chad Perrin on Sunday, 25 July 2010:
 On Sun, Jul 25, 2010 at 11:54:37AM -0400, Alejandro Imass wrote:
snip
 
 I'd think a devout Christian would have much more reason to complain
 about a Flying Spaghetti Monster (whose only purpose is to mock mystical
 belief systems) than a Daemon, ...

/snip

On the contrary, they fear competition much more than direct opposition.
That's why the bloodiest religious wars are usually between similar systems.
Thus, an opposing mythical symbol is more threatening, provided it's
taken seriously -- the attempt to cast it seriously is an attempt to
frame an enemy.

Actually, the deeper, unspoken threat is that it won't be taken seriously
-- providing a precedent for the demotion of all mythical symbols.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgp6T8tXhUZuC.pgp
Description: PGP signature


Re: BSD logo

2010-07-25 Thread Chip Camden
Quoth Chad Perrin on Sunday, 25 July 2010:
 On Sun, Jul 25, 2010 at 12:57:14AM -0700, per...@pluto.rain.com wrote:
  Chip Camden sterl...@camdensoftware.com wrote:
  
   Personally, I like the devilish association, however indirect
   it may be.  FreeBSD is somewhat counter-cultural and anti-
   authoritarian, after all.
  
  This discussion has drifted badly OT, but I feel compelled to
  point out that Christ Himself was very counter-cultural and anti-
  authoritarian for His time.  That's what got Him crucified, no?
 
 Too bad his legacy is, in effect, authoritarianism and mainstream
 cultural reinforcement -- including people bleating about some symbol
 they misunderstand, and how it offends their willfully ignorant,
 idolatrist sensitibilities.
 

Preach it, brother!

Though I generally refrain from speculating on WWJD, I think if asked
about this symbol he might reply something like, It doesn't matter what
picture the web page bears-- look at what is inscribed on the heart.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgp1Eoz8lRLCh.pgp
Description: PGP signature


Re: BSD logo

2010-07-24 Thread Chip Camden
 ]

abrasive -- maybe.  But this was a most enjoyable read.

I don't suppose our Christian friend opposes hot cross buns or Christmas
trees.  Then again, some Christians do.


-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpm1PvYsp0Pn.pgp
Description: PGP signature


Re: BSD logo

2010-07-24 Thread Chip Camden
Quoth David Brodbeck on Saturday, 24 July 2010:
 On Jul 23, 2010, at 11:24 PM, Chad Perrin wrote:
 It's a cartoon character.  It's not an attempt to lure your children  
 to
 join Satan's armies.  There's no reason to be deterred from giving
 FreeBSD a try just because of a friendly cartoon character.
 
 I'm reminded of when some Christian groups called for a boycott of  
 Apple because they had an OS project code-named Darwin.  Some people  
 will just go out of their way to look for reasons to take offense.
 
 I'm reminded that the SATAN network scanner project used to ship a  
 utility with the source code that would patch it to rename it  
 SANTA.  I suppose someone could fork a new BSD distribution with an  
 angel for a logo, to mollify these sorts of people.  Call it  
 BlessedBSD (BleSseD?) or something. ;)
 
That would probably make a lot of Christian BSD users happy.

Personally, I like the devilish association, however indirect it may be.
FreeBSD is somewhat counter-cultural and anti-authoritarian, after all.

The whole notion of the Christian heaven seems remarkably close to
Microsoft's vision of software: everyone will exist together in this
eternal utopian sameness, and they'll like it.

Give me my daemons, my lake of fire, and some people who aren't too good
to know what they want and don't want-- we'll have a party.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpcGxAcud6gG.pgp
Description: PGP signature


Re: BSD logo

2010-07-24 Thread Chip Camden
Quoth Frank Shute on Saturday, 24 July 2010:
 On Sat, Jul 24, 2010 at 09:21:48AM +0100, Matthew Seaman wrote:
 
  On 24/07/2010 08:38:24, Bernt Hansson wrote:
   Victor Skovorodnikov said the following on 2010-07-24 04:01:
   Hi!
  
   This may sound strange but I have a question about logo.  Why such a
   logo for BSD?  What is the
   meaning of that logo?
  
   I have always been thinking of trying FreeBSD but as a Christian I get
   deterred by its un-Christian
   logo.
   
   Grow up your silly sod!
  
  No, no.  I'm afraid the game is up, chaps.  Such perspicacious
  observation!  Such penetrating insight!  How could we have dreamed that
  anyone would uncover our daemonic plot to make the world a better place
  through superior software by simply examining our logo?
  
  My friends, I fear that there is going to be a lot of holy water
  sprinkled in data centres over the coming months.  There will be much
  weeping and wailing and a darkness shall spread over the face of the
  net; lightnings and thunders and unwholesome smokes shall assault those
  holy warriors attempting to drive out the daemonically possessed (Hint:
  turn off the power *before* applying the Holy Water.)
 
 You stick to your holy water, I'll stick to defenestrating virgins,
 sacrificing goats and chanting the Lord's prayer backwards whilst
 dancing naked in a pentagram. 
 

s/enestrat/lower/

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpIigHixIa9d.pgp
Description: PGP signature


Re: rmconfig from all ports tree

2010-07-21 Thread Chip Camden
Quoth claudiu vasadi on Thursday, 22 July 2010:
 in the meantime I wrote the following quick script:
 
 
 
 #!/bin/sh
 
 
 # Create a list of all dir's
 find /usr/ports/ -depth 2 -type directory -print  ports_structure
 
 # for each discovered dir, cd into it and do rmconfig
 file=ports_structure
 while read dr1
 do
 cd $dr1;make rmconfig
 done$file
 
 
 
 
 very simple script if you ask me. tested and working. Any
 suggestions/ideas/opinions are welcomed.
 ___

Since you asked, you don't really need to go to a file:

find /usr/ports/ -depth 2 -type directory -print | while read dr1
do
cd $dr1;make rmconfig
done

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpRU5W8vo11k.pgp
Description: PGP signature


Re: Wacom tablet driver port doesn't seem to work

2010-07-13 Thread Chip Camden
Quoth Chad Perrin on Tuesday, 13 July 2010:
 On Mon, Jul 12, 2010 at 09:04:10AM -0700, Chip Camden wrote:
  
  Looks like this may be it:
  
  /usr/local/lib/xorg/modules/input/wacom_drv.so
 
 Alas, I do not have that file either.  There are, in fact, no files with
 wacom anywhere in the path on this system other than the files in the
 input-wacom port.
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

Interesting.  After I built the port here, that file was new.  I'm afraid
I don't know anything more to be able to help.

You did try make clean deinstall reinstall, right?

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpBaaNUqqLnX.pgp
Description: PGP signature


Re: .sh check for sufix g or m on size field

2010-07-12 Thread Chip Camden
Quoth Aiza on Monday, 12 July 2010:
 Sorry miss send, was not done yet.
 
 Have a .sh script that accepts an -s sparse file size.
 Only 2 suffix's are valid m and g.
 
 Been trying to get this line of code to strip out just the single 
 letter. But it strips the letter and every thing to the right of it.
 
 Timagesize=`echo-n ${imagesize} | sed 's/g.*$//'`
 
 I plan to strip just the m or g if its there and the result should be 
 numeric. If not numeric know invalid suffix.
 
 Need help with the sed syntax. Or if there is better way I want to learn 
 it.
 
 Thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

It sounds like what you want is simply:

sed 's/[gm]//'

Or am I missing something?

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpDDzND6NDjl.pgp
Description: PGP signature


Re: Wacom tablet driver port doesn't seem to work

2010-07-12 Thread Chip Camden
Quoth Chad Perrin on Sunday, 11 July 2010:
 I started working on getting FreeBSD running on a ThinkPad X60 this
 weekend.  My goal was to get everything up to the standards of my T60,
 plus touchscreen and pen support for the Wacom display.  The only problem
 I've encountered so far is the fact that when I tried installing the
 Wacom driver from ports, it did not seem to work as advertised.
 
 port:
 
 /usr/ports/x11-drivers/input-wacom
 
 result:
 
 The driver file will not load and, indeed, does not appear to exist
 anywhere on the system.
 
 There are no files with wacom in the name and a .ko filename
 extension on the system, anywhere, after installing the input-wacom port.
 Is there some other step I'm meant to take?  I've searched all over the
 Web for something relevant, and have found nothing to shed light on the
 situation.  Is the driver file named something more cryptic than what I'm
 trying to find (maybe a driver file that doesn't contain the string
 wacom in the name)?
 
 Any guidance would be appreciated.  The FreeBSD version on the X60 is
 8.0-RELEASE.
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


Looks like this may be it:

/usr/local/lib/xorg/modules/input/wacom_drv.so


-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgp4euqj6eHQH.pgp
Description: PGP signature


Re: Get server's internal temperature from ACPI ?

2010-07-07 Thread Chip Camden
Quoth Frank Bonnet on Wednesday, 07 July 2010:
 Hello
 
 Is there an utility to get the internal temperature from a HP Proliant 
 server with ACPI ???
 
 Thank 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

sysctl -n hw.acpi.thermal.tz0.temperature

I'm not sure if the Proliant has an Intel Core, but if it does then you
can get per-cpu temperature info:

kld coretemp
for i in 0 1 2 3; sysctl -n dev.cpu.$i.temperature

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpsIIJEqpJbw.pgp
Description: PGP signature


Re: Bourne .sh ?

2010-07-02 Thread Chip Camden
On Jul 02 11:39, Aiza wrote:
 Chip Camden wrote:
 On Jul 02 07:43, Aiza wrote:
 I have a file containing this
 
 drwxrwxr-x  14 89987  546  512 Jun  6  2009 7.2-RELEASE
 drwxrwxr-x  14 89987  546  512 Mar 23 04:59 7.3-RELEASE
 drwxrwxr-x  13 89987  546  512 Nov 23  2009 8.0-RELEASE
 drwxrwxr-x  13 89987  546  512 Jul  1 04:56 8.1-RC2
 
 I want to strip off everything to the left of the release
 version so I end up with this.
 
 7.2-RELEASE
 7.3-RELEASE
 8.0-RELEASE
 8.1-RC2
 
 How would I code to do this?
 
 sed -e 's/.* //'  file
 
 assuming there are no trailing spaces on each line.
 
 Another alternative would be to create the list without all that detail:
 
 ls -1
 
 
 Wow do I feel stupid. You saw through my question to the underlying 
 problem causing the need to strip off that stuff. I just changed the 
 command from ls -l to ls -1 and got what I wanted in the first place.
 
 Thanks

You're welcome.  We're all learners here, but the man pages are an
excellent resource.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com


pgpcdn7z4uN4s.pgp
Description: PGP signature


Re: /boot is full after running make installkernel on FreeBSD 8.0

2010-07-01 Thread Chip Camden
On Jul 01 11:24, Ed Flecko wrote:
 Hi folks,
 I'm running FreeBSD 8.0, and I'm trying to simple stay current with
 all security patches. It's a clean install of FreeBSD 8.0 on a 50G
 drive, and I let sysinstall select the default partition configuration
 when I did the install.
 
 I've taken the following steps:
 
 
 # csup -4 /etc/stable-supfile
 # cd /usr/src
 # make buildworld
 # make buildkernel
 # make installkernel
 
 After the make installkernel command, the / partition shows 106%
 capacity (and it started as 500M).
 
 Here's my before and after running make installkernel
 
 Before:
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/da0s1a496M253M203M55%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/da0s1e496M 12K456M 0%/tmp
 /dev/da0s1f 44G3.0G 37G 8%/usr
 /dev/da0s1d1.9G 10M1.8G 1%/var
 
 After:
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/da0s1a496M485M-29M   106%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/da0s1e496M 12K456M 0%/tmp
 /dev/da0s1f 44G3.0G 37G 8%/usr
 /dev/da0s1d1.9G 10M1.8G 1%/var
 
 # cd /
 # du -h -d2 | grep M
 
 2.0K  ./tmp/.XIM-unix
  33M  ./usr/bin
  18M  ./usr/include
  37M  ./usr/lib
  20M  ./usr/libexec
 267M ./usr/local
  20M  ./usr/sbin
  37M  ./usr/share
 511M ./usr/src
 450M ./usr/ports
  10M  ./var/db
  10M  ./var
 1.7M  ./etc
 1.1M  ./bin
 233M ./boot/kernel
 233M ./boot/kernel.old
 466M ./boot
 7.4M  ./lib
 4.3M  ./rescue
 4.4M  ./sbin
 
 It looks like the both kernels are eating up the entire /
 
 Right?
 
 What am I doing wrong? The isn't normal, is it?
 
 Thank you,
 Ed
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I've experienced the same thing on amd64 -- the default partition size
for root is too small.  Rather than going to the trouble of correcting
it, I just 'rm -r /boot/kernel.old' when it fails and then redo 'make
installkernel', and all seems OK.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com


pgpj8YPHIDDdA.pgp
Description: PGP signature


Re: /boot is full after running make installkernel on FreeBSD 8.0

2010-07-01 Thread Chip Camden
On Jul 01 15:10, Lowell Gilbert wrote:
 Chip Camden sterl...@camdensoftware.com writes:
 
  I've experienced the same thing on amd64 -- the default partition size
  for root is too small.  Rather than going to the trouble of correcting
  it, I just 'rm -r /boot/kernel.old' when it fails and then redo 'make
  installkernel', and all seems OK.
 
 That's a little dangerous, because you're deleting your last known-good
 kernel.  I'd feel better about recommending just removing the
 unnecessary kernel modules (which for a lot of people, is all of them).
 ___
 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

Could you expand on that?  I'd prefer a less risky option, especially
because I always get this paralyzing fear that I'll accidentally hit
Enter after I've typed 'rm -r /'

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com


pgpsdgVN3XSlj.pgp
Description: PGP signature


Re: /boot is full after running make installkernel on FreeBSD 8.0

2010-07-01 Thread Chip Camden
On Jul 01 12:07, Ed Flecko wrote:
 Thanks guys.
 
 :-)
 
 Doesn't that seem odd that the default partition size for root
 (512M) isn't quite big enough?
 
 Should I make the partition size slightly larger (on future installs)
 to eliminate this problem?
 
 Ed
 ___
 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 know *I* will.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com


pgpg29YkGipfM.pgp
Description: PGP signature


Re: /boot is full after running make installkernel on FreeBSD 8.0

2010-07-01 Thread Chip Camden
On Jul 01 12:29, Chip Camden wrote:
 On Jul 01 12:07, Ed Flecko wrote:
  Thanks guys.
  
  :-)
  
  Doesn't that seem odd that the default partition size for root
  (512M) isn't quite big enough?
  
  Should I make the partition size slightly larger (on future installs)
  to eliminate this problem?
  
  Ed
  ___
  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 know *I* will.
 
 -- 
 Sterling (Chip) Camden
 http://camdensoftware.com | http://chipstips.com | http://chipsquips.com

I've found that if you just rm /boot/kernel.old/*.symbols, you'll have
more than enough space.  Is that safe enough?


-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com


pgp8OM1K20onO.pgp
Description: PGP signature


ports issue with gegl

2010-06-25 Thread Chip Camden
Greetings.

uname -a:

FreeBSD libertas.local.camdensoftware.com 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE 
#1: Thu Jun 24 13:38:09 PDT 2010 
sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/GENERIC  amd64

As of a portsnap fetch update this morning, the gegl port will not build

===  gegl-0.1.2_1 is marked as broken: ffmpeg support is currently
broken.

gimp depends on gegl, so the latest update to gimp will not build.

Known problem?

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: ports issue with gegl

2010-06-25 Thread Chip Camden
On Jun 25 20:21, Ivan Klymenko wrote:
 ?? Fri, 25 Jun 2010 10:06:21 -0700
 Chip Camden sterl...@camdensoftware.com ??:
 
  Greetings.
  
  uname -a:
  
  FreeBSD libertas.local.camdensoftware.com 8.1-PRERELEASE FreeBSD
  8.1-PRERELEASE #1: Thu Jun 24 13:38:09 PDT 2010
  sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/GENERIC
  amd64
  
  As of a portsnap fetch update this morning, the gegl port will not
  build
  
  ===  gegl-0.1.2_1 is marked as broken: ffmpeg support is currently
  broken.
  
  gimp depends on gegl, so the latest update to gimp will not build.
  
  Known problem?
  
 
 reconfigure graphics/gegl whit out ffmpeg support
 
 cd /user/ports/graphics/gegl  make WITHOUT_FFMPEG=yes config
 ___
 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

Cheers!  I should have figured that was an option, so sorry about the
noise.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: Virtualization with USB on Freebsd 8

2010-06-24 Thread Chip Camden
On Jun 24 18:58, step...@theched.org wrote:
 Good morning/afternoon/evening,
 
 Do you know of any virtualisation solution that would allow USB devices
 when using Freebsd-8 as host ?
 
 We do indeed have virtualbox-OSE, but without USB support
 
 Basically I would use that to fire-up a WinXP session allowing my to sync
 various USB devices that I cannot sync using my Freebsd box (iPod, GPS
 etc.)
 
 Thanks in advance,
 
 -Steven

Not sure about other USB devices, but I use virtualbox-ose on FreeBSD host,
and Windows 7 sees the USB wireless keyboard and mouse without any
fiddling.  But perhaps that's because FreeBSD also sees them and
virtualizes them.
 
 
 ___
 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

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: .sh check for numeric content

2010-06-24 Thread Chip Camden
On Jun 24 05:08, Jerry wrote:
 On Wed, 23 Jun 2010 23:32:57 -0400 (EDT)
 Karl Vogel vogelke+u...@pobox.com articulated:
 
 
   On Thu, 24 Jun 2010 09:24:39 +0800, 
   Aiza aiz...@comclark.com said:
  
  A Receiving a variable from the command line that is suppose to
  A contain numeric values.  How do I code a test to verify the
  A content is numeric?
  
 The script below will work with the Bourne or Korn shell.
 Results for 0 1 12 1234 .12 1.234 12.3 1a a1:
  
   0 is numeric
   1 is numeric
   12 is numeric
   1234 is numeric
   .12 is numeric
   1.234 is numeric
   12.3 is numeric
   1a is NOT numeric
   a1 is NOT numeric
 
 I had used this snippet in a script to test for numeric input. It was
 part of a function in a Bash script.
 
 case ${1} in
   [[:digit:]] )
 IS_DIGIT=1
   ;;  
 
   * ) 
 
 IS_DIGIT=0
 
 printf \n\a\t   *WARNING*
 
 \tYou must enter a digit\n\n 
 
   ;;  
 
 esac

That [[:digit:]] pattern only works if your shell supports POSIX
character classes in the case statement.
 
 -- 
 Jerry ???
 freebsd.u...@seibercom.net
 
 Disclaimer: off-list followups get on-list replies or get ignored.
 Please do not ignore the Reply-To header.
 __
 
 Why do we want intelligent terminals
 when there are so many stupid users?
 ___
 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

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: check for numeric content in a shell script (FreeBSD sh)

2010-06-24 Thread Chip Camden
On Jun 24 08:39, Parv wrote:
 in message 20100624183407.ga49...@holstein.holy.cow,
 wrote p...@pair.com thusly...
 
  #  Matches a number, either positive (without '+' sign) or
  #  negative, which is either a whole number; or a real number
  #  ending with decimal point, or a real number with or without
  #  leading digits before the decimal point.
 . ^
 . ^  plural
  ^
  -?
  (
[0-9]  [.]? [0-9]*
  |
[0-9]? [.]  [0-9]+
 .^
 .^  oops
 
 Please change the immediately above regex portion to ...
 
   [0-9]* [.]  [0-9]+
 
 
   - parv

We still need to be able to handle numbers without a decimal.  Try this:

[0-9]*\.?[0-9]+

The question mark says 0 or 1
 
  )
  $
 
 -- 
 
 ___
 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

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: since when did alt-shift-tab quit working?

2010-06-24 Thread Chip Camden
On Jun 24 14:17, Steve Franks wrote:
 I thought it was the kludged state of my desktop, but the 8-release
 server I just brought up fresh yesterday is doing it too: alt-tab
 works, alt-shift-tab does not.  For those of us who are not into
 gnome/kde/cutesy menus  panels, this is a major PITA.  No doubt it
 came in from linux-land with the latest xorg revision, and I'm going
 to have to add another esoteric knob to my xorg.conf...
 
 Steve
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

What window manager are you using?  With xmonad, you have complete
control over those keystrokes.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: thunderbird replacement

2010-06-21 Thread Chip Camden
On Jun 20 2010 08:28, Aryeh Friedman wrote:
 I currently am using mail/thunderbird as my mail reader and it is just
 doing the job very well (even with heavy use of filters) I use
 xfce4 on 8.1-PRERELEASE (updated and portmaster -Rafd'ed about 3 weeks
 ago) I am looking for a good replacement suggestions here are
 the minimal features I need:
 
 * Gmail support
 * Filtering (either internal or via external tool)
 * Multiple accounts (2)
 * Ability to send via local sendmail (my ISP blocks incoming port 25
 thats why I am using gmail)
 * Handle over 1000 messages a day
 * (optional) Plain text archives (unlike how Thunderbird does 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

You can do all of the above with mutt.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: terrible mplayer performance

2010-06-15 Thread Chip Camden
On Jun 14 2010 21:06, Neil Short wrote:
 --- On Mon, 6/14/10, Polytropon free...@edvax.de wrote:
 
  
  
  Check the output of pciconf -lv to see what
  identification of
  your graphics hardware is output. 
 
 result:
 ...
 vgap...@pci0:0:2:0: class=0x03 card=0x140a103c chip=0x00468086 
 rev=0x02 hdr=0x00
 vendor = 'Intel Corporation'
 class  = display
 subclass   = VGA
 ...
 

You have exactly the same chipset I do.  I have not seen any mention of
work being done on the intel driver for this chipset, but I would be glad
to lend a hand if someone could direct me on how to begin.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: * wildcard in.sh script

2010-06-15 Thread Chip Camden
On Jun 15 2010 17:06, Aiza wrote:
 Aiza wrote:
 I have a directory with files in it. The first 3 letters of the file 
 names is the group prefix. I'm trying to write a script to accept the 3 
 letter of the group followed by a * to mean its a prefix lookup. But 
 when I run it I get a message NO match that is not issued by the 
 script. Its like * is not allowed as input.
 
 Looking for sample .sh code for handling this standard type of lookup or 
 some online tutorial that has sample code for bourne shell programming.
 
 
 
 
 Here is the code
 
   prefix_name1=$1
   prefix_name2=`echo -n ${prefix_name1} | sed 's/*.*$//'`
   echo prefix_name1 = ${prefix_name1}
   echo prefix_name2 = ${prefix_name2}
 
 
   if [ ${prefix_name1} -nq ${prefix_name2} ]; then
   echo prefix_name2 = ${prefix_name2}
   fi
 exerr hard stop
 
 
 Here is the test and out put
 # admin cell*
 admin: No match.
 

As others have mentioned, you need to quote or escape the * in the
command line:

admin cell*

You've also botched your regex (/*.*$/) -- it can't begin with a *.  What 
exactly
are you trying to match?

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: concerning flash under freebsd

2010-06-15 Thread Chip Camden
On Jun 15 2010 22:55, Alexander Best wrote:
 hi there,
 
 why is flash still causing such problems under freebsd? i've been
 having the same issues for years nows:
 
 - browser tabs freeze completely
 - `ps` reports a lot of nspluginwrapper/npviewer.bin processes
 - nspluginwrapper/npviewer.bin coredumps
 
 i read that the cause for this is a buggy implementation of the linux
 futex emulation. when will this get fixed?
 
 almost everyone who uses flash under freebsd has something like this
 in his ~/.profile:
 
 alias killflash='pkill -9 npviewer.bin ; rm -f ~/npviewer.bin.core';
 
 cheers.
 alex
 

My alias for killflash is Don't install it.

Flash is buggy software on any platform.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: terrible mplayer performance

2010-06-14 Thread Chip Camden
On Jun 14 2010 15:13, Neil Short wrote:
 Ok. I'm stuck. Mplayer's performance is worse on this laptop than it is on my 
 Toshiba running with a half-speed processor. I have attempted all the 
 suggestions I can find re: getting the performance.
 The video is slow - so it lags the audio by quite a bit. I keep getting Your 
 processor is too slow... stuff.
 
 What to do?
 
 I built mplayer from ports (not package).
 mplayer-1.0.r20100117_1
 
 My computer is an HP Pavilion dv4
 
 xorg.conf is set up to run the vesa driver. That's how X -configure set it 
 up. I have no idea what graphics device is actually on this machine.
 
 dmesg shows:
 Copyright (c) 1992-2010 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 8.1-PRERELEASE #1: Mon Jun  7 10:53:01 MST 2010
 nesh...@carmen:/usr/obj/usr/src/sys/CARMEN amd64
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM) i3 CPU   M 330  @ 2.13GHz (2127.92-MHz K8-class 
 CPU)
   Origin = GenuineIntel  Id = 0x20652  Family = 6  Model = 25  Stepping = 2
   
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
 ,PBE
   
 Features2=0x98e3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
   AMD Features=0x28000800SYSCALL,RDTSCP,LM
   AMD Features2=0x1LAHF
   TSC: P-state invariant
 real memory  = 4294967296 (4096 MB)
 avail memory = 3892748288 (3712 MB)
 ACPI APIC Table: HPQOEM SLIC-MPC
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  4
  cpu3 (AP): APIC ID:  5
 ...
 vgapci0: VGA-compatible display port 0x6050-0x6057 mem 
 0xd000-0xd03f,0xc000-0xcfff irq 16 at device 2.0 on pci0
 agp0: Intel Ironlake (M) SVGA controller on vgapci0
 agp0: detected 32764k stolen memory
 agp0: aperture size is 256M
 ...
 ==
 
  What did you do? the man holding the flashlight asked.
 
  I put down a spider, he said, wondering why the man didn't see; in the 
 beam of yellow light the spider bloated up larger than life. So it could get 
 away.
 

I have an i3 M 350 -- the intel drivers do not yet work for this chipset.
It's the Intel HM55, probably.  To verify, give us the output of

pciconf -vl | grep vgapci0

The chip= portion of that has the PCI ID.  Mine's 00468086.  For now at
least, I'm stuck on vesa.  But mplayer seems to run fine for me.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: freebsd - for the win

2010-06-13 Thread Chip Camden
On Jun 13 2010 09:24, Matthew Seaman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 13/06/2010 01:49:39, Chad Perrin wrote:
  What I *do* find to be of value, however, is improving the installation
  process so that it is clearer what is going on at each step and improving
  the efficiency of it without damaging its flexibility.  I don't have any
  problem with making it easier for a new user to understand and use, as
  long as it doesn't interfere with the suitability for experts who don't
  care about whooshing noises, 3D animations, helpful cartoon characters,
  and the ability to use a mouse where it's not really needed.  In fact, I
  think the world would be a better place if more people used FreeBSD,
  almost regardless of their levels of technical expertise -- as long as
  the OS doesn't start catering to their demands for Clippy and spinning
  logos that take three minutes to load.
 
 Exactly my thinking.  Style vs substance -- all the style in the world
 won't help you one bit unless it's backed by real substance.
 Unfortunately far too few people are capable of seeing through the
 surface gloss of style to understand the substance beneath.  Style also
 tends to be rather in the eye of the beholder -- one persons' exciting
 and trendy is another's annoying and garish; whereas substance is
 universal.
 
 While most FreeBSD types may not have much use for glitz and glitter,
 still, FreeBSD does have it's own aesthetic.  It's minimal, and spare
 and it says We're not going to pretend that this isn't complicated or
 difficult.  Effort brings reward.  This is something I find incredibly
 attractive; even after more than 10 years it is still refreshing.
 
   Cheers,
 
   Matthew
 

The beauty of FreeBSD (and the Unix philosophy in general) is that
simplicity is systemic.  Things work together because they're aligned 
consistently
and without fluff.

I'm certainly in favor of anything that helps the newbie (I'm still a
newbie on a lot of fronts myself) without damaging that simple
consistency.

The trap into which so-called user-friendly systems often fall is the
idea that we can help make things simpler for the user by just tacking on
some wizard or UI that will lead them through the process without making
them think about what they're doing.  Those specialized, tacked on
helpers end up creating a nightmare of inconsistent time-wasters that
don't provide access to all available options and in the end just obscure
the problem rather than simplifying it.

A true help for the newbie is something that helps move them out of
that status -- something that provides the necessary steps, but also
educates the user on what exactly is being done and why.  That opens a
larger world for future exploration.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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


[sterl...@camdensoftware.com: Re: freebsd - for the win]

2010-06-13 Thread Chip Camden
- Forwarded message from Chip Camden sterl...@camdensoftware.com -

On Jun 12 2010 18:39, Chad Perrin wrote:
 On Sat, Jun 12, 2010 at 01:12:55PM -0700, Chip Camden wrote:
  
  Call me fatalistic, but I think there is a direct relationship between
  FreeBSD's high quality and it's lack of popularity.  If it catered to the
  common herd, its compromises would be many.
 
 I believe there is such a relationship, too.  I think the obvious way to
 interpret this recognition of the relationship is as a causal
 relationship where lack of popularity is what (helps/makes) FreeBSD
 maintain higher quality, but I think that's mostly the wrong way around.
 
 Rather, it is the focus on quality over quantity that keeps it
 unpopular (relative to other OSes, anyway).  I also believe that is the
 correct decision, without reservation.  There are things that could be
 done to improve FreeBSD's suitability and attractiveness to a wider
 audience without sacrificing that focus on quality at all -- that could,
 in fact, improve that attractiveness while serving the focus in quality.
 Such things tend to get neglected, though, and I think it is in part
 because of a negative reaction to the idea that populism involves
 sacrifices of quality.
 
 Popularity, per se, does not result in poorer quality.  Populism,
 however, does -- and both greater popularity *and* a desire for greater
 popularity can create populism.  Note that I'm using the term populism
 in a pejorative, apolitical sense, and not in the sense of advocacy for
 the rights of the people, et cetera.
 
 Anyway . . . for my OS of choice (FreeBSD at the moment), I'd much rather
 err on the side of elitism and quality than on that of egalitarianism and
 quantity.  I just find the occasional statement (which I do *not* think
 is what you were saying) that we should actively *avoid* popularity for
 the sake of quality quite annoying.  I just find the occasional statement
 (which I do *not* think is what you were saying) that we should actively
 *avoid* popularity for the sake of quality . . . well, I find it quite
 annoying.
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

I've become an advocate for FreeBSD -- I'd like to see many more people
using it.  But I have no illusions that it will ever reach the vast
majority of computer users without being wrapped in a candy coating like
OS/X.  The real audience, I think, are the thousands of developers who
could appreciate a system like FreeBSD but who have never been
introduced to it.

Sorry, meant to reply to the list.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com

- End forwarded message -

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: freebsd - for the win

2010-06-12 Thread Chip Camden
On Jun 12 2010 13:53, Tim Judd wrote:
 
 These market statistics are pointless.  The numbers are based on
 people reporting their OS and usage.  A system like Microsoft or Apple
 can use a unique host id when checking for system updates which can
 tabulate this data.  Linux is possible to do same, I don't voluntarily
 run linux so I don't know it as much as I do BSD.  However, on BSD, we
 have to purposely select, download, configure and use a product to
 track, I know there are large corporations that use BSD (in one shape
 or form) for their OS, it's just not reported.
 
 
 I check the market share/statistics every now and then to see what the
 trend is, but I consider them very one-sided and personally very
 useless to show the actual usage.
 
 My 2 cents.

Call me fatalistic, but I think there is a direct relationship between
FreeBSD's high quality and it's lack of popularity.  If it catered to the
common herd, its compromises would be many.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://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: Fixing the spam from MPCUSTOMER.com

2010-06-10 Thread Chip Camden
On Jun 10 2010 11:36, Robert Bonomi wrote:
 I have an approach that will get MidPhase's attention, but I need the help
 of as many of the other victims of their borked support system as I can
 round up.
 
 Anybody who gets one of their misbeggotten trouble-ticket acks, please
 forward (or copy, or whatever) the message, with *COMPLETE* headers, to
 'mp-s...@r-bonomi.com'.   Feel free to forward _every_ such ack you get,
 
 If you have saved copies of their prior crimes, feel free to send them to
 the above address, as well.  Please send each such as a separate email,
 however; I'm tabulating on the basis of each message received -here-.
 
 If you have/use procmail for handling incoming mail,, a recipie of:
 
0: H:
* ^From: freebsd-questions@freebsd.org
* ^Reply.*mpcustomer
! mp-s...@r-bonomi.com
 
 will do it automatically, _and_ eliminate it from your inbox.
 
 However you do it, I'll bit-bucket anything not matching those two REs in
 an _unanchored_ form,  so a 'false-positive' in a forwarded message is no 
 problem.
 
 The larger the number of 'victims' I can show _actual_proof_ of, the more
 of a reaction I'll be able to  stir up.
 
 The 'fun-and-games' -- They are in out-and-out violation of that mostly 
 *useless* piece of legislation known as CAN-SPAM.  Their *forgery* of the
 From:  line to show the address of the mailing-list is a clear violation
 of 15 USC 7704 (a) (1).  What's even -more- fun, is that they are going to
 shoot themselves in the foot -- they will auto-ack *this* message, thereby
 establishing that they have actual notice of the violation, and thus, 
 that *EVERY* subsequent violation is 'knowing and wilful'.
 
 Enough of the people on this list (a) run their own servers, and (b) provide 
 email handling for at least _one_ other person, such that they qualify, UNDER
 CAN-SPAM, as an ISP, and thus _have_ standing to initate a private lawsuit 
 under said law (=individuals= do _not_ have that right, *only* ISPs, the way 
 the law is written).  Now, with a whole _bunch_ of *ISPs* being victims, 
 there is the possibility of a _CLASS_ACTION_ civil suit.  
 
 One can imagine what kind of _news_ coverage that even the contemplation
 of such an action would carry.
 
 When I have a reasonable amount of 'ammunition' in hand, I look forward to
 a _very_ interesting discussion with their legal counsel.  *BIG* grin
 

Excellent.  For those who use getlessmail, I've just committed a change
(http://bitbucket.org/apotheon/getlessmail/) to allow piping the message
to another command -- in this case, mail.  The relevant rule to add to a
.getlessmail profile would be something like:

((pipe '/usr/bin/mail -s mpcustomer mp-s...@r-bonomi.com')  block) if field 
Reply-To,/\bmpcustomer\.com\b/i

-- 
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: TeX qurestions, for anybody who cares to reply... .

2010-06-09 Thread Chip Camden
On Jun 08 2010 20:51, Gary Kline wrote:
snip
 
 He added, ``There are some news groups on the Net that have little to do
 with computers, per se.  There are groups that argue about politics,
 religion, science, art, you name it.  I don't waste my time with those.''
 
snip

Nice ploy to generate interest in your novel.  I'd change There are some
groups on the Net that have little to Some groups on the Net have
little.  Likewise, There are groups that argue to Some groups argue,
or perhaps You can find groups that argue.  I try to avoid the passive
There are whenever possible.

-- 
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: office apps

2010-06-08 Thread Chip Camden
On Jun 07 2010 22:12, Chris Hill wrote:
 On Mon, 7 Jun 2010, Chip Camden wrote:
 
 [...] I do have clients who send me Word docs, and one who requires that 
 I send them specs in Word format.  For that, I guess I'm stuck using 
 some behemoth office tool, if only for converting from a different 
 format.  I'm currently doing that work on a Windows workstation, but I'd 
 like to limit my involvement with Windows to only developing for it when 
 I must.
 
 I have clients like that too. What I've done - only once or twice, and 
 really just to be a dick - is to do my writeup in ASCII text, then `mv foo 
 foo.doc`. There, it's in word format! And Word really can open the file, 
 so...
 
That's great -- I'll have to remember that one.

-- 
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


Colors, mutt, termcap/terminfo

2010-06-08 Thread Chip Camden
I finally got 256 colors working with mutt and zsh on FreeBSD.  Even though 
both of
these programs apparently use terminfo rather than termcap, a termcap
entry must exist for your TERM setting, or they both complain.

I had tried that before, but I was missing one key ingredient.  The environment
variable TERMCAP needed to be set to the path of the termcap file, even
if it is /etc/termcap.  Apparently, if TERMCAP isn't set, a built-in
termcap table is used instead.

The terminfo setting I wanted was rxvt-256color, which existed in
terminfo but not in termcap.  So, I edited /etc/termcap to include a
setting for rxvt-256color, export TERMCAP=/etc/termcap, export
TERM=rxvt-256color, and all is now right with the world.

Of course, I only want to use 256 colors if I'm running under rxvt.  So I
wrote a shell script to start mutt that tests for that and sets an
environment variable MUTT_COLORS to the name of a file that includes my
mutt color settings (either .mutt-color256 or .mutt-color8).  Then, in
.muttrc:

source ~/$MUTT_COLORS

-- 
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: which is the basic differences between the shells?

2010-06-07 Thread Chip Camden
On Jun 06 2010 22:00, Chad Perrin wrote:
 On Sun, Jun 06, 2010 at 11:32:58AM -0700, Chip Camden wrote:
   
  I was a tcsh user before switching to zsh.  But I was raised on the
  Bourne Shell, and used Korn shell a lot in the 90s.  The C-shell versions
  of control flow commands always tripped me up, even though they're
  arguably more sane -- just because the sh versions flow off the
  fingertips.  So sh-compatibility was my main reason, but I like the
  features of csh that zsh cherry-picked.
 
 Given my preference for (t)csh syntax over sh syntax for an interactive
 shell, I guess that doesn't give me a whole lot of motivation to try it
 out.  Another response to my question discusses some other benefits,
 though. . . .
 
 Thanks for your perspective.
 

My pleasure, Chad.  If I had learned csh first, I'd probably stick with
tcsh myself.

I'd also like to publicly thank you on this list for encouraging me to
try FreeBSD.  I absolutely love it.

-- 
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: office apps

2010-06-07 Thread Chip Camden
On Jun 06 2010 21:56, Chad Perrin wrote:
 On Sun, Jun 06, 2010 at 01:34:16PM -0700, Chip Camden wrote:
  
  Does anyone have a recommendation for a lighter-weight office suite?
  OOo is such a pig.  It takes a good minute to start it up and open a
  spreadsheet.
  
  Short of the full suite, how about just a spreadsheet program that supports
  complex formulas and charting?  If it could also be used without X11 when
  charting isn't needed, that would make my day.
 
 It may be a little late to ask -- but I notice nobody else addressed the
 matter:
 
 Does your OO.o replacement have to be somewhat compatible with MS Office?
 
 If so . . . does it have to be two-way compatible?
 
 There are options for one-way compatibility (e.g., catdoc for turning MS
 Word files into plain text), but for being able to interoperate to
 roughly arbitrary degrees with users of MS Office I'm not aware of
 anything other than OO.o, KOffice, and whatever GNOME's using, that would
 work for the purposes you described.  Maybe someone else can comment on
 the suitability of recent versions of Abiword and Gnumeric (for
 instance).
 
 Ever since it essentially stopped being possible to install OO.o from a
 binary package on FreeBSD for me (at least without also installing Java),
 I've dreaded the day I will no longer have the venerable OO.o install
 from way back when and some jackass expects me to talk back and forth via
 MS Excel.  I loathe applications written in VBA, to put it mildly, and
 only my loathing for MS Windows and MS Office has kept that ancient OO.o
 install on one of my computers for so long.
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

That's a very good point.

For most of what I need to do, it's not an issue.  But I do have clients
who send me Word docs, and one who requires that I send them specs in
Word format.  For that, I guess I'm stuck using some behemoth office
tool, if only for converting from a different format.  I'm currently
doing that work on a Windows workstation, but I'd like to limit my
involvement with Windows to only developing for it when I must.


-- 
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: office apps

2010-06-07 Thread Chip Camden
On Jun 07 2010 11:21, Anh Ky Huynh wrote:
 On Sun, 6 Jun 2010 13:34:16 -0700
 Chip Camden sterl...@camdensoftware.com wrote:
 
  This might not be the right list for this question -- if so, please
  slap me over to the right one.
  
  Does anyone have a recommendation for a lighter-weight office suite?
  OOo is such a pig.  It takes a good minute to start it up and open a
  spreadsheet.
 
 There are some tips to speed up your Ooo. But if your Ooo took minute to 
 start, I guess that your system has a low hardware?

I wouldn't have thought that an Intel Core i3 M350 (2.27Ghz) with 4GB would be
considered lo (sic) hardware.  Everything else runs very quickly, even
Windows 7 in VirtualBox.  OOo is the only time I find myself waiting
impatiently.
 
 For short/unstructure documents, I suggest you to use Ooo (it slows but you 
 can type the document quickly:D) For long/structure documents, LaTeX is a 
 good choice. It is said that ConTeXt is good replacement of LaTeX but I have 
 never tried it.
 
  Short of the full suite, how about just a spreadsheet program that
  supports complex formulas and charting?  If it could also be used
  without X11 when charting isn't needed, that would make my day.
 
 Have you ever tried Google Spreadsheet or something like that?

I'm not quite ready to hand all my confidential documents over to
Google's servers.
 

-- 
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: office apps

2010-06-07 Thread Chip Camden
On Jun 07 2010 12:54, Alejandro Imass wrote:
 On Mon, Jun 7, 2010 at 12:40 PM, Chip Camden
 sterl...@camdensoftware.com wrote:
  On Jun 07 2010 11:21, Anh Ky Huynh wrote:
  On Sun, 6 Jun 2010 13:34:16 -0700
  Chip Camden sterl...@camdensoftware.com wrote:
 
   This might not be the right list for this question -- if so, please
   slap me over to the right one.
  
   Does anyone have a recommendation for a lighter-weight office suite?
   OOo is such a pig.  It takes a good minute to start it up and open a
   spreadsheet.
 
  There are some tips to speed up your Ooo. But if your Ooo took minute to 
  start, I guess that your system has a low hardware?
 
  I wouldn't have thought that an Intel Core i3 M350 (2.27Ghz) with 4GB would 
  be
  considered lo (sic) hardware.  Everything else runs very quickly, even
  Windows 7 in VirtualBox.  OOo is the only time I find myself waiting
  impatiently.
 
 
 Well, now that I recall I had a similar issue with the Android SDK
 under Linux, and it's related to your problem because OO uses gjc (the
 GNU Java implementation) as a pre-requisite and Eclipse was using
 _that_ instead of the Sun jdk I had installed. Well the issue is that
 Eclipse _took FOREVER_ to start, much like what you are describiong
 right now with OO (albeit I use FBSD with OO in older hw w/ no
 problems). Anyway, chack to see if you may have a broken Java
 implementation, and check to see if it's possible to get OO to work
 with Sun's JRE 6, and give that a go and see. I have a gut feeling
 your problem is related to a broken Java VM somewhere in your machine.

That's a good clue -- I'll let you know what I find out.
-- 
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: office apps

2010-06-07 Thread Chip Camden
On Jun 07 2010 18:16, Matthew Seaman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 07/06/2010 17:34:56, Chip Camden wrote:
  For most of what I need to do, it's not an issue.  But I do have clients
  who send me Word docs, and one who requires that I send them specs in
  Word format.  For that, I guess I'm stuck using some behemoth office
  tool, if only for converting from a different format.  I'm currently
  doing that work on a Windows workstation, but I'd like to limit my
  involvement with Windows to only developing for it when I must.
 
 Heh.  Do you always remember to save your MS Office documents in such a
 way that it clears the history before you e-mail them out?  Many times
 taking a document and hitting 'Undo' a few times can reveal all sorts of
 stuff that you probably wouldn't have wanted to be made public.
 
 Lots of places refuse to permit sending out MS Office documents for that
 specific reason: PDF is generally acceptable even to the most
 unenlightened Windows users.  Ideally though it should be possible to
 use an open standard, like XHTML or SVG, so the recipients could edit it
 themselves if needed.
 
I'm not fond of Word format in the least.  I've mentioned these kinds of
vulnerabilities and others, but some clients are stubbornly clinging to
old ways.  That said, one of the clients I'm thinking about is exploring
the idea of using a wiki instead of trading documents -- a move that I am
encouraging vehemently.

-- 
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: office apps

2010-06-07 Thread Chip Camden
On Jun 07 2010 12:14, Warren Block wrote:
 On Mon, 7 Jun 2010, Chip Camden wrote:
 
 For most of what I need to do, it's not an issue.  But I do have clients
 who send me Word docs, and one who requires that I send them specs in
 Word format.  For that, I guess I'm stuck using some behemoth office
 tool, if only for converting from a different format.  I'm currently
 doing that work on a Windows workstation, but I'd like to limit my
 involvement with Windows to only developing for it when I must.
 
 The genuine Office runs in most of its appalling glory on Wine.  Starts 
 up far quicker than OO.o, too.
 
 -Warren Block * Rapid City, South Dakota USA

Thanks, but no thanks.  I can't type and drive a stake at the same time.

Seriously, I'd like to avoid polluting my precious FreeBSD system with
Microsoft bits, unless it's within a VM.

-- 
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: office apps

2010-06-07 Thread Chip Camden
On Jun 06 2010 19:56, Mike Jeays wrote:
 On June 6, 2010 04:34:16 pm Chip Camden wrote:
  This might not be the right list for this question -- if so, please slap
  me over to the right one.
 
  Does anyone have a recommendation for a lighter-weight office suite?
  OOo is such a pig.  It takes a good minute to start it up and open a
  spreadsheet.
 
  Short of the full suite, how about just a spreadsheet program that supports
  complex formulas and charting?  If it could also be used without X11 when
  charting isn't needed, that would make my day.
 
 Gnumeric provides a good spreadsheet, although it does need X11. It supports 
 charting, with a good variety of options. It installed very quickly on a 
 Linux 
 system, seems much lighter than OpenOffice Calc, and it starts much more 
 quickly than Calc.
 
 pkg_add -r gnumeric should install it for you.
 
Gnumeric *is* nice and quick.  I'll use that for SS until I find
something better.

Thanks!

-- 
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: which is the basic differences between the shells?

2010-06-06 Thread Chip Camden
On Jun 06 2010 10:31, Chad Perrin wrote:
 On Sat, Jun 05, 2010 at 04:17:15PM -0700, Chip Camden wrote:
  
  I like zsh, because it's sh-compatible, brings in a lot of the good ideas
  from csh/tcsh, and the license appears to be copyfree rather than copyleft.
 
 Do you use that as your interactive shell, for scripting, or both?
 

Interactive only.  For scripting, I stick to sh unless it gets too complex --
then I jump to Ruby.
 
  
  man zsh to see that there are so many features they had to break up the
  man pages.
 
 That's kind of scary.

True, and it shows in its initial virtual size:

sterling   62630  0.0  0.0  8264  1804   0  I10:42AM   0:00.00 sh
sterling   62733  0.0  0.1 10284  2932   0  I10:42AM   0:00.01 csh
sterling   62791  0.0  0.1 10284  2848   0  I10:43AM   0:00.01 tcsh
sterling   70731  0.0  0.1 14580  4324   0  I10:46AM   0:00.05 zsh
sterling   71773  0.0  0.1 10220  2908   0  I+   10:46AM   0:00.01 bash

But on a laptop with 4GB, I don't miss it.

-- 
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: which is the basic differences between the shells?

2010-06-06 Thread Chip Camden
On Jun 06 2010 12:21, Chad Perrin wrote:
 On Sun, Jun 06, 2010 at 10:50:43AM -0700, Chip Camden wrote:
  On Jun 06 2010 10:31, Chad Perrin wrote:
   On Sat, Jun 05, 2010 at 04:17:15PM -0700, Chip Camden wrote:

I like zsh, because it's sh-compatible, brings in a lot of the good 
ideas
from csh/tcsh, and the license appears to be copyfree rather than 
copyleft.
   
   Do you use that as your interactive shell, for scripting, or both?
  
  Interactive only.  For scripting, I stick to sh unless it gets too complex 
  --
  then I jump to Ruby.
 
 I'm curious about why you prefer zsh for an interactive shell.  What zsh
 features would you miss if you used tcsh instead (what I've been using)?
 
 I'm always willing to be convinced to try something better.
 
I was a tcsh user before switching to zsh.  But I was raised on the
Bourne Shell, and used Korn shell a lot in the 90s.  The C-shell versions
of control flow commands always tripped me up, even though they're
arguably more sane -- just because the sh versions flow off the
fingertips.  So sh-compatibility was my main reason, but I like the
features of csh that zsh cherry-picked.
-- 
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


office apps

2010-06-06 Thread Chip Camden
This might not be the right list for this question -- if so, please slap
me over to the right one.

Does anyone have a recommendation for a lighter-weight office suite?
OOo is such a pig.  It takes a good minute to start it up and open a
spreadsheet.

Short of the full suite, how about just a spreadsheet program that supports
complex formulas and charting?  If it could also be used without X11 when
charting isn't needed, that would make my day.

-- 
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: ncurses

2010-06-05 Thread Chip Camden
On Jun 04 2010 19:52, Thomas Dickey wrote:
 On Fri, Jun 04, 2010 at 08:02:34AM -0700, Chip Camden wrote:
  Thanks to some help from Joel Dahl on the mutt-users list, I was able to
  restore correct color support in my mutt installation.  But it raises a
  question about ncurses.
  
  It seems that building mutt with the devel/ncurses port installed creates
  the problem I was experiencing: most colors do not show up in mutt, and
 
 sounds familiar (layout differences, etc, depending on whether wide- or
 narrow characters are used).
 
  the line-drawing characters are borked.  Deinstalling devel/ncurses and
  rebuilding mutt with the base version of ncurses solves the problem.
  
  However, x11/rxvt-unicode depends on devel/ncurses, so any time urxvt
  needs rebuilding we get devel/ncurses reinstalled.  Any subsequent rebuild
  of mutt restores the original problem.
  
  Is there any way to sort this out?
 
 given a copy of the two build logs, I might be able to guess what's amiss.
 
 (I don't have a current FreeBSD to test directly on...)
 
 -- 
 Thomas E. Dickey
 http://invisible-island.net
 ftp://invisible-island.net

Thanks for your response, but I solved the problem by specifying that
mutt should use slang instead of ncurses.  That works better in a couple
of ways, so I'll go with that.

I do, however, still have one small problem.  I can't seem to get mutt to
see that my urxvt has 256 colors enabled.  infocmp shows colors#256 for
rxvt-256color, but if I do 'export TERM=rxvt-256color' then zsh complains
can't find terminal definition for rxvt-256color (though it lets me set
it anyway).  However, mutt still complains if I try to use any color
above 8.  With TERM set to rxvt infocmp shows colors#8 and tput
colors shows 145.  I'm confused.  Obviously, not everyone is on the
same page here.

-- 
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: which is the basic differences between the shells?

2010-06-05 Thread Chip Camden
On Jun 05 2010 22:35, Giorgos Tsiapaliokas wrote:
 hello,
 i am coming from the linux world where i was using the bash shell but i
 found out that there are also much more.
 can u tell me the basic differences between them?(pros and cons)
 
 thanks in advance
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I like zsh, because it's sh-compatible, brings in a lot of the good ideas
from csh/tcsh, and the license appears to be copyfree rather than copyleft.

man zsh to see that there are so many features they had to break up the
man pages.

-- 
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


ncurses

2010-06-04 Thread Chip Camden
Thanks to some help from Joel Dahl on the mutt-users list, I was able to
restore correct color support in my mutt installation.  But it raises a
question about ncurses.

It seems that building mutt with the devel/ncurses port installed creates
the problem I was experiencing: most colors do not show up in mutt, and
the line-drawing characters are borked.  Deinstalling devel/ncurses and
rebuilding mutt with the base version of ncurses solves the problem.

However, x11/rxvt-unicode depends on devel/ncurses, so any time urxvt
needs rebuilding we get devel/ncurses reinstalled.  Any subsequent rebuild
of mutt restores the original problem.

Is there any way to sort this out?

-- 
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: ncurses

2010-06-04 Thread Chip Camden
On Jun 04 2010 17:30, sghctoma wrote:
 not exactly a solution, rather a workaround, but you can build mutt
 with s-lang (WITH_MUTT_SLANG=YES) instead of ncurses.. it works for
 me..

Thanks for the tip.  I'm not sure if I'll go that route, but I'm copying
your response to the list for posterity's sake.

-- 
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


[sterl...@camdensoftware.com: Re: ncurses]

2010-06-04 Thread Chip Camden
On Jun 04 2010 19:24, Roland Smith wrote:
 On Fri, Jun 04, 2010 at 10:12:12AM -0700, Chip Camden wrote:
  
  Thanks for all the info, but i get the same results in mutt-devel as I do
  in mutt.  WITH_MUTT_SLANG didn't seem to take either.
  
  Is there a way to specify that mutt should use the system ncurses instead
  of devel/ncurses?
 
 Looking at the port's Makefile, it depends on the system ncurses library if
 neither WITH_SLANG nor WITH_NCURSES_PORT is set. But it could still link to
 the port's library if that is first in the link path.
 
 If you build rxvt-unicode with the TERMINFO option switched OFF, urxvt-unicode
 does not depend on devel/ncurses. If you then de-install devel/ncurses and
 recompile mutt, it must use the system library.
 
 But in my experience, using a wrong font, or setting the wrong LANG or LC_ALL
 in the environment is more likely to screw things up.
 
 Roland
 -- 
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Thank you -- I should have read the Makefile myself.  It was WITH_SLANG,
not WITH_MUTT_SLANG.  That solves the problem, and has the added benefit
of being able to use my default text color (SpringGreen) instead of
having to stick to the 8 normal colors.

I thought that might have also opened up urxvt's 256-color support, but
mutt still thinks I have only 8 colors.  At least I can default to my
urxvt settings for normal text, though.

Thanks again for your help!

-- 
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: .sh tar

2010-06-03 Thread Chip Camden
On Jun 03 2010 10:03, ill...@gmail.com wrote:
 On 3 June 2010 07:42, Polytropon free...@edvax.de wrote:
  On Thu, 03 Jun 2010 09:32:17 +0800, Aiza aiz...@comclark.com wrote:
  When I exec tar from within a .sh shell script I get this message
  tar: Removing leading '/' from member names
  I have tar outputting to  /dev/null and still get this message.
  With -v or without makes no difference.
 
  How can I stop this
 
  Depends on WHAT you want to stop - the illness or just its symptoms. :-)
 
  If it's just about symptoms, redirect the error messages into
  nirvana.
 
         tar [opts] [file] 1/dev/null 21
 
  If you want to remove the REASON for tar: Removing leading '/'
  from member names, you need to re-create the archives and
  start archiving from a relative point (instead of from an
  absolute one), e. g.
 
         # cd /
         # tar cvf etc.tar etc/
 
  (lazy man's method) instead of
 
         # tar cvf etc.tar /etc/
 
  The extraction of the archive will usually start in the
  current directory, so
 
         # cd /usr/local/bin
         # tar xvf etc.tar
 
  won't give you an etc/ subtree in /usr/local/bin directory.
 
 
 tar -cvf - ./ -C /  /dev/null
 ?
 
I can't help wondering why the 'v' option is being specified, unless
/dev/null needs more playing time.

-- 
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

2010-06-03 Thread Chip Camden
On Jun 03 2010 11:11, Murray Taylor wrote:
 Hmm i remember a 'game' where you opened a file
 then predicted what would happen if you just typed
 your name at the command prompt... then of course you had to do it
 to see if your guess was right...
 
 ie in vi
 
 dwight would delete a word then insert ght 
  
 destroyed the odd file or two i remember with the addition
 of 'random' control key additions
 
It would be unfortunate if your parents named you :!rm -r *, even
though they affectionately called you little Remy Star and you made
good friends with Bobby Tables (http://xkcd.com/327/).

-- 
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

2010-06-02 Thread Chip Camden
On Jun 02 2010 11:45, Robert Bonomi wrote:
   On Tue, Jun 01, 2010 at 09:10:22AM -0700, Chip Camden wrote:
I remember writing our own text editor, and it had to fit in 64K.
  
   I remember when . . .
  
   I got nuthin'.  I think my first text editor was edlin, and it *sucked*.
  
   . . . not counting this nifty editor I called pencil.
  
  
  The phrase son of an edlin has happily been retired in my vocabulary for
  some time.  If you're not aware of it, ed(1) is as capable or more of
  causing pain as edlin was and it's still in the FreeBSD base.
 
 Anybody else familiar with TECO?  *EVIL* grin
 
 It could do a _LOT_ of things, but a complex command string was nearly 
 indistinguishable from line noise.  :)
 
ED is the standard text editor!

http://www.gnu.org/fun/jokes/ed.msg.html

Yes, I remember TECO -- I've used it to trash many a 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

2010-06-01 Thread Chip Camden
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


What have I done?

2010-05-24 Thread Chip Camden
This question is going to make me sound pretty stupid, but I haven't
been able to figure it out.

I had mplayer (the console version) running in one urxvt, and I thought
I had a different urxvt focused when I typed a command (I think it was
'make install clean') -- but mplayer was actually focused instead.  The
ENTER caused mplayer to close (I was listening to a stream URL), and
because I had exec'd mplayer its terminal window closed as well.

I cursed myself for losing focus on my focus, and attempted to restart
mplayer.  It acts like it is playing the track, but no sound.  I've tried
unmute, turning the volume all the way up, deleting my .mplayer files,
still no joy.  I even shutdown and powered off and then rebooted.  Any
other suggestions?
-- 
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: What have I done?

2010-05-24 Thread Chip Camden
On May 24 2010 12:21, William Vining wrote:
 I experienced a similar situation under different circumstances. It
 turned out that the sysctl
 variable hw.snd.default_unit was refering to the wrong sound card. Not
 sure if thats the
 problem, but it might be worth checking if you have multiple sound cards.
 
 -- WFV
 wfvin...@gmail.com
 
 On Mon, May 24, 2010 at 12:08 PM, Chip Camden
 sterl...@camdensoftware.com wrote:
 
  This question is going to make me sound pretty stupid, but I haven't
  been able to figure it out.
 
  I had mplayer (the console version) running in one urxvt, and I thought
  I had a different urxvt focused when I typed a command (I think it was
  'make install clean') -- but mplayer was actually focused instead.  The
  ENTER caused mplayer to close (I was listening to a stream URL), and
  because I had exec'd mplayer its terminal window closed as well.
 
  I cursed myself for losing focus on my focus, and attempted to restart
  mplayer.  It acts like it is playing the track, but no sound.  I've tried
  unmute, turning the volume all the way up, deleting my .mplayer files,
  still no joy.  I even shutdown and powered off and then rebooted.  Any
  other suggestions?
  --

OK, there's more going on here than I realized.  My sound seems to be
disabled if I load the driver in /boot/loader.conf, but works OK if I use
kldload after booting instead.  Bizarre.  I've repeated the experiment
several times with the same results, using either snd_driver or snd_hda.

cat /dev/sndstat (when working):

FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA IDT 92HD81B1X PCM #0 Analog (play/rec) default
pcm1: HDA IDT 92HD81B1X PCM #1 Analog (rec)
pcm2: HDA Intel G45 HDMI PCM #0 DisplayPort (play)
___
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


HM55

2010-05-21 Thread Chip Camden
I'm posting about this issue again now that I know more about what I'm
talking about.

My ASUS notebook has integrated Intel HD graphics in the HM55 chipset.
The intel driver for Xorg does not recognize it.  I have tried hacking
the device ID (0x0046) into the various supplied Intel drivers, with no
luck.  Is anyone working on supporting this chipset?  How can I help?  I
haven't written a device driver in more than 20 years, but I'd be willing
to try if someone can point me in the right direction.  As it stands, I
have to use the vesa driver, which doesn't make good use of my screen
real estate.

Regards,
-- 
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


xmobar

2010-05-17 Thread Chip Camden
Today's port upgrade for xmobar broke my .xmobarrc.  It no longer accepts
commands whose arguments contain escaped quotes.  I was able to work
around it by changing the command I was spawning to not require quotes,
but where should I report this issue?

-- 
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-11 Thread Chip Camden
Thanks for all the replies.  FreeNAS looks like the ticket.

BTW, sharity-light is marked as broken in the ports -- does not compile.
I'm on 8.0-STABLE amd64.

On May 11 2010 06:43, Andrew Gould wrote:
 On Tue, May 11, 2010 at 2:00 AM,  per...@pluto.rain.com wrote:
  Chip Camden sterl...@camdensoftware.com wrote:
 
  Does anyone have a recommendation for NAS that works well for
  both FreeBSD and Windows clients?
 
  IME, among commercial offerings, virtually all support SMB (via
  Samba) but only the high-end (large  relatively costly) ones
  support NFS also.  (A while back, the largest Buffalo that Fry's
  had -- 4TB IIRC -- claimed to support NFS; all other NAS of any
  brand mentioned only SMB and DELNI.)
 
  You can use an inexpensive SMB-only NAS with a FreeBSD client,
  but you'll need Samba on the client.
 
 
 Another item to consider in this discussion is sharity-light, an
 easy-to-use program that allows FreeBSD to mount Windows shares.
 Sharity-light is in the ports and Sharity is available  as a
 commercial product:
 
 http://www.freshports.org/net/sharity-light
 http://www.obdev.at/products/sharity/index.html
 
 Andrew Gould
 ___
 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

-- 
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Chip Camden
On May 10 2010 08:04, Andrew Gould wrote:
 On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:
  Hello
 
  Is there a simple software to share files between a FreeBSD server and a
  windows client other than Samba which is a bit overkill for my needings,
 
  I just want to share a directory (and subdirectories) of my server with ONE
  Windows client, to facilitate some files exchanges between two users.
 
  Thanks for any infos
 
 Some things simply aren't that simple if you're setting them up yourself.
 
 The good news is that you get to choose the type of complexity you
 want to deal with:
 
 1.  Samba.
 2.  You could purchase a networked drive (network attached storage)
 that both computers can access.  Many retail stores now carry these.
 3.  Webdav (included with Apache 2.2).  This setup is as complex as
 Samba; but you can access it securely across the internet via SSL.
 
 Good luck,
 
 Andrew
 ___
 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

Does anyone have a recommendation for NAS that works well for both
FreeBSD and Windows clients?

Regards,

-- 
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: Addition to BSDstats

2010-05-07 Thread Chip Camden
I like that idea.

On May 07 2010 09:37, Fbsd1 wrote:
 Marc G. Fournier wrote:
 On Thu, 6 May 2010, Robert Huff wrote:
 
  The problem with not including bsdstats in sysinstall or some
  other means of bringing it to peoples attention is that it gets
  forgotten and loses its effectiveness. Maybe it could go in the 
   monthly subscription list reminder.
 
 
 
 I think everyone agrees that bsdstats needs more visibility right from 
 the virgin install. Since its not appropriate to include bsdstats in the 
 sysinstall program. How about getting the RELEASE team to change the 
 content of the default logon message of the day /etc/motd, to advocacy 
 installing the bsdstats package. What do you think about this idea?
 ___
 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

-- 
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


Space on root partition

2010-05-07 Thread Chip Camden
When partitioning the drive, I took the defaults -- which seems to create
a root partition that's too small.  I'm at 59% usage, and every time I
install a new kernel I have to rm /boot/kernel.old to get it to go.

Two questions:

1. Is there an easy way to resize partitions?
2. Is there anything in root I could safely symlink off to another partition?

Here's a df:

Filesystem  1K-blocks Used Avail Capacity  Mounted on
/dev/ad4s1a507630   27338819363259%/
devfs   11 0   100%/dev
/dev/ad4s1e507630   18467002 0%/tmp
/dev/ad4s1f 463086528 21941374 404098232 5%/usr
/dev/ad4s1d   4848462   201194   4259392 5%/var

and here's du -x /:

2   /.snap
1   /dev
2   /tmp
2   /usr
2   /var
56  /etc/defaults
6   /etc/X11
8   /etc/bluetooth
8   /etc/devd
4   /etc/gnats
6   /etc/gss
252 /etc/mail
74  /etc/mtree
38  /etc/pam.d
56  /etc/periodic/daily
6   /etc/periodic/monthly
40  /etc/periodic/security
14  /etc/periodic/weekly
118 /etc/periodic
4   /etc/ppp
396 /etc/rc.d
36  /etc/security
2   /etc/skel
144 /etc/ssh
12  /etc/ssl
2   /etc/zfs
1742/etc
2   /cdrom
2   /dist
1180/bin
24  /boot/defaults
2   /boot/firmware
249960  /boot/kernel
310 /boot/modules
2   /boot/zfs
251788  /boot
354 /lib/geom
7628/lib
1010/libexec
2   /media
8   /mnt
2   /proc
4464/rescue
2   /root/.gem/ruby/1.8/cache
2   /root/.gem/ruby/1.8/doc
2   /root/.gem/ruby/1.8/gems
2   /root/.gem/ruby/1.8/specifications
10  /root/.gem/ruby/1.8
12  /root/.gem/ruby
14  /root/.gem
4   /root/.config
10  /root/bin
74  /root
5452/sbin
273379  /

Any help much appreciated.

-- 
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: Wireless networking question

2010-04-30 Thread Chip Camden
On Apr 30 2010 13:39, S Roberts wrote:
 Hello Chip,
   Good to hear from you..,
 
 On Thu, 29 Apr 2010 15:52:13 -0700
 Chip Camden sterl...@camdensoftware.com wrote:
 
  On Apr 26 2010 22:00, Carl Chave wrote:
More info:  I found the following in the output of pciconf -vl:
   
   
no...@pci0:2:0:0:       class=0x028000 card=0x10891a3b
chip=0x002b168c rev=0x01 hdr=0x00 vendor     = 'Atheros
Communications Inc.' class      = network
   
   From here:
   http://www.pcidatabase.com/vendor_details.php?id=174
   
  
  It looks like someone has already patched 8.0-STABLE:
  
  http://forums.freebsd.org/showthread.php?t=6310highlight=Atheros+AR9285
  
  The link to the .diff file 404's now, though.  How can I get a copy?
  
  Or maybe I should just upgrade to STABLE?
  
 
 Well.., personally, I'd ping the patch author to confirm, but Yes,
 bumping to next STABLE would be the preferred option myself..,
 
 Regards,
 
 S Roberts

Just for closure:  upgrading to 8.0-STABLE went smoothly, and the
wireless device works!

Thanks for the help.

-- 
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: Gaming

2010-04-29 Thread Chip Camden
On Apr 29 2010 12:54, David Kelly wrote:
 On Thu, Apr 29, 2010 at 10:10:20AM -0700, Joe's Morgue wrote:
  Looking thru your manuals, I have not seen anything about gaming on a
  FreeBSD machine. ?
 
 You are not reading the manual correctly. Then *entire* manual is the
 game.  :-)
 
 -- 

You are in a maze of twisty little passages, all alike.

-- 
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: Wireless networking question

2010-04-29 Thread Chip Camden
On Apr 26 2010 22:00, Carl Chave wrote:
  More info:  I found the following in the output of pciconf -vl:
 
 
  no...@pci0:2:0:0:       class=0x028000 card=0x10891a3b chip=0x002b168c 
  rev=0x01 hdr=0x00
     vendor     = 'Atheros Communications Inc.'
     class      = network
 
 From here:
 http://www.pcidatabase.com/vendor_details.php?id=174
 

It looks like someone has already patched 8.0-STABLE:

http://forums.freebsd.org/showthread.php?t=6310highlight=Atheros+AR9285

The link to the .diff file 404's now, though.  How can I get a copy?

Or maybe I should just upgrade to STABLE?

-- 
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: Wireless networking question

2010-04-27 Thread Chip Camden
On Apr 26 2010 22:00, Carl Chave wrote:
  More info:  I found the following in the output of pciconf -vl:
 
 
  no...@pci0:2:0:0:       class=0x028000 card=0x10891a3b chip=0x002b168c 
  rev=0x01 hdr=0x00
     vendor     = 'Atheros Communications Inc.'
     class      = network
 
 From here:
 http://www.pcidatabase.com/vendor_details.php?id=174
 
 0x002b is Atheros AR9285 Wireless LAN 802.11 a/b/g/n Controller
 ___

Thanks!  That's a great resource.

-- 
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: Wireless networking question

2010-04-26 Thread Chip Camden
On Apr 25 2010 22:15, Kevin Kinsey wrote:
 
 Let me preface my commentary with I'm way out of my league, so #include
 disclaimer.h and all that ...
 
 For starters, in re: above, didn't someone suggest libpciaccess as the
 source for scanpci?  I can't tell if you are misunderstanding what S
 Roberts suggested, or I am misunderstanding what you are responding.
 
 I'm pretty sure there's some misunderstanding here, though.

Thanks for your response, Kevin.  I did try rebuilding libpciaccess, to
no avail.  I also searched elsewhere.
 
 I thought we had pciconf output that stated it was an Atheros chipset?
 In that case, it would be the Azurewave, right?  I'd suspect it might
 be supported under ath(4), but you'd wanna read the manpage and possibly
 even the source for any kind of confirmation on that; the manpage does
 specifically say that adapters based on the AR5005VL aren't supported.
 However, the manpage might be slightly out-of-date, also.

Yes, pciconf says Atheros.  I guess that does rule out Intel, and I see
from a little searching that at least some Azurewave devices use an
Atheros chipset.  I, too, am a little out of my depth in this region,
as is probably obvious from my posts.
 
 The other thing I recall seeing is that a new variant of a supported
 chipset comes out, and the driver code doesn't recognize it even though
 it might work well.  Used to be something like a VENDOR_ID string in
 the source files; I don't know if it's still the case, but if it was,
 some people have been able to hack their own device support in rare
 cases simply by adding the new info to the driver file and recompiling
 it, but you'd want someone with a lot more $OS_foo than I have to help
 out with that (or tell you if it's even possible).  This is open-source
 stuff; you might even get sam@ 's attention and get help from the writer
 himself if you're wearing your lucky sneakers.
 
Yes, I've seen that done with video drivers.  Perhaps I'll give it a go
with the ath or uath driver, neither of which work for me out of the box
(so to speak).

Thanks again.

-- 
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: Wireless networking question

2010-04-25 Thread Chip Camden
On Apr 24 2010 23:51, S Roberts wrote:
 
 I believe its been bundled into the  libpciaccess port:
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libpciaccess/
 

Doesn't seem to be there, and google isn't being helpful.  A search of
freshports.org didn't turn up anything either.  Searching freebsd.org
only shows our conversation.

-- 
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: Wireless networking question

2010-04-25 Thread Chip Camden
On Apr 25 2010 21:26, S Roberts wrote:
 
 Hmmm.., you sure your ports system is installed / up-to-date there?
 
 Do you have any of the docs that would have shipped with the notebook?
 If not, I searched ASUS, and found a link to the English version manual
 here:
 http://support.asus.com/download/download.aspx?SLanguage=en-usproduct=3model=K72Ftype=mapf_type=19
 
 I've not downloaded it, so please see if there's anything that can
 assist. There **are** other resources at the ASUS site - you just have
 to use the menu on the right to select your particular model and review
 the list of resources that gets returned..,
 
 Hope this helps..,
 
 Regards,
 
 S Roberts

Thanks for the attempt to help, but ports are up-to-date.  I'm on
8.0-RELEASE amd64 -- maybe scanpci isn't available on amd64?

The download for the manual is exactly the same as the paper manual that
came with the notebook.  It gives very little technical information.  On
the web site, all I could find is that it's 802.11n capable, which I
already knew from the sales pamphlet.

-- 
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: Wireless networking question

2010-04-25 Thread Chip Camden
On Apr 25 2010 16:18, Chip Camden wrote:
 On Apr 25 2010 21:26, S Roberts wrote:
  
  Hmmm.., you sure your ports system is installed / up-to-date there?
  
  Do you have any of the docs that would have shipped with the notebook?
  If not, I searched ASUS, and found a link to the English version manual
  here:
  http://support.asus.com/download/download.aspx?SLanguage=en-usproduct=3model=K72Ftype=mapf_type=19
  
  I've not downloaded it, so please see if there's anything that can
  assist. There **are** other resources at the ASUS site - you just have
  to use the menu on the right to select your particular model and review
  the list of resources that gets returned..,
  
  Hope this helps..,
  
  Regards,
  
  S Roberts
 
 Thanks for the attempt to help, but ports are up-to-date.  I'm on
 8.0-RELEASE amd64 -- maybe scanpci isn't available on amd64?
 
 The download for the manual is exactly the same as the paper manual that
 came with the notebook.  It gives very little technical information.  On
 the web site, all I could find is that it's 802.11n capable, which I
 already knew from the sales pamphlet.
 

OK -- searching the ASUS site for Windows 7 64bit docs (that's what came
on it), I find three possibilities for the wireless device:

1. Intel 1000
2. Intel 6200
3. Azurewave

Looks like both of the first two are addressed by driver iwn on OpenBSD,
but not on FreeBSD.  The third one I don't see anywhere.  Looking here:

http://en.wikipedia.org/wiki/Comparison_of_open_source_wireless_drivers#FreeBSD

Looks like that page was last updated for FreeBSD on April 25.
In any case, I tried iwn, and that doesn't work.

-- 
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


Wireless networking question

2010-04-24 Thread Chip Camden
A new notebook (ASUS K72F) has integrated wireles networking.  The technical
specifications are sadly lacking, so I don't know what chipset.  The
wired ethernet appears to use uath, but that's not working as a wlandev.
Since most everything else is Intel, I figured it could be an Intel
chipset, and since it supports 802.11n, I think its probably in the
6000 series.  I tried all the Intel drivers that are listed here:

http://en.wikipedia.org/wiki/Comparison_of_open_source_wireless_drivers#FreeBSD

And none of them appeared to work.  Looking a little further down, it
seems that the Intel 6000 is supported by iwn on OpenBSD, but not on
FreeBSD.  But I could be barking up the entirely wrong tree.

Can anyone shed some light here?  Is there any way to query the hardware,
short of opening the box (which will void the warranty)?

TIA 

-- 
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: Wireless networking question

2010-04-24 Thread Chip Camden
On Apr 24 2010 13:39, Chip Camden wrote:
 A new notebook (ASUS K72F) has integrated wireles networking.  The technical
 specifications are sadly lacking, so I don't know what chipset.  The
 wired ethernet appears to use uath, but that's not working as a wlandev.
 Since most everything else is Intel, I figured it could be an Intel
 chipset, and since it supports 802.11n, I think its probably in the
 6000 series.  I tried all the Intel drivers that are listed here:
 
 http://en.wikipedia.org/wiki/Comparison_of_open_source_wireless_drivers#FreeBSD
 
 And none of them appeared to work.  Looking a little further down, it
 seems that the Intel 6000 is supported by iwn on OpenBSD, but not on
 FreeBSD.  But I could be barking up the entirely wrong tree.
 
 Can anyone shed some light here?  Is there any way to query the hardware,
 short of opening the box (which will void the warranty)?
 
 TIA 
 
 -- 
 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

More info:  I found the following in the output of pciconf -vl:


no...@pci0:2:0:0:   class=0x028000 card=0x10891a3b chip=0x002b168c rev=0x01 
hdr=0x00
vendor = 'Atheros Communications Inc.'
class  = network
a...@pci0:3:0:0:class=0x02 card=0x18201043 chip=0x10631969 rev=0xc0 
hdr=0x00
vendor = 'Attansic (Now owned by Atheros)'
class  = network
subclass   = ethernet


Looks like the first entry show here is my wireless (guessing), because
alc0 is my wired.  Any ideas from that what driver I should be using?
I've tried 'ifconfig wlan0 create wlandev ath0', as well as ath1..9 and
uath0..9, and I always get:

ifconfig: SIOCIFCREATE2: Device not configured

-- 
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: Wireless networking question

2010-04-24 Thread Chip Camden
On Apr 24 2010 21:55, S Roberts wrote:
snip
 Easiest option would be to run a livecd of another more populous *nix
 flavour and see what it makes of the hardware.
 
 Needless to say, if you're so bold, you **can** always load windows
 and let window tell you what it is ;-)
 
 Regards,
 
 S Roberts
 

The really sad thing is that notebook this came with Windows on it.  Next time,
I'll make sure I write down everything in Device Manager *before* I wipe
Windows off the hard drive.

Thanks for the response.

-- 
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: Wireless networking question

2010-04-24 Thread Chip Camden
On Apr 24 2010 22:07, S Roberts wrote:
 
 Not a whole lot there..,
 
 Does scanpci -v tell you any more details about the hardware?
 
 Regards,
 
 S Roberts
 

I don't seem to have scanpci on my system, nor do I see it in the ports
tree -- where would I find it?

Thanks

-- 
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: [ HEADS UP ] Ports unstable for the next 10 days

2010-04-22 Thread Chip Camden
On Apr 22 2010 10:24, Gabor PALI wrote:
 On Wed, Apr 21, 2010 at 10:52 PM, Chip Camden
 sterl...@camdensoftware.com wrote:
  lang/ghc is still marked IGNORE, unless I'm missing something.
 
 Yes, if your system is older than 6.0 on i386 and older then 7.0 on
 amd64, it is still ignored, since we do not support those platforms.
 Otherwise it must be okay.
 
 Cheers,
 g.

I'm on 8.0-RELEASE, amd64. 

But it's working today.  I use portsnap to get the updates -- is there a
delay in that process?  Yesterday it didn't get it, today it did.

-- 
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: [ HEADS UP ] Ports unstable for the next 10 days

2010-04-22 Thread Chip Camden
On Apr 22 2010 18:11, Gabor PALI wrote:
 On Thu, Apr 22, 2010 at 4:30 PM, Chip Camden
 sterl...@camdensoftware.com wrote:
  I'm on 8.0-RELEASE amd64
 
 With a recently updated ports tree?  What is the $FreeBSD$ Id in the Makefile?
 
 :g

# $FreeBSD: ports/lang/ghc/Makefile,v 1.85 2010/04/21 19:53:03 pgj Exp $

Now I'm having another problem.  I was able to do portupgrade for
everything, but when I try to startx, xmonad complains about not haveing
limgmp.so.8, which is what the old math/libgmp4 port created.  I've done
a make clean/deinstall/reinstall of ghc and xmonad, but that didn't help.

-- 
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: [ HEADS UP ] Ports unstable for the next 10 days

2010-04-22 Thread Chip Camden
On Apr 22 2010 12:07, Chip Camden wrote:
 On Apr 22 2010 18:11, Gabor PALI wrote:
  On Thu, Apr 22, 2010 at 4:30 PM, Chip Camden
  sterl...@camdensoftware.com wrote:
   I'm on 8.0-RELEASE amd64
  
  With a recently updated ports tree?  What is the $FreeBSD$ Id in the 
  Makefile?
  
  :g
 
 # $FreeBSD: ports/lang/ghc/Makefile,v 1.85 2010/04/21 19:53:03 pgj Exp $
 
 Now I'm having another problem.  I was able to do portupgrade for
 everything, but when I try to startx, xmonad complains about not haveing
 limgmp.so.8, which is what the old math/libgmp4 port created.  I've done
 a make clean/deinstall/reinstall of ghc and xmonad, but that didn't help.
 

I solved this by deinstalling math/gmp, reinstalling math/libgmp4,
copying libgmp.so.8 to another directory, deinstalling math/libgmp4,
reinstalling math/gmp, then copying my saved libgmp.so.8 back to
/usr/local/lib.

I think maybe my package database has become corrupted somehow.  Is there
a good way to rebuild that from scratch, or fix it?  The Handbook didn't
seem to say anything on the subject.

-- 
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: [ HEADS UP ] Ports unstable for the next 10 days

2010-04-22 Thread Chip Camden
On Apr 22 2010 16:08, Chuck Swiger wrote:
 Hi--
 
 On Apr 22, 2010, at 3:57 PM, Chip Camden wrote:
  I think maybe my package database has become corrupted somehow.  Is there
  a good way to rebuild that from scratch, or fix it?  The Handbook didn't
  seem to say anything on the subject.
 
 Try this sequence:
 
 portsdb -Fu
 pkgdb -aF
 
 (Additional runs of pkgdb -F with manual intervention might be needed if 
 all cannot be auto-repaired.  :-)
 
 Regards,
 -- 
 -Chuck

Thanks much!

-- 
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: [ HEADS UP ] Ports unstable for the next 10 days

2010-04-21 Thread Chip Camden
On Wed, Apr 21, 2010 at 11:07:46PM +0300, Ion-Mihai Tetcu wrote:
 On Tue, 20 Apr 2010 02:14:20 +0300
 Ion-Mihai Tetcu ite...@freebsd.org wrote:
 
  A switch to use newer GMP version has been committed.
  
  Unfortunately lang/ghc and dependent ports (and possibly
  lang/gnat-gcc44) were broken by this. The brokenness wasn't detected
  in our -exp run because of being masked by other issues.
 
 A fix has been committed :)
 
 -- 
 IOnut - Un^d^dregistered ;) FreeBSD user
   Intellectual Property is   nowhere near as valuable   as Intellect
 FreeBSD committer - ite...@freebsd.org, PGP Key ID 057E9F8B493A297B


lang/ghc is still marked IGNORE, unless I'm missing something.

-- 
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: intel video driver

2010-04-19 Thread Chip Camden
I just found out that the video chip is HM55, if that helps.

On Sun, Apr 18, 2010 at 01:52:17PM -0700, Chip Camden wrote:
 Salutations,
 
 I'm fairly new to this list and have only lurked until now.  Please
 forgive me if this question has been asked before.  I've exhausted the
 man pages, google, and comp.unix.bsd.freebsd.misc.
 
 I've installed FreeBSD 8.0-release amd64 on an Intel Core i3 with
 integrated HD graphics.  Everything's working fine except for the video
 driver for X11.
 
 pciconf -lv yields:
 
 vgap...@pci0:0:2:0: class=0x03 card=0x17021043 chip=0x00468086 
 rev=0x12 hdr=0x00
 vendor = 'Intel Corporation'
 class  = display
 subclass   = VGA
 
 The intel driver cannot see the device at all.  The vesa driver works,
 but it's limited to 1024x768, which on my 1600x900 notebook screen
 presents a suboptimal viewing experience.  /var/log/Xorg.0.log reports
 the available timings:
 
 (II) VESA(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
 (II) VESA(0): First detailed timing is preferred mode
 (II) VESA(0): redX: 0.610 redY: 0.355   greenX: 0.333 greenY: 0.610
 (II) VESA(0): blueX: 0.152 blueY: 0.100   whiteX: 0.313 whiteY: 0.329
 (II) VESA(0): Manufacturer's mask: 0
 (II) VESA(0): Supported detailed timing:
 (II) VESA(0): clock: 110.4 MHz   Image Size:  382 x 214 mm
 (II) VESA(0): h_active: 1600  h_sync: 1664  h_sync_end 1706 h_blank_end 2000 
 h_border: 0
 (II) VESA(0): v_active: 900  v_sync: 903  v_sync_end 906 v_blanking: 920 
 v_border: 0
 (WW) VESA(0): Unknown vendor-specific block f
 (II) VESA(0):  AUO
 (II) VESA(0):  B173RW01 V0
 (II) VESA(0): EDID (in hex):
 (II) VESA(0): 000006af9e10
 (II) VESA(0): 01120103802615780a45259c5b559c27
 (II) VESA(0): 1950540001010101010101010101
 (II) VESA(0): 010101010101202b409061841430402a
 (II) VESA(0): 33007ed61018000f
 (II) VESA(0): 002000fe0041
 (II) VESA(0): 554f0a20202020202020202000fe
 (II) VESA(0): 004231373352573031205630200a00bb
 (II) VESA(0): EDID vendor AUO, prod id 4254
 (II) VESA(0): Printing DDC gathered Modelines:
 (II) VESA(0): Modeline 1600x900x0.0  110.40  1600 1664 1706 2000  900 903 
 906 920 -hsync -vsync (55.2 kHz)
 
 And I added a ModeLine to the Monitor section of xorg.conf to address that:
 
   ModeLine 1600x900 110.4 1600 1664 1706 2000 900 903 906 920 
 -hsync -vsync
 
 But no dice.  I think vesa just isn't capable of that mode.  The ModeLine
 doesn't help the intel driver to see it either.
 
 This thread: http://forums.freebsd.org/showthread.php?t=9606page=2
 
 led me to believe that I need an Intel driver entry for (0x8086, 0x0046
 in /sys/dev/drm/drm_pciids.h along with corresponding tests in the
 correct driver-specific header file, but I don't know what driver that
 should be, or if I even have one that would work.  I'm tempted to just
 try them  each one a time, starting with i915 -- could I cause any
 permanent damage?
 
 Anyone have similar experience with this setup?  I don't even know for
 sure what the video chip is on this system, but since it's on an i3 I
 think it would have to be PM55, PM57, HM55, HM57, QM57, or QS57.
 
 Any help or sympathy would be appreciated.
   
 -- 
 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

-- 
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


intel video driver

2010-04-18 Thread Chip Camden
Salutations,

I'm fairly new to this list and have only lurked until now.  Please
forgive me if this question has been asked before.  I've exhausted the
man pages, google, and comp.unix.bsd.freebsd.misc.

I've installed FreeBSD 8.0-release amd64 on an Intel Core i3 with
integrated HD graphics.  Everything's working fine except for the video
driver for X11.

pciconf -lv yields:

vgap...@pci0:0:2:0: class=0x03 card=0x17021043 chip=0x00468086 rev=0x12 
hdr=0x00
vendor = 'Intel Corporation'
class  = display
subclass   = VGA

The intel driver cannot see the device at all.  The vesa driver works,
but it's limited to 1024x768, which on my 1600x900 notebook screen
presents a suboptimal viewing experience.  /var/log/Xorg.0.log reports
the available timings:

(II) VESA(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
(II) VESA(0): First detailed timing is preferred mode
(II) VESA(0): redX: 0.610 redY: 0.355   greenX: 0.333 greenY: 0.610
(II) VESA(0): blueX: 0.152 blueY: 0.100   whiteX: 0.313 whiteY: 0.329
(II) VESA(0): Manufacturer's mask: 0
(II) VESA(0): Supported detailed timing:
(II) VESA(0): clock: 110.4 MHz   Image Size:  382 x 214 mm
(II) VESA(0): h_active: 1600  h_sync: 1664  h_sync_end 1706 h_blank_end 2000 
h_border: 0
(II) VESA(0): v_active: 900  v_sync: 903  v_sync_end 906 v_blanking: 920 
v_border: 0
(WW) VESA(0): Unknown vendor-specific block f
(II) VESA(0):  AUO
(II) VESA(0):  B173RW01 V0
(II) VESA(0): EDID (in hex):
(II) VESA(0):   000006af9e10
(II) VESA(0):   01120103802615780a45259c5b559c27
(II) VESA(0):   1950540001010101010101010101
(II) VESA(0):   010101010101202b409061841430402a
(II) VESA(0):   33007ed61018000f
(II) VESA(0):   002000fe0041
(II) VESA(0):   554f0a20202020202020202000fe
(II) VESA(0):   004231373352573031205630200a00bb
(II) VESA(0): EDID vendor AUO, prod id 4254
(II) VESA(0): Printing DDC gathered Modelines:
(II) VESA(0): Modeline 1600x900x0.0  110.40  1600 1664 1706 2000  900 903 906 
920 -hsync -vsync (55.2 kHz)

And I added a ModeLine to the Monitor section of xorg.conf to address that:

ModeLine 1600x900 110.4 1600 1664 1706 2000 900 903 906 920 
-hsync -vsync

But no dice.  I think vesa just isn't capable of that mode.  The ModeLine
doesn't help the intel driver to see it either.

This thread: http://forums.freebsd.org/showthread.php?t=9606page=2

led me to believe that I need an Intel driver entry for (0x8086, 0x0046
in /sys/dev/drm/drm_pciids.h along with corresponding tests in the
correct driver-specific header file, but I don't know what driver that
should be, or if I even have one that would work.  I'm tempted to just
try them  each one a time, starting with i915 -- could I cause any
permanent damage?

Anyone have similar experience with this setup?  I don't even know for
sure what the video chip is on this system, but since it's on an i3 I
think it would have to be PM55, PM57, HM55, HM57, QM57, or QS57.

Any help or sympathy would be appreciated.

-- 
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


XFCE Themes don't work

2008-07-01 Thread chip

I am using FreeBSD 7.0 Release and XFCE4.
I have downloaded and extracted some themes into 
/usr/local/share/themes/ and reset the permissions to 777, they do not 
appear on the themes list in the Settings control panel. I also copied 
them into ~./themes, reset the permissions and they still do not appear 
on the list. I do have the gtk-xfce-engine-2.4.2_1 installed.

What do I have to do to get these themes to appear on the themes list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't access cdrom as regular user

2008-06-29 Thread chip

Rudy wrote:


So as root I set the permissions to 777 on acd0, then after a reboot 
the permissions were reset back to what they were previously. What do 
I have to do to get access to my cd drive on my regular account?



Edit your /etc/devfs.conf file...

Add this line:
 permacd00666


Simulate the boot-up of devfs:
 /etc/rc.d/devfs restart

(easier than rebooting)

- Rudy
Thanks Rudy, that fixed that problem, now though another has popped up - 
after listening to a cd, the system doesn't release the drive so the cd 
won't eject, I have to reboot to get the cd out.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't access cdrom as regular user

2008-06-28 Thread chip

I can't access my cd drive on my regular login. I get this message -

CD-ROM read or access error (or no audio disc in drive).
Please make sure you have access permissions to:
/dev/acd0

So as root I set the permissions to 777 on acd0, then after a reboot the 
permissions were reset back to what they were previously. What do I have 
to do to get access to my cd drive on my regular account?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


<    1   2   3   4   5   >