Re: converting html messages to plaintext

2002-06-09 Thread Tommi Komulainen
On 2002-06-09 12:10 +, Greg Norris <[EMAIL PROTECTED]> wrote:
> I'd like to convert messages from html to text, for a few specific
> mailing lists.  Is there a procmail recipe for this?

Since you seem to be using mutt, the following line in .mailcap:

text/html; w3m -F -dump %s; nametemplate=%s.html; copiousoutput

and the following line in .muttrc:

auto_view text/html

should do the trick.  It doesn't actually modify the messages, but I
think the end result is what you wanted.  You can also use lynx, links,
html2text or whatever instead of w3m; there are examples in the mailcap
section in the manual.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpa5rErEPXEK.pgp
Description: PGP signature


Re: how to also remove files that were required for some package ?

2002-06-09 Thread Tommi Komulainen
On 2002-06-09 04:54 +, tvn1981 <[EMAIL PROTECTED]> wrote:
> Hi, just wondering if apt can do something like this 
> 
> when I get package A, it also fetch the required packages B and C 
> now when I want to remove A, can apt intelligently remove B an C also ?
> (assuming no other package require B and C)

I don't think apt can do that, but aptitude (in sid at least, possibly
in woody also) can.  When you install A, it'll record that B and C were
installed too to satisfy the dependencies.  When you remove or purge A,
aptitude will use this information and remove B and C as well (unless
they're used by other packages.)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpwqTm0cEY41.pgp
Description: PGP signature


Re: apt-get dist-upgrade -u doesn't tell me what it's getting

2002-06-09 Thread Tommi Komulainen
On 2002-06-09 04:46 +, ThanhVu Nguyen <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I use the commands "apt-get update && apt-get -u dist-upgrade" when I
> want to check and get upgrades but apt doesn't tell me exactly what it
> is getting ... Here's a log of what I have
> 
> # apt-get update && apt-get dist-upgrade -u
> Get:1 http://http.us.debian.org woody/main Packages [1779kB]
  ^^^ ^    ^^
  .
  .
> 64% [1 Packages 1140667/1779kB 64%]   3620B/s 2m56s
   ^  ^^

See the connection?  That's the output from running apt-get update.
Currently it's fetching Packages(.gz) file, the file that lists
available packages on the server.  

When you run apt-get -u dist-upgrade, it'll first show you the list of
packages it's going to upgrade/remove/etc. and ask if you wish to
continue.  When you say yes it'll start doing its thing and download the
packages first (if necessary.)  It'll show the progress in about the same
way as above.


> So how do I tell apt to tell me what it is getting exactly ?  

Well, it already is telling you, you just aren't listening :)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpE4heBbAI9v.pgp
Description: PGP signature


Re: UML Modeling w/o Rational Rose

2002-06-03 Thread Tommi Komulainen
On 2002-06-03 12:34 +, Florentin Ionescu <[EMAIL PROTECTED]> wrote:
> I found dia to be _much_ easier and practical to use, as opposed to Rational -
> don't miss dia2code which does a decent job.
> 
> There is another tool called ToghetherJ - but AFAIK and used them, both 
> Rational
> or Toghether do not handle well C++ but java.

I remember thinking dia was easier at some point, but somewhere along
the line I've changed my mind.  Can't remember what happened, but I
guess it's the way lines act in dia when you move a box they're
connected to.  Automatic layout, as artificially stupid it sometimes
can be, is quite nice to have after all.

TogetherJ is not free software, but yes, it's there too.  Rose can
handle C++, can't really say how well, but it can.  For some odd reason
it doesn't like to reverse engineer mozilla code without crashing... ;>

TogetherJ is focused on Java, I think.  Hard to say, I tried it some
time, but it used all the available memory and then some; it was not
usable :-/


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpj42rheVwHF.pgp
Description: PGP signature


Re: UML Modeling w/o Rational Rose

2002-06-03 Thread Tommi Komulainen
On 2002-06-03 11:40 +, Brian Rose <[EMAIL PROTECTED]> wrote:
> Are
> > there some other UML tools I've missed?  (No, dia or kuml don't count.)
> > 
> What is wrong with dia?  Is it not compatible to Rational?  Is it
> possible to write a converter between Rational and dia or
> whatever-your-favourite-is or an XML file?  (Not sure what format dia or
> Rational are.)

Almost none of the different UML tools I know are compatible with each
other.  Poseidon and ArgoUML are an exception, maybe because the first
is more or less commercial version of the latter :)  

For all I know, dia uses XML file (compressed) and Rose used something
that looked like lisp :) I'm sure you could write a converter, but how
much information would be lost in one way or the other, I can't say.  

Anyhow, there is nothing wrong with dia.  Drawing UML diagrams is
possible with dia, but compared to Rose it's just much more difficult.
If you grasp UML, just try to draw some diagrams with both of them and
tell me if you disagree.  Simple exercise would be to draw two detailed
class diagrams and one general combining the two.

Bear in mind that Rose is UML modeling tool and dia is a diagram editor.
While you can draw UML diagrams with dia, that's only part of the
solution.  You can draw a line from one class to another in dia, but it
does not fully comprehend that it's an association.. or generalization.
Sure it's drawn differently, and the information is propably there
somewhere, but dia simply is not a UML modeling tool.  It's not meant
to, and it's not even trying to.  Nothing wrong with that, it's just a
tool for a different job.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpG4vd97jYY9.pgp
Description: PGP signature


Re: OT: UML (Re: UML Modeling w/o Rational Rose)

2002-06-03 Thread Tommi Komulainen
On 2002-06-03 14:22 +, Oleg <[EMAIL PROTECTED]> wrote:
> On Monday 03 June 2002 02:01 pm, Tommi Komulainen wrote:
> 
> > On the topic of free UML modeling software, I've tried ArgoUML and
> > Poseidon, but unfortunately they aren't quite comparable to Rose.  Are
> > there some other UML tools I've missed?  (No, dia or kuml don't count.)
> 
> What do you get from UML, that you don't get from class definitions (in 
> header files) ?

Visual representation of the classes on suitable abstraction level.
Kind of hard to get the big picture in one glimpse from several header
files scattered around, don't you thinkg?  From a simple UML diagram you
can get that (almost) instantly.

And that's just the class diagram part of UML.  There's much more than
just class diagrams in UML.  Class diagrams help to understand how
classes relate to each other (kind of, who does what) and that's
propably the most used part of UML.

Then there's sequence diagrams, showing how classes interact with each
other (who talks to whom.)  I'd argue that's at least as useful as class
diagrams.  Depends on the case, of course.

The bottom line is, though, that UML is just notation.  It is meant to
help communicate how the software works (well, should work) in unified
way.  If you both know UML, you don't need to spend time defining terms
the other might very easily misinterpret otherwise.

Even though you don't need to explain how the stuff works to anyone
else, I've found that it's much easier to go down into the details after
you've figured out the big pieces first.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpmFyqJyUh1k.pgp
Description: PGP signature


Re: UML Modeling w/o Rational Rose

2002-06-03 Thread Tommi Komulainen
On 2002-06-03 12:45 +, Elizabeth Barham <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
> 
> I'd like to be able to view a UML Model that is available for download
> in Rational Rose Format from:
> 
> <http://www.hl7.org/Library/data-model/RIM/modelpage_non.htm>
> 
> Rational Rose is a very expensive software product and I was wondering
> if anyone else has experienced this problem (that is, wanting to view
> a Rational Rose file using free software) and how you overcame it?

I'm not sure if you can use free software to display Rose models as is.
You could, however, open the model in Rose and take a screenshot :)
And to open the model in Rose you can get an evaluation license (valid
for 30 days, or two weeks, or something like that) from Rational.

On the topic of free UML modeling software, I've tried ArgoUML and
Poseidon, but unfortunately they aren't quite comparable to Rose.  Are
there some other UML tools I've missed?  (No, dia or kuml don't count.)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp6mQB3E4mLd.pgp
Description: PGP signature


Re: X forwarding dead in Sid

2002-05-18 Thread Tommi Komulainen
On 2002-05-16 22:27 +, Alex Malinovich <[EMAIL PROTECTED]> wrote:
> I've been using X forwarding between my 2 Sid computers for a while now
> with no problem. However, at some point since my last update (about 3
> weeks ago) X forwarding over SSH seems to have died. I run ssh with the
> -X option, and I've checked the xserverrc on both systems to make sure
> that -nolisten tcp isn't in there. Everything SEEMS to be set up ok, yet
> X forwarding isn't working. $DISPLAY isn't being set when I SSH in,
> though it used to before. I haven't tried setting it manually yet
> because, I hate to admit it, I'm not exactly sure of the format for a
> remote X $DISPLAY. :)

Just check /etc/ssh/sshd_config and make sure you have 
'X11Forwarding yes' in there.  Then restart sshd and 'ssh -X' should
work just fine.

Before you issue 'ssh -X ' you should have DISPLAY set to
something like ':0'.  If it's not set, there is no X connection to
forward as far as SSH is concerned.  After logging in, if X forwarding
was enabled, DISPLAY should be something like ':10.0'

In any case, you shouldn't need to manually modify the DISPLAY
environment variable. 

And do make sure the '-nolisten tcp' *is* there.  Unless you know for
sure you need the X server listening to TCP connections, disable it.  It
is not needed when using SSH with X forwarding.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpCVe4JTxWlC.pgp
Description: PGP signature


Re: IRC

2002-05-14 Thread Tommi Komulainen
On 2002-05-14 16:47 +, Keith O'Connell <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I am curious to take a look at IRC, something I have never taken much 
> interest in before. As I use exclusively Gnome, I was wondering if people 
> could make a suggestion as to their favourite "gnome" based clients, that can 
> be found in woody

I'd suggest irssi (http://irssi.org/ and apt-get install irssi-text¹)
Even though it's not gnome-based, I don't think there is much benefits
from running a graphical IRC client compared to text-based. 

And what comes to other text-based clients, I've yet to see someone who
after using irssi for a while switched to use some other client... :)

HTH.


1. There is irssi-gnome and irssi-gtk in Debian also but they are
   *ancient*.  Don't use them.

-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp1gMdmuYd9Z.pgp
Description: PGP signature


Re: Kernel 2.4.18-686 and PCMCIA woes

2002-05-05 Thread Tommi Komulainen
On 2002-05-05 20:31 +, Peter Whysall <[EMAIL PROTECTED]> wrote:
> On Sun, 2002-05-05 at 19:36, Tommi Komulainen wrote:
> > 
> > The suggestion from Brian Mays worked for me.  That is, after removing
> > the directory /lib/modules/2.4.18-686/pcmcia restarting pcmcia services 
> > worked just fine.
> 
> I tried this, and it didn't work :(

Doh, one thing I forgot to mention.  After removing the directory I run
'update-modules' (like one should always do when messing with modules
for running kernel.)  See if things work after running 'update-modules.'
They should, I think.


> The wickedness comes from the fact that it should be using the 3c589
> driver, not the i82365 one - and on inspection of the
> /lib/modules/2.4.18-686/kernel/drivers/pcmcia directory, there isn't
> one.

The driver, 3c589_cs, appears (dpkg -L kernel-pcmcia-modules-2.4.18) to
be in:

/lib/modules/2.4.18/kernel/drivers/net/pcmcia


HTH.

-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpJKlSFwJjiQ.pgp
Description: PGP signature


Re: Kernel 2.4.18-686 and PCMCIA woes

2002-05-05 Thread Tommi Komulainen
On 2002-05-05 18:34 +, Peter Whysall <[EMAIL PROTECTED]> wrote:
> Fresh install onto a laptop that's seen kernel-image-2.2.20 and the
> corresponding pcmcia-modules-2.2.20 package working just fine with a
> 3Com 3C589 network card.
> 
> apt-get install kernel-image-2.4.18-686 and 
> kernel-pcmcia-modules-2.4.18-686, and the network fails to start with
> "unresolved symbol isapnp_find_dev_blah" where blah is some large
> number.

