Re: [vox-tech] bare-bones web server

2002-07-18 Thread nbs

On Thu, Jul 18, 2002 at 03:43:55PM -0700, Nicole Carlson wrote:
 Hi everyone
 
 Can anyone recommend a tiny-footprint, minimal, feature-free, really
 bare-bones web server for Linux?  I'm doing research on web servers, and
 Apache is way too smart for its own good.  :)  Can someone help me out?

boa, thttpd, tux ...

I've seen dozens listed on Freshmeat that claim to be small  fast. ;)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] test - please delete

2002-07-15 Thread nbs

On Sun, Jul 14, 2002 at 10:51:30PM -0700, Gabriel Rosa wrote:
 On Sun, 14 Jul 2002, Dick Ely using JPS-SMTP  POP wrote:
  test ignore
 
  using jps-smtp
 
snip 
 This is lugod's technical discussion forum. All Linux and computer related
 technical questions and discussions go here...

I dunno... whatever it was Dick said, it sure SOUNDED technical.

;) ;) ;)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] GIMP and 8-bit GIFs

2002-07-01 Thread nbs

On Mon, Jul 01, 2002 at 11:45:31AM -0700, Henry House wrote:
 
 If you are using Debian, then you need the 'gimp-nonfree' package. Other
 distros vary, but likely have a similar package for GIF support. Alernately,
 save as PNG (or other convenient format) and use the command-line convert
 program tp convert to GIF. It is beastly slow but effective and supports many
 options to customize the output. It is part of the ImageMagick package.

Ah - If .gif support (e.g. nonfree) was the issue, then yeah.  What
Henry said. :)

Also, you can use NetPBM like so:

  pngtopnm SOME.PNG | pnmquant -fs 256 | ppmtogif  SOME.GIF


Where pnmquant -fs 256 makes a Floyd-Steinberg dithered image of 256 colors.
You can also use palettes and other good stuff here, too.  (I believe the
format of the palette file you can use with 'pnmquant' is simply
some .PPM file.)


Good luck!

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] Apache, IE, error 404

2002-06-27 Thread nbs


I'm curious, is there any way to make an Apache webserver magically
notice when an IE browser is about to get an error 404 and not actually
send a 404 error code back?  (e.g., show whatever error page it would
show, but respond as if it was an ok, versus a file not found)

The point is to circumvent the stupid built-in IE error response pages
which are, in turn, circumventing any _useful_ error page your webserver
may be providing.  (LUGOD.org, for example, has a rather sophisticated
error page which understands typos, knows about some out-of-date URLs,
and so forth...  It's sad to think so many people might never even see
the useful error response because IE is overriding the server's actual HTML)

Thx!

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread nbs

On Wed, Jun 26, 2002 at 11:49:23PM -0700, Rod Roark wrote:
 I think you can fix this on the browser side by going
 into IE's settings and unchecking show friendly HTTP
 error messages... or something like that.
 
 That's right, MS thinks that showing what caused an error 
 is unfriendly.

I can't exactly do this from my webserver. :)
(That's my point... I'm trying to circumvent Microsoft's idiocy)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread nbs

On Thu, Jun 27, 2002 at 07:22:28AM -0700, Rod Roark wrote:
 From Apache's default httpd.conf:
 
 # Customizable error response (Apache style)
 #  these come in three flavors
 #
 #1) plain text
 #ErrorDocument 500 The server made a boo boo.
 #  n.b.  the () marks it as text, it does not get output
 #
 #2) local redirects
 #ErrorDocument 404 /missing.html
 #  to redirect to local URL /missing.html
 #ErrorDocument 404 /cgi-bin/missing_handler.pl
 #  N.B.: You can redirect to a script or a document using server-side-includes.
 #
 #3) external redirects
 #ErrorDocument 402 http://some.other_server.com/subscription_info.html
 #  N.B.: Many of the environment variables associated with the original
 #  request will *not* be available to such a script.
 
 Looks like #2 is what you are mostly wanting.

Maybe I'm missing something, but I don't think that will do it.
In fact, that's what I already have.  Using a non-IE browser, go to,
for example:

  http://www.lugod.org/projects/installfests.shtml

and, perhaps, compare it to:

  http://www.lugod.org/FooBar/


So I've already got 404 errors doing magical PHP stuff.  My issue is,
they are (rightly) being transmitted as 404 responses.

IE notices this, ignores any of the actual HTML content provided by
the webserver (e.g., in the first page up there, the note saying
You're probably looking for the installfest page: _link_), and just
plops its crap onto the screen.


I want Apache to say Ok, this is a 404... BUT... the requester is using
Internet Explorer, so I'll still show them the 404 error page Bill so
tirelessly created, BUT I'll just say it's an okeydokey response, not
a 404.


I think someone's suggestion to rewrite headers using PHP might do the
trick for me.  If so, I'll post my solution.


Now to track down a Windows box with IE to test with ;)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread nbs

On Thu, Jun 27, 2002 at 09:59:54AM -0700, Jeff Newmiller wrote:
 
  Now to track down a Windows box with IE to test with ;)
 
 First get the response code straightened out:
 
snip
 HTTP/1.0 404 Not Found  -* this is the response code 
snip
 ... then worry about finding IE to test with.


Well _duh_.  I haven't _done_ anything yet. :^)  :^P

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Apache, IE, error 404

2002-06-27 Thread nbs

On Thu, Jun 27, 2002 at 10:17:38AM -0700, Rod Roark wrote:
 Well, I just tried these two URLs on IE 5.0 after booting up
 Win98 on my wife's (dual boot) machine.  It seems to display
 your stuff OK, regardless of the friendly messages setting.

Yes, same here for us, on two different boxen.

It _seems_ that there's already something magical about Apache's config.
on LUGOD.org, _OR_ that IE actually looks at the length/complexity/keywords
within the 404 response HTML to decide whether it's already friendly enough

Compare:

  http://www.lugod.org/tototo

with the setting on and off   (both cases, you see my nice PHP 404 error)

to:

  http://www.newbreedsoftware.com/tototo

with the setting on and off   (on, you see the generic IE friendly 404,
   off, you see my simply 404.shtml page)


Whatever.   This is why I don't like thinking about IE. :)


-bill!
(discovered that a server-erroring VBScript in IIS still sends a 200 OK
response, since I guess they assume all VB coders are too stewpid to disable
the 'friendly error' setting.   Seriously...  I read this at microsoft.com
just now after doing a Google search ;) )

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] [web-dev] Setting website icons?

2002-06-10 Thread nbs

On Mon, Jun 10, 2002 at 11:34:45AM -0700, Mark K. Kim wrote:
 Whenever I visit a site using IE or Mozilla under Windows, I notice some
 sites can change the icons that appear on the URL.  Everything2.org, for
 example.  Does anyone know how to set this?  I don't see anything in the
 stylesheet, as far as I can see I don't see anything obvious in the
 source... (though it's gotta be in the source *somewhere*!.)

Nope.  *brrzt!* Wrong!


You need to throw a favicon.ico file in the root of your domain.
(You CAN override/change it via HTML for particular files... I don't know
the syntax offhand.)

A .ico is, of course, a MICROS~1 WINDOWS icon file.  Getting one that
works just right can be a little tricky.  I use some NetPBM tool or
something to tweak mine.  (It's been a while.  BillsGames.com, LUGOD.org
and NewBreedSoftware.com all have their own icons.  The latter two are
ones I whipped up in The GIMP and then converted.)

Konqueror supports icons, too.  It's actually kind of a nice feature.
Gives extra feedback when browsing a list of URLs in history/pulldowns/etc.,
as well as when looking at your taskbar.  (The program with the /. icon
is Konqueror visiting some page on Slashdot.  The one with the penguin is
a LUGOD.org page.  And so forth)


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] [web-dev] Setting website icons?

2002-06-10 Thread nbs

On Mon, Jun 10, 2002 at 12:26:35PM -0700, David Margolis wrote:
 
 so what tools can be used to create this ico?  can you just create a 16x16
 gif and convert it with something?

Like I said, it's been a while.  I believe KDE comes with an editor or
converter or something.

I also think there's a NetPBM-style tool available, too, so you can
do something like:

  giftopnm icon.gif | _something_  favicon.ico


I forget what the _something_ part is. ;)


I can check when I get home, if you'd like.  I'm fairly sure I've got
that stuff installed there.  (Debian/Woody w/ KDE)


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] [web-dev] Setting website icons?

2002-06-10 Thread nbs

On Mon, Jun 10, 2002 at 01:27:43PM -0700, Mark K. Kim wrote:

 I noticed a couple weeks ago when I was fiddling with an ICO editor
 program on Windows that Windows' ICO file contains several bitmaps for
 different colors and sizes (IIRC, 16x16, 32x32, 64x64, BW, 16 colors, 256
 colors, in combinations)... kind of like Macintosh.  From Steven's
 article, it sounds like you need 16x16 size icons at 16 colors, and
 perhaps the ones on the above three sites are of wrong colors or sizes?

Ugh.  Well, screw IE (unless someone can fix and test the icons for me).
I don't have Windows, and therefore don't have access to IE.  (THANK GOD!)

The icons work perfectly under Konqueror. :)

Perhaps an upgrade from Win/IE to Linux/Konq is what everyone in the world
needs? :)


Anyone happen to know if any other 'favicon.ico'-supporting browsers
have problems?  (Does Moz support icons?)


 The editor I used is PC Magazine's IconEdit32 from Download.com.  That's
 IconEdit32 with 32 at the end, not the version without:
 
http://download.com.com/3000-2195-5929957.html?tag=lst-0-2
 
 (Needs Windows to run... maybe WINE will work with it?)

Bleh.  I don't even have WINE.  I'm 99.9% Microsoft free.
(I have their free TrueType fonts installed :^)  I do NOT have any MS mice
or keyboards, even)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Mutt: Saving E-mail Messages as Text Files

2002-06-07 Thread nbs

On Fri, Jun 07, 2002 at 10:05:18AM -0700, Cam Ellison wrote:
 Pressing s alone saves it to a mailbox.

Hmm?  Since when?

I save e-mails into files all the time!


[s]filename.txt[Enter]


If I were to save it as something like:

[s]=somebox[Enter]

... then THAT would save it into a mailbox (in my ~/Mail/ directory)


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Demo Machine: Stopped Rear Case Fan.

2002-06-07 Thread nbs

On Fri, Jun 07, 2002 at 05:50:33PM -0400, [EMAIL PROTECTED] wrote:
snip

Just make sure it works by June 26th, for my Zaurus talk at Davis PCUG! ;)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] book recommendation: php

2002-06-04 Thread nbs

On Tue, Jun 04, 2002 at 08:49:30AM -0700, Peter Jay Salzman wrote:
snip
 
 any recommendations for php?

If you can wait until July, you can ask the author of PHP himself. ;)
Of course, he's also the author of O'Reilly's Programming PHP,
so he might be just a BIT biased. ;)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] total wierdness with permissions

2002-06-03 Thread nbs

On Mon, Jun 03, 2002 at 01:48:51PM -0400, [EMAIL PROTECTED] wrote:
 - are you really root?  (not inside a fakeroot)

Wait - Wasn't Pete the one who set his prompt to #, even for non-root
users?! :)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] xlib/gdk questions

2002-06-03 Thread nbs

On Mon, Jun 03, 2002 at 01:24:31PM -0700, Peter Jay Salzman wrote:
  
 i've seen this happen before -- but i'm still not sure why it happens.
 can you explain just a little bit more why this happens?

You've only got 256 colors on the 8-bit display.
If program A wants 50 of them to be shades of green,
and program B wants to have 256 shades of grey, that's
more than 256 colors. :)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] truetype fonts under gnome

2002-05-29 Thread nbs

On Wed, May 29, 2002 at 02:43:43AM -0400, [EMAIL PROTECTED] wrote:
 
   I'm interested in the delay problem you are having... if you are _not_
 restarting the xfstt process you shouldn't have problems.

I'd check to see if xfstt is running.  If it is not, I start it, then
I restart X.

The exact symptom is that applications take a long time to load (or don't
before the X server dies).  This includes gnome-terminal and gfontsel...


 -  What things are you doing when you notice lag or the session vanishing?

Clicking on the Terminal or [Gnome Foot] - Programs - Utilities - Font Sel.

:)



snip
   My guess is xfstt plays much like apache (there is one master parent
 who runs as root, which forks a client process which switches to a
 dummy user to actually do the work for client connections).  So the
 two processes is normal.

Ok, cool. :)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] VNC Screen Geometry Settings

2002-05-29 Thread nbs

snip

Usually VNC clients provide scrollbars.
Is it not doing that?

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] quick, stupid bash question

2002-05-29 Thread nbs

On Wed, May 29, 2002 at 11:11:19AM -0700, Peter Jay Salzman wrote:
 ok, i should know this...
 
 
 this redirects stderr to stdout and pipes the whole thing to grep:
 
strace lsof 21 | grep System

Try something like:

 strace lsof 21 1 /dev/null | grep


(For some reason, the other order (21 at the end) doesn't work)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Re: truetype fonts under gnome

2002-05-28 Thread nbs

On Tue, May 28, 2002 at 04:26:07PM -0400, [EMAIL PROTECTED] wrote:
 
 - Are we using the same font?  (below is the md5sum from my TTF file)
   15919e2750f38a3988147cd6ad57d22a  GARTON__.TTF
 

It's the same.

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] truetype fonts under gnome

2002-05-28 Thread nbs

On Tue, May 28, 2002 at 07:38:21PM -0400, [EMAIL PROTECTED] wrote:
 
 xfstt   - Handles the Garton font perfectly.
   (Gimp was tested, and works)

Enabling xfstt did the trick!  Thanks!  I guess freetype was more fussy or
buggy...

-bill!
(off to convince Star Office 5.2 to see these fonts, too)
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] truetype fonts under gnome

2002-05-28 Thread nbs

On Tue, May 28, 2002 at 11:03:45PM -0700, nbs wrote:
 On Tue, May 28, 2002 at 07:38:21PM -0400, [EMAIL PROTECTED] wrote:
  
  xfstt   - Handles the Garton font perfectly.
(Gimp was tested, and works)
 
 Enabling xfstt did the trick!  Thanks!  I guess freetype was more fussy or
 buggy...
 

Hmm.. Although xfstt seems to spawn a second time, and the whole X session
seems pretty laggy, and sometimes vanishes. :^/

Could be a particularly bad TTF :^P

root  2208  0.0  1.2  1972  800 ?S23:08   0:00 /usr/X11R6/bin/xfstt 
--port 7101 --daemon --user nobody
nobody2378  0.0  1.3  6588  832 ?S23:10   0:00 /usr/X11R6/bin/xfstt 
--port 7101 --daemon --user nobody


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] Re: truetype fonts under gnome

2002-05-27 Thread nbs

On Mon, May 27, 2002 at 03:17:07PM -0700, nbs wrote:
 I followed some very nice instructions on the web:
 TrueType Fonts on Debian XFree86 4.x Systems
 ( http://www.paulandlesley.org/linux/xfree4_tt.html )

PS - Here's what I see:

  http://www.sonic.net/~nbs/xfontsel.gif  --- font works
  http://www.sonic.net/~nbs/gfontsel.gif  --- font does not work

Thx!

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[ot] posting etiquette (was Re: [vox-tech] For those keeping track of MS anti Open Source efforts)

2002-05-22 Thread nbs

On Wed, May 22, 2002 at 10:15:12PM -0700, Steven Peck wrote:
 http://www.washingtonpost.com/wp-dyn/articles/A60050-2002May22.html
 From slashdot.org

Psst... Steven :)


(1) Don't reply to an existing message to start a new thread, as that
confuses threaded mail clients :)

  209  D  May 22 Ryan   (  24) SEVEN HOURS! was Re: [vox-tech] Is mo
  210 May 22 Steven Peck(   9) `-[vox-tech] For those keeping track


(2) Post stuff like this to vox, not vox-tech


:)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] xlib question

2002-05-21 Thread nbs

On Mon, May 20, 2002 at 11:24:27PM -0700, Peter Jay Salzman wrote:
 what's the difference between an xlib Window, Display and Drawable?  as in:
 
 Window win;
 Display dpy;
 Drawable drw;

I believe a window is a kind of drawable, and both exist on displays.

I bet that doesn't answer your question very well, huh? :)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Demo machine motherboard doesn't like 64 Gig drives

2002-05-14 Thread nbs

On Tue, May 14, 2002 at 02:41:49PM -0700, Peter Jay Salzman wrote:
 2 days ago i put an 80GB drive into satan.  when bios started looking
 for drives, it always hung when it tried to autodetect this drive.
snip

In case anyone cares...

I initially had problems installing my 120GB drive into my box.
A brief BIOS upgrade (which unfortunately required use of an MSDOS boot
floppy) fixed it.

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] New Distrobutions Virus Alert + humor

2002-04-30 Thread nbs

On Tue, Apr 30, 2002 at 04:42:13PM -0700, ME wrote:
snip
  ignote torch
 The torch having been lit you see:
 A large dark room with four obvious exits: N, S, E, and W.
 You face 2 Beastly Fidos, 1 RMS, 1 Linus Torvalds, 1 Bill Gates.
snip

Thank goodness this is archived.  It'd be ashame to lose ;)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Demo machine sound card...

2002-04-28 Thread nbs

On Sun, Apr 28, 2002 at 03:26:20AM -0400, [EMAIL PROTECTED] wrote:
snip 
   Well the sound card now works, under ALSA version 0.9.0rc1.

W00t! Sorry it gave you so much trouble.  (Every time this machine gets
wiped and reinstalled, it seems to take one of us a while to get the damned
thing to work.)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Lugod Demo Computer Software suggestions?

2002-04-25 Thread nbs

(This should really be on VOX, but... whatever :^) )

On Thu, Apr 25, 2002 at 04:03:10PM -0400, [EMAIL PROTECTED] wrote:
snip 
 Overview
 
 
 Major installed packages include:
 - X11 4.1, Gnome, KDE,
 - Abiword, Gnumeric, Koffice, Openoffice,
 - Mozilla, Konqueror, lynx, links
 - Most of the development tool chain:
   C, C++, Perl, Python,
 - Many games:
   nethack, tuxracer, defendguin, gemdropx, etc... ;)
   the Loki demo archive... :{

Add to this:

  The Gimp  ( www.gimp.org )
  XMMS  ( www.xmms.org )
  Some XMMS visualization plug-ins  ( )


And, if you have time,

  Frozen Bubble ( www.frozen-bubble.org - avail. as .deb )
  glTron( www.gltron.org )
  FlightGear( www.flightgear.org )
  Vectoroids  [ ;) ]( www.newbreedsoftware.com/vectoroids/ )
  Asteroids 3D  ( www.psc.edu/~smp/a3d/ )
  XVNC [*]  ( www.uk.research.att.com/vnc/xvnc.html )

And make sure sound is working! :)  (If you don't have speakers, you can
always use headphones, ya know!)


[*] It'd be cool to show the Zaurus over VNC at the demos.
I may need a little help getting a network between the systems...


Thanks for your work!

I've updated the Demo Box page:

  http://www.lugod.org/projects/demo/computer.php

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Lugod Demo Computer Software suggestions?

2002-04-25 Thread nbs


Mike said:
 Bill said:
 
The Gimp  ( www.gimp.org )
XMMS  ( www.xmms.org )
Some XMMS visualization plug-ins  ( )
XVNC [*]  ( www.uk.research.att.com/vnc/xvnc.html )
  And, if you have time,
Frozen Bubble ( www.frozen-bubble.org - avail. as .deb )
glTron( www.gltron.org )
FlightGear( www.flightgear.org )
Vectoroids  [ ;) ]( www.newbreedsoftware.com/vectoroids/ )
 
   done.

All of them?  Cool!  Thanks!

 
Asteroids 3D  ( www.psc.edu/~smp/a3d/ )
 
   not packaged, or I'm missing it.

No prob.  I've never actually tried it before, so I don't even know if
it's good.  LOOKS nifty.  There's another cool 3D asteroid game out
there, too (not 1st person)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Lugod Demo Computer Software suggestions?

2002-04-25 Thread nbs


Also, what servers are installed?  (I assume Apache - what's enabled?
OpenSSH, too, I'm presume.  Anything else?)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Lugod Demo Computer Software suggestions?

2002-04-25 Thread nbs

On Thu, Apr 25, 2002 at 06:58:19PM -0400, [EMAIL PROTECTED] wrote:
   
 not packaged, or I'm missing it.
  
  No prob.  
 
   But when it's not packaged then I'd need to go find the source,
 figure out how to compile it and junk, which could take an hour
 for each package.  ;)

No ... I didn't mean It is not a problem for you to install it, lazybones
I meant It is not a problem that you didn't bother installing it - it's
not NECESSARY :)

Anyway, thanks again!  Also, I made all app. titles on the Demo Computer
page on LUGOD.org links to their various homepages.  (Most are
www.[name of program].org :) )


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Linux's Vulnerability to E-mail Viruses

2002-04-25 Thread nbs

On Thu, Apr 25, 2002 at 08:47:34PM -0700, ME wrote:
 The most advanced encryption available is found when you use 2XOR
 (double-XOR) with your data and the same key.

Like those ebooks!  Wait, no that was ROT13

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Lugod Demo Computer Hardware Details

2002-04-24 Thread nbs


On Wed, Apr 24, 2002 at 02:17:10PM -0400, [EMAIL PROTECTED] wrote:
   Okay this message is an overview of the lugod demo computer
 Hardware Setup (software details in separate mail).  I was 
 thinking some information about the machine should be included 
 on the website.  

There actually is:

  http://www.lugod.org/projects/demo/computer.php


It's linked-to off of the main demo page (under Demo Computer paragraph):

  http://www.lugod.org/projects/demo/computer.php


I'll go over your e-mail and update the specs. as needed, though!
Thanks!

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Not able to log into root.

2002-04-23 Thread nbs

On Tue, Apr 23, 2002 at 11:58:33AM -0700, Rusty Minden wrote:
 Dohh! Yes I do I flubbed when doing a search using vim sorry. Still can't use 
 su to log into root.

You'll probably need to boot into single user mode (err.. if you CAN
with a botched /etc/passwd), or (more likely) use a rescue disk.

BTW - use vipw, not vim...  It will, as the man page says,
set the appropriate locks to prevent file corruption.  I seem to
recall it also complaining and not saving/quitting if the file got
botched up.  (eg, it syntax checks it before committing to disk)

I could be wrong about that last part, unfortunately... :)
In that case, I guess VIM is good enough.  Just be CAREFUL! ;)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Not able to log into root.

2002-04-23 Thread nbs

On Tue, Apr 23, 2002 at 02:11:33PM -0700, Peter Jay Salzman wrote:
 why did you post /etc/passwd?
 
 it would be more helpful if you posted the contents of /etc/shadow.

Why, so we can all try to crack it for a few weeks?  ;) 

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] breakinguplongwordsinlatex

2002-04-23 Thread nbs

Is there a way to force a string to break at a certain length,
regardless as to whether it contains spaces?

In other words, some data being printed into columns of a table
word wrap ok, because it's multiple words:

   This is a really long spaced
   entry for the column


Others mess up the table (a longtable with specifically assigned widths):

  Thisisareallylongspacelessentryforthecolumn


Any way to just force that 2nd kind of text to break at the column's
width?


(The data really should be changed, but that's not up to me,
unfortunately. :^(  )


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] C++ question - undefined reference

2002-04-22 Thread nbs


I'm trying to port an X-Window-based C++ game to SDL, and am having
problems during linking.

For some reason, event though the variable display is declared
(I simply typedef'd its type, Display, to a plain old int),
and event set to a value (just 0), I'm getting some errors:


castle.o: In function `Castle::explode(Stats *)':
/home/kendrick/xsc-1.4/castle.C:246: undefined reference to `display'
laser.o: In function `Laser::render(bool)':
/home/kendrick/xsc-1.4/laser.C:68: undefined reference to `display'
ring.o: In function `Ring::render(bool)':
/home/kendrick/xsc-1.4/ring.C:88: undefined reference to `display'
ship.o: In function `Ship::render(bool)':
/home/kendrick/xsc-1.4/ship.C:159: undefined reference to `display'
/home/kendrick/xsc-1.4/ship.C:166: undefined reference to `display'
ship.o:/home/kendrick/xsc-1.4/ship.C:169: more undefined references to `display' follow


I'm not sure exactly what this error means, but it's at the linking
stage.  (In other words, I didn't get any 'undefined variable' errors
regarding display during the compliation stage of the build.)


Any ideas?

Thanks!

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] C++ question - undefined reference

2002-04-22 Thread nbs

On Mon, Apr 22, 2002 at 02:06:09AM -0700, nbs wrote:
 
 I'm trying to port an X-Window-based C++ game to SDL, and am having
 problems during linking.
snip

Hmm... Well, redeclaring it in one of the .C files as:


#ifdef USE_SDL
Display * display = 0;
#endif

...seemed to do the trick.  shrug


I really dislike C++  :^P

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] LaTeX, DVI, PDF, LaTeX, fonts - HELP!

2002-04-19 Thread nbs

On Fri, Apr 19, 2002 at 03:34:27PM -0700, Shawn P. Neugebauer wrote:
 If you're not doing anything to specifically control fonts, the default is
 Computer Modern (the distinct look behind most TeX documents)
 for the 3 font families of roman, san serif, and typewriter.  The CM fonts
 are not PostScript fonts.
 
 I'm no expert, but the following simple fix will probably go a long way.
 Insert \usepackage{times} in the preamble of your document.  It
 will make Times, Helvetica, and Courier the roman, san serif, and
 typewriter font family, respectively.  These are PostScript fonts and
 the resulting output files should be much more compatible with PS
 printers.

Thanks.  Unfortunately, \usepackage{times} is already in there. :^(

It could be that the font isn't installed on the server generating the PDF,
and it's just sheer luck that some of the documents have been printed
with the serif font.

I'll look into it.  In the meantime, if anyone has any other suggestions...
:)


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] LaTeX, DVI, PDF, LaTeX, fonts - HELP!

2002-04-19 Thread nbs

On Fri, Apr 19, 2002 at 04:51:02PM -0700, Shawn P. Neugebauer wrote:
snip
 
 A few things:
 * If the generated PDF file is not using Times, it should be obvious looking
   at the PDF in Acrobat.  One can tell the difference between a doc w/CM
   fonts and a doc w/Times.  What does a visual inspection reveal?

I can ask people to ask the people with the systems with problems
to do this.  Thanks. :)


 * More useful, Acrobat will tell you precisely what fonts are used.  Go to
   File/Document Info/Fonts  Have your end-user try this on their machine.
   Compare.

Ditto.


 * I don't see the HP-850S.

Sorry...  By HP-850s, I mean more than one HP-850.  (eg, plural, not 's' ;) )


   I see the HP DeskJet 850C, and this could be
   a problem since it's not PostScript.

Hm


   What, exactly, is the printer that's
   having a problem?  The problem could be the result of driver issues
   (not that you could fix them, but at least you would have something
   to blame).

The HP-850 printers ( ;^) ) are the ones printing sans serif, when
the rest of the printers all print times fine.

They also have a slightly tweaked top/bottom margin, I asusme because
of the way the paper feeds.

eg, in LaTeX, I'm saying, I want the top  bottom margins here  here,
but when I hold two printouts up to each other, the HP ones are printed
'higher.'  VERY annoying when trying to fit an address  postnet code
in an envelope window. :^( :^(


 * In Acrobat on Windoze, there's a *very* useful option print as image
   that shows up in the print dialog box.  It can be a little slow but it will
   print anything that Acrobat can display.  Sadly, this option is missing in
   the Linux version.  Have your end-user try this.  Might save everyone
   a load of time.

Thanks much!  I'll let you know what happens.

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Touble with Printer Set-up (long)

2002-04-12 Thread nbs

On Fri, Apr 12, 2002 at 12:15:04PM +0800,  Jim  Langston wrote:
 Hi everyone,
 
 I'm a new Linux user,

I don't have time to actually look over the problem,
but I thought I'd welcome you to the community! :)

So... welcome.  And good luck!

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Dingus, was modifying mouse selection behavior under X

2002-04-10 Thread nbs

On Wed, Apr 10, 2002 at 02:52:31AM -0700, Bill Broadley wrote:
 On a seperate but related topic, the wonderful dingus.  Way cool, it's
 the part of gnome that allows a gnome-term to autorecognize URL's.
 
 So for instance as I read this email in mutt (in a gnome terminal),
 when the mouse goes over a url it highlights the url (with no support
 from mutt) then I can right click to view it in my favorite browser.  

KDE's Klipper (cut-n-paste clipboard applet in the taskbar) has a feature
which makes this work anywhere.  If you highlight a recognized string,
it will pop-up a menu giving options as to what to do with it.

So if it sees that you've highlighted:

  http://something.com/foo/bar/

it pops up a menu asking if you'd like to view that URL in Konqueror,
Netscape, Opera, Links, etc.


Or if it sees something like:

  /home/kendrick/photos/melissa.jpg

it pops up a menu asking if I'd like to view it with KDE's image viewer.


It's not QUITE as useful as just being able to click or meta-click an
URL, and have it launch a browser right off, but it's nice that it
works EVERYwhere, not just in terminals.  (It doesn't even need to be
a KDE app., either, thanks to the wonders of X11)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] modifying mouse selection behavior under X

2002-04-09 Thread nbs

On Tue, Apr 09, 2002 at 01:59:15PM -0700, Peter Jay Salzman wrote:
 
 egads!  the first thing that makes me want to use a desktop manager.
 prolly still won't make me take the cpu hog plunge tho.   ;)  i'm going
 to look into mark's suggestion and if it doesn't pan out i'll experiment
 with booting up gnome when not playing games.

You don't need to run Gnome to run Gnome Terminal.
You already have Gnome libs installed (you use Abiword, no?),
so it should just be a matter of:

  apt-get install gnome-terminal



 really?  i have an xterm man page.  i think it might be symlinked to
 x-terminal-emulator(1).   try manning that.

That worked.  It's a symlink to Eterm's man page though.  Odd!


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] looking for Debian support

2002-04-02 Thread nbs

On Tue, Apr 02, 2002 at 12:02:27AM -0800, tfarnall wrote:
 Hi!
 
 I am contacting you because I'm looking for someone to provide paid
 support to me in the use of Debian.

Hi Tom!  Welcome to our list!  Pete Salzman had forwarded your message to him
onto this list last night, and we discussed it a little then.
(You can see the thread starting here:
  http://www.lugod.org/mailinglists/archives/vox/2002-04/msg00025.html )


snip
 Regarding the immediate help I need, it is for someone to walk me through
 the debian install via telephone.

An over-the-telephone attempt may prove to be frustrating, but it's
better than nothing.


Pete had suggested we do a road trip out to Arcata to help you, as we've
done this once in the past for someone in Benicia.  Unfortunately, though,
it looks like you're a 6h15m drive from Davis! :)

The closest other LUG I could think of was North Bay LUG out in Santa Rosa,
but they're still 5h45m away from you.


Doing a little more search on Google, I think I may have found a LUG at
Humboldt State which might be able to help, if the over-the-phone attempt
fails.  From my response to the earlier thread:


...it appears there's a LUG in Humboldt,
which is run by Ian Ray ([EMAIL PROTECTED]).

The CS club at Humboldt State USED to have a LUG page on their site:

  http://www.humboldt.edu/~csc/

...but don't seem to any more. Maybe someone from there can give pointers?


Finally, I also stumbled across this fellow:

  http://www.kevinfrank.com/

...who specializes in custom software and database development with
FileMaker Pro.  Also, Windows (all flavors), Linux, and Networking.
He's in Arcata.



In the meantime, I'm sure there's a number of people here who'd love
to help over the phone! :)


Again... welcome to the list!  I've got to go run to prepare for tonight's
meeting!


-bill!
[EMAIL PROTECTED]
Public Relations Officer
http://www.lugod.org/
Linux Users' Group of Davis
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



(MS anti-unix site NOT april fool) Re: [vox-tech] Effective home disk backup systems

2002-04-01 Thread nbs

On Mon, Apr 01, 2002 at 03:03:39PM -0800, Peter Jay Salzman wrote:
 
 btw, was the MS/unisys article an april fool's joke or was it real?


Well, unless it's an April Fool being done by Unisys themselves, no!

  Registrant:
  UNISYS CORPORATION (UEGZDXBIUD)
 UNISYS WAY MS E8 152M
 BLUE BELL, PA 19424-0001
 US

 Domain Name: WEHAVETHEWAYOUT.COM

...

  The site www.wehavethewayout.com is running Rapidsite/Apa-1.3.14 (Unix)
  FrontPage/4.0.4.3 mod_ssl/2.7.1 OpenSSL/0.9.5a on FreeBSD.


It looks like, while they are running a good OS and webserver (FreeBSD and
Apache), they're still using crap to make it (FrontPage).  ;)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] writing free getopt, ran into a dilemma...

2002-03-28 Thread nbs

On Thu, Mar 28, 2002 at 12:35:05AM -0800, Mark K. Kim wrote:
 Keywords: getopt, license issues, GPL, BSD, optind
 
 Hey guys,
 
 I mentioned some months ago about how I was using GPL's getopt library
 in one of my company programs, and I was wondering about the GPL
 distribution issues.[1]

Woah... getopt library is GPL, not LGPL?

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] writing free getopt, ran into a dilemma...

2002-03-28 Thread nbs

On Thu, Mar 28, 2002 at 09:13:19AM -0800, Mark K. Kim wrote:
 The one I tried to link statically on Windows one time said it was GPL,
 but according to Micah it's apparently LGPL with misdocumentation. :P
 
 The reason I'm writing my own getopt is because I want static linkage.
 Anyway, some options I'm thinking about:

I don't have the LGPL in front of me, but I believe it says something
to the affect of:

  * if you statically-link, you must also provide a version of the binary
that will dynamically-link, if the user wishes to do so

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] how to be not nice within C

2002-03-25 Thread nbs

On Mon, Mar 25, 2002 at 05:57:02PM -0800, Peter Jay Salzman wrote:
 DOH!!!
 
 why oh why does man 1 nice have to come before man 2 nice?!?   ;-)
 
 thanks, bill!

Yeah.  Irritating.  Every time I want to man printf, I always end up
with the shell 'printf' program's man page, not the C library one. ;)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] familiar review

2002-03-15 Thread nbs

On Fri, Mar 15, 2002 at 12:28:27PM -0800, Gabriel Rosa wrote:
snip 
 I didn't like the default install very much, so I went ahead and ditched the
 window manager (ios) and installed icewm. I also went thru the graphical
 package manager (very excellent) and installed vim and bash (essentials) and
 a lot of PIM stuff (lots of options, some taken from agenda IIRC),

Yeah - I heard that Agenda had been adopted/ported for Linux-on-iPAQ,
at least as an alternative.  Did you need to install FLTK, too, or were
the binaries statically-linked to it.


 dillo and some small utilities.

Dillo's great. :)  Until I got my Zaurus (which has embedded Opera and
now Konqueror/embedded - both awesome), I was really paying attention
to ViewML (FLTK-based), Cheetah and Dillo browsers.  I was really hoping
one of them would get ported to the Agenda's smaller screen and
stylus interface.  Oh well... it's moot now :)


 Everything works really nicely, the anti-aliased fonts look _nice_. And I
 mean _nice_ :)

Yeah - I heard you mention you've got AA'd fonts in the terminal.
That's one thing the current terminal lacks on the Zaurus (it's just
KDE's Konsole).  Fortunately, both Opera and Konqueror support AA'd fonts.
I think some of theKompany.com's apps support the available AA'd fonts, too.


 After the near-full install I still have 1.4mb left on the / partition,

So / is flash?  Is it mounted RW or RO?


 and half of the 32mb of ram mounted as a ramfs. As soon as I get the
 cha$$$nce, I'll probably get a nice 64/128 CF card to go with it,

64MB CF is only about $50 bucks at Fry's.  You can probably find something
somewhere cheaper.  Do you have the appropriate sleeve (or whatever) to
use a CF card?  If not - how much do those run?  I can't imagine it'd
be much, since it seems like it should just be some kind of pass-thru
with a different form-factor.

BTW - Recently, people started pointing out PCMCIA-CF adapters, which
will allow CF-based PDAs (like Zaurus  iPaq) to use any old PCMCIA card. :)


 so I can carry some tunes around. It'll probably make a nice MP3 player,
 since you can shut the screen off completely, although not as nice as the
 Clie with dedicated DSP.

What MP3 player are you using?  The one that Trolltech wrote for the
Zaurus is suitable, but it's currently lacking some useful features
like forward- and backwards- seeking within a song.

It supports MP3, MPEG1/2 and with a plug-in, MPEG4.  There's a MOD
plugin, but it sounds like it only works on iPaqs running Qtopia.


Fortunately, theKompany.com is coming out with a product which will be
a complete solution for all audio, video and image viewing needs.
(And has built-in MOD support.)  I'm eagerly awaiting that. :)


 One of the things that really impressed me is how easily the screen rotates
 from landscape to portrait (both directions each), and how the hardware
 (screen, audio, apm, launch buttons) worked out of the box.

Can you rotate the screen while everything is running?  Do all apps.
rotate?  Under Qtopia, screen-rotation affects the next application(s)
you launch, so I can have a right-side-up (portrait) terminal, and
a sideways (landscape) web browser.  (It also supports all 4 degrees of
rotation.)


 It also comes with an onscreen keyboard and xstroke, for handwriting. xstroke
 seems to understand my grafitti characters, so I'm assuming the default
 config is grafitti (there's a .conf in /etc you can change with character
 mappings).

Eek... Are there tools that'll let you retrain it?  The Agenda originally
used Xscribble, and then moved to Xmerlin, which was WAY better.

At least with the latter, you could run an application on your desktop
to teach it your own strokes.

On the Zaurus, the handwriting is /fully/ trainable (ie, you can even
remove default strokes, rather than just create alternatives), and
is managed on the device.


If Xmerlin is available for iPaq (I'd be surprised if it wasn't), I strongly
suggest trying it out.  In the meantime, though, I would like to check
out Xstroke and see how it compares.


 Suposedly familiar is binary and library compatible with the debian arm
 packages, but I still need to try that out.

Sounds about right. :)


 Overall I have to say this rocks. Being a geek I wouldn't mind having a newer
 model with more storage (I think the newer ones have 64mb flash/64mb ram, or
 64mb flash/32mb ram, or similar), but 16mb seems to be more than enough for a
 good config.

I'm ok with the 32MB in my Zaurus, but that's only because someone came
out with an entirely SD-card-based ROM, so rather than having 16MB of RAM
and 16MB of storage (like Sharp's 1.10 ROM), or ~27MB of RAM and ~5MB of
storage (like their 1.11 alternative), I've got ~32MB of RAM and 64MB of
storage. :)


Of course, after installing almost 20 IPKG's, including 3 really
large games, a VNC server, and Konqueror, as well as a 5MB text-to-speech
program and a 20MB install of GCC, I've only got about 12MB of space left.

Thank goodness for the CF 

Re: [vox-tech] familiar review

2002-03-15 Thread nbs

On Fri, Mar 15, 2002 at 02:52:36PM -0800, Geoffrey Herteg wrote:
 To answer Bill's question about the filesystem layout in Familiar,
 here's the scoop:

Thanks. :)


 / is a JFFS2 partition mounted RW.  RW?!  Yeah, but don't worry, it only
 gets written to when you make a change to something like /etc/foo or
 something else not in /var or /tmp.

Similar to the Agenda.


Here's what the Zaurus has, on /my/ particular device.
(Again, I'm running an alternative ROMdisk)



# mount
/dev/mtdblock0 on / type cramfs (ro)   16MB internal Flash ROM
/proc on /proc type proc (rw)  /proc
/dev/ram1 on /dev type minix (rw)  /dev
/dev/mtdblock1 on /home type ext2 (rw,sync,noatime)64MB removable SD card
none on /dev/pts type devpts (rw)  /dev/pts
/dev/hda1 on /usr/mnt.rom/cf type vfat (rw)64MB removable CF card


# df
Filesystem 1k-blks   Used  Avail  Use%  Mounted on
/dev/ram1   44 24 20   55%  /dev
/dev/mtdblock1   58977  43804  12128   78%  /home
/dev/hda162436  21994  40442   35%  /usr/mnt.rom/cf



In comparison, here's the Agenda VR3  (running a non-altered ROM)


$ mount
/dev/hdc2 on / type unknown (rw,noatime)   16MB internal Flash
proc on /proc type proc (rw)   /proc


$ df
Filesystem 1k-blks   Used  Avail  Use%  Mounted on
/dev/mtdblock03328   3072256   92%  /flash Where ROM lives for
   reset



It's odd that / isn't listed on either unit's df output...


-bill!

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] zlib vulnerability

2002-03-11 Thread nbs

On Mon, Mar 11, 2002 at 11:54:56AM -0800, Foo Lim wrote:
 A friend brought this to my attention:
 
 
http://story.news.yahoo.com/news?tmpl=storycid=70u=/cn/20020311/tc_cn/flaw_leaves_linux_computers_vulnerable

Hehe... I don't have time to dig, but it appears a fix is already
available for Debian. ;)

  Get:2 http://security.debian.org potato/updates/main zlib1g 1:1.1.3-5.1

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] How is lugod.org put together?

2002-03-04 Thread nbs

On Fri, Mar 01, 2002 at 10:51:14AM -0800, Henry House wrote:
 
  but that doesn't mean we couldn't host our own!
 
 Let's do it! Bill, what do you say?

Err... Uh.  Since the dotfiles site /does/ seem to still exist, I think
it'd just make sense to contribute there.

shrug

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] more php questions

2002-03-03 Thread nbs

On Sun, Mar 03, 2002 at 12:20:00PM -0800, Peter Jay Salzman wrote:
 how does one import files of functions into a php document?


?php include(whatever.php); ?

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] How is lugod.org put together?

2002-03-01 Thread nbs

On Thu, Feb 28, 2002 at 08:55:52PM -0800, Peter Jay Salzman wrote:
 
 although -- wait.  isn't there a dotfile.org already?

dotfiles.org.  Seem to have gone away and been replaced with a big
'coming soon' page. :(


   Domain Name: DOTFILES.ORG

   Administrative Contact, Technical Contact, Billing Contact:
  Momoi, Yasunari  (YM233)  [EMAIL PROTECTED]
  BUG.ORG
  2-27-1-601 Ayase
  Adachi-ku
  Tokyo
  120-0005
  JP
  +81-90-7731-5086 (FAX) none

   Record last updated on 08-Jan-2002.
   Record expires on 01-Mar-2004.
   Record created on 01-Mar-2000.
   Database last updated on 1-Mar-2002 07:48:00 EST.



-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] How is lugod.org put together?

2002-02-27 Thread nbs

On Wed, Feb 27, 2002 at 10:22:47PM -0600, Jay Strauss wrote:
 Pete et al,
 
 The lugod site looks (and works) nicely.

Thanks! :)


  What technologies are you using?
 That is, how and who did your graphics.

Marianne Waage using Photoshop and me using The Gimp.


  Do you use some sort of a web
 templating system, lugod has a similar look to other open source sites.

I rolled our own PHP code for the look-and-feel...


 Is the mailing list major domo?  What do you use to archive and search the
 mailing list?  Anything I'm missing

I believe the lists are running Mailman.  The search engine
is Mnogo.  These were set up by Pete Salzman and
Henry House.

Thanks! :)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] attention installfest attendees: X woes on laptops

2002-02-20 Thread nbs

On Wed, Feb 20, 2002 at 03:11:58PM -0800, Peter Jay Salzman wrote:
snip 
 if anyone here is aware of any distributions that carry 4.2.*, i'd like
 to make a list for my own personal knowledge.  please post your info.
 :)

If possible, it might be useful just to burn a CDROM every couple of months
which contains Debian packages and RPMs (possibly numerous ones... one
for SuSE, one for RedHat, one for Mandrake, etc.) of the latest XF86 4.x,
and possible even have a copy of the absolute latest source tarball...

Just a suggestion :)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] php wonders. (was on vox)

2002-02-20 Thread nbs


On Wed, Feb 20, 2002 at 11:58:10PM -0500, Erik Mullinix wrote:
 Hello.
 While working on learning PHP. I have been having problems getting the ability to do 
php off of apache.
 SuSE 7.3, Apache 1.3.20 with php 4.0.6
 
 I get the method POST is not supported.

Is this when submitting a form?  (eg, clicking on the 'type=submit' form
widget on a form with 'method=post')

Or is it simply when you try to load a PHP file (eg, asking the browser
to fetch http://somedomain/somefile.php) ?

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] usb woes

2002-02-18 Thread nbs

On Mon, Feb 18, 2002 at 01:45:36AM -0800, Peter Jay Salzman wrote:
 turns out that USB hard drives are accessed via scsi device files.

Yep.  My CF card reader (which connects via USB) appears as /dev/sda1

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] usb woes

2002-02-18 Thread nbs

On Mon, Feb 18, 2002 at 01:57:12AM -0800, nbs wrote:
 On Mon, Feb 18, 2002 at 01:45:36AM -0800, Peter Jay Salzman wrote:
  turns out that USB hard drives are accessed via scsi device files.
 
 Yep.  My CF card reader (which connects via USB) appears as /dev/sda1

PS - Interestingly, the CF cards themselves appear as IDE drives on the
Zaurus (eg, /dev/hda1 :) )   (And the SD card appears as /dev/mmcda1 ...
and the 'RAM' filesystem appears as /dev/mtdblock1 )

Wacky wacky :)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] ssh remote commands

2002-02-18 Thread nbs

I'm trying to set up remote access to the PC on my LAN which has the
Rio MP3 player connected to it.  Unfortunately, the command which talks
to it, rio, requires root access.

As an exercise in safety, I'd like to set up password-less access to the
'/usr/bin/rio' command on that system via SSH.  Unfortunately, I just noticed
this in sshd's man page:

 command=command
 Specifies that the command is executed whenever this key is used
 for authentication.  The command supplied by the user (if any) is
 ignored. ... 
 ^^^

This means that I can't do anything like:

  ssh root@zen rio -d

  ssh root@zen rio -za

  ssh root@zen rio -u somefile.mp3



Now, I can set up 'sudo' to let particular users access the 'rio' command,
but unfortunately, unless you've ran the command very recently (eg, in the
last 5 minutes!), they're forced to enter their sudo'ing password.  ie:

  ssh myself@zen sudo rio -d

will ask me for 'myself's password.  What's worse is, since this is via
an 'ssh' command execution, when I type my password, it's echoed back!



Looking at these issues, and the fact that one will need to be scp'ing
files back and forth to the host with the Rio connected to it ANYWAY,
I'm thinking ssh or ssh/sudo isn't going to be what I need.


I guess I should look into riofs and see if I can do some sort of weird
double remote mounting.  Or somehting. :)


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] ssh remote commands

2002-02-18 Thread nbs

On Mon, Feb 18, 2002 at 03:19:43AM -0800, nbs wrote:
snip 
 
 Looking at these issues, and the fact that one will need to be scp'ing
 files back and forth to the host with the Rio connected to it ANYWAY,
 I'm thinking ssh or ssh/sudo isn't going to be what I need.
 
 
 I guess I should look into riofs and see if I can do some sort of weird
 double remote mounting.  Or somehting. :)

Bah!  That won't work, either. :^(

  http://www.cs.stedwards.edu/~hazel/rio/

states:

  ... at the moment, riofs is read-only ...

:^(


Any other suggestions?  (Henry's lpr idea was interesting, but I don't
think it'll handle deleting stuff.)


-bill!
glad that USB and CF/SD cards are becoming more the norm, and bizarre
printer port access to extremely proprietary flash file systems which
break your SmartMedia to the point where you need to find a Windows box
to run some odd reformatter so that you can continue to use the card
in your digital camera... gasp are becoming less the norm ;)
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] ssh remote commands

2002-02-18 Thread nbs

On Mon, Feb 18, 2002 at 06:25:42AM -0800, Charles Polisher wrote:

 Can you clear the SUID bit and add the device 
 to fstab with user-mountable permissions? Maybe
 even use a chrooted mount-point? Just thinking out
 loud...

It doesn't access the rio via a /dev/ device.  It accesses it _directly_.
(It took me a while, some stracing, and finally some reading of the rio
software homepage, to remember this.)

:^/

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] misc. XF86 4 upgrade and accel 3D issues

2002-02-15 Thread nbs

On Fri, Feb 15, 2002 at 09:33:32AM -0800, Peter Jay Salzman wrote:
  
 too bad you didn't look in the linux gamers' howto.  it would've saved
 you from head-pounding and ircing!:)

Actually, I did hit your howto various times (both via Google... even got
the Russian version once :), and while doing a 'zgrep' in my local HOWTO
dir :) )


snip
 use auto-apt.  i think i posted this once before, but it's such a nice
 trick that it deserves to be posted again.

Kewl.  Thanks!

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] reading files into a web page

2002-02-02 Thread nbs

On Sat, Feb 02, 2002 at 03:14:02AM -0800, Mark K. Kim wrote:
 Better way would be with PHP:
 
...
pre
   ?php
  $fp = fopen(/www/pcgm/bulletins, r);
  fpassthru($fp);
   ?
/pre
...

Or simpler yet:

  ?php include(file); ?


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] reading files into a web page

2002-02-02 Thread nbs

On Sat, Feb 02, 2002 at 12:13:12PM -0800, Mark K. Kim wrote:
 On Sat, 2 Feb 2002, nbs wrote:
 
  Or simpler yet:
 
?php include(file); ?
 
 include does PHP translation, which Peter may not want.  It's especially
 fatal if you're including a user-posted data.  fpassthru is safer from
 security point of view.

Indeed.  I never have any user-posted data on sites where I've used
PHP, and I often _do_ want the contents PHP-parsed.  I'm guessing
fpassthru may be faster, though, so I should probably look into using
it in some places.  Thx :)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] PDF/PS formating to save paper

2002-02-02 Thread nbs

On Sat, Feb 02, 2002 at 12:19:40PM -0800, Ryan wrote:
 
 I'd like to be able to processs my PDF or PS files to shrink pages form the 
 orignal and fit 4 of them on each page of a new document, anyone know how i 
 miggh pull this off?

Dont have time to give details, but I think  psnup is what you want.
Check the man page.

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] ZIP drive woes

2002-02-02 Thread nbs

I found some old ZIP disks I had backed up some of my websites on,
and thought I'd poke around and see what I had.

Unfortunately, when I went to use my drive (an older, PPA-style 100MB drive),
I was faced with the following:

  # insmod ppa
  Using /lib/modules/2.2.18pre21/scsi/ppa.o
  ppa: Version 2.05 (for Linux 2.2.x)
  ppa: Found device at ID 6, Attempting to use EPP 32 bit
  ppa: Found device at ID 6, Attempting to use SPP
  ppa: Communication established with ID 6 using SPP
  scsi2 : Iomega VPI0 (ppa) interface
  scsi : 2 hosts.
Vendor: IOMEGAModel: ZIP 100   Rev: J.03
Type:   Direct-Access  ANSI SCSI revision: 02
  Detected scsi removable disk sda at scsi2, channel 0, id 6, lun 0
  sda : READ CAPACITY failed.
  sda : status = 0, message = 00, host = 0, driver = 08
  sda : extended sense code = 6
  sda : block size assumed to be 512 bytes, disk size 1GB.
  sda: test WP failed, assume Write Protected
   unable to read partition table


The ppa module remains loaded, but whenever I try to mount a disk,
it fails too:

  $ mount /mnt/zip  [ in fstab, it's /dev/sda1 as ext2 fs ]
  sda : READ CAPACITY failed.
  sda : status = 0, message = 00, host = 0, driver = 08
  sda : extended sense code = 6
  sda : block size assumed to be 512 bytes, disk size 1GB.
  sda: test WP failed, assume Write Protected
   unable to read partition table
  mount: block device /dev/sda1 is write-protected, mounting read-only
  sda : READ CAPACITY failed.
  sda : status = 0, message = 00, host = 0, driver = 08
  sda : extended sense code = 6
  sda : block size assumed to be 512 bytes, disk size 1GB.
  sda: test WP failed, assume Write Protected
   unable to read partition table
  mount: /dev/sda1 is not a valid block device


I tried mounting them as DOS disks, too (/dev/sda4 as vfat fs),
and I was sure that the lp kernel module was disabled before
I tried doing the insmod ppa.


Could it be that my dusty old Iomega drive has finally kicked the
bit bucket?

Or perhaps all four of the disks I'm trying to read are dead!?
(I know one of them worked fairly recently... I believe it was the
disk I tested the Zip drive on when I put this P133 system back together)

FYI I'm running Debian 2.2 and kernel 2.2.18pre21, which came with it.
I didn't build the kernel on this box.  Looking at the kern. config
file /boot/config-2.2.18pre21, I'm not sure there's any point in
doing so:

  ...
  CONFIG_SCSI=y
  CONFIG_BLK_DEV_SD=y
  ...
  CONFIG_SCSI_PPA=m
  ...
  CONFIG_PRINTER=m
  ...

Any ideas?  Or should I go hunt down a new drive?


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] ZIP drive woes

2002-02-02 Thread nbs

On Sat, Feb 02, 2002 at 07:20:06PM -0800, ME wrote:
 insmod load a module, but does not do deps.
snip

Why do I /always/ forget about modprobe!? :)  Thanks! :)


snip 
 Also, see if you can dd the device and see if the drive comes on.
 # dd if=/dev/sda of=/dev/zero bs=1024k count=10

Odd... No light.  Just this:

  # dd if=/dev/sda of=/dev/zero bs=1024k count=10
  dd: /dev/sda: Input/output error
  0+0 records in
  0+0 records out


snip 
 Does the drive click-click-click-clik a lot while running?

Fortunately, no. :)

Thx!

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] [C newbie]C program is acting weird...

2002-01-31 Thread nbs

On Thu, Jan 31, 2002 at 11:10:48PM -0800, Mark K. Kim wrote:
 What do you *want* it to do?
 
 Including numbers will need some math trickery.  The place with 'z' and
 'a' is where it's picking a letter between 'a' and 'z', but since numbers
 aren't in a sequential order in the ASCII system, you can do something
 like expanding the range and 'if'-ing the range for a letter or number.

Or use that nifty ? operator that I never use ;) ;)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] Why not APC? (wasTripp Lite UPS)

2002-01-30 Thread nbs

On Wed, Jan 30, 2002 at 09:35:07AM -0800, [EMAIL PROTECTED] wrote:
 Good for you.  A UPS is a nice thing. 
 
 Why are APC units to be avoided?

My APC's been working great for the 2+ years I've had it, too.

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] ksh question

2002-01-25 Thread nbs

On Fri, Jan 25, 2002 at 04:38:03PM -0600, Jay Strauss wrote:
 I guess its guaranteed not to get any response either :(

Sorry ;)

Only times I ever use ksh is when logging into Sun servers at work,
and I don't do any shell scripting on them.  (I really miss the
tcsh/bash features I got used to, too...)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] ksh question

2002-01-25 Thread nbs

On Fri, Jan 25, 2002 at 06:55:56AM -0800, Stephen M. Helms wrote:
 nbs wrote:
 {snip}
 
  Only times I ever use ksh is when logging into Sun servers at work,
  and I don't do any shell scripting on them.  (I really miss the
  tcsh/bash features I got used to, too...)
 
 Why not just type bash, tcsh, sh, csh, etc... after you log into the Sun
 server at work?

bash environment is borked.  (won't get into that :) )

hey, tcsh seems to work, tho! :)  at least, at first glance. :)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] gimp question

2002-01-23 Thread nbs

On Wed, Jan 23, 2002 at 11:39:45AM -0800, Peter Jay Salzman wrote:
 is there a way to define a short cut or macro with gimp?
 
 i use the enhance filter alot, for when i resize pictures.  is there a
 way to map, say, control-E to this filter?

Open the menu with that command, place the mouse over it, and press
the key combo. you want mapped to it.  You'll see the menu change,
right before your eyes! :)

This is a fairly standard GTK-ism, by the way.


Another thing you can do is pop the menu open into its own window.

Get to the menu you want and then click the little dashed line which
appears at the top of the menu.

Voila!  The menu will appear in it's own real window, which will remain
open until you specifically close it (either with a window manager close
(eg, the X button at the top left or top right, depending on the
manager and theme chosen), or click the dashed line at the top of the
menu in its window).


 also, is there a way to make gimp show more of the image when you're
 using the enhance filter?  it shows a very small portion.  hard to
 believe anyone would find the little tiny portion of the upper left hand
 corner useful when figuring out how much to sharpen the image by.


Sharpen, for example, doesn't appear to have any way to 'zoom out'...
you're stuck previewing your enhancement at a 1:1 (100%) zoom.

But, there ARE scrollbars, so you'll be able to pan around and see
what various pars of the image will look like.


I do admit it is quite silly that, while you CAN resize the Sharpen
dialog window, the preview doesn't expand to fit. :^(


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] gimp question

2002-01-23 Thread nbs

On Wed, Jan 23, 2002 at 11:45:35AM -0800, nbs wrote:
snip
 
 Another thing you can do is pop the menu open into its own window.
 
 Get to the menu you want and then click the little dashed line which
 appears at the top of the menu.
snip


BTW, this is a GTK+-ism, as well.  Qt has a similar feature, as well,
as do some other, older GUI toolkits.  (I forget which, though...
they often have a 'thumbtack' ('pushpin') icon at the top of the menu)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech