Re: Microsoft's plans to kill open source: TCPA

2002-11-02 Thread John S. J. Anderson
Larry Alkoff [EMAIL PROTECTED] writes:

 In the meantime, can anyone please tell me what  this TCPA is all about?

Have a look at Ross Anderson's excellent TCPA / Palladium FAQ at
http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html.

john.
-- 
Internet FAQs, #666:
 A: No.
 Q: Should I include quotations after my reply?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Mac OS X package

2002-05-28 Thread John S. J. Anderson
Oki DZ [EMAIL PROTECTED] writes:

 I believe that there are Debian users who are also Mac users. Question
 is, compared to Debian packaging system, is it Mac's any better...?

No.

There is port of dpkg/apt to Mac OS X -- see http://fink.sourceforge.net/

HTH,
john.
-- 
Knowledge itself is power.
  - Francis Bacon (1561-1626)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



perl info file for emacs

2002-05-19 Thread John S. J. Anderson
Greetings --

I'm trying to (finally) get my Perl coding environment set up properly
in (X)Emacs, and one hurdle I'm running into is getting the 'help on
function (at point)' commands to work. 

They require a copy of the Perl docs in 'info' format. Now, I know I
cat get this file from Ilya's Z's website, but I'm wondering if
there's some version of it in some Debian package that I'm unaware of
-- anybody have any pointers for me? 

TIA,
john.
-- 
We no longer have roots, we have aerials.
  - Ken Wark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [headed OT] Re: scripting

2002-04-17 Thread John S. J. Anderson
Shawn McMahon [EMAIL PROTECTED] writes:

 See the followup email.  It ain't my scheme, and I don't agree with it;
 I was presenting what my experience shows is usually meant by people who
 don't know better than the split scripting and programming.

Ah, I see -- we're mostly agreeing at the top of our voices, then. 

john.
-- 
If people could put rainbows in zoos, they'd do it. -Hobbes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [headed OT] Re: scripting

2002-04-17 Thread John S. J. Anderson
Joey Hess [EMAIL PROTECTED] writes:

 Or what of this example:
 
 [EMAIL PROTECTED]:~perl hello.pl
 hello, world!
 [EMAIL PROTECTED]:~cat hello.pl
 #!/usr/bin/perl
 use Inline C = q{
 void hello () {
 printf(hello, world!\n);
 }
 };
 hello();

That is a thing of beauty. Evil, twisted beauty, but beauty none the
less. 

john.
-- 
People get annoyed when you try to debug them.
  -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [headed OT] Re: scripting

2002-04-17 Thread John S. J. Anderson
Shawn McMahon [EMAIL PROTECTED] writes:

 begin  John S. J. Anderson quotation:
  
  I'm confused by the above statement. Canceling out the double
  negative, I get 
  
that is the definition most people mean when they know enough to
call non-scripting 'programming'. 
 
 You cannot cancel two negatives out of sentence by merely assuming each
 cancels the other.  Whomever taught you that rule needs to be coaching
 instead of teaching.

Nobody taught me that rule; it just seems the obvious thing to do,
assuming that the person you're speaking with is silly enough to use a
double negative in the first place. 

(Consulting
http://tuxedo.org/~esr/jargon/html/Hacker-Speech-Style.html might be
informative. Or not.)

 don't know enough not to means if you knew more, you wouldn't.

If you say so; the mapping from the phrase on the left to the one on
the right is far from obvious for me. 

 People who don't know enough not to think programming is a seperate
 set than scripting, as opposed to a superset of it, wouldn't think
 that if they knew more.

You're doing it again. 

john.
-- 
Mom and dad say I should make my life an example of the principles I
believe in. But every time I do, they tell me to stop it.
  --- Calvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: scripting

2002-04-15 Thread John S. J. Anderson
jeff [EMAIL PROTECTED] writes:

 dpkg -l | sed -e 's/$/br/  dpkg.html
 dpkg -l | perl -e 'while() { s/$/br/  print }'  dpkg.html

golf type=perl
  dpkg -l | perl -lpe 's/$/BR/'  dpkg.html
/golf

Darn, I thought I could make it shorter than the sed version...

john.
-- 
However, complexity is not always the enemy.
  -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[headed OT] Re: scripting

2002-04-15 Thread John S. J. Anderson
jeff [EMAIL PROTECTED] writes:

 when would you use programming as opposed to scripting?

Well, before I answer that, define, if you would, the difference
between programming and scripting. (Warning: I don't think there's
much of one, if any.) 

In my mind, your earlier question was a programming question, in
that it could be effectively answered without scripting anything --
no other apps were being driven by the Perl that I and others
wrote. The fact that the code was in Perl doesn't make it
scripting. 

YMMV. 

john.
-- 
genehack.com * weblog == ( bioinfo / linux / opinion / stuff ) * daily *

Each module should do one thing well.
- The Elements of Programming Style (Kernighan  Plaugher)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: scripting

2002-04-15 Thread John S. J. Anderson
martin f krafft [EMAIL PROTECTED] writes:

 usually, compiled programs run faster than scripts, so if performance
 is your concern (number crunching, password cracking etc.), then
 compile. 

IMO, it's not that simple. If performance is your sole
consideration, you shouldn't even be looking at compiled languages --
cut to the chase and start hand-rolling your assembly language. 

In reality, the choice of what language to use (see previous message
about the lack of difference between programming and scripting)
involves evaluating a number of critera; not only performance, but (as
you point out) maintainability, development speed, and a host of
others. 

john.
-- 
I WILL NOT DO MATH IN CLASS
I WILL NOT DO MATH IN CLASS
I WILL NOT DO MATH IN CLASS
Lisa Simpson on chalkboard in episode BABF07


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [headed OT] Re: scripting

2002-04-15 Thread John S. J. Anderson
Shawn McMahon [EMAIL PROTECTED] writes:

 begin  John S. J. Anderson quotation:
  
  Well, before I answer that, define, if you would, the difference
  between programming and scripting. (Warning: I don't think there's
  much of one, if any.) 

 The compliation step is seperate from the execution step, from the
 perspective of the user.

So, where do python and e-lisp fit in your little scheme? (No pun
intended.) You can compile-n-run, or compile to intermediate
byte-code, distribute, and run. Or how about BASIC? It comes in both
interpreted and compiled versions; does the scripting
vs. programming difference apply if you use exactly the same
language but execute the program differently? 

I've programmed a fair bit in C, some more in shell, a wee bit in
Elisp, and a lot in Perl. I use the same techniques (modulo language
differences), I break the problems down in the same way, my brain goes
through the same steps -- regardless of which language I've chosen as
appropriate for solving the problem at hand.

I call the process of choosing a language, writing some code, and
solving that problem programming.

YMM( and apparently does )V. 

john.
-- 
genehack.com * weblog == ( bioinfo / linux / opinion / stuff ) * daily *

Don't sacrifice clarity for small gains in efficiency.
- The Elements of Programming Style (Kernighan  Plaugher)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [headed OT] Re: scripting

2002-04-15 Thread John S. J. Anderson
Shawn McMahon [EMAIL PROTECTED] writes:

 begin  Shawn McMahon quotation:
  
  The compliation step is seperate from the execution step, from the
  perspective of the user.
 
 I should add that is the definition most people mean when they don't
 know enough not to call non-scripting 'programming'.

I'm confused by the above statement. Canceling out the double
negative, I get 

  that is the definition most people mean when they know enough to
  call non-scripting 'programming'. 

Is that what you meant to say, or were you trying to say something
else? Double negatives are confusing. 

john.
-- 
That's the problem with nature, something's always stinging you or
oozing mucous all over you. Let's go and watch TV.
  --- Calvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Logitech Quickcam

2002-04-05 Thread John S. J. Anderson
Sridhar M.A. [EMAIL PROTECTED] writes:

 Is anyone using this camera and obtained proper colours? If so, can you
 provide some pointers to the same?

I'm using one with mod_quickcam.o and camE to run a webcam; you can
see the images at http://genehack.com/images/webcam.jpg (it updates
every minute). There are images with white balance, due to the fact
that the camera faces a large window; it doesn't seem to deal with
adjusting to the different amounts of background light very
well. Other than that, the colors are fine. I did have to modify the
camE config file to remove the color balance correction it was trying
to do; with the default values, I got snaps that were heavily
green-biased.

I also get the band of noise at the bottom of the xawtv screen, but I
think that's just because xawv opens the camera window with the wrong
size. Resizing to what the camera puts out makes that band go away. 

john.
-- 
One of the joys of being a kid is that experiences are new and
therefore more intense.  -Calvin sniffing mustard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting Handspring Pilot Setup

2002-03-03 Thread John S. J. Anderson
james martinez [EMAIL PROTECTED] writes:

 Can anyone tell me where I can get it. Thanks for any help.

You need to set up the various USB devices properly. The Handspring
Visor mini-HOWTO may be helpful; there's a copy at
http://www.icewalk.com/doclib/howtos/mini/Handspring-Visor.html. 

I have had set up Visor on my TODO list for a long time, and your
mail was a good motivator. 8^)= I followed the instructions in the
mini-HOWTO and my Visor is now working. (Well, with jpilot. getting
kpilot and gnome-pilot going is next.)

Some notes:

a) this piece of Perl will create the devices:
perl -e 'foreach $i ( 0 .. 15 ) { `mknod /dev/ttyUSB$i c 188 $i` }'
b) don't forget to 'chmod 0666 /dev/ttyUSB*' 
c) I couldn't get 'coldsync' (from unstable) to work properly; it
   would either give errors or seg fault. jpilot did work, however, so
   if you have coldsync issues, you might want to give it a try.

Good luck,
john.
-- 
I WILL FINISH WHAT I STA

Bart Simpson on chalkboard in episode 8F05



kernel compile problems

2001-12-25 Thread John S. J. Anderson
Greetings --

I've been setting up a new Athlon system (thanks Santa!), and I've
been having some kernel compile issues (linker bombing out, mainly).

I was chalking it up to some Athlon quirk (power supply, cooling,
etc.), but just on the off chance I tried to re-compile a kernel on my
old Celeron-based system -- and I got the same *sort* of error (not
the exact same error, but the same sort of linker error).

So, is there some sort of problem with kernel compiles here recently?
I notice we got new gcc packages yesterday...

Running: sid, up to date as of 12/25. 

john.
-- 
genehack.org * weblog == ( bioinfo / linux / opinion / stuff ) * daily *

Avoid multiple exits from loops.
- The Elements of Programming Style (Kernighan  Plaugher)



Re: Good mail management techniques?

2001-09-10 Thread John S. J. Anderson
Karsten M. Self kmself@ix.netcom.com writes:

 on Sun, Sep 09, 2001 at 04:18:53PM -0700, Ross Boylan ([EMAIL PROTECTED]) 
 wrote:
  On Sun, Sep 09, 2001 at 12:12:14PM -0700, Karsten M. Self wrote:
  .
   The concept you're proposing has some similarities to ideas espoused by
   David Gelertner, whose capsule biography will always read Yale
   professor, computer scientist, and victim of the Unabomber (Theodore
   Kaczynski).  David survived the attempt on his life, though he was
   permanently injured as a result.

  On it's face, the idea of organizing by time is different from what I
  had in mind.  However, it may be that the other classification
  facilities would give me what I was looking for.

It might be worth having a look at JWZ's Intertwingle proposal, if
you haven't before:

http://www.mozilla.org/blue-sky/misc/199805/intertwingle.html

AFAIK, the proposal is as fal as that's gotten.

john.
-- 
When in doubt, parenthesize.  At the very least it will let some
poor schmuck bounce on the % key in vi.
 -- Larry Wall in the perl man page



Re: MUAs that compare with Outlook (your chance to show how much better Linux is than MS!!)

2001-07-13 Thread John S. J. Anderson
 On Thu, 12 Jul 2001 16:31:23 -0500 (CDT), Richard Cobbe [EMAIL 
 PROTECTED] said:

Richard I'm a fan of VM, because I'm used to the Emacs keybindings,
Richard and it's the only MUA I've found which lets you edit messages
Richard that you receive in-place.

FWIW, Gnus does that too.

Richard I've been meaning to check out GNUS for a while, but as
Richard someone else said (I think on this list) it has a learning
Richard curve that you can use as a plumb line, and I've just not
Richard taken the time to get used to it.

There's a fair amount of useful information over at
URL:http://my.gnus.org. Getting Gnus set up properly is a weekend
project, but once it's set up and running, you'll never want to use
anything else.

john.



Re: Digital camera and Linux

2001-07-06 Thread John S. J. Anderson
 On 06 Jul 2001 14:06:06 +0400, Ilya Martynov [EMAIL PROTECTED] said:

Ilya Or any advice on another relatively cheap and good digital
Ilya camera which can be used with Linux?

Have you considered the Sony Mavica series? They write picture files
to standard VFAT filesystem floppy disks -- no need to worry about
compatibility with _any_ OS. They're a bit more expensive in terms of
features per $, but the floppy thing makes it worthwhile for me.

john,
who just bought a MVC-FD92 on Tuesday.



Re: Digital camera and Linux

2001-07-06 Thread John S. J. Anderson
 On Fri, 06 Jul 2001 10:39:20 -0400, Peter S Galbraith [EMAIL PROTECTED] 
 said:

Peter John S. J. Anderson wrote:

Peter I have wondered about this.  I fill up a 32MB memory card
Peter pretty quickly when taking pictures at 3.1Mpixels.  A single
Peter picture is usually around 1.1 to 1.3 MB, so that would be one
Peter floopy per picture.  I wouldn't want to (1) carry that many
Peter floppies, (2) to forced to change the floppy after every
Peter picture and (3) feed-in all these (slow reading) floppies to my
Peter PC later.

Peter This made me think the floppy thing was not viable.  How does
Peter it work out for you?

Well, the Mavica I have is 1.3 megapixels (1.6 interpolated). Actual
picture size varies from 640x480 to 1490x1104 or something close to
that. I haven't played with the smaller sizes yet (I've only had the
thing two days!), but at the highest size, one floppy is 3
pictures. Dropping 1280x1024 gives you 5 or 6; 1024x768 is 10/floppy,
IIRC. 

(As an aside, there are Mavicas that have more 'megapixels'; some of
them use a CD burner to write 3 1/2 CDRs with the pictures. The Wife
declared that we didn't need to spend that much money ;^/=)

I think the feeding floppies to the computer part is, long-term, going
to be the most annoying part; but it's something that's pretty
mindless and I think I'll be able to do it while reading
mail/news/web.

For my needs (I emphasize: *my* needs), the Mavica is great. I don't
have to dick around with getting USB compiled into the kernel, I don't
have to worry about Linux-based application support, I don't even have
to worry about what sort of computers I'm around -- as long as it's
got a floppy drive and net access, I can mail pictures home to myself.

For the same money, I could have gotten something with a smaller form
factor, and greater resolution. I like the chunkiness of the Mavica,
because I don't have to worry about dropping it. I also am not dealing
with any Ansel Adams or Annie Leibowitz issues, so I don't need huge
resolutions -- this is basically a snapshot camera, and 95% of the
pictures I take with it aren't going any further than the web.

john.



Re: cpan / perl q.

2001-07-05 Thread John S. J. Anderson
 On Fri, 6 Jul 2001 09:27:43 +0800, luwim+ [EMAIL PROTECTED] said:

luwim+ Hi, i forgot the command how to install cpan on my machine,
luwim+ thats, ..  perl --cpan? any one know what the command is?

CPAN.pm comes with the standard Perl distribution, so if you've got
perl, you should have CPAN -- try 'perl -MCPAN -e shell' and see what
you get.

john.



Re: (OT) Perl books

2001-06-28 Thread John S. J. Anderson
 On Thu, 28 Jun 2001 12:22:12 -0500, Jay Latham [EMAIL PROTECTED] said:

Jay I've decided that it's time I learned a little about programming
Jay and I've decided that, for various reasons, Perl would be a good
Jay place to start. But I'm confused on which book would be best for
Jay a total newbie. I've been leaning towards the oreilly books
Jay Learning Perl 3rd edition, and/or Programming Perl but thought
Jay I'd ask for opinons before making the purchase. Any suggestions?

If you've never done any programming what-so-ever, _Learning Perl_,
aka the Llama book, is not your best choice.

Wait, put down the pitchforks and listen!

The Llama (or at least the 2nd edition; I haven't seen the 3rd yet)
assumes quite a bit of shell and C coding experience, as well as a
fairly broad Unix grounding. I've lead a class or two of newbies
through it in a class/discussion style setting, and many of them were
turned off. I'm starting up another study group of newbies, and this
time I've decided to use a book called _Elements of Programming with
Perl_. In contrast to the Llama, which teaches Perl to programmers,
this book purports to teach programming to people, using Perl as the
vehicle. It's worth at least a look. 

After you get through whatever introductory stuff and you're
comfortable with the language, then you should pick up a copy of
_Programming Perl_ (aka the Camel) and a copy of _The Perl Cookbook_
(aka the Ram). You won't need those right away, but eventually you'll
come to like having them around.

Good luck,
john.



Re: hi masters of linux, surely you know some tricks...

2001-06-28 Thread John S. J. Anderson
 On Thu, 28 Jun 2001 22:59:03 +0200 (MEST), thomas anderson [EMAIL 
 PROTECTED] said:

thomas I want to try to put a perl script in the /usr/lib/perl
thomas directory however I don't have permission access.

boy, the script kiddies get lazier every day, don't they?

john.



Re: Configuring gnus

2001-06-10 Thread John S. J. Anderson
 On Sat, 09 Jun 2001 13:04:48 -0700, Debian User [EMAIL PROTECTED] said:

DU With the conservative route (install gnus in order to keep using
DU RMAIL for a while), will gnus give normal MIME ability?  Or would
DU I need to install semi-gnus to be able to use the MIME
DU functionality that semi provides?

Newer gnusae support MIME just fine. I forget exactly when the switch
was, but 5.8.8 in unstable groks MIME out of the box.

Good luck,
john.



Re: ~/.Xmodmap (was: Customizing the console key map?)

2001-05-31 Thread John S. J. Anderson
 On Wed, 30 May 2001 10:53:22 -0700, Mike Pfleger [EMAIL PROTECTED] said:

Mike To answer your question, I used xev to grab the information on
Mike the dreaded menu key.  It reported (among other things):
Mike   keycode 117 (keysym 0xff67, Menu)
Mike when the menu key was pressed with the pointer in the Event
Mike Tester window.  Is there something I'm missing here?

Nope, doesn't sound like it -- I just didn't realize there was a
'Menu' keysym.

john.




Re: ~/.Xmodmap (was: Customizing the console key map?)

2001-05-31 Thread John S. J. Anderson
 On 30 May 2001 22:08:33 -0400, Paul D. Smith [EMAIL PROTECTED] said:

Paul Second, my point is, with so many truly _useful_ and
Paul _interesting_ things to learn, why waste brain cells on
Paul something as basically useless and uninteresting (and baroque)
Paul as modmap syntax?

Personally, I find the xkeycaps interface to be baroque, relative to
the not-really-that-complicated Xmodmap syntax. Not everybody thinks
better in GUI; some of us prefer text.

Paul Anyway that's my opinion but, of course, YMMV :).

Sounds like my does.

john.



Re: ~/.Xmodmap (was: Customizing the console key map?)

2001-05-31 Thread John S. J. Anderson
 On Thu, 31 May 2001 15:37:49 -0700, Mike Pfleger [EMAIL PROTECTED] said:

Mike Is there an easy way to check for Mod3 and Mod4 events?

If you do 'xmodmap -pm', you'll get a listing of all the modifiers
(Mod1-5,Lock,Control, etc.) and the keysyms each is currently bound
to. That may at least tell you where to start looking.

Question: have you tried to get any other program to recognize this
keysym, or just xterm?

john.



Re: ~/.Xmodmap (was: Customizing the console key map?)

2001-05-30 Thread John S. J. Anderson
 On Tue, 29 May 2001 15:25:37 -0700, Mike Pfleger [EMAIL PROTECTED] said:

Mike What am I doing wrong?

Have you tried using a real keysym for the menu key? I don't think
'Menu' is a real keysym -- try 'Multi-key' or 'Super_R' or 'Hyper_R',
and then bind ModN (where N=(1..5)) to that keysym.

My Dvorak xmodmap file is at
URL:http://genehack.org/linux/dvorak.html; it may be of help.

john.



Re: About PGP signatures

2001-05-24 Thread John S. J. Anderson
 On Wed, 23 May 2001 19:57:17 -0400, Noah L. Meyerhans [EMAIL 
 PROTECTED] said:

Noah Supporting RFCs is fine and should be encouraged, but from what
Noah I've seen there is not another mail reader in existance that can
Noah verify mutt's attached signatures.  

Just to add to the list, the CVS version of Gnus handles PGP/MIME as
well.

john.



Re: About PGP signatures

2001-05-24 Thread John S. J. Anderson
 On 24 May 2001 14:57:12 +0400, Ilya Martynov [EMAIL PROTECTED] said:

Ilya I thoght that Gnus itself doesn't support PGP at all. It needs
Ilya Mailcrypt for PGP. And mailcrypt seems to support only embeded
Ilya sigs. Or am I wrong?

You're wrong. 8^)=

The version of Gnus in CVS (Oort Gnus) comes with a file called
gpg.el, which adds the ability to sign, verify, encrypt and decrypt
mail (and I guess news, tho I never checked) in the MIME-attached
format. 

I was using it for a bit, then I fell back to 5.8.8 when I ran out of
time to keep up to date on the development. I don't know if gpg.el
will work with the current release version of Gnus, but it may be
worth a look.

john.



Re: water, water everywhere, but not a drop to drink.

2001-04-12 Thread John S. J. Anderson
David Raleigh Arnold [EMAIL PROTECTED] writes:

 It makes *every* program that works with a gui *much* less good and
 some really insane, like emacs.  (and xemacs, presumably because X
 is pathetic that way too.)

Just so you know, XEmacs is perfectly capable of running on the
console (the 'X' in the name has nothing to do with X Windows), and,
in fact, it has some console mode features that the current version of
Emacs does not (frex, syntax coloring)[1]

Other than that, I agree with your mouse button rantings. 8^)=

john.

Footnotes: 
[1]  Before I get flamed to hell and back for saying that Emacs
 doesn't do syntax coloring, please note we're talking *console
 mode* here.

-- 
No matter where you go, there you are.


pgpl5AZx2NT1U.pgp
Description: PGP signature


Re: 'setxkbmap dvorak' not working

2001-03-23 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adrian Kubala [EMAIL PROTECTED] writes:

 Is this an unstable-broken thing? (I didn't see any files that
 looked useful in stable though). Anybody know how to set up dvorak
 'properly' in debian?

FWIW, I use xmodmap. In fact, I'm the only one using my system, so I
munged the gdm init files to run xmodmap during startup; I used to run
it in .xinitrc.

If you decide to give up on that other command, my xmodmap for Dvorak
is at URL:http://genehack.org/linux/dvorak.html

Good luck,

john.

- -- 
I was thinking of putting the Thor kinetic weapon system up, not as an
active weapon system [for which it would be not very good] but to deal
with light pollution. Fuck up regional astronomy and get a crowbar
through the roof at 8 km/s. -- James Nicoll in rasfw
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6uvE0WRJRdOm3KFARAqvWAJ0a3v0+glFmLIz+xRSgziPnEIMoKACdHXI9
Mzkv6kCml7d7R0KTIHi2Bx4=
=rFwA
-END PGP SIGNATURE-



Re: gnupg gnus

2001-03-18 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christoph Groth [EMAIL PROTECTED] writes:

 Is there anyone successfully using gnus with gnupg out there?  I just
 wanted to ask if it's worth the effort trying it.

Yep, and it wasn't too hard to set up. Key fetching and message
decryption aren't quite seamless, but you can get it to work.

 If yes, are there any pitfalls in doing so?  Do I need any non-potato
 packages?

I think the XEmacs .debs are all you need. See
URL:http://genehack.org/linux/xemacs-mailcrypt.html for my mailcrypt
settings; feel free to ask if you have further questions.

john.

- -- 
History is made at night.  Character is who you are in the dark.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6tNtgWRJRdOm3KFARAssqAJ9sGLI6iM06IcLzMCd60U6rGyWPDwCfVW7M
T1e3LsWrG/AKA7CKq86k3n8=
=IHob
-END PGP SIGNATURE-



news server setup

2001-02-17 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greetings --

My ISP is once again changing Usenet providers, meaning that I'm going
to have to deal with the whole article renumbering mess. Grrr. (Did I
mention that this has happened before?)

I've decided that enough is enough, and it's time to bite the bullet
and set up a local news server, so that I can pull in my own feeds,
and not have to deal with this in the future.

Is there any relatively-newbie-level guide to setting up a Usenet
server under Debian (or under Linux, period)? I'm looking for
something that discusses the pros and cons of the available options
(inn vs. inn2 vs. leafnode vs. ...)  and how to set each of them up to
support local reading and posting. I'll be pulling in a fairly small
feed (20 to 50 groups, mostly low traffic but a few biggies (rasfw,
clpm, etc.), and the ability to easily post as well as read is a must.

Thanks for any help,
john.

- -- 
Tcl long ago fell into the Forth trap, and is now trying desperately to
extricate itself (with some help from Sun's marketing department).
 -- Larry Wall in [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6jpbEWRJRdOm3KFARAq/uAJ99Hr6nGGk9bby8FquWmiStEGkicACdFrXK
uqx6KBy4pmXI01G0Irzdelc=
=baeM
-END PGP SIGNATURE-



Re: True Type fonts

2001-02-10 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erik Steffl [EMAIL PROTECTED] writes:

 I guess you can remove it, I did remove true type font server
 (forgot which one I had) and I have the true type fonts.

So, what font lines do you have in XF86Config?

john.

- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6hXgzWRJRdOm3KFARAtDaAJ0fulKkmmhSpWFqoVU/EwnsxZ5p9QCdHLKz
ELeLhgOVnJahRcm4Y2OmXow=
=c0sN
-END PGP SIGNATURE-



Re: PHP4 in 'testing'?

2001-02-04 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] (Remco Rijnders) writes:

 Before reading your (or any) answer, I went ahead and pointed apt at
 the unstable archive and got PHP4 from there. Unfortunately, it seems
 like this really messed things up for me:

There's a pretty obvious error in two of the post-install scripts. I'm
sure the maintainer is getting it worked out; in the meantime, adding
a line consisting of ';;' (no quotes) to the line above the line with
'*)' to both /var/lib/dpkg/info/php4.postrm and
/var/lib/dpkg/info/php4-cgi.postrm allowed the install to finish on my
machine.

Haven't tested yet to determine if the installed PHP4 actually
_works_, but this got rid of the error messages at least.

john.

- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6fjEsWRJRdOm3KFARAht9AJ9tgJ66gw+NgQKO9AcT4sTvzLKk3QCfXosK
xMxTx2WeeGZ8Bga9Il0d2cs=
=DZSa
-END PGP SIGNATURE-



[OT] Re: Perlscript

2001-01-23 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joris Lambrecht [EMAIL PROTECTED] writes:

 I'm working on a Document that will simply be a basic tutorial on
 how to do your first steps into perlscript.  Written by a newbie for
 another newbie. This will probably be published at
 http://perlscript.angels.be or http://urban.angles.be any time soon.

What's this Perlscript you keep talking about? Perl I know, perl
I know, perlscript is a new one on me.

Are you perhaps referring to CGI scripts _written_ in Perl? 

john.

- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6bZSTWRJRdOm3KFARAmWpAKCkYpHER/UW0tGa38yen1X3/50CEQCeKZqt
qf4oQaF0xR4DkYJv8dEAeQM=
=KtHO
-END PGP SIGNATURE-



Re: running sshd on startup

2001-01-15 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Wright [EMAIL PROTECTED] writes:

  I've been removing the file, but it gets to be a drag remembering
  to do this every time apt-get updates ssh, and I'm fairly sure
  this is not the Right Way to do it. 8^)=
 
 I think the Right Way is now  dpkg-reconfigure ssh

Yep, that did the trick. Many thanks!

john.

- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6Y1GuWRJRdOm3KFARAhDUAJ44xlkndspogEHjUQ3/+3QsAo0WmACfbtdo
6ynBOhWUH4UOw+xEcXkzKWc=
=ZmvA
-END PGP SIGNATURE-



Re: Creative Ensoniq modules..

2001-01-15 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stefan Srdic [EMAIL PROTECTED] writes:

 With all of this I still can't get my sound card to work, I do know
 that the device works because I have ran esd and heard the sample
 that plays. But I cant used any programs like XMMS or CD playing
 software. What gives?

Permissions problem on /dev/dsp? User not in audio and/or cdrom
groups?

john.

- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6Y71RWRJRdOm3KFARAqRxAJ0S6AczBFPZrrWAF08wS+NztVMBAACePknv
MGANawqyi3xQ9VLAmsK6s4A=
=h7C/
-END PGP SIGNATURE-



running sshd on startup

2001-01-13 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greetings --

Could somebody tell me what I need to frob to get sshd to run
automatically when I restart my computer? There's a file,
/etc/ssh/sshd_not_to_be_run, which seems to be installed by one of the
ssh debs[1], and it also seems to prevent automatic sshd startup.

I've been removing the file, but it gets to be a drag remembering to
do this every time apt-get updates ssh, and I'm fairly sure this is not
the Right Way to do it. 8^)=

Thanks for any help,

john.

Footnotes: 
[1]   dpkg -l | grep ssh
ii  ssh2.3.0p1-1.6Secure rlogin/rsh/rcp replacement (OpenSSH)
ii  ssh-askpass1.0-1  under X, asks user for a passphrase for ssh-
ii  ssh-askpass-gn 2.3.0p1-1.6under X, asks user for a passphrase for ssh-


- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6YQmXWRJRdOm3KFARAjasAJsHjHkK2NbPYd2MA6u8W71302P6twCeKRth
I3apEKxKbp0dg+oF9qNMOGM=
=2fcD
-END PGP SIGNATURE-



Re: lame/not-lame deb packages

2000-12-24 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael O'Brien [EMAIL PROTECTED] writes:

 I was curious if there's a deb for the lame/not-lame encoder? Just
 wanted to know before I download the binaries and install by hand.

(probably too late, but might help somebody eventually...)

add this:
deb http://forcix.cx/ debian/

to /etc/apt/sources.list, and do the usual 'apt-get update; apt-get
install' thing.

john.

- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6Rm0VWRJRdOm3KFARAiW5AKCdF3akMk6Q7GYj+RUcCLAgIssiEACdGeg3
T15D7sx8bOOEc/tftR5JQhc=
=Wesn
-END PGP SIGNATURE-



Re: bookmarker/PHP/MySQL problem

2000-11-18 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Corey Popelier [EMAIL PROTECTED] writes:

 Yes you need a line under Dynamic Extensions that says:

 extension=mysql.so

Actually, I've _got_ that line in /etc/php3/apache/php3.ini.

To re-iterate, bookmarker *was* working; I can only assume that the
apt-get dist-upgrade I did Nov 14 (which installed new php3 and
php3-mysql .debs) broke something.

Actually, I just fell back to the prior .debs (from my
/var/cache/apt/archives/), and the problem goes away. I guess I should
file a bug report against php3-mysql...

john.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6Fqk2WRJRdOm3KFARAojCAJ4y9X9eRYYdi3FIXv/T8x4QgewMmwCfZIRM
Ajv3Wm0bAp8v1TKJk2JLZQM=
=rKbT
-END PGP SIGNATURE-



bookmarker/PHP/MySQL problem

2000-11-16 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greetings --

I use the bookmarker deb to store my web bookmarks, because I was
already running a local webserver, and it seemed like the best
solution to the where did I bookmark that site problem when bouncing
around (as I currently am) between Netscape, Mozilla M18, Mozilla
nightly builds, Galeon, SkipStone, etc., etc.

Everything was working fine until earlier this week, when bookmarker
stopped working, giving the error message:

Fatal error: Call to unsupported or undefined function
mysql_pconnect() in
/var/www/bookmarker/lib/phplib/db_mysql.inc on line 73

I tried forcing the mysql.so library to load with a 'dl(mysql.so)'
in the bkprepend.inc file of bookmarker, but then I get:

Fatal error: Unable to load dynamic library
'/usr/lib/php3/apache/mysql.so' - undefined symbol: php3_ini
in /var/www/bookmarker/lib/bkprepend.inc on line 25

Clearly, something is b0rken; the questions are (a) what?, (b) is this
a local (to me) issue, a package bug, or an upstream problem?, and (c)
[most importantly] how do I fix it? I'm pretty much clueless about
PHP (although I do know a thing or two about MySQL), so I'm not even
really sure where to start looking.

Suggestions and gifts of Clue are most welcome.

Thanks in advance,
john.

- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6E8aVWRJRdOm3KFARAjUTAJ99fyGkYqZ/QVx7cK9kUAJeRNymVgCdF2N7
j3sstg1ZG95ri3g5oBwMvVk=
=TN7p
-END PGP SIGNATURE-



Re: need help - inn2

2000-11-12 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Russ Cook [EMAIL PROTECTED] writes:

 I am using the inn2 package to try to set up a periodic download
 of newsgroups I read frequently.  I use a dial-up ISP, and have a
 home LAN with three computers.  I have read the docs that came with
 the package, and have read the network, cnews, and nntp sections of
 a Linux reference book I have, but have been unsuccessful in setting
 up my packages.  Below is an excerpt from the news.err log file, followed
 by a cron message.

Hey Russ,

Curiously, getting a local news server set up and working was my
project this weekend as well. I tried to set up INN2, didn't have much
luck, and fell back to INN, which I now have working (I think...)

(As an aside, if there are any documentation gurus out there, this
particular topic (using INN(2) and suck to get a local newsfeed going)
needs some attention. The only info I was able to find was at
URL:http://www.littondale.freeserve.co.uk/LinuxAndFreeserve/News.html;
it was helpful, but seemed a bit out of date, and didn't really have
much info about INN, just suck.)

- From the error output that you provided, it looks like the news server
is failing to start up. I had this problem with INN for a while too --
I had to generate some files in order to get it to work. IIRC, the big
stopping block was /var/lib/news/active -- if you see an error message
about an active file that suggests you run makeactive, that's the file
you're missing.

I'd suggest you poke around in /etc/init.d/, find out how the news
server is getting started, and make some of those calls from the
command line, so that you can get a better handle on why the server
isn't starting up.

Good luck, and let me know if I can help out further.

john.


- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6DuAlWRJRdOm3KFARAme0AJ0U8m+rgSB3kpMKCad8hHmiwL0udQCeJhLR
WLlHsZYscGmzgi08fQYR0lk=
=N1yB
-END PGP SIGNATURE-



Re: need help - inn2

2000-11-12 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Russ Cook [EMAIL PROTECTED] writes:

 Thanks for the reply.  The news daemon is running as rc.news, as
 called by /etc/init.d/inn2.  Also running is innwatch.  My active
 file exists.  The problem appears (to me) to be an inability to
 connect to my ISP news server.  I use shadow passwords on my system.
 Is this a problem?  Is there a way to log the correspondence between
 my system and my ISP while inn2 tries to connect?

Hrm. Stuff like this was why I gave up on INN2 and fell back to
INN. 8^/=

The shadow password thing shouldn't matter, I wouldn't think -- I use
shadow passwords too. If you need to authenticate yourself to the news
server, _that_ might matter...

As far as logging the chat between your system and theirs, have a look
at the contents of /var/log/news/.

HTH,

john.

PS: If it's any motivation, once the system is set-up, it's _very_
nice -- news is *fast*; no more waiting for the modem to pull down the
next article...

- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6DzWWWRJRdOm3KFARAtHaAJ9lUDZm6JeCjFZJvSK7Y9rV8X881wCaAz8W
jnAZqK3GZnMJqdrLmyvrMYs=
=Bnv6
-END PGP SIGNATURE-



Re: TrueType fonts in X4

2000-11-12 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brad [EMAIL PROTECTED] writes:

 There seems to be much confusion on how to get TrueType fonts working
 with the new X4 packages. 

Thanks for the clear instructions. I sorta had TrueType stuff working,
but I think I've got stuff totally sorted now.

One wibble, however:

 4. Sorting fonts.scale properly (more or less)
[snip]
 perl -we 'open X, fonts.scale or die;
   %h=(); $n=X;
 while(X){
 /^(\S+\.ttf)/; unshift @{$h{$1}}, $_;
 }
 open X, fonts.scale or die;
 print X $n;
 for $x (sort keys %h){ %print %X [EMAIL PROTECTED]; }'

You've got a couple typos on that last line; I rewrote it like so:

perl -e 'open X , fonts.scale or die; $n = X;
while(X) { /^(\S+\.ttf)/; unshift @{$h{$1}} , $_; }
open O , fonts.scale or die; 
print O $n; print O @{$h{$_}} foreach ( sort keys %h )'

but then this isn't golf. 8^)=  The important thing is to remove the 3
'%' from the final line.

Oh, and one more thing -- instead of saying:

  Download mkfontalias.py from Kristin's site

why not give the URL? URL:http://home.c2i.net/dark/mkfontalias.py

Thanks again for the good work, Brad.

john.

- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6D1cIWRJRdOm3KFARAspEAKCX0Wm0//oEDXx03zuPLCI3k2TcSACfaRSw
U7R+ro3hf3r145wVKP+kZi8=
=eH5t
-END PGP SIGNATURE-



Re: Helix-Gnome not installable

2000-11-12 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joel Dinel [EMAIL PROTECTED] writes:

[ dependancy problem elided ]
 Has anybody else encountered this? Is there woody boxes out there
 running Helix?!

I see this also, but I've already got a working install of Helix
Gnome, so it's not a big deal...for me. Can't offer any advice as to
how to get it to work, but thought I'd let you know it's not just you.

Perhaps give it a day or two and the maintainers will fix it?

Good luck,
john.


- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6D1p2WRJRdOm3KFARAjV1AJkBrhVd5n5Qp8KnzOilAuZje4NBpACbBt/5
ODUYFMmHi1iHnpJ7KDUupdE=
=+8zH
-END PGP SIGNATURE-



Re: X4 and a Trident Card? (was: Re: XFree86 4.0.1 and TrueType fonts)

2000-11-05 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rogerio Brito [EMAIL PROTECTED] writes:

 On Nov 04 2000, John S. J. Anderson wrote:
  Once I got it working, however, I was quite impressed. It's
  noticeably faster than XFree 3.3.6 on window movement and screen
  redraws, even with the old 4 MB Trident card I've got.
 
   Old Trident Card? Hey, which one? We may be in the same boat.

It's a generic Trident 3Dimage 975 AGP card. 

   I've got a Trident 3D Image and it was a pain in the arse to
   get a Modeline working with 3.3.6 (X seems to misbehave with
   this card -- if I use a line that was supposedly to use a
   refresh rate of 60Hz, then sometimes I get my monitor saying
   that the signal it is receiving is for 20Hz or something else
   below its capabilities).

That's odd -- I never really had that much trouble with my monitor
(which is a generic 17 monitor from PCWarehouse). I can get 16bit
color in 1280x1024, and that's good enough for me.

   Which card do you have? I'm also a bit scared of upgrading to
   woody after I heard about the major breakage with the libc
   upgrade...

Well, that should be all better now, and the XFree update was pretty
pain-free (aside from a couple hours reading man pages and trying to
kludge together a XF86Config file...)

john.


- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6BYb2WRJRdOm3KFARAuo3AJ9I2yyM5ysQ5FF54ms5/J12Azrr8wCghW5R
fQ/gZ94zItZcUdSx7C7puWA=
=C1nA
-END PGP SIGNATURE-



Re: XFree86 4.0.1 and TrueType fonts

2000-11-05 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marc Wilson [EMAIL PROTECTED] writes:

 It's not all that hard... I went through this last night.

Well, yah, it shouldn't have been. 8^/= I was doing the right thing,
and for some reason, it wasn't working. Then, it started working. I'm
not sure _why_ -- but I did notice a file called
/etc/X11/.XF86Config.swp, which I reasoned might be doing something to
prevent my XF86Config from being read. So, I moved it, restarted X,
and *poof*, TrueType fonts a plenty. 

Thanks to all who wrote in with suggestions.

john.


- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6BcsdWRJRdOm3KFARAiSPAJ43uBJGrqjgLxHRNV46tOY+6i+sFACgniAQ
y1tuMFyuE/TSbxX5OUKYPnM=
=kJb4
-END PGP SIGNATURE-



XFree86 4.0.1 and TrueType fonts

2000-11-04 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greetings --

Did the XFree86 upgrade last night. Wasn't too bad; if I hadn't
mis-remembered the video card in this box, I think it would have been
seamless. As it was, I had to do some reading and playing around to
get /etc/X11/XF86Config set up the right way.

Once I got it working, however, I was quite impressed. It's noticeably
faster than XFree 3.3.6 on window movement and screen redraws, even
with the old 4 MB Trident card I've got.

The one thing I had trouble figuring out was my fonts. I've got a slew
of various TrueType fonts in /usr/share/fonts/truetype. I was using
xfstt to serve them via port 7101, but from what I can gather, the
Right Way under the XFree86 4 is to use one of the TrueType
backends. I had

Loadfreetype

in my XF86Config, and I added the directory as a FontPath, but I
still didn't have access to those TrueType fonts. 

Reading a bit between the lines in the docu, I figured out that I
needed to do a 'mkfontdir' in my TrueType directory -- but 'mkfontdir'
didn't seem to want to work. 

Turning to Google, I found 
URL:http://www.xfree86.org/pipermail/newbie/2000-June/17.html,
which lead me to ttmkfdir, which I downloaded via
URL:http://freshmeat.net/projects/ttmkfdir/

I already had the freetype2 and freetype2-dev packages installed, so
getting ttmkfdir to build was not too hard -- I had to add
'-I/usr/include/freetype' to the CFLAGS line in the Makefile, and then
'make' built the binary. 

I then ran 'ttmkfdir /usr/share/fonts/truetype/  fonts.scale', which
built the fonts.dir and fonts.scale files.

However, upon restarting X, I still can't see any of my TrueType
fonts.

Does anybody out there have a clue to spare on this issue?

TIA,
john.

- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6BDVuWRJRdOm3KFARAvQUAJ9MzB3yFHoKTqMugT2OR6IusES0SgCfR/Km
hQ/hQsP8tNBPLScme+YWT7c=
=PMcc
-END PGP SIGNATURE-



Re: XFree86 4.0.1 and TrueType fonts

2000-11-04 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

wulfie [EMAIL PROTECTED] writes:

 ttmkfdir in the ttf dir :) Add the path to your fonts section in
 XF86Config, freetype to the modules section (you already did both, it
 seems)  you're there.

What's the exact path to ttmkfdir on your box? I don't seem to have
it, nor do I have a ttf dir -- at least, 'locate /ttf/' doesn't
produce anything. I've got freetype in the modules section, and I've
got the path to the TrueType font directory as a FontPath, but I don't
get any TrueType fonts available in various font selection dialogs,
and nothing at all in the ttf foundry (which is where all the fonts
ended up when using xfstt).

Any other advice on where to start digging for this info? Most of the
web (including my own site, sadly enough) doesn't look all that great
in GUI browsers without the 'standard' fonts...

john.

- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE6BFXrWRJRdOm3KFARAncOAJ4jGPGiYyCJYVyhweLVA9KUo3lC4ACfSiYG
QresIRFVMI/pROtM/aq35pc=
=uHeY
-END PGP SIGNATURE-



Re: Linux Mail Client

2000-08-22 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Steve Lamb [EMAIL PROTECTED] writes:

 So far all the Linux clients have taken the Eudora/Lookout!/Pegasus
 approach to email.  Either everything goes into a single inbox and
 you need to filter out from there and set up personalities or you
 filter to completely separate accounts and use completely separate
 programs to access them.  To me that is unacceptable.

You've been given one answer earlier in the thread: Gnus. 

It is capable of doing each of the requirements I've seen you list at
various times. Granted, some of them are non-trivial to set up, and
are going to require a bit of work, and maybe even (the horrors!) some
Lisp coding, but the potential is there.

At this point, you can reiterate again how unacceptable this solution
is, due to the need to use (X)Emacs -- but I think you're off base
here. You're making the traditional Emacs is an editor
fallacy. Emacs isn't an editor, it's a Lisp interpreter with some bias
towards text editing commands. You're going to need *something* that
elaborate to handle the logic flow of your keep separate things
separate scheme, I think.

Alternatively, I point you towards VINE, which is like Gnus, but
totally different. Perl instead of Lisp, VI(m) instead of Emacs, and
just getting started as opposed to (relatively) old and stable.

john.


- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE5olSFWRJRdOm3KFARAoI+AJ9SIjPHu6tEcLJbMvKajxluMvxQ8ACbBFjM
uk5pErtP65EU1hN7xrXQ+7g=
=nkUP
-END PGP SIGNATURE-



Re: How to get xemacs21 to display japanese characters in gnus

2000-08-10 Thread John S. J. Anderson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pontus Lidman [EMAIL PROTECTED] writes:

 I'm trying to use gnus to read posts written in japanese. Unfortunately it
 refuses to show the posts using japanese characters by default.

You've left out at least one crucial piece of info: what version of
gnus you're running. (Try M-x gnus-version.)

I don't have any need for Asian language display, but with (a) various
X11 font .debs (b) Gnus 5.8.7 built from source and (c) some spam from
a .jp address, I get ideographs as soon as I open the article
buffer. (Ditto for the Chinese spam I get, or at least some of it.)

So, you're going to have to give that version info, at the very
least. Also, you might have better luck on the Gnus mailing list, or
the Gnus newsgroup.

Good luck,
john.

- -- 
- 
   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: Mailcrypt 3.5.5 and Gnu Privacy Guard

iD8DBQE5k2bjWRJRdOm3KFARAj5KAKCsaae8gJEk3lDFDziARAI871apPACfR42D
BpuG8jNMWr5ptZ3Z+hkiWks=
=ChtW
-END PGP SIGNATURE-



Suck/INN HOWTO

2000-07-29 Thread John S. J. Anderson
Greetings --

Is there a beginner-targeted guide for getting this set-up? I've got
everything installed, and something is happening (I appear to have
some sort of local spool, and so on), but I'm not quite sure how to go
about configuring everything -- or even where to start.

Pointers, etc, to good (hopefully Debian-specific/oriented)
documentation welcomed.

john.

-- 

   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org



Re: Suck/INN HOWTO

2000-07-29 Thread John S. J. Anderson
 Jozef == Jozef Skvarcek [EMAIL PROTECTED] writes:

Jozef Managing Usenet by H. Spencer  D. Lawrence O'Reilly 1998

8^)

I was looking for something that wouldn't require me to go to the
bookstore. 

-- 

   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org



Re: Dvorak keyboard layout

2000-07-29 Thread John S. J. Anderson
 Owen == Owen G Emry [EMAIL PROTECTED] writes:

Owen Can someone tell me how to switch to the Dvorak keyboard layout?
Owen I dimly recall the debian boot diskette asking to choose a
Owen keyboard layout, but I don't know how to change it on an
Owen installed system.

The answers from others should work for console, but if you need to do
this under X, you need to use xmodmap to remap the keys. I've got a
xmodmap file to do this; mail me if you'd like it.

john.


-- 

   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org



Re: Problem with es1371

2000-06-26 Thread John S. J. Anderson
 Petteri == Petteri Heinonen [EMAIL PROTECTED] writes:

Petteri Hi.  I've compiled new kernel, and made soundcard support as
Petteri modules. I've SB64PCI card, which I think is preferred as
Petteri es1371.

What _version_ of the kernel? I've got a card that reports as a
es1371, and (due to changes in the card) it doesn't work with the 2.2
series es1371 driver.

If you get the pciutils .deb, and then do a 'lspci', you should see a
line something like this:

00:0d.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 07)

If the number after 'rev' is '07', then you need to use the driver
from later 2.3 kernels. I'm running 2.4.0-test1, and it's been pretty
stable -- you might want to give that a go.

HTH,
john.


-- 

   [ John S Jacobs Anderson ]--URL:mailto:[EMAIL PROTECTED]
[ Genehack: Not your daddy's weblog ]--URL:http://genehack.org