I had similar problem with 2.4.18-i386, only with wavelan card.  The bug
was already submitted to BTS, see http://bugs.debian.org/144613 .

The suggestion from Brian Mays worked for me.  That is, after removing
the directory /lib/modules/2.4.18-686/pcmcia restarting pcmcia services 
worked just fine.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpK97m4lIGqi.pgp
Description: PGP signature


Re: garbled chars in mutt

2002-02-17 Thread Tommi Komulainen
On Sun, Feb 17, 2002 at 01:23:33AM -0500, Allan M. Wind wrote:
> On 2002-02-16 22:11:04, Eric G. Miller wrote:
> > Use a different font for your terminal (want one with graphic
> > characters, like the default X fixed font).
> 
> I switched to -misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso10646-1
> and unchecked the "Enable multibyte support" in gnome-terminal which
> gave me back the missing non-ascii chars but the threaded overview is
> still somewhat broke.   Am I correct in assuming that unicode and mutt
> don't quite go along?

I would dare to claim that mutt supports unicode better than
gnome-terminal.  However, the threaded view has very little to do with
unicode, AFAIK.  The threaded view is made with normal VT100 compatible
line drawing characters, which in my experience[1] are broken in newer
gnome-terminal/libzvt2.

Last known working combination for me:

ii  libzvt21.4.1.2-11 The Gnome zvt (zterm) widget
ii  gnome-terminal 1.4.0.4-15 The Gnome terminal emulator application

The number of packages being held because of older libzvt2 is only
increasing...


Of course, you could use any other terminal that doesn't use libzvt2 
(aterm, eterm, konsole, rxvt, xterm[2], ...) Those are likely to work
better, but unfortunately lack some features I've accustomed to :-/


1. http://bugs.debian.org/129969
2. xterm even might have decent UTF-8 support, try
   xterm -u8 -fn "-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso10646-1"

-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgptkZ49TXDV3.pgp
Description: PGP signature


Re: How do I enable threads in mutt?

2002-02-02 Thread Tommi Komulainen
(CC'd back to debian-user)

On Sat, Feb 02, 2002 at 11:50:23AM -0500, stan wrote:
> 
> Hmm, I've atached my .mutt/muttrc file below.
> 
> Note that both of the seting you recomned are already there.

Yes, but there are also a few hooks.  Ever tried 'grep sort muttrc' ? :)

'grep sort' from the attached muttrc:

> set sort=threads 
> set sort_aux=date
> folder-hook . 'set sort=date index_format="%4C %Z %{%b%d} %-15.15F (%4c) %s"'

Now this hook quite effectively cancels the previous sort=threads...
Be careful out there :-P


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpWyMwDPyHJ8.pgp
Description: PGP signature


Re: How do I enable threads in mutt?

2002-02-02 Thread Tommi Komulainen
On Sat, Feb 02, 2002 at 11:28:31AM -0500, Stan Brown wrote:
> Yes, another mutt question :-( That's this weekends project.
> 
> How do I enable threads?

set sort=threads

Use with set sort_aux=date, perhaps.

Also, please do read the FAQ (and the manual even) both can be found via
www.mutt.org.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpPvwDhx6Dzi.pgp
Description: PGP signature


Re: Gnome-terminal and URLs

2002-01-23 Thread Tommi Komulainen
On Tue, Jan 22, 2002 at 09:00:58PM -0500, Eric C. Cooper wrote:
> On Tue, Jan 22, 2002 at 05:34:44PM -0800, Paul E Condon wrote:
> > I notice that whenever I have a well formed URL appearing on a
> > gnome-terminal window, it I pass the cursor over it, the URL text
> > becomes underlined and the cursor changes from an I-bar to a
> > finger-pointing hand. What is this for? Can I do something useful with
> > respect to URLs by pointing and clicking? Which button? What is supposed
> > to happen?
> 
> Control-left-click brings up a browser window.  Which browser is
> controlled by ~/.gnome/gnome-moz-remote; mine has these two lines:

I prefer right-clicking on the URL and selecting "Open in browser" from
the menu...  Actually, I didn't even know that ctrl-left-click (manual?
what manual? =)

I thought that right-clicking was obvious, the first time I saw the
cursor changing, I realized there's something magic happening and
right-clicking was the first thing I tried after left-clicking... :)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp7dKuVEfQ0x.pgp
Description: PGP signature


Re: how do I play divx encoded films on testing?

2001-12-18 Thread Tommi Komulainen
On Mon, Dec 17, 2001 at 10:51:25PM +0100, Mirek Dobsicek wrote:
> 
> When I use -fs -vo x11, it opens in fullcreen, but the movie is still 
> the same size located in the midlle of the screen, surrounded by black 
> color.

How about trying -vm instead of -fs?  IIRC that's the option that makes
MPlayer to switch to the closest video mode.  

Additionally if you visit http://xtiming.sf.net/ you can calculate
precise modelines for all common video resolutions (384x288 etc.)  That
way that closest video mode will actually be truly full screen.

At least it works wonders for me :)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp2KueVmICp3.pgp
Description: PGP signature


Re: cvs security - ssh vs pserver?

2001-11-28 Thread Tommi Komulainen
On Tue, Nov 27, 2001 at 10:08:57AM -0800, Peter Jay Salzman wrote:
>  
> joey, i have no problem with plain text passwords.
> 
> just as long as they can't get _shell access_ with that password.

Hi,

I'd just like to point out one thing that I didn't see in this thread
earlier:  if you have write access to the CVS repository, it is possible
to get shell access also.

Ok, it is not exactly that simple, I think it required write access to
the files in the CVSROOT-directory (commitinfo, etc.)  You could then
modify those files so that, for example, whenever you commit a file, a
command "xterm -display :0" would be run on the server.

However, there is a simple fix.  Just don't let the users touch the
files in the CVSROOT directory.  Use another group for the CVSROOT, say
use group 'prj' for repository users who are allowed to commit changes
but not run shells, and 'prj-adm' for users who are allowed to modify
files in CVSROOT (and potentially run a shell.)

Unfortunately, I can't remember the details exactly and I don't have a
link at hand, so better read this message again with extreme prejudice.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpr8cEzSgITw.pgp
Description: PGP signature


Re: Printing a RFC on non-US PAPERsize

2001-11-26 Thread Tommi Komulainen
On Mon, Nov 26, 2001 at 11:02:36AM +0100, Lambrecht, Joris wrote:
> 
> I'm getting a stomach ache trying to figure out how best to print an RFC
> without having the impression i'm printing drafts of a draft. The formatting
> goes bananas when i try to print it on any known paper size (A4 Letter ...).
> Does there exist a website, a tool or a procedure to make rfc's printable in
> an adequate way ?

Hi,

I've used a simple script that strips all white space between the end of
the page and the start of the next space and inserts a page break there
instead.  Basically, that should modify the drafts so that they can be
properly printed on any paper size.  Though, I've only tested A4.

I'll attach my boosted script that also downloads the requested
rfc/draft and then reformats it as described above.  But beware, the
logic to determine the location of page break is extremely stupid.
Don't count on getting the rfc's intact :)

Oh, and mpage -2 works nicely for the printing part...


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6
#!/usr/bin/env python

SERVER,RFCDIR,DRAFTDIR = 'ftp.funet.fi','/rfc','/internet-drafts'

import sys
if len(sys.argv) < 2:
sys.stderr.write("""\
usage: rfc-get [rfc-number | draft-name] ...
""")
sys.exit(1)

import ftplib,os

ftp = ftplib.FTP(SERVER)
ftp.set_pasv(1)
ftp.login()


import re
end_re =   re.compile(r'^\S+.+\[Page \d+]\s*$')
start_re = re.compile(r'^(Internet|RFC)\s.+$')

for arg in sys.argv[1:]:
if arg[:3] == 'rfc': arg = arg[3:]
elif arg[:6] == 'draft-': arg = arg[6:]
if arg[-4:] == '.txt': arg = arg[:-4]
try: 
arg = int(arg)
filename = 'rfc%d.txt' % arg
dir = RFCDIR
except ValueError:
filename = 'draft-%s.txt' % arg
dir = DRAFTDIR

print 'retrieving %s/%s' % (dir,filename)

ftp.cwd(dir)

printable = 1
file = open(filename, 'wt')

def printer(line):
global file,printable
if end_re.match(line):  
file.write(line + '\n')
file.write('\f\n')
printable = 0
elif start_re.match(line):
file.write(line + '\n')
printable = 1
elif printable:
file.write(line + '\n')

try:
try: ftp.retrlines('RETR ' + filename, printer)
finally: file.close()
except ftplib.error_perm, err:
print err
os.unlink(filename)


ftp.quit()



pgpssTvWHd3Aa.pgp
Description: PGP signature


Re: Querybts and text-mode browser in X11?

2001-11-01 Thread Tommi Komulainen
On Thu, Nov 01, 2001 at 07:49:18PM +0100, "Jürgen A. Erhard" wrote:
> I want querybts to start a text-mode browser (links) when I run it in
> an xterm.  If I set X11BROWSER to links, I just get a blank screen
> when I go "More details".
> 
> Not setting it gets me Netscape, no matter what I set for BROWSER or
> CONSOLEBROWSER.
> 
> Does anyone have an idea, or is the wishlist bug I filed proper?  (;-)

I just use

env -u DISPLAY querybts reportbug

Though, a wishlist bug might be in order (something like querybts -c
reportbug would be so much shorter.  Making an alias is just too much
trouble.. :))


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpKIjBpLstiK.pgp
Description: PGP signature


Re: [OT] Mutt Configuration

2001-10-30 Thread Tommi Komulainen
On Tue, Oct 30, 2001 at 09:22:47AM -0800, [EMAIL PROTECTED] wrote:
> I'm trying to make mutt so that it would use a particular "from:"
> e-mail address, and I've looked it up on the man pages and it told me
> to set from="[EMAIL PROTECTED]" in the .muttrc file; however, mutt
> ignores it...
> Can someone help?

I'll bet that mutt does the right thing, but it's your MTA that rips off
the custom From: header and replaces it with what it thinks is correct.

If you use exim, see trusted_users variable in exim.conf


It propably won't help you with your problem, but you might also want to
check out envelope_from variable in mutt.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpFKRgFpfOvM.pgp
Description: PGP signature


Re: Star Office 6

2001-10-24 Thread Tommi Komulainen
On Mon, Oct 22, 2001 at 10:20:56AM -0500, Hanasaki JiJi wrote:
> Where, exactly, did this text come from?  

It's quoted from the license agreement for Star Office 6 beta.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpQhlkSPAGGx.pgp
Description: PGP signature


Re: Re. Star Office 6

2001-10-14 Thread Tommi Komulainen
On Sat, Oct 13, 2001 at 01:37:55PM -0700, sheine wrote:
> Tommi Komulainen wrote:
> 
> > Just a thought, you weren't planning to do anything productive with, or
> > did you?  If you did, guess you'd better reconsider:

[I was referring to StarOffice there]

I guess I should've added more smileys there...  The whole point was
that nobody ever reads the license agreements.  Please, do feel free to
correct me if I'm wrong. :)

You must agree that prohibiting productive work in the license agreement
is somewhat amusing.  I know, it's beta, but still...


> This message caused me to reconsider the several years that I have fooled 
> around with linux. Maybe it is just a computer game, not a serious tool. It 
> doesn't crash like Windows, but no matter how well things are going, a new 
> problem always arises. In the absence of good documentation, the best way to 
> solve a problem is to go to this web site. But a tool is something that 
> works when you need it and doesn't continuously call attention to itself.

Interesting response to my half-assed attempt to remind that one might
want to read the license agreement every now and then.

Now, would you be surprised if I told you that the same clause
prohibiting productive work is also present in the Windows version
license agreement?  Does that make you wonder if Windows is just a
computer game, not a serious tool?  And what about Solaris?

I believe that one should use the tool that gets the job done.  However
there usually is more than one thing to do so you have compromise.  You
can do one job very well in one platform but some other job in the same
platform gives you massive headaches.  And yet both jobs has to be done.
One has to find a suitable balance between productivity and headaches.
For me and my programmer's nature Linux is clearly the winner (of those
that I've tried so far.)  For you it might be something else.  

Hammer is *not* the only tool there is in the toolbox.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp2KAsoa8zEm.pgp
Description: PGP signature


Re: Star Office 6

2001-10-13 Thread Tommi Komulainen
On Sat, Oct 13, 2001 at 06:11:08AM -0700, sheine wrote:
> I have downloaded all the files for Star Office 6, but haven't the 
> slightest idea of how to install them. The guide describes a method that 
> relates to the CD version. All the files are of the form *.bin. Does 
> anybody know what to do next?

Just a thought, you weren't planning to do anything productive with, or
did you?  If you did, guess you'd better reconsider:

3.0 LICENSE RESTRICTIONS
[...]
3.4 Licensee shall have no right to use the Licensed Software for
productive or commercial use.


You did read the license agreement of course, right? :)

I think I prefer OpenOffice, if I really *really* need to edit Word
documents...


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpotUyhuSSoX.pgp
Description: PGP signature


Re: Compiling kernel 2.4.11

2001-10-11 Thread Tommi Komulainen
On Thu, Oct 11, 2001 at 11:20:57AM +0200, Lukas Ruf wrote:
> Dear all,
> 
> if you follow the kernel mailing list, it is not recommended to have
> 2.4.11 installed and running due to security problems.
> 
> Linus just released 2.4.12 -- and some patches for the parallel port
> do exist now as well.

I was just about to compile 2.4.11 when I accidently heard about 2.4.12.
Then I was about to compile it until I heard about parport being b0rked.

I think I'll just wait for the next stable kernel... uhh, wait, but this
*is* stable kernel.. :)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpH3pBPYOqcX.pgp
Description: PGP signature


Re: kernel 2.4.10 and alsa

2001-10-11 Thread Tommi Komulainen
On Wed, Oct 10, 2001 at 08:33:26PM -0700, Erik Steffl wrote:
> 
>   you can use oss emulation under alsa, that's what I use, works fine
> (unstable, 2.4.10, alsa 0.9, sbawe driver (sb awe 64))

Of course I can, in fact generally all games use the OSS interface.  I'm
pretty sure I had a valid reason to use native ALSA support but right
now I can't remember what.  I thought it was that I couldn't use the
other DAC on my sound card, but I just remembered it is available
through /dev/adsp...  So there goes my excuse :)

Oh well, let's see how many things just break mysteriously... ;>


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpFBqmajnVZy.pgp
Description: PGP signature


Re: kernel 2.4.10 and alsa

2001-10-10 Thread Tommi Komulainen
On Wed, Oct 10, 2001 at 02:46:17PM -0400, Simon Law wrote:
> 
>   Probably not.  You'll be wanting alsa-source from unstable,
> which is at 0.9.  The development version is quite nice compared to
> the stable one.

The only thing that's keeping me back from upgrading to 0.9 is
ALSA-plugin for XMMS.  AFAIK, the one that works with 0.5 is not
compatible with 0.9 and there is no XMMS plugin compatible with 0.9
either.  Feel free to correct me if I'm wrong.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpiYdRGBbvZ2.pgp
Description: PGP signature


Re: 2.4.5 kernel

2001-07-25 Thread Tommi Komulainen
On Wed, Jul 25, 2001 at 08:49:38PM +, ANICHINI Perceval wrote:
>   Hello,
> i tried to put the 2.4.5 kernel on my debian 2.2r3.

Running 2.4 series kernels on potato needs quite a few package upgrades.
More information from the link below.

http://www.fs.tum.de/~bunk/kernel-24.html

HTH.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpPK9GS1HeHm.pgp
Description: PGP signature


Re: NIS problem

2001-07-25 Thread Tommi Komulainen
On Tue, Jul 24, 2001 at 06:35:37PM -0300, Carlos Laviola wrote:
> 
> Jul 24 18:24:48 apache PAM_unix[21531]: check pass; user unknown
> Jul 24 18:24:48 apache PAM_unix[21531]: authentication failure; LOGIN(uid=0) 
> -> claviola for login service
> Jul 24 18:24:51 apache login[21531]: FAILED LOGIN (1) on `tty6' FOR 
> `claviola', Authentication service cannot retrieve authentication info.
> 
> Note that I've read, re-read, searched Google, and done just about everything
> I could to make sure there was nothing wrong here. I compared my config
> with at least a couple of other NIS clients, which are working perfectly.
> 
> Any ideas?

Does 'ypcat passwd' work?  If not, ypbind or portmapper could be stuck
or something, try restarting them:  (If you restart portmapper you also
need to restart everything that uses portmapper, like NFS.)

/etc/init.d/nis stop
killall ypbind (sometimes they refuse to die)
/etc/init.d/portmap restart
/etc/init.d/nis start


HTH.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp6HewOFcflB.pgp
Description: PGP signature


Re: [OT] quick CVS question

2001-06-14 Thread Tommi Komulainen
On Wed, Jun 13, 2001 at 10:16:43PM -0400, Noah L. Meyerhans wrote:
> I thought I found the answer to this question a while back, but I either
> misplaced it or was mistaken.
> 
> Basically what I need to do is create symlinks on a source check out.
> The repository contains a file foo, and I need a symlink bar -> foo.  Is
> there any way to ensure that this link is created every time the source
> tree is checked out?

How about if you just made the symlink and commited it into the
repository?

cvsbook, administrative files, config:

   * PreservePermissions (default: `=no') - If `yes', CVS tries to
 preserve permissions and other special file system information
 (such as device numbers and symbolic link targets) for files.  You
 probably don't want to do this, as it does not necessarily behave
 as expected. (See the node `Special Files' in the Cederqvist
 manual for details.)

So basically it should work if you just put "PreservePermissions=yes" in
CVSROOT/config, make the symlink in your checkout dir and commit as
usual.

I didn't actually try this, but I believe the docs are correct... :)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpbPa2IOIvnz.pgp
Description: PGP signature


Re: Caching-only nameserver - which bind

2001-05-26 Thread Tommi Komulainen
On Sat, May 26, 2001 at 12:40:39AM -0400, Paul Wright wrote:
> Hi all,
> 
> I'm about to configure a caching only nameserver for my dialup box, and I 
> noticed that there are two variants of the bind package available, bind 
> and bind9.  I know that the bind package is version 8.x
> 
> Which version should I use?

If caching is all you need, there are better alternatives.  Some are
even specifically meant for dialup hosts, but unfortunately I can't
remember any of those by name.  I'm not too sure if any of those is even
packaged, but we'll always have freshmeat.net. :)

I'd say djbdns is a good choice too.  It's more efficient since if all
you want is a caching only nameserver, then all you run is a caching
only nameserver, not a full-blown nameserver with all
master-slave-dnssec-dynamic-updates -features disabled.

It's configuration is totally different from bind, though, but not
difficult.  And you'll also need to compile it yourself as it's license
doesn't allow distributing modified binaries, which are required to make
it follow the filesystem hierarchy used in debian.

If I didn't manage to scare you away already, install djbdns-installer
package and see where it takes you.  You'll also need to install
daemontools(-installer) as djbdns uses a somewhat different method from
/etc/init.d -scripts to start.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpLmwkOQu03n.pgp
Description: PGP signature


Re: line numbers in code

2001-05-26 Thread Tommi Komulainen
On Fri, May 25, 2001 at 08:59:48PM +0100, john gennard wrote:
> I'm having to look for certain lines in code and have been doing so
> by laboriously counting down the program. As many error messages
> make reference to line numbers, I feel sure there must be a simple
> way to locate say 'line 1267' How do people go about this?

Since you mentioned error messages, I'm assuming you get those while
compiling, eg. running make.[1]  Some editors, at least vim and emacs,
support compiling directly from within them.  Should you receive any
errors during the compile, the cursor will be automatically moved on the
right line in the right file!

In vim the command is :make, in emacs M-x compile.  Help for those
commands will tell you more.


1. If you are not running make, but gcc directly, then I suggest you
   make a small Makefile, it'll usually pay off if you compile often.

-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpCd5taAVGO6.pgp
Description: PGP signature


common configuration for gazillion browsers

2001-05-19 Thread Tommi Komulainen
On Thu, May 17, 2001 at 12:58:36PM -0700, Karsten M. Self wrote:
> 
> It's already got a name:  Standard Web Proxy Interface (SWPI):
[...]
> ...from Rick Moen Wednesday on linux-elitists.

... and all I was thinking about was how to point my browsers to the same
proxy in the first place.  Sounds cool, though.

What I am hoping for, is some way to gather all common options for
web-browsers in one place such that I don't have to re-enter the same
options over and over again when I like to try a new browser.  Such
options include proxies, fonts, colors, MIME-handlers, homepage,
bookmarks, cookies, SSL-certificates and maybe some others I now fail to
remember.

And of course this annoyance is not limited to browsers.  The same rituals
awaits when one tries a new mail/news reader, what mail folders you use,
what mail/news servers (environment variable can hold only one), scoring,
address book, keybindings, etc.

Organizing configuration by functionality instead of applications might
help, but I'm not even pretending to understand all the aspects.
Intuitively it would just feel like the right way.


> I'm arguing fonts in another list right now, the idea of proprietary,
> controlled-distribution fonts in an environment which parks rendering on
> desktops, many of which are governed by free software rules, is broken.

Umm, could you rephrase that so that I could understand it with my limited
understanding of english?  Something about applications controlling
themselves what fonts they use is bad...?


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgptjapaX6URL.pgp
Description: PGP signature


Re: galeon - skipstone?

2001-05-17 Thread Tommi Komulainen
On Thu, May 17, 2001 at 11:39:46AM -0700, Francois Gouget wrote:
>I can't help for cookies. But for bookmarks, I long ago decided to
> write an html file with all by bookmarks and use it as my home page. At
> the time I did it to share them between IE and Netscape but the
> principle is universal.
>It also lets me move my bookmarks from one machine to another just by
> copying a file. It's just a bit harder to add a new bookmark.

I know, I tried that once, but adding a bookmark is a real PITA, as is
editing them.  Of course it's doable, but far away from being as simple as
few clicks in the browser.

And actually you don't even have move your bookmarks, just put the
bookmark file in your homepage somewhere.

A little browsing brought XBEL¹ to my attention.  Now it looks like
exactly the solution I was looking for.  Unfortunately it seems that only
Konqueror supports that format natively, galeon uses also XML but in some
internal format, AFAICT.

I think I will take a look at how to adjust galeon to use XBEL natively
too, as soon as I have the time.  Maybe someone is willing to define a
common format for cookies. :)

Hmm, now that I started thinking about it, a lot of browser configuration
could be collected in one place.  How many times have you cursed at the
different default fonts in different browsers?  Or the proxy settings?
(I have http_proxy environment variable set, but sometimes it looks like
browsers that provide their own configuration variables for proxies,
ignore it altogether.)

Too much work for a quick hack, any takers? :)


1. The XML Bookmark Exchange Language, 
   http://pyxml.sourceforge.net/topics/xbel/

-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp2Wrid25tCj.pgp
Description: PGP signature


galeon - skipstone?

2001-05-17 Thread Tommi Komulainen
On Thu, May 17, 2001 at 03:31:14AM -0800, Ethan Benson wrote:
> triggered.  i have found mozilla 0.9 + galeon 0.10.6 to be the most
> stable (and *fast*) combo yet.

Have you tried skipstone?  It feels slightly faster, I'm uncertain about
the relative stability though.  Sadly it lacks some eye-candy :)  And the
keybindings are different from galeon/mozilla, slightly annoying.

Hmm, now how on earth can I get all my cookies and bookmarks shared among
all (mozilla, galeon, skipstone, konqueror, w3m) browsers..?
Import/Export is really not an option anymore :-/


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpVTW07mqWxe.pgp
Description: PGP signature


Re: galeon crashes when running as user

2001-05-17 Thread Tommi Komulainen
On Thu, May 17, 2001 at 04:35:02AM -0800, Ethan Benson wrote:
> i tried applying blizzards patch as i found it in bugzilla but mozilla
> then failed to compile.  apparently the one in bugzilla is broken, and
> im not downloading 30MB of src.rpm crap to see whats in there...

Do you mean this patch?  This one has one trivial typo fixed (gtk -> gdk
somewhere in there.)  galeon works great.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6
Index: gtkmozarea.c
===
RCS file: /cvsroot/mozilla/widget/src/gtksuperwin/gtkmozarea.c,v
retrieving revision 1.3
diff -u -r1.3 gtkmozarea.c
--- gtkmozarea.c2001/05/03 12:04:53 1.3
+++ gtkmozarea.c2001/05/05 19:27:12
@@ -25,6 +25,7 @@
 static void gtk_mozarea_unrealize  (GtkWidget   *widget);
 static void gtk_mozarea_size_allocate (GtkWidget*widget,
GtkAllocation *allocation);
+static void gtk_mozarea_destroy(GtkObject   *object);
 
 static void
 attach_toplevel_listener(GtkMozArea *mozarea);
@@ -85,6 +86,8 @@
   widget_class->unrealize = gtk_mozarea_unrealize;
   widget_class->size_allocate = gtk_mozarea_size_allocate;
 
+  object_class->destroy = gtk_mozarea_destroy;
+
   parent_class = gtk_type_class(gtk_widget_get_type());
 
   /* set up our signals */
@@ -112,6 +115,7 @@
 {
   mozarea->superwin = NULL;
   mozarea->toplevel_focus = FALSE;
+  mozarea->toplevel_window = NULL;
 }
 
 static void 
@@ -179,6 +183,22 @@
 }
 }
 
+static void
+gtk_mozarea_destroy(GtkObject *object)
+{
+  GtkMozArea *mozarea;
+
+  g_return_if_fail(GTK_IS_MOZAREA(object));
+  
+  mozarea = GTK_MOZAREA(object);
+
+  /* remove the filter on the toplevel window */
+  gdk_window_remove_filter(mozarea->toplevel_window, toplevel_window_filter,
+   mozarea);
+
+  GTK_OBJECT_CLASS(parent_class)->destroy(object);
+}
+
 GtkWidget*
 gtk_mozarea_new (GdkWindow *parent_window)
 {
@@ -220,6 +240,10 @@
  automatically be removed. */
 
   gdk_window_add_filter(gdk_window, toplevel_window_filter, mozarea);
+
+  /* save it so that we can remove the filter later */
+
+  mozarea->toplevel_window = gdk_window;
 }
 
 /* this function will try to find the real toplevel for a gdk window. */
Index: gtkmozarea.h
===
RCS file: /cvsroot/mozilla/widget/src/gtksuperwin/gtkmozarea.h,v
retrieving revision 1.2
diff -u -r1.2 gtkmozarea.h
--- gtkmozarea.h2001/05/03 12:04:53 1.2
+++ gtkmozarea.h2001/05/05 19:27:12
@@ -39,6 +39,9 @@
   GtkWidget widget;
   GdkSuperWin *superwin;
   gboolean toplevel_focus;
+
+  /* store away the toplevel window */
+  GdkWindow *toplevel_window;
 };
   
 struct _GtkMozAreaClass


pgpv2GxLfeEWS.pgp
Description: PGP signature


Re: openldap?

2001-05-16 Thread Tommi Komulainen
On Wed, May 16, 2001 at 01:36:41PM -0600, Robert L. Harris wrote:
> 
> 
> How do you disable the SASL?  The library was installed by default
> when I installed slapd.

I'm not sure if you can, otherwise than recompiling the package.  Just get
used to the -x option, until you get SASL running.  Oh, and when you do,
please let me know how :)


> I did do the "ldapdadd" command again with the -x, put in my pass
> and it returned a diff error,  "invalid credentials"... 

Ah, I read the first post too hastily, just saw the SASL thing first.
This time your problem is that you're trying to add your userid in the
LDAP and authenticating yourself as that user..  Chicken or egg, anyone?

Try using the admin account when adding the ldif, uid=admin,ou=People,
  dc=your_subdomain, etc...


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpHQf2NjimGh.pgp
Description: PGP signature


Re: openldap?

2001-05-16 Thread Tommi Komulainen
On Wed, May 16, 2001 at 01:16:22PM -0600, Robert L. Harris wrote:
> but...
> {0}:vampire:/etc/ldap>ldapadd -D
> "cn=user1,dc=internal_domain,dc=my_domain,dc=com" -W < /home/user1/ldif 
> Enter LDAP Password: 
> ldap_sasl_interactive_bind_s: No such attribute
   

You know SASL?  I don't, I use simple bind (-x) option to ldapadd and
others.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp4ucCBQAqG9.pgp
Description: PGP signature


Re: openldap?

2001-05-16 Thread Tommi Komulainen
On Wed, May 16, 2001 at 11:59:16AM -0600, Robert L. Harris wrote:
> 
> Has anyone installed the openldap package slapd?  I'm trying to get it
> configured and running.

For me the the whole installation was 'apt-get install slapd' and
answering a few questions.  It just worked (like everything else, in
general.)  I am running sid, I can't really remember what the version in
potato was like...

Being paranoid about security, I additionally removed root privileges from
slapd manually.  It's straightforward but I'm not actually sure if I
haven't broken anything by doing so.  I really should use it more often. :)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp7VizEuZS0g.pgp
Description: PGP signature


Re: Compiling Galeon

2001-05-16 Thread Tommi Komulainen
On Wed, May 16, 2001 at 10:56:14AM -0500, Stephen E. Hargrove wrote:
> 
> however, dpkg -l *vfs* shows that gnome-vfs is installed:
> ii  libgnome-vfs0   1.0-2
> 
> what do i need to do in order to get the configure script to see my
> lignome-vfs?

Rule of thumb: if running a program needs package libsomething, then
compiling the same program needs libsomething-dev.

Though, the library version number or whatever, slightly breaks the rule
sometimes, in this case install libgnome-vfs-dev.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpbddxCfZa6V.pgp
Description: PGP signature


Re: perl: bad interpreter

2001-05-14 Thread Tommi Komulainen
On Mon, May 14, 2001 at 10:15:12AM +0200, Florian Petri wrote:
> Hi!
> 
> I have got a problem with perl and one skript... 
[..]
> nuntius:~/dynip-client$ ./dynip-client.pl
> bash: ./dynip-client.pl: bad interpreter: No such file or directory
[..]
> --- ./dynip-client.pl ---
> #!/usr/bin/perl

That script may be having CRLF instead of LF as line terminators.  Thus,
the interpreter it tries to load is '/usr/bin/perl\r', which naturally
doesn't exist.

Try to remove the spurious CR's from the script, for example with
"tr -d '\r' < dynip-client.pl > tmp"  If tmp is slightly smaller, there's
a good chance it'll work too ;)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpelLCCLAYZw.pgp
Description: PGP signature


Re: mutt, email and ssl: SSL is unavailable.

2001-05-13 Thread Tommi Komulainen
On Sun, May 13, 2001 at 02:08:18AM -0700, Erik Steffl wrote:
>   this is what package description says:
> 
>   o Advanced IMAP client supporting Kerberos authentication (and in some
> situations SSL encryption).

Emphasis on the phrase 'some situations.'  More specifically it means
rebuilding the package, you'll need dpkg-dev package for it.

Get the source with 'apt-get source mutt', cd mutt-$version, edit
debian/rules, you can't miss the SSL part :)  Build the package with
'dpkg-buildpackage -us -uc -i' and install.

Putting mutt on hold or increasing the debian release number in changelog
(from 1.3.19-1 to 1.3.19-1.1 for example) will help apt not to re-install
non-SSL version next time you upgrade...

Though, once policy allows crypto in main, this will hopefully not be
necessary anymore.  Though, I'm not completely was this, or some licensing
issue, the reason for not enabling SSL by default.  Oh well...


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpqhTX4U4jk2.pgp
Description: PGP signature


Re: openldap slapd.conf trouble (or: a nitwit deleted my conf)

2001-05-11 Thread Tommi Komulainen
On Fri, May 11, 2001 at 10:56:22AM -0500, jereme wrote:
> 
>Thanks for the help, it is truly appreciated.  

Umm, what help? I didn't do much good, I see :)
Please, let others see this progress (err, what?) as well, I'm CC'ing this
back to debian-user.


> I am unsure how to add these entrys.  I have been working through the
> openldap docs, but am having little luck.

ldif looks good, you're on the right track.


> following your suggestion, (trying :) i attempted:
> 
> merlin:/tmp# cat out 
> dn: dc=restorative-management, dc=com
> objectclass: dcObject
> merlin:/tmp# 
> merlin:/tmp# 
> merlin:/tmp# ldapadd  -h localhost -f /tmp/out 
> adding new entry dc=restorative-management, dc=com
> ldap_add: Already exists
> ldap_add: additional info: root DSE exists

Last time you started too low in the tree, this time you got too high (the
node already exists), I guess...  Though, I don't know what that 'root
DSE' really is.

Try creating the 'ou=People' node now.  As you seem to have it's parent
present already, it should work:

dn: ou=People, dc=restorative-management, dc=com
objectclass: top
objectclass: organizationalUnit

(or something like that.. it's been a while)


May I also suggest you take a look at 'gq', it looks very capable, once
you get to know the interface.  Below's from 'apt-cache show gq':

Description: GTK-based LDAP client
 GQ is GTK+ LDAP client and browser utility. It can be used
 for searching LDAP directory as well as browsing it using a
 tree view. Features include:


Current version is 0.4.0 (in sid), but if you grab the sources i
(http://biot.com/gq/), it compiles nicely on potato as well.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpxcWIlqlWMk.pgp
Description: PGP signature


Re: openldap slapd.conf trouble (or: a nitwit deleted my conf)

2001-05-11 Thread Tommi Komulainen
On Fri, May 11, 2001 at 08:18:46AM -0500, jereme wrote:
>When i try to add this entry i get:
> 
>merlin:/tmp# ldapadd -h localhost -f /tmp/test_ldap_entry
>adding new entry cn=jereme, ou=People, dc=restorative-management, dc=com
>ldap_add: No such object

Do you have 'ou=People, dc=...' already present in the LDAP tree?  I'm
thinking you can't create a node unless the parent node already exists.

My guess is that you need to create nodes 'dc=com',
'dc=restorative-management, dc=com' and 
'ou=People, dc=restorative-management, dc=com' before you can add yourself
in the tree.

But I'm no expert, correct me if I'm wrong...


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp7SmoGrF0oC.pgp
Description: PGP signature


Re: Test existence of shell variable, bash, csh

2001-05-06 Thread Tommi Komulainen
On Sat, May 05, 2001 at 07:25:35PM -0700, Karsten M. Self wrote:
> on Sun, May 06, 2001 at 02:22:40AM +0300, Tommi Komulainen ([EMAIL 
> PROTECTED]) wrote:
> > 
> > if test "${LANG+set}" = set; then LANG=C; export LANG; fi
> 
> Close, but not quite.  It's probably the nearest thing to a winner I've
> seen posted though.  And you just edged out Alan's suggestion of an
> equivalent but opposite test.

Umm, you wanted to test if a variable is set, the test does exactly that,
not the opposite.


> The possible problem"  "*null or* unset".  An existing, but null,
> environment variable will be reported as unset.

hrmpf, I *know* I should've emphasized the following the first time:

> >arithmetic  expansion.   When  not  performing   substring
> >expansion,  bash  tests  for  a parameter that is unset or
> >null; omitting the colon results in  a  test  only  for  a
 
> >parameter that is unset.
   


> It's possible to create a null environment variable, e.g.:
> 
> $ foo=
> $ echo $foo
> 
> $ echo ${foo:-unset}
> unset

Let's see...

$ foo=
$ echo $foo

$ echo ${foo-unset}

$ echo ${foo+set}
set
$ unset foo
$ echo ${foo-unset}
unset
$ echo ${foo+set}

$


RTFQ ;>


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgph4RgNVPza9.pgp
Description: PGP signature


Re: Test existence of shell variable, bash, csh

2001-05-05 Thread Tommi Komulainen
On Sat, May 05, 2001 at 02:34:47PM -0700, Karsten M. Self wrote:
> 
> In contrast, csh and derivatives have:
> 
>$?MYVAR
> 
> ...which allows testing of presence of a variable.
> 
> ...but I'm not aware of a similar bash/korn/bourne feature.  Anyone?

Coming soon to ./configure scripts near you:

if test "${LANG+set}" = set; then LANG=C; export LANG; fi

or in your case:

if test "${MYVAR+set}" = set; then
echo "MYVAR doesn't exist"
else
echo "MYVAR exists, value: $MYVAR"
fi


also available in bash(1): 

   In each of the cases  below,  word  is  subject  to  tilde
   expansion,  parameter expansion, command substitution, and
   arithmetic  expansion.   When  not  performing   substring
   expansion,  bash  tests  for  a parameter that is unset or
   null; omitting the colon results in  a  test  only  for  a
   parameter that is unset.

   ${parameter:+word}
  Use Alternate  Value.   If  parameter  is  null  or
  unset, nothing is substituted, otherwise the expan­
  sion of word is substituted.
 

Since it is used in configure scripts, I'd guess it's pretty portable.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpM8HCHBVNKQ.pgp
Description: PGP signature


Re: Proper use of cvs

2001-04-24 Thread Tommi Komulainen
On Tue, Apr 24, 2001 at 12:06:58PM +0800, csj wrote:
> I managed to download some source trees using cvs (five different 
> programs in fact). None of them would compile successfully. Note that 
> these are sources of programs whose latest ftp/http sources all 
> compiled smoothly (give and take a one-line tweak). Any idea what I'm 
> doing wrong? Or is cvs supposed to be a developers-only tool, off 
> limits to mere mortal users?

I'd say, CVS is more a developers tool.  You usually do need some
additional development software to successfully build a CVS tree.  Or to
get the compiling started in the first place even.

For example, when you get a source tarball, it contains a configure
-script, CVS source tree doesn't.  It's simply because that script can be
generated from another, more human readable script, configure.in.  There
is hardly any point in keeping files in CVS that can be easily
re-generated.  And if you've ever tried reading a diff between two
configure.in's and their configure counterparts, you'll understand why.

Back to your question.  Assuming the CVS sources use the usual auto-tools,
you need to install (at least) automake, autoconf and aclocal to get it
compiling.  How to use those tools properly for the source tree should be
documented somewhere.  Usually there's a autogen.sh or prepare -script
that does it for you.

And there is always the possibility that the code in the CVS tree requires
that you have CVS version of something else installed.  Again, it should
be documented somewhere, if not anywhere else, the output of configure
script should indicate if you have something missing.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpzAGZMEnhF5.pgp
Description: PGP signature


Re: where to find ttmkfdir?

2001-04-23 Thread Tommi Komulainen
On Sun, Apr 22, 2001 at 11:06:17PM +0100, Colin Watson wrote:
> "Michael P. Soulier" <[EMAIL PROTECTED]> wrote:
> >Hey people. Truetypes in X 4.0.2 apparently require ttmkfdir, but I can't
> >find it in unstable anywhere. I can grab it from elsewhere, but is there a
> >reason that this isn't packaged in?
> 
> It seems to be mkttfdir instead, in the fttools package.

No, they are not equal.  I noticed that mkttfdir couldn't produce
fonts.dir for some fonts, but ttmkfdir could.  I don't know if it works
the other way around for some fonts.

Anyway, you can find ttmkfdir at

http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz

(the first and only link you get when you search for ttmkfdir in
freshmeat)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpHAoxwBh6YO.pgp
Description: PGP signature


Re: stream manipulation with time

2001-04-15 Thread Tommi Komulainen
On Sun, Apr 15, 2001 at 12:06:01PM -0400, Mark Hurley wrote:
> Correct me if I'm wrong.  ntp allows receiving (setting host computer
> time/date) and broadcasting (a lot of options) of date/time to
> internal (or external) lan.
> 
> ntpdate ONLY acts as a client.  Setting the (host) with the correct
> date/time.

That is correct.  ntpdate is a single-shot client, it fetches the time (or
calculates an average from a few tries) and sets the time.  Nothing fancy.

Once the time is approximately correct[1], ntpd is run and it periodically
checks the upstream ntp servers for the correct time and adjusts the local
clock accordingly.

And the same ntpd can be used as a local 'proxy' for other clients to
synchronize against.  You can even run ntpd in peer-to-peer fashion, just
to keep the clocks relatively correct.[2]


[1] ntpd refuses to start if the time difference between local clock and
ntp server(s) is too large
[2] Ok, I cheated too, I haven't run ntpd in peer-to-peer mode, but the
docs said so... :)

-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpVADOnKPTaK.pgp
Description: PGP signature


Re: stream manipulation with time

2001-04-15 Thread Tommi Komulainen
On Sun, Apr 15, 2001 at 04:44:42PM +0200, Sebastiaan wrote:
> Hi,
> 
> I have two computers and I want to set the time on computer 1 the time of
> computer 2 minus 1 (I need this because I run root over nfs, and I do
> not like 'modification in future' warnings). 

May I suggest you use ntp or ntpdate instead.  They keep the time nicely
synchronized, no time lapse either way.


> Is there someway to bypass this, or a better method to do this so I only
> have to call 'date' once?

How about: date --set --date 'now + 121 seconds'? *g*


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp4uyLfCg8ei.pgp
Description: PGP signature


Re: OT: Mozilla: font size setting for toolbars, sidebar etc.?

2001-04-15 Thread Tommi Komulainen
On Sun, Apr 15, 2001 at 01:48:56PM +0200, Mario Vukelic wrote:
> Hi,
> 
> sorry for being OT and stupid, but I can't find the place in mozilla
> where I can change font sizes for mozilla itself, i.e. not font sizes
> for displayed webpages, but for stuff like toolbars, sidepanel etc.
> Maybe someone can give me a quick pointer.
> 
> Thanks in advance, M.

Through stylesheets.  I can't remember where I read about it, but I have
put the following in my ~/.mozilla/default/*/chrome/userChrome.css:

button, menubutton, menulist, menu, menuitem, tab, .button-toolbar {
font-size: 11px !important;
}

I'm sure there's documentation for available keywords somewhere... :)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgprTGcfIs6BJ.pgp
Description: PGP signature


Re: dump fdisk data to TXT file

2001-04-13 Thread Tommi Komulainen
On Thu, Apr 12, 2001 at 03:23:51PM +0200, Russell Coker wrote:
> Is there a program in Debian to dump the fdisk data to a file?
> 
> I would like to do `fdisk-dump /dev/hda > /etc/hda.fdisk` so that if the 
> partition table gets corrupted I can do
> `fdisk-restore /dev/hda < /etc/hda.fdisk` .  Is there any software in Debian 
> that allows such operations?

You can save the output of 'fdisk -l' but it can't be automatically
restored, AFAIK.  For full automation, try sfdisk.  I haven't used it, but
the manpage looks promising.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpxVXxjYhDme.pgp
Description: PGP signature


Re: Disable screensaver

2001-04-13 Thread Tommi Komulainen
On Fri, Apr 13, 2001 at 01:55:48PM +0200, Ales Jerman wrote:
> How to disable default X screensaver?
> I don't want it to turn the monitor off, after few minutes, how to set
> this?

Annoyed when the screen blanks while you're watching a movie? ;-)

The first disables the screensaver (blanking), the latter disables power
saving (power off and such):

xset s off
xset -dpms

And if you run xscreensaver or somesuch, you need to disable it as well.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpsw4uxNkWh7.pgp
Description: PGP signature


Re: Where to put hdparm to be activated at boot time?

2001-04-12 Thread Tommi Komulainen
On Thu, Apr 12, 2001 at 12:34:14PM +0300, [EMAIL PROTECTED] wrote:
> Hello,
> 
> What is the preferred file for hdparm to be activated at boot time?

I've written my own /etc/init.d/hdparm script, that should be quite
general and safe.  See bug #87451 for details.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpCdMx62ATc7.pgp
Description: PGP signature


Re: LDAP & SASL

2001-04-01 Thread Tommi Komulainen
On Sun, Apr 01, 2001 at 03:59:38PM +0200, Waldemar Brodkorb wrote:
> But:
>  ldapsearch "objectclass=*"
>  ldap_sasl_interactive_bind_s: Can't contact LDAP server
>  
> Any ideas what to do?
> Do I have to configure SASL correctly? 

No, you can run "ldapsearch -x" to use simple bind, without SASL. (The way
openldap v1 used to work.)


> Where's a good documentation to LDAP & SASL?
> sysadmin.html & RFC  is not very understandable for me.

I have absolutely no idea.  I tried to get SASL authentication working
myself at one time, but I didn't have much luck due to the lack of
documentation.

There is /usr/sbin/saslpasswd, but it seems to require root privileges for
changing passwords..  The realms are beyond me though.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpXwRpzJlFU8.pgp
Description: PGP signature


Re: what plays avi videos on linux?

2001-03-29 Thread Tommi Komulainen
On Thu, Mar 29, 2001 at 05:38:06PM +0200, Richard Höchenberger wrote:
> > >>>>> "Robert" == Robert Voigt <[EMAIL PROTECTED]> writes:
> > 
> > aviplay
> > 
> > http://divx.euro.ru/
> > 
> 
> Or try XMMS with the AVI-plugin: http://www.xmms.org

No thanks..  MPlayer it is, http://mplayer.sourceforge.net/

Besides, the avi-plugin needs avifile, MPlayer doesn't.  They all need the
Windows codecs though...


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpm0WnYGC7M9.pgp
Description: PGP signature


Re: nslookup missing

2001-03-29 Thread Tommi Komulainen
On Thu, Mar 29, 2001 at 10:47:54AM +0200, dko wrote:
> i have the unstable on my station
> when i install dnsutils, it says dnsutils doesn't exist anymore and rblcheck
> host replace it.
> i installed rblcheck and host but i'm still unable to launch nslookup

Note that replace != provide.  You will get the same functionality from
host, but the command line interface, and thus the binary, is different.
Try, for example, 'host www.debian.org'.

nslookup is deprecated, at least that's what it keeps telling me.  Better
use host or dig instead, I am yet to find something I can't do with host
but was able to do with nslookup.


> which package contain nslookup ?

% dpkg -S nslookup
dnsutils: /usr/bin/nslookup

% dpkg -l dnsutils
ii  dnsutils   9.1.0-3    Clients provided with BIND


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpXczjwCCYVb.pgp
Description: PGP signature


Re: Tripwire.

2001-03-25 Thread Tommi Komulainen
On Sun, Mar 25, 2001 at 12:04:19AM -0800, Tim Uckun wrote:
> Is anybody aware of a tripwire package for debian? If not is there a 
> similar software I can use instead.

Aware?  Errr, a trick question?  Have you tried apt-cache search?

Package: tripwire
Section: non-US
Version: 2.3.0.50-1
Description: A file and directory integrity checker.

Package: tripwire
Section: non-free/admin
Version: 1.2-16.1
Description: A file and directory integrity checker.

 Tripwire is a tool that aids system administrators and users in
 monitoring a designated set of files for any changes.  Used with
 system files on a regular (e.g., daily) basis, Tripwire can notify
 system administrators of corrupted or tampered files, so damage
 control measures can be taken in a timely manner.


You are propably missing non-free and/or non-US from your sources.list.

An alternative would be aide, that's available at least for sid.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpL7dLYxm5UY.pgp
Description: PGP signature


Re: Can't get remote X clients to display on Debian machine

2001-03-24 Thread Tommi Komulainen
On Fri, Mar 23, 2001 at 09:36:19PM -0500, Stan Brown wrote:
> xhost +
> rlogin remote_machine
> export DISPLAY=debiab_box
> run_x_task
> 
> And I get "can't connect" errors.

Don't do that.  'xhost +' and rlogin are security holes just waiting for
someone to crawl in.  Easiest way to do the same thing, safely, would be 

ssh -X remote_machine run_x_task

You need to have non-US entries in the sources.list to get ssh.


> What's going on here?

If you use xdm or equivalent, it starts the X server with '-nolisten tcp'
which prevents everyone from accessing it from the network.  It doesn't
affect ssh X-forwarding, you can still use ssh like I described above.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpBwfIHHNV5L.pgp
Description: PGP signature


Re: Pool administration

2001-03-22 Thread Tommi Komulainen
On Thu, Mar 22, 2001 at 10:50:07AM +0100, M G Berberich wrote:
> At the moment we have connected stand-alone-systems sharing some
> resources via nfs and nis. From a users view this is O.K. but from
> administrators view it is not. Package-installations/upgrades and
> configuration has to be done on every machine.
> I'm thinking about
> 
> - automatic installation/upgrades of packages on _all_ machines.
>   without the need to ssh into every machine by hand.
> - centralised configuration (nfs-mounted config-files, ...)

I am just in the middle of setting up something quite similar to this.
We chose to rsync the configuration files, but NFS would work just as
well.  Automatic upgrades are made with a cronjob running apt-get update
+ upgrade with noninteractive debconf frontend.

For package installations/removals I wrote a small script that converts a
command-line like 'install galeon evolution' to it's dpkg-selections
equivalent:

galeon  install
evolution   install

This list is then fed to dpkg --set-selections on each host, followed by
apt-get dselect-upgrade which does the actual installation or removal.  I
know this is not perfect, but quite painless... until you really do need
to make host-specific configurations.

rsync and the package installer both use SSH with preinstalled,
restricting SSH key so that they are relatively safe.

If you have any comments about this approach, I would love to hear them.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgplLYx7sHZZL.pgp
Description: PGP signature


Re: How to kill PAM messages on the console

2001-03-17 Thread Tommi Komulainen
On Sat, Mar 17, 2001 at 01:39:14AM -0500, Mike wrote:
> Just recently, I started getting these messages appearing on the console,
> about every half hour.  They also appear in /var/log/auth.log
> 
> PAM_unix[18768]: (cron) session opened for user mail by (uid=0)
> 
> Any ideas on how can I get these things to quit showing up on the console? 
> I've read all of the PAM docs I can find, with no clue whatsoever.  I'm
> stumped.
> 
> Oh yeah - I'm running unstable, kernel 2.4.2

sysklogd in unstable was just recently split into two packages, sysklogd
and klogd.  Did you install klogd afterwards?  Though I don't see how
kernel logging is related to PAM, but that's something you could try.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpxknEISSed3.pgp
Description: PGP signature


Re: Where is nslookup?

2001-03-16 Thread Tommi Komulainen
On Fri, Mar 16, 2001 at 04:46:26PM -0700, Eric Richardson wrote:
> Do I need dnsutils or are dig and host in some other package?

dig is in dnsutils, host is, surprise surprise, in host package =)


(at least on sid, hope this applies to potato as well)

-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpDlna1Yj8bK.pgp
Description: PGP signature


Re: Where is nslookup?

2001-03-16 Thread Tommi Komulainen
On Fri, Mar 16, 2001 at 04:06:43PM -0700, Eric Richardson wrote:
> Hi,
> I'd like to have nslookup. I installed and updated Debian 2.2. Any help
> would be appreciated.

As a side note, nslookup is deprecated[1], you might want to learn to use
host and dig instead.  I've found host quite handy in fact, most of the
times I only want to know hostname matching an IP and vice versa, and host
is the perfect tool for that.


[1] Starting from BIND9 nslookup tells this to you itself when you run it,
though I've got the impression it's been deprecated even longer.

-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp1qmtVm7pnX.pgp
Description: PGP signature


Re: OpenSSH public key auth

2001-03-15 Thread Tommi Komulainen
On Thu, Mar 15, 2001 at 11:48:54AM -0500, Juergen Fiedler wrote:
> Hi!
> 
> I am running unstable with OpenSSH_2.5.1p2 installed. Now I am trying 
> to connect to a machine that is running Redhat 6.2 with SSH 2 from 
> ssh.com. The regular login works OK, but I am having problems getting 
> public key authentication working. 

Configuring SSH2 is quite completely different than configuring OpenSSH 
(and SSH1 for that matter.) 

What you need to do, is extract your public key from OpenSSH in a format
that SSH2 recognizes.  Then you just configure ssh2 as it's supposed to be
configured (man sshd on the server.)

ssh-keygen -f ~/.ssh/identity -x > id_ssh.pub
scp id_ssh.pub remote:~/.ssh2/
ssh remote
echo 'Key id_ssh.pub' >> ~/.ssh2/authorization


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpUbK6dIuVoL.pgp
Description: PGP signature


Re: How best to install a TrueType font on Debian?

2001-03-15 Thread Tommi Komulainen
On Wed, Mar 14, 2001 at 07:53:45PM -0500, Jimmy Kaplowitz wrote:
> Hi everyone. I just downloaded a TrueType font (Lucida Sans Unicode) and
> am wondering what's the best way to install that so that everything
> works in the Debian fashion. You know, what's the "official Debian"
> policy-guided (etc.) way to install a TrueType font? What packages do I
> need, what commands do I type, etc.?

I can't say whether this is an "official" way, but I have put my truetype
fonts in /usr/local/share/fonts/truetype[1] -directory, run mkttfdir[2] in
that directory and added the directory in X FontPath.

For XF4, I't sufficient to add 'Load "freetype"' in the Module-section in
XF86Config, but with 3.3.x -versions, you need to use a truetype-capable
font server.

I think that was all there was to it.  At least it works for me...


[1] not in /usr since that's for the package manager, right?
[2] in fttools package

-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpIw1HovGo0E.pgp
Description: PGP signature


Re: nameserver for class CHAOS ?

2001-03-15 Thread Tommi Komulainen
On Thu, Mar 15, 2001 at 09:23:02AM +, Gavin Hamill wrote:
> 
> The most useful thing I can think of for the CHAOS class is the following:
> 
> [EMAIL PROTECTED]:~/test$ nslookup -q=txt -class=CHAOS version.bind. 0
> 
> That'll only work on real nslookup's, which doesn't include the current
> Debian one which complains about being deprecated...

Well, it's time to learn to use 'dig' and 'host' anyway, so:

host -c chaos -t txt version.bind. localhost
dig @localhost version.bind. txt chaos


Besides, 'host' is shorter to type than 'nslookup'... =)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpovqi1dhB7O.pgp
Description: PGP signature


Re: apt-get source -b build directory

2001-03-09 Thread Tommi Komulainen
On Fri, Mar 09, 2001 at 02:33:25PM -0800, Bill Wohler wrote:
>   I just tried `apt-get source -b xmms' and the package was downloaded
>   and built in /etc. Why there? Wouldn't it be better to do it in
>   /usr/src?

apt-get source downloads the source to the current directory.  You
happened to be in /etc when issuing the command, thus the sources got
there as well.


>   If I can't change Debian policy, how can I configure apt-get to
>   download and build in /usr/src? Assuming, of course, that someone
>   convinces me I don't want to do that ;-).

This one I don't know if it's configurable, but if you really feel that
cd'ing to /usr/src manually is too cumbersome, just make a script, say
apt-build:

#!/bin/sh -e
cd /usr/src
apt-get source -b "$@"


With little magic one could also install built packages automatically
in the script...


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpZnPaD8EkCc.pgp
Description: PGP signature


Re: apt-get -b source xmms error

2001-03-09 Thread Tommi Komulainen
On Fri, Mar 09, 2001 at 02:30:26PM -0800, Bill Wohler wrote:
>   When I tried `apt-get -b source xmms' (from sid) on a woody system,
>   I get the following error. What am I doing wrong, or it the xmms
>   package?

My guess is that you need the gettext -package installed to get xmms
properly built.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpjwq37RKzum.pgp
Description: PGP signature


Re: command substitution in a crontab with SHELL=/bin/bash

2001-02-24 Thread Tommi Komulainen
On Fri, Feb 23, 2001 at 08:11:31PM -0900, Britton wrote:
> 
> I am trying to do approximately this in a crontab:
> 
> SHELL=/bin/bash
> 0 8 * * * prog >/tmp/$(date +%s).extension
>
> Anyone have any guesses as to what might be going on here?

Someone hasn't read the manuals...? ;)

man 5 crontab:

Percent-signs  (%) in the command, unless
   escaped with backslash (\), will be changed  into  newline
   characters, and all data after the first % will be sent to
   the command as standard input.


...yes, I was wondering this one myself once. :)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpIamYVlPUeO.pgp
Description: PGP signature


Re: Looking for missing pamlibs....

2001-02-23 Thread Tommi Komulainen
On Fri, Feb 23, 2001 at 09:10:36AM -0600, [EMAIL PROTECTED] wrote:
> Acutally, I found it just the way you suggest and it is installed..
> checking the filesystem for all files that are like "libpam0g-dev" yeilds
> the following without a .so in the bunch :(
> 
> ls -R / | grep -i libpam0g-dev

No no no, not like that. Try this:

% dpkg -L libpam0g-dev
[...]
/usr/lib/libpam.a
/usr/lib/libpamc.a
/usr/lib/libpam_misc.a
/usr/lib/libpam.so
/usr/lib/libpamc.so
/usr/lib/libpam_misc.so
[...]


Though, if you really do have the package installed, I don't know why the
build fails.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpWTIQqZ3od3.pgp
Description: PGP signature


Re: Looking for missing pamlibs....

2001-02-23 Thread Tommi Komulainen
On Fri, Feb 23, 2001 at 08:48:13AM -0600, [EMAIL PROTECTED] wrote:
> what package will provide a lib to resolve the below?
>
> auths/auths.a(call_pam.o): In function `auth_call_pam':
> call_pam.o(.text+0x16e): undefined reference to `pam_start'

Rule of thumb, when compiling stuff from sources, make sure you have
corresponding -dev packages installed. 

You're looking for libpam0g-dev, which you could've found yourself with
the following, for example:

% apt-cache search pam|grep dev 
libpam0g-dev - Development files for PAM
libroxen-cloakingdevice - Mailto mutilation module for the Roxen Challenger web 
server


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpnWDaDTidf5.pgp
Description: PGP signature


Re: where to get woody iso images

2001-02-22 Thread Tommi Komulainen
On Thu, Feb 22, 2001 at 02:11:09PM -0800, Matheson Cameron wrote:
> Hey,
> 
> I was wondering where I could get iso images for
> Debian woody.  I found the potato mirrors, but they
> didn't have 2.3.

AFAIK, there are no official images for woody just yet. After all, it's
still being developed and the distribution is in flux, changing weekly or
so I'd guess.

However, I happened to see someone pasting the following URL in IRC once

ftp://ftp.fsn.hu/pub/CDROM-Images/debian-unofficial

so apparently it contains some third-party images of woody. And since it's
a third-party snapshot, use with extreme caution!


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpQYzsDZ93du.pgp
Description: PGP signature


Re: "Can't open display" problems

2001-02-22 Thread Tommi Komulainen
On Thu, Feb 22, 2001 at 04:46:27PM -0500, Trevor Wood wrote:
> 
> I just upgraded from potato to woody and found that I cannot open my
> display for X apps anymore.  My hostname is MEDESIGN, so I used to set my
> DISPLAY environment variable to MEDESIGN:0.  Now I have to set it to :0.0
> to run local X apps.

Note that when you use ssh, do *not* change the DISPLAY environment
variable once connected to the server if you wish to maintain some degree
of security with your connection. Plain X connections are plaintext and
are even vulnerable for hijacking.


> However, this won't work when I try to run an X application from a remote
> ssh connection.

You need to enable X forwarding both on the server and the client. See
/etc/ssh/ssh_config and sshd_config and look for ForwardX11 keyword.


> This sounds like an embarrassingly stupid problem, but how do I fix it?

Nothing embarassing there, your old ssh was propably replaced with OpenSSH
which has more paranoid default configuration. See above for the fix.


Note that on the contrary to the other suggestion you got, make sure that
you *do* have '-nolisten tcp' passed to your X server. There is absolutely
no need to have it enabled if you use ssh for connecting to other hosts.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpBSYmSsTOif.pgp
Description: PGP signature


Re: Simple Questions

2001-02-18 Thread Tommi Komulainen
On Sat, Feb 17, 2001 at 11:05:19PM -0800, Leonard Leblanc wrote:
> yup the script is executable and works
> 
> I went into the /etc/cron.daily directory and ran it from the command line
> via "./webalizer"

In that script, are you trying to run some program that exists somewhere
else than /bin or /usr/bin?  PATH in cronjobs is set to some default which
does not include ~user/bin for example, maybe not even /usr/local/bin.  If
you wish to use programs in such directories, use absolute paths or set
PATH manually in the beginning of the script.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpEOrf8JMQ0o.pgp
Description: PGP signature


Re: Multicast Problem!!!

2001-02-16 Thread Tommi Komulainen
On Mon, Feb 19, 2001 at 04:40:02PM +0530, [EMAIL PROTECTED] wrote:
> Hello, 
>   I don't know how to join to a multicast 
> group in Linux.
>   My ethernet card is multicast enabled.
>  (from the ifconfig)
>   Could You tell me how to join to a 
> multicast group.
>   Please help me.

Do you have some specific multicast group in mind?  All the applications
that utilize multicast can do it by themselves already, it's only a few
lines of code.  

Or do you want to join a multicast group in your own program?  If so, here
the few lines of code I mentioned.  It's totally untested, lacks all error
checking and such, but should give you the idea.

struct ip_mreq imr;
int sock;
sock = socket(AF_INET, SOCK_DGRAM, 0);
memset(&imr, 0, sizeof(imr));
inet_aton("224.0.0.1", &imr.imr_multiaddr);
setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, &imr, sizeof(imr));


However, if your upstream router does not support multicast routing,
joining a multicast group won't do you much good since you will be limited
to the multicast traffic within your own LAN.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpU1ESW5yrev.pgp
Description: PGP signature


Re: Cat-ting binary files to the console

2001-02-08 Thread Tommi Komulainen
On Thu, Feb 08, 2001 at 11:18:34AM -0600, Benjamin Pharr wrote:
> Every once in a while I slip up at cat a binary file to the console. (Or 
> just forget to give mkisofs the -o flag.)  This causes the console to use 
> WEIRD characters, just plain gibberish.  Is there any way to get rid of 
> this without rebooting?  Thanks!

Typing 'reset' and/or 'stty sane' in the console helps most of the times.
Then there's some echo (echo  maybe) that also resets the
console.

You could also use a shell that doesn't corrupt your display, like zsh. :)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp79T4JUJBgw.pgp
Description: PGP signature


Re: kernel 2.4 & iptables Q

2001-02-08 Thread Tommi Komulainen
On Thu, Feb 08, 2001 at 12:23:50PM +0100, Bostjan Muller wrote:
> Hi!
> 
> I have just compiled 2.4.1 kernel on my potato box and set up iptables
> firewall, but I am having some problems. I used to have a few ipchains
> rules, that contained the -t (tos) flags. Iptables also supports --tos,
> but I cannot make it work.
> A rule with -tos 0x10 returns:
> Bad argument `0x10'

Typo check: '--tos' != '-tos'.. which one did you try?

And you did try something like this, right? That '-m tos' is easy to
forget.

iptables -A INPUT -m tos --tos 0x10 ?


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpIDcx35dEeO.pgp
Description: PGP signature


Re: How to delete a file called "-gzip"?

2001-02-05 Thread Tommi Komulainen
On Mon, Feb 05, 2001 at 11:29:39PM +0100, Kerstin Hoef-Emden wrote:
> I tried
> rm "-gzip" 
> rm ´-gzip´
> rm \-gzip
> 
> None of these worked.
> 
> What is the trick? (There must be one ...)

rm -- -gzip


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp0yuxtpD94x.pgp
Description: PGP signature


Re: Creating a new group

2001-02-05 Thread Tommi Komulainen
On Mon, Feb 05, 2001 at 01:39:22PM -0500, MaD dUCK wrote:
> also sprach Tom Schuetz (on Mon, 05 Feb 2001 10:29:26AM -0800):
> > How do I create a new group?
> 
> man newgrp
> /usr/bin/newgrp 

Uh oh, you'd better follow your own advice and read the manpage.

To actually create a group, one uses addgroup.

man addgroup
/usr/sbin/addgroup 


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpqYtjnCRyv2.pgp
Description: PGP signature


Re: Managing many Debian machines

2001-02-03 Thread Tommi Komulainen
On Sat, Feb 03, 2001 at 01:23:07PM -0500, Daniel Whelan wrote:
> Nice solution...I was looking into creating a dummy package of just the
> config files we needed to install a configuration specific to our setup,
> but this might work as well.

FYI, you can't install two different packages containing the same file(s).
The packages would conflict and apt/dpkg would refuse to install them.


> Question: apt-get is a noticebly interactive program...what kind of
> problems does one run into when running it from a cronjob or the like?

Running apt-get with --assume-yes or --trivial-only parameter should
prevent any questions apt might have. Configuring debconf to use some
non-interactive frontend should avoid any configuration related questions.
I haven't yet tried those in practice though :-/


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpzCn4hYp6Tx.pgp
Description: PGP signature


Re: GRUB - LILO

2001-02-03 Thread Tommi Komulainen
On Sat, Feb 03, 2001 at 05:28:02PM +0100, Matthias Wieser wrote:
> I am interested how I can make GRUB my favorite boot loader.

# cp -a /usr/share/grub/i386-pc /boot/grub
# grub
setup (hd0,0)

That's about it. Use at your own risk and please do read the docs first!
Creating /boot/grub/menu.lst would make the booting less painful.


> Right now make-kpkg wants to run Lilo. I just need to get the files in
> place and GRUB will do the rest, i can change the menu, if necesary by
> hand.

You can disable running lilo on kernel install. See man kernel-img.conf,
the parameters you might find interesting are do_boot_enable and
do_bootloader. I haven't bothered using these just yet, I still keep lilo
around for failsafe :)


> By the way, why are many using Lilo. In my opinion, GRUB does not break
> as easy. Once running, it is good for starting. 

Well, generally "If it ain't broke, don't fix it" applies. People already
have LILO installed and they can boot their system with it, so why bother
messing with a brand new bootloader and possibly making the system
unbootable by accident. At least I studied the documentation quite
carefully before installing grub. Oh, and since grub 0.5.96.1 fails to
install when you use devfs, I even had to patch it first :-P


> Or do I miss an issue about the GRUB?

Well, I can't think of any. It's superior propably in every way, but it's
just too new to be as widely accepted as LILO.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgprpJ2sGcno6.pgp
Description: PGP signature


Re: unstable broken upgrade

2001-02-03 Thread Tommi Komulainen
On Sat, Feb 03, 2001 at 06:15:23AM -0500, Anthony Fox wrote:
> Hi,
> 
> I have an unstable debian box at home.  When doing the last apt-get
> update; apt-get dist-upgrade, I get the following errors:

[lots of cruft clipped]

> (Reading database ... dpkg: error processing
> /var/cache/apt/archives/ae_962-28_i386.deb (--unpack):
>  files list file for package `bonobo' is missing final newline

And here we have the actual error. You might have experienced minor file
corruption, similar things have happened to me too. Quick fix is to edit a
file in /var/lib/dpkg/info/, in this case bonobo.list and to make sure
that the last line ends with a newline.


> How do I get around these errors so that I can continue to upgrade
> my box regularily?

After fixing the file you should be able to continue the upgrade. Just to
be on the safe side, you should reinstall bonobo to get the dpkg database
properly consistent.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpggLt1rfK6q.pgp
Description: PGP signature


Re: Managing many Debian machines

2001-02-03 Thread Tommi Komulainen
On Sat, Feb 03, 2001 at 09:42:47AM +0100, Pietro Cagnoni wrote:
> i love dpkg-repack! you can setup a box, then recreate the .deb with
> your settings, and install it anywhere. (ok, my debian network is four
> machines, so this approach may be worth just 0.02$...)

Ahh, thanks for the tip, I had never heard of such thing before.  My plan
was to make a task-custom-setup package to do the actual modifications in
postinst.

Hmm, it would seem to me that you would need to dpkg-repack packages every
time¹ they get upgraded. Unless you do that before an initial installation,
the customized changes won't be included. Once installed, either way, the
changes persist thanks to the way conffiles are handled.

Anyway, thanks, it's always good to know the alternatives. And you have to
start saving that $1M somewhere... :-)


¹ We will be using sid on some boxes, this is not a real problem with
  potato.

-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpg2ohq80Ao0.pgp
Description: PGP signature


Re: Managing many Debian machines

2001-02-02 Thread Tommi Komulainen
On Fri, Feb 02, 2001 at 01:40:42PM -0500, Daniel Whelan wrote:
> Greetings - I am currently looking for a solution to managing and
> maintaining a large number of Debian machines. While I absolutely love
> apt-get, manually apt-getting a hundred machines to upgrade one piece of
> software is suboptimal. Is there any way to automate this process? One
> solution that has been suggested is to NFS mount some of the software
> off a server - my issue with this is that it would hose the package
> management somewhat. Does anyone have any experience with this?

Hi,

I'll be shortly setting up a network myself, on a smaller scale though,
and I've been wondering about the same thing too. We've been using
NFS-shared /usr partition on a RedHat -based setup for quite some time. It
works, especially when packages place their files only under /usr, but it
messes up the dependencies. 

Now we're renewing our network and the next setup will be Debian-based
(finally!) and our plan now is to get rid of the /usr share. Instead we'll
be synchronizing the hosts to a central package repository by running
apt-get in a cronjob. We'd still be sharing /usr/local via NFS for custom
software, it is not feasible for us to start packaging it.

One thing we haven't fully decided yet is that whether we should keep
network-wide configuration files in /usr/local and replace original files
with symlinks, or should we use rsync or similar to keep every system in
sync. The former has the advantage of making the change instantaneous
while the latter reduces hosts' dependency on the server. Though they'll
still be dependant on /home being NFS shared anyway, that's why haven't
decided it yet.


Note that our network is significantly smaller than yours, we can survive
manual configuration on individual hosts, but you propably can not. The
above is just the conclusion we have come to, it might contain something
you hadn't thought of yet. I would also be very pleased to hear any
comments you might have about our approach.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpGXQb5I3YbU.pgp
Description: PGP signature


Re: silence of the alsa-lambs

2001-02-01 Thread Tommi Komulainen
On Thu, Feb 01, 2001 at 12:18:51PM +0100, [EMAIL PROTECTED] wrote:
> I have also unmuted the cards via the command "amixer set Master 100
> unmute" (don't know if this is the correct command to unmute the sb 16
> cards though) 

Looks OK to me, but I think you need to unmute PCM and CD as well.  You
could try using gamix as it's far more user friendly to use.  Or if you
don't have X but do have OSS emulation, try using aumix.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpWw1ja4lceY.pgp
Description: PGP signature


Re: Cannot get iptables to work in 2.4.1 and compiling question.

2001-01-31 Thread Tommi Komulainen
On Wed, Jan 31, 2001 at 10:49:25AM -0500, seg wrote:
> Hi,
>  
>  I get the error "command not found" when I type "iptables". I know I
>  compiled every "net" option in the kernel (choosed y).  What am I doing
>  wrong? Not much to go on, I know

Installing iptables -package might help...


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp6eb5n1Id2B.pgp
Description: PGP signature


Re: NFS hangups.

2001-01-30 Thread Tommi Komulainen
On Mon, Jan 29, 2001 at 05:34:05PM -0800, Alex Swavely wrote:
> Well, I can't get it to boot up now.
> It gets as far as running exportfs (init.d script nfs-kernel-server) and
> hangs.  When I go to reboot, it hangs up at the same place (where it's
> unexporting), and I'm forced to give it the BRS treatment.

Can you see if portmapper is started prior to any NFS services?
Portmapper needs to be running when nfs-kernel-server is started,
otherwise that kind of freeze is possible. I found that out while
upgrading nfs-kernel-server package once and didn't have portmapper
running...


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpcJ69rjJ4gN.pgp
Description: PGP signature


Re: Can't get a 2.4 kernel to boot.

2001-01-27 Thread Tommi Komulainen
On Sat, Jan 27, 2001 at 02:33:03PM -0500, Adam Read wrote:
> When I try to boot a 2.4 kernel lilo tells me it's booting linux and
> then my machine stops.  No error or panic messages, it just doesn't do
> anything.  I've configured it so nearly everything is modular, and I've
> tried a completly monolitic kernel.  The kernel is correctly configured
> for my hardware.

Are you sure you compiled your kernel for the right architecture/
processor? My guess is that the lockup you described would occur if you
are attempting to boot a kernel compiled for i686 on a 386.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp6XMTwwdN1h.pgp
Description: PGP signature


[OT] Toy Story

2001-01-27 Thread Tommi Komulainen
On Sat, Jan 27, 2001 at 10:41:58AM -0700, Ray Percival wrote:
> And of course if you remember Toy Story Sid was the kid who broke
> toys... :)

YARTTS¹ ... One of these days I have to watch Toy Story myself. Or is
there anything I have missed? =)


¹ Yet Another Reference to Toy Story

-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpPeUVgGeW07.pgp
Description: PGP signature


Re: need help installing unstable

2001-01-27 Thread Tommi Komulainen
On Sat, Jan 27, 2001 at 07:30:07PM +1000, James Sinnamon wrote:
>  Setting up debconf (0.5.49) ...
>  Can't locate warnings.pm in @INC (@INC contains: /usr/lib/perl5
[...]
> 
> 1. Is this just a matter of course?  Do I need  to work my way , slowly
> and laboriously through these sorts of problems if I wish to install  a
> sid/unstable system , or is there l ikely to be a straightforward fix to
> this which would enable me to install all of the packages without too
> much hassle?

I remember seeing similar errors while helping my friend upgrading from
potato to sid. I don't know exactly where the problem lies, but
reinstalling perl-5.6, perl-5.6-base and debconf seemed to fix it for us.
You can't use apt-get just yet, but cd into /var/cache/apt/archives, you
should find all the packages there. Simply install them using
dpkg --install.

Your mileage may vary, though.


> 2. Are there documents somewhere which are specific to installind
> sid/unstable?

The documentation goes like this:

1. Edit /etc/apt/sources.list and replace every occurence of 'potato' or
   'woody' with 'sid' and 'stable' or 'testing' with 'unstable'.
2. run apt-get update
3. run apt-get dist-upgrade

If unstable weren't unstable, you shouldn't have had any problems
whatsoever. Unfortunately this is not the case. Problems come and go as
new packages are added and old ones upgraded, therefore an installation
manual to unstable would always be outdated.

Today there are known problems with perl and debconf, yesterday it was X4,
day before yesterday glibc was fscked, and so on. Tomorrow it could be
dpkg or apt that is broken. 

When woody was 'unstable' there was this following quote:

"This release is currently considered ``unstable''. That means that things
 *will* break if you run it."

Naturally the same quote now applies to sid.

Have fun.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp4CFp4cqZ19.pgp
Description: PGP signature


Re: Mutt and POP3

2001-01-24 Thread Tommi Komulainen
On Wed, Jan 24, 2001 at 09:17:46PM +0100, Hans wrote:
> How do I enable POP3 support in Mutt 1.2.5?

Run ./configure [other options] --enable-pop
There is absolutely no reason to touch the configure-script itself.

Don't expect too much from the POP support, though.  It is widely
recommended to use fetchmail instead, as it is far more comprehensive.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpFyNaRNsRGu.pgp
Description: PGP signature


Re: A good multiserver-IMAP mail client

2001-01-23 Thread Tommi Komulainen
On Tue, Jan 23, 2001 at 10:06:05AM -0600, Rogelio E. Castillo Haro wrote:
> Hi, I'm looking for a mail client for support IMAP and multi accounts,
> Do you know about one? as deb package?

In short: mutt

Don't forget to reserve some time for configuration, though :)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpGwBotAYfMA.pgp
Description: PGP signature


Re: Marking all messages read in mutt?

2001-01-21 Thread Tommi Komulainen
On Sun, Jan 21, 2001 at 03:41:02AM -0600, Michael Janssen (CS/MATH stud.) wrote:
> 
> Hello!  This is a simple question, but my 15-minutes of scouring the web 
> didn't turn up anything, so here goes. 

Umm, why did you search the web, there's quite a lot of documentation with
mutt itself, and even an online help! Next time, try hitting '?' in index
first. :)


> Is there any way to mark all messages in a folder read in mutt? 

You could use read-thread (^R) to mark threads read, one by one, and in
the process read any interesting ones yourself.

Or you can tag all messages ('T'ag messages matching '.') and then use
tag-read-thread (;^R) to mark all threads read at once.


> This function would be particularly useful after coming back to 300+
> mail messages from debian-user after a 2-day break, for example. :)

Wouldn't it be better to read them all? :)


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpNirILUKXOa.pgp
Description: PGP signature


Re: filtering in mutt

2001-01-21 Thread Tommi Komulainen
On Sat, Jan 20, 2001 at 05:47:10PM -0800, [EMAIL PROTECTED] wrote:
> hi
> 
> is there a way to filter mail in mutt? i am testing mutt in
> IMAP mode so i do not believe i can use procmail or anything
> external to do it. the mail system is cyrus so i do not have
> access to the mail files themselves either, so the filtering
> has to be done by the client itself. i don't need anything
> complex, mainly match addresses and move them to other
> folders ..

Well, you can always 't'ag all the messages manually. Or then you can
'T'ag messages matching a pattern, for example '~f user' tags all messages
from 'user' (see section 4.2. in the manual for more about patterns.) When
you have tagged all the relevant messages, you just tag-save (;s) to
another folder. 

And if you want all the previous done more automatically, define a macro
(section 3.6.) to do all the work for you in a single keypress. Using
folder-hooks and 'push'-command you might even get everything done
automatically when you enter the folder.

Personally I use procmail filtering on the IMAP server, but then again, I
have shell access to it. Maybe you can do server-side filtering yourself,
ask the admins.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpAkVfuSXngQ.pgp
Description: PGP signature


Re: locale problems -- LANG=en_US and iso-8859-1 fsckups

2001-01-20 Thread Tommi Komulainen
On Sat, Jan 20, 2001 at 02:10:29AM -0800, kmself@ix.netcom.com wrote:
> Objective:  Specify a locale value which:
> 
>   - Renders standard shell output properly.
>   - Supports international (iso-8859-1 aka latin-1) charactersets.
>   - Is supported by common text-mode utilities such as vim, mutt, tin,
> and w3m.
>   - Doesn't cause Perl to choke.
>   
> My current setting of LANG=en_US fails on the last three points.

As you seem to be mainly interested in getting the character set correct,
you should propably set LC_CTYPE instead of LANG. Actually, I don't really
even know what LANG is supposed to do :-]


> International characters under mutt and other utilities appear as octal
> representations.

Setting LC_CTYPE properly fixes this.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgppix0PWtpYk.pgp
Description: PGP signature


Re: strange permissions

2001-01-14 Thread Tommi Komulainen
On Mon, Jan 15, 2001 at 10:03:19AM +1100, Marc-Adrian Napoli wrote:
> ?---rwS---  28781 14368285154294967295 Sep 29  1997 beta_test.frm
> 
> ive never seen this before! the permissions (and filesizes) are all out
> of whack...

Looks like a textbook-example of a corrupted filesystem. You need to
unmount, or at least remount the partition read-only, and run e2fsck on
it. 


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp5efULhFaJL.pgp
Description: PGP signature


Re: as86 solved

2001-01-14 Thread Tommi Komulainen
On Sun, Jan 14, 2001 at 12:42:38PM -0800, Xucaen wrote:
> I wonder why bin86 wasn't included in the
> dependancies for kernel-package and
> kernel-source-2.2.18pre21

I wondered this myself once, enough to file a bug against kernel-package.
But it is a design decision as Debian runs on many platforms but the
dependancy for as86 occurs only on x86.

Besides, it is mentioned in the kernel-package docs. You did read them,
right? I know I did... *after* I received the reply to my bug report. :-D


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpwJTsELFYS9.pgp
Description: PGP signature


Re: as86 command not found

2001-01-14 Thread Tommi Komulainen
On Sun, Jan 14, 2001 at 12:19:45PM -0800, Xucaen wrote:
> what is as86? what package does it belong to? Can
> it be installed via apt-get?

as86 is a 16-bit assembler for x86-architecture. You can install it with
apt-get install bin86.

as86 is not needed anymore for compiling 2.4-series kernels, though.


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp4T5FuZ25j2.pgp
Description: PGP signature


Re: Using apt-get upgrade-Any way to get list first? Solved!

2000-12-15 Thread Tommi Komulainen
On Thu, Dec 14, 2000 at 04:54:20PM -0500, Mullins, Ron wrote:
> 
> If you use APT, you can 'apt-get upgrade -u' which will show you the
> packages to be upgraded. You can then say no to continuing and put on hold
> anything that you don't want coming down the pipe.

You can achieve the same by adding the following line in
/etc/apt/apt.conf, with the exception that you will never again need to
manually add the -u on the command line:

APT::Get::Show-Upgraded "yes";


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgpItUnfY2edn.pgp
Description: PGP signature


Re: netbase & nfs server

2000-11-18 Thread Tommi Komulainen
On Sat, Nov 18, 2000 at 04:42:10PM +0100, Johannes Zellner wrote:
> I've installed netkit-ping, I didn't find iptools-ping and a search
> on the debian site for iptools returned nothing. Maybe iputils-ping ?
> Ahh. Yes. iputils-ping seems to provide ping.

oops, my mistake, I was thinking about one thing and typing another...


> dpkg -L 'net-tools' returns:

> /sbin

Here you should've seen the following:

/sbin/ifconfig
/sbin/rarp
/sbin/route
/sbin/slattach
/sbin/plipconfig
/sbin/ipmaddr
/sbin/iptunnel

> /sbin/mii-tool
> /bin

and here /bin/netstat


> maybe this is the problem ?
> I see only docs and locale files here. No executables.
> Any comments ?
>
> ii  net-tools 1.57-1  The NET-3 networking toolkit

Sounds like a problem indeed. You have the same version as I do, so my
guess is that your installation or dpkg database is corrupt.
Reinstalling net-tools should help.


-- 
Tommi Komulainen   [EMAIL PROTECTED]


pgpSQslJAqkDP.pgp
Description: PGP signature


Re: netbase & nfs server

2000-11-18 Thread Tommi Komulainen
On Sat, Nov 18, 2000 at 12:25:42PM +0100, Johannes Zellner wrote:
> no. This is not the problem. The problem is that the
> new netbase is somehow broken. With the new netbase,
> programs like ifconfig and ping are missing, I don't
> know if this is related.

It was the problem you presented last time. You never mentioned
that ifconfig and ping are missing.

ifconfig is in net-tools and ping is in netkit-ping or iptools-ping 
try installing those packages.

You may also need to install portmap -package as it was separated from
netbase, IIRC. Why nfs(-kernel)-server is not dependant on portmapper, I
don't know, maybe it's worth filing a bug report.


> Is someone running netbase > 4 successfully (working
> nfs server for example ?)

netbase 4.05, portmap 5 and nfs-kernel-server 0.2.1 and works just fine.


-- 
Tommi Komulainen   [EMAIL PROTECTED]


pgpj4SKFkVVyS.pgp
Description: PGP signature


  1   2   >