Re: Welches dpkg-reconfigure ist fr $dateizustndig?

2003-03-11 Thread Ulf Rompe
[EMAIL PROTECTED] (Frank Küster) writes:

 Ich weiß aber, dass es irgendein Paket gibt, das einen bei der
 Installation nach der IP-Adresse und so weiter fragt, und daraus
 wird dann wohl die Datei generiert. Aber welches ist das?

Das dürfte base-config sein.

Package: base-config
Description: Debian base configuration package
 This package handles setting up the Debian base system. It contains the
 questions you see when you install Debian for the first time and boot up
 your new Debian system.
 .
 It can be removed with no ill effects -- now that your Debian system is
 installed, this package's only useful function is to allow you to
 reconfigure some of the things it asked you about earlier.


[x] ulf



-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: grip und ide-scsi

2003-03-04 Thread Ulf Rompe
H.Felder [EMAIL PROTECTED] writes:

 wenn ich auf rippen gehe, dann geht er die Tracks in
 Sekundenschnelle durch, aber er lädt und bearbeitet sie nicht...

Vermutlich hast Du nur keine Zugriffsrechte auf das raw device. Um das
genau sagen zu können, solltest Du grip einmal im Terminal starten.
Dann siehst Du während der Ausführung im Terminal die Fehlerausgabe,
die Dich auf die richtige Fährte führen sollte.

[x] ulf

-- 


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: find a command i have recently used in bash

2003-01-31 Thread Ulf Rompe
[EMAIL PROTECTED] writes:

 tcsh has a far more elegant (tm) approach to the problem. Typing
 lsALT-P (or META-P) will get you only all the commands that
 begin with ls (eliminating such oddities as echo lst.txt). If
 somebody knows the precise bash equivalent of this, let me
 know.

As I wrote yesterday you can define keys for history-search-backward
and history-search-forward. A good placement for these commands are
the PgUp/PgDown keys since M-p is already defined per default. Put
this into your /etc/inputrc or ~/.inputrc :

# PgUp/Down searches history in bash
\e[5~:history-search-backward
\e[6~:history-search-forward

If you really want M-p a the key to search bachward, you would have to
write this:

\ep:  history-search-backward

For a list of available readline commands look into the bash manpage.
To see what a key combination ends up as, type C-v (that's Ctrl V)
followed by the key combination. Just translate a leading ^[ of your
key combinations into \e in your inputrc.

As an example, another useful (for me) addition to the inputrc is
this one: 

# Ctrl-Left/Right jumps wordwise on cmd line
\e[D: backward-word
\e[C: forward-word

This redefines the commands normally known as M-b / M-f to more
intuitive key strokes.

[x] ulf

-- 
A bus station is where a bus stops. A train station is where
a train stops. On my desk, I have a work station...


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




Re: scrolling trough the argument of a command

2003-01-29 Thread Ulf Rompe
Pierre Burri [EMAIL PROTECTED] writes:

 with another flavour of linux, I can scroll trough the argument of
 bash command with Page Up instead of scrolling the whole commands
 (with Arrow Up) saved in the history.

Put this into your /etc/inputrc or ~/.inputrc :

# PgUp/Down searches history in bash
\e[5~:history-search-backward
\e[6~:history-search-forward


[x] ulf

-- 
Der Computer ist die logische Weiterentwicklung des Menschen:
Intelligenz ohne Moral.  (John Osborne)


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




Re: Postfix automatisch konfigurieren?

2003-01-23 Thread Ulf Rompe
[EMAIL PROTECTED] (Kai Großjohann) writes:

 Reicht denn nicht ein Mailserver und evtl. ein oder zwei Fallbacks?

 Ja, aber auf den anderen Rechnern wollen wir ja auch ein Postfix
 haben, das zumindest Mails verschicken kann.

Du wirst sicher Deine Gründe haben, warum Du dafür unbedingt Postfix
verwenden willst. Vielleicht interessiert Dich aber ssmtp trotzdem:

Package: ssmtp
Depends: libc6 (= 2.2.5-13), debconf
Size: 26432
Description: Extremely simple MTA to get mail off the system to a mail hub
 A secure, effective and simple way of getting mail off a system to your
 mail hub. It contains no suid-binaries or other dangerous things - no mail
 spool to poke around in, and no daemons running in the background. Mail is
 simply forwarded to the configured mailhost. Extremely easy configuration.
 .
 WARNING: the above is all it does; it does not receive mail, expand aliases
 or manage a queue. That belongs on a mail hub with a system administrator.


Scheint mir für solche Satellitensysteme ein adäquates Tool zu sein
und hängt zumindest auch von debconf ab, sollte also auch darüber
konfigurierbar sein.

[x] ulf

-- 
I heard if you play the Windows-XP-CD backwards, you get a satanic message.
That's nothing, if you play it forward, it installs Windows XP


-- 
Häufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: fwbuilder 1.0.7 - segmentation fault

2002-12-12 Thread Ulf Rompe
Thomas Grieder [EMAIL PROTECTED] writes:

 Sobald ich speichern oder speichern unter wähle, den Dateinamen
 eingebe und dann auf OK klicke, erhalte ich ein segmentation fault.

Helfen kann ich Dir da nicht, aber vielleicht hilft es Dir ja zu
wissen, dass das Phänomen hier auch auftritt.

Debian Sid tagesaktuell, fwbuilder 1.0.7-1

[x] ulf

-- 
Well, let's just say, 'if your VCR is still blinking 12:00, you don't
want Linux'.  (Bruce Perens)



-- 
Häufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: fwbuilder 1.0.7 - segmentation fault

2002-12-12 Thread Ulf Rompe
Thomas Grieder [EMAIL PROTECTED] writes:

 Helfen kann ich Dir da nicht, aber vielleicht hilft es Dir ja zu
 wissen, dass das Phänomen hier auch auftritt.
 
 Debian Sid tagesaktuell, fwbuilder 1.0.7-1

 Läuft bei dir KDE 3.0.x ?

Nein, nur Gnome2. Der Fehler ist aber auch schon als #170908 bzw.
#170918 eingetragen. Ein Update für die 1.0.7 wird es den Kommentaren
zufolge nicht geben, Du wirst also vermutlich auf die 1.0.8 warten
müssen.

Möglicherweise bringt auch ein Downgrade der libxpm Besserung, aber
das habe ich nicht getestet. Werde ich auch nicht tun, solange ich an
meinen Firewalls nichts ändern muss. :-)

[x] ulf

-- 
Die drei Feinde des Programmierers:
Sonnenlicht, Frischluft und das unerträgliche Gebrüll der Vögel



-- 
Häufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Mit grep Deutsch - Englisch - Englisch Definition

2002-11-29 Thread Ulf Rompe
Matthias Kirschner [EMAIL PROTECTED] writes:

 jetzt noch ne Frage: kann ich da was mit grep machen sowas in der
 richtung:

 dict Auto | dict-gcide ausgabe von dict Auto???

Warum nicht etwas wie dict -d dict-gcide Auto?

Ob die Datenbank wirklich dict-dcide heißt, weiß ich nicht, weil ich
die nicht installiert habe. dict -d moby-thesaurus Auto funktioniert
aber beispielsweise. Der Name, der bei der Ausgabe in [] steht, ist
der richtige.

[x] ulf

-- 
Rome did not create a great empire by having meetings,
they did it by killing all those who opposed them.



-- 
Häufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: de_DE@euro unbrauchbar in woody?

2002-10-08 Thread Ulf Rompe

David Elze [EMAIL PROTECTED] writes:

LANG=de_DE
Das stimmt ja noch. Nur nachdem ich den GDM starte und mich einlogge
war's das wieder und ich habe LANG=de_DE@euro.

 Yup, GDM. Hattest du nicht erwähnt ;-)

 Soweit ich weiß (benutze keinen {x|k|g}dm) musst du dem Start-Script
 von GDM in /etc/init.d/ sagen, welche Variablen er wie setzen soll.
 So war das jedenfalls früher, vielleicht geht's heute auch schon
 direkt in der gdm.conf o.Ä.

Das letzte Mal, als ich vor einem ähnlichen Problem stand, reichte es,
in der /etc/locale.alias die Einstellungen auf die gewünschte locale
zu ändern. Ich habe gerade nicht im Kopf, ob gdm German oder
Deutsch im Menü anbietet und will mich dafür nicht extra ausloggen,
aber für den jeweiligen Wert muss man einfach de_DE als Alias
einsetzten. Im Zweifelsfall für beide, dann geht's mit Sicherheit,
sofern sich an der Arbeitsweise des gdm nichts geändert hat.

[x] ulf

-- 
I heard if you play the Windows-XP-CD backwards, you get a satanic message.
That's nothing, if you play it forward, it installs Windows XP



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Dual-Athlon...

2002-09-20 Thread Ulf Rompe

Michelle Konzack [EMAIL PROTECTED] writes:

 (Ich glaube mit rund 4800 zeigt er aber zu wenig an, denn mein
 K6/200 hat ja schon 399,76 BogiMIPS)

Und nun rate mal, warum die Dinger BogoMips heißen und nicht
ExpressiveMips oder so... Hier lesen:

http://www.tldp.org/HOWTO/mini/BogoMips.html

[x] ulf

-- 
Besuche machen immer Freude. Wenn nicht beim Kommen, dann beim Gehen.
(Spanisches Sprichwort)



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Alternatives To NFS?

2002-09-20 Thread Ulf Rompe

Charlie Grosvenor [EMAIL PROTECTED] writes:

 Is there any alternative to NFS that I can use to mount my home
 directory on my server?

If you have enough space on your client machines there are always the
distributed filesystems: OpenAFS, CODA, Inter-Mezzo. They keep your
filesystem on both ends of the mount.

If you need something centralized like NFS you can use Samba instead
of an NFS server and mount the homes via SMB.

The better way would of course be to locate your special problem with
NFS (did you try restricting NFS to version 2 or version 3?) rather
than avoiding NFS completely.

BTW: I remember that I had NFS lockups everytime I transferred huge
files (several 100 Megabytes) between two machines with cheap network
adaptors. Changing these adaptors to other (but also cheap) cards
solved the problem.

[x] ulf

-- 
Sicher können Maschinen Probleme lösen, Informationen speichern, kombinieren
und Spiele spielen - aber es macht ihnen keinen Spaß!  (Leo Rosten)



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




Re: Datenträger ID einlesen

2002-08-27 Thread Ulf Rompe

Alois Stöckl [EMAIL PROTECTED] writes:

 Wie kann ich die Datenträger ID einer CD einlesen. (für die die
 schon mal w. gesehen haben, das was beim Laufweksbuchstaben
 bei steht.)

#!/bin/bash
bsize=2048 bskip=16 dev=${1:-/dev/cdrom} n=/dev/null t=/tmp/iso.$$
function die { echo $*; exit 1; }
test -b $dev || die no such device: $dev
dd if=$dev bs=$bsize count=1 skip=$bskip of=$t 2$n || die read failure
echo id : `dd if=$t bs=1 skip=1  count=6 2$n`
echo system id  : `dd if=$t bs=1 skip=8  count=32 2$n`
echo volume id  : `dd if=$t bs=1 skip=40 count=32 2$n`
echo volume set id  : `dd if=$t bs=1 skip=190 count=128 2$n`
echo publisher id   : `dd if=$t bs=1 skip=318 count=128 2$n`
echo preparer id: `dd if=$t bs=1 skip=446 count=128 2$n`
echo application id : `dd if=$t bs=1 skip=574 count=128 2$n`
rm $t


[x] ulf

-- 
Sicher können Maschinen Probleme lösen, Informationen speichern, kombinieren
und Spiele spielen - aber es macht ihnen keinen Spaß!  (Leo Rosten)



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Frage zu T-DSL (nun Zwangstrennung)

2002-08-22 Thread Ulf Rompe

Peter Blancke [EMAIL PROTECTED] writes:

 Warum wird dann die Prozessliste nicht einfach nach dem pppd
 durchsucht?

 Sinngemaess:

 * * * * * ps ax | grep [p]ppd || /etc/init.d/ppp start  /dev/null

So geht's, oder eben das Interface überprüfen:

*/2 * * * * /sbin/ifconfig | fgrep -q ppp0 || /etc/init.d/ppp start

So habe ich das hier seit etwa einem Jahr laufen und bin zufrieden
damit. Nur frage ich mich gerade: Was ist eigentlich die größere
Belastung für den Rechner? Das ps und ein grep durch etwa 130 Zeilen
oder das ifconfig und ein grep über etwa 25 Zeilen?

Nicht, dass mein Rechner dermaßen am Ende wäre, dass ich darauf achten
müsste, das ist mehr so eine prinzipielle Frage. Wobei mir auffällt:
Warum rufe ich da eigentlich ifconfig auf? Steht doch alles im /proc!
Ich glaube, ich werde heute Abend den Cronjob so umbauen:

*/2 * * * * fgrep -q ppp0 /proc/net/dev || /etc/init.d/ppp start

Das spart locker einen Programmaufruf und eine Subshell. Da wird mein
Rechner aber wieder schnell werden... ;-)

Oder fällt jemandem noch etwas genügsameres ein? Würde es etwas
bringen, den Syslog die PPP-Ausschriebe in einen FIFO schreiben zu
lassen, auf den man sich dan mit einem read hängen kann, bis etwas
kommt? Vermutlich nicht... Aber die Frage an sich finde ich
interessant. :-)

[x] ulf

-- 
TEAMWORK... means never having to take all the blame yourself.



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: libdvdread2

2002-08-21 Thread Ulf Rompe

Malte Thoma [EMAIL PROTECTED] writes:

 Während apt-get upgrade bekomme ich die folgende Meldung auf den Schirm:
[...]
 Run `/usr/share/doc/libdvdread2/examples/install-css.sh' to download
 and install it.

 leider gibt es bei mir kein Verzeichnis

 /usr/share/doc/libdvdread2/examples

Diese Datei ist in dem Paket enthalten, das Dir beim preconfigure
diese Meldung ausgibt. Du musst Dir also merken, was Du aufrufen
sollst (dazu hat man ja den Mauspuffer), und es dann nach Abschluss
der Installation tun.

[x] ulf

-- 
There is this special biologist word we use for 'stable'.
It is 'dead'.  (Jack Cohen)



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Bill Gs Rache - Leerzeichen in Dateinamen

2002-08-20 Thread Ulf Rompe

Dirk Haage [EMAIL PROTECTED] writes:

 Ah ja. Hab mir grad mal die Manpage zu tr angeguckt, sehr praktisch.
 Ich dachte schon, ich müsste bei Zeiten mal wild mit sed rumwerkeln.
 Wie findet man eigentlich solche Programme, wenn man nicht weiss,
 wonach man suchen muss?

Indem man einfach das Manual zu einem Programm ansieht, das vielleicht
ungefähr, aber nicht ganz genau das richtige ist. In diesem Fall hast
Du ja sed schon selbst genannt. Da siehst Du dann ganz unten in den
Abschnitt SEE ALSO:

SEE ALSO
   awk(1),  ed(1),  expr(1),  emacs(1),  perl(1),  tr(1),  vi(1), regex(7)
   [well, one ought to be written... XXX], sed.info, any of various  books
   on sed, the sed FAQ (http://www.wollery.demon.co.uk/sedtut10.txt,
   http://www.ptug.org/sed/sedfaq.htm).

Wenn man dann nicht schon von selbst drauf kommt, was davon besser
geeignet ist, kann man ja schnell mit man die genannten Programme
ansehen. Ist etwas mühselig, aber man lernt garantiert etwas dabei,
und beim nächsten Mal erinnerst Du Dich vielleicht auch an Tools, die
Du diesmal nicht gebrauchen konntest, aber trotzdem kennengelernt
hast.

[x] ulf

-- 
I heard if you play the Windows-XP-CD backwards, you get a satanic message.
That's nothing, if you play it forward, it installs Windows XP



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Bill Gs Rache - Leerzeichen in Dateinamen

2002-08-19 Thread Ulf Rompe

Dirk Haage [EMAIL PROTECTED] writes:

 Was mich mal interessierten würde ist, wie man die Leerzeichen da
 möglichst einfach wieder rausbekommt, also z.B. gegen _ austauscht.


find . -name '* *' | while read bla; do mv $bla `echo $bla|tr \  _`; done


[x] ulf

-- 
Artificial Intelligence is no match for Natural Stupidity.



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: ftp.de.debian.org [RE: Kernel-Headers]

2002-08-16 Thread Ulf Rompe

[EMAIL PROTECTED] writes:

 JAP ist an der TU Dresden beheimatet.
[...]
 Wenn man jetzt davon ausgeht dass der Debian mirror im selben Keller
 steht

Glaube ich eigentlich nicht - zumindest hier resolvet (tolles Wort)
ftp.de.debian.org auf einen Rechner im Netz der TU München. OK, da
hat's ja auch geregnet...

[x] ulf

-- 
Portability is for people who cannot write new programs.
  -- Linus Torvalds



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: backup all the changes I made to the virgin debian system

2002-06-25 Thread Ulf Rompe
Hi,

about three months ago I wrote some related thoughts in article
[EMAIL PROTECTED]. Four weeks ago I got the first and
only reply to it - must be because of the quality and my good english.
:-)

But hey, I don't give up, so here is an extract of my thoughts
*again*, still untested, but it may be a point to start:


# Backing up config files:

cat /var/lib/dpkg/info/*.conffiles | xargs tar czf /backup/config.tgz

# Backing up all files *not* included in debian packages:

cat /var/lib/dpkg/info/*.list | sort /tmp/tmplist.debian
find / -xdev -type f | sort /tmp/tmplist.reallife
comm -13 /tmp/tmplist.debian /tmp/tmplist.reallife | \
 xargs tar czf /backup/additions.tgz

# Backing up all packaged but changed files:

cd /
cat /var/lib/dpkg/info/*.md5sums | \
LANG=en_US md5sum -c 21 | cut -d\' -f2 | \
xargs tar czf /backup/changed.tgz


[x] ulf

-- 
I heard if you play the Windows-XP-CD backwards, you get a satanic message.
That's nothing, if you play it forward, it installs Windows XP


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



Re: make-kpkg problem

2002-06-25 Thread Ulf Rompe
Joel [EMAIL PROTECTED] writes:

 i tried to compile package a custom built kernel and encountered
 this error.
[...]
 [EMAIL PROTECTED]:/usr/src/kernel-dev/linux-2.5.6/linux$ make-kpkg clean
 dpkg: warning, architecture `i386-none' not in remapping table

Your architecture seems to be misrecognized. If you aren't able to
figure out why, you may want to force a correct name by setting it
yourself: 

make-kpkg --arch i386 clean

This is normally used for cross compiling. Of course it would be
better to find the real reason for your problem.

[x] ulf

-- 
If at first you don't succeed, try management.


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



Re: fbset for all ttys?

2002-06-20 Thread Ulf Rompe
[EMAIL PROTECTED] (andrej hocevar) writes:

 I thought I was clever and added an init script for setting the
 concole with fbset. I've figured that fbset -t 13334 144 24 29 3
 136 6 yields the best results. But it affects only the first
 console -- I have to run the script every time I log in.

Just an idea - can't test it at the moment. What happens if you put
something like this into your script?

for i in 1 2 3 4 5 6; do
chvt $i
fbset -t 13334 144 24 29 3 136 6
done

[x] ulf

-- 
I heard if you play the Windows-XP-CD backwards, you get a satanic message.
That's nothing, if you play it forward, it installs Windows XP


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



Re: Kupdated

2002-06-17 Thread Ulf Rompe
Tinus Kotzé [EMAIL PROTECTED] writes:

 Can somebody help me with the kupdate daemon' problem. I looked
 around but could not find a understandable page that could help me.
 The kupdated process takes about 1/3 of my cpu and can't be killed.

You shouldn't kill processes just because you don't like them. Your
kernel may love them, and you don't want an angry kernel!

Have a look at the memory usage of your system. Is the physical memory
filled up and the system is constantly modifying files? Are there any
cronjobs running because you have just booted a fresh Woody?

You could try to benchmark your hard disks (apt-get install bonnie++)
and have an eye on your CPU while doing that. If the disks are slow
and the CPU usage is high, you can try to tune your I/O with hdparm if
it is an IDE system. There are HOWTOs out there describing the use of
hdparm. Read the WARNINGS first. :-)

 Can somebody please help me. 

Not with one definitive sentence, sorry.

[x] ulf

ps: My lastname has the same meaning in some languages as your's has
in mine. ;-)))

-- 
One of the main causes of the fall of the roman empire was that, lacking zero,
they had no way to indicate successful termination of their C programs.


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



Re: so how do the pros read all those .gz docs, zless?

2002-06-14 Thread Ulf Rompe
Chris Gushue [EMAIL PROTECTED] writes:

 I wish more things supported transparently viewing gzipped files :)

I remember there once was a library which overloaded the original libc
functions for opening files. You had to preload it by setting the
variable LD_PRELOAD to this lib (like you do with libtrash). Once you
had done that, all and every program was able to read compressed files
transparently!

OK, after searching with Google I found out that this this is in
Debian. Of course, yeah, how could I even THINK of something NOT being
part of Debian - besides XFree 4.2. :-)

zlibc - Uncompressing C Library
 Zlibc is a preloadable shared object that allows executables to
 uncompress the data files that they need on the fly. No kernel patch,
 no recompilation of these executables and no recompilation of the
 libraries is needed.

[x] ulf

-- 
Nur wer selbst brennt, kann Feuer in anderen entfachen. (Augustinus)


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



Re: Recover root password

2002-06-13 Thread Ulf Rompe
Alvin Oga [EMAIL PROTECTED] writes:

 http://www.Linux-Consulting.com/Boot/Boot.SingleUser.ForgotRootPasswd.txt

Somebody should point out that you can use your ordinary Debian Rescue
Disk to do this maintenance. Just boot into the normal install
process. As soon as the installation menu occures you can switch to
another virtual console and activate it with Enter. Once you are
there the usual instructions apply: 

mount /dev/hdX /mnt
ae /mnt/etc/shadow
delete the field after root: up to the next :
reboot from disk
login as root with no password and set a new password.

If you think that living without a root password for a few seconds is
too dangerous you can of course copy the crypted password entry from
another user instead of blanking it. It's just a little bit harder if
you are too lazy to type it by hand and too oblivious to remember how
to copypaste in ae. :-)

[x] ulf

-- 
Der Computer ist die logische Weiterentwicklung des Menschen:
Intelligenz ohne Moral.  (John Osborne)


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



Re: IRC

2002-05-15 Thread Ulf Rompe
Tommi Komulainen [EMAIL PROTECTED] writes:

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

What I love about irssi-gnome is it's panel applet. I tend to keep
some not really busy channels open while doing my work. Doing work
needs screen real estate, so it is nice to have just an applet that
notifies me when there is traffic in a channel and that shows me the
new messages just by hovering over it with the mouse pointer.

How do I get a replacement for this feature using a console client?

[x] ulf

-- 
Die drei Feinde des Programmierers:
Sonnenlicht, Frischluft und das unerträgliche Gebrüll der Vögel


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



Re: Multi-Gnome-Terminal Copy/Paste

2002-05-03 Thread Ulf Rompe
Colin Watson [EMAIL PROTECTED] writes:

 Maybe you could file a bug about the package urgency. That
 copy/paste bug has been _really_ annoying.

 It's unlikely to help - woody won't be updated any more except,
 perhaps, for critical problems (certainly security problems).

Oh, you are right. Well, then use Sid - Woody is going to get a bit
antiquated anyway... ;-))

[x] ulf

-- 
Doing a job RIGHT the first time gets the job done.  Doing the job 
WRONG fourteen times gives you job security.


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



Re: crashme

2002-05-02 Thread Ulf Rompe
Oki DZ [EMAIL PROTECTED] writes:

 Unfortunately, this machine is down for about every week (if not
 five days). I don't know what happens. I'm still looking for the
 culprit. BTW, some of the oops files said about Java and mgetty
 processes that caused the oops. It makes me wonder...

Check your file systems and swap partitions for bad blocks. Fill up
your physical memory with applications and see what happens. Try using
memory from a sane system.

Sporadic crashes are often caused by memory or harddisk defects - the
system keeps going until it stumbles over the one bad bit.

 I think if crashme couldn't bring down the machine, let alone the
 JVM. Well, I don't know, I'll try to run crashme a lot longer.

Maybe your why remains unanswered even if crashme crashes your
system...

[x] ulf

-- 
Artificial Intelligence is no match for Natural Stupidity.


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



Re: Multi-Gnome-Terminal Copy/Paste

2002-05-02 Thread Ulf Rompe
Carlos A P Gomes [EMAIL PROTECTED] writes:

 I can only copy/paste from a Gnome App to Multi Gnome Terminal and
 not from Multi Gnome Terminal to a Gnome App like Gvim or AbiWord.
 Inside Multi Gnome Terminal I can copy/paste to any application. Is
 it a bug or is there any configuration I'm missing?

It is a bug and fixed in 1.4.0-1 which is in sid already. This version
and also the actual 1.4.1-1 have urgency=low, so I'm not shure if this
version will make it into woody.

Maybe you could file a bug about the package urgency. That copy/paste
bug has been _really_ annoying.

[x] ulf

-- 
Die drei Feinde des Programmierers:
Sonnenlicht, Frischluft und das unerträgliche Gebrüll der Vögel


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



Re: GnusXEmacs

2002-04-22 Thread Ulf Rompe
Joachim Trinkwitz [EMAIL PROTECTED] writes:

 'Window height 0 too small (after splitting)', I can't open the
 individual mails. Argh.

 I always got this error message when trying to switch over to one of
 the Gnome variants of XEmacs; when I went back to xemacs21-[no]mule
 (without Gnome), gnus worked flawlessly.

If you say export LANG=C before starting xemacs-gnome the messages
are displayed without errors. For some reason beyond my unterstanding
of Xemacs internals this function does not work with the
internationalized versions of xemacs-gnome.

 I have given up the Gnome variants completely now.

Me too. While being able to correct the above error it is still no fun
to look at missplaced buttons (mostly in customize buffers) and badly
formatted text scrolling out of it's frame...

It is nice to have god's own editor with the outfit of god's own
desktop environment ;-) but it doesn't have the sleek consistency and
the stability of it's conservative brother.

[x] ulf

-- 
Nie in die ferne Zeit verliere dich! Den Augenblick ergreife! Der ist dein.
(Schiller)


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



Re: xpdf missing a font?

2002-04-12 Thread Ulf Rompe
Jeroen Valcke jeroen@valcke.com writes:

 I'm using xpdf and notice some kind of font is not displayed. For
 example. In the pdf file http://www.gnupg.org/gph/en/manual.pdf I
 can't see the commands in the example code.

I don't know the answer but maybe I know the reason. You can start
xpdf with the option -cmd to see everything it does. This is nice to
find out which font it wants to use.

When it comes to the monospaced text in this document you are likely
to notice this message:

TJ [(gpg) -599 (-gen-key)]
Error: This document uses Type 3 fonts - some text may not be correctly 
displayed
Tf /F45 7.9
  font: tag=F45 name='Courier' 7.9

So it just uses Courier which works on my system - I can see the code
parts of this document. But eventually someone knows what is so evil
with the Type 3 fonts that they work for everyone who is not you.

Interesting is that if I do `pdftops manual.pdf manual.ps` I get the
above error string and the result does NOT include the command
strings. Weird...

If you don't want to know the reason but just want to get your manual
showing up correctly you should try gnome-gv for viewing. It does an
excellent job here and is a bit faster than xpdf in most (not all)
cases.

[x] ulf

-- 
Doing a job RIGHT the first time gets the job done.  Doing the job 
WRONG fourteen times gives you job security.


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



Re: grep question

2002-04-08 Thread Ulf Rompe
Johann Spies [EMAIL PROTECTED] writes:

 In the grep's info page I find the following which works as said.
 But I want to know why. What does the [c] do in this case?
[...]
   ps -ef | grep '[c]ron'

It defines a character class containig a c as it's only member. The
expression [cp]ron would match cron as well as pron, whereas
[cp]r[o0]n would also match pr0n (and cr0n).

Get enlightened - type `man 7 regex`.

[x] ulf

-- 
Die drei Feinde des Programmierers:
Sonnenlicht, Frischluft und das unerträgliche Gebrüll der Vögel


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



Re: Help!!! undelete for ext3fs!!!

2002-03-01 Thread Ulf Rompe
Sebastiaan [EMAIL PROTECTED] writes:

 Is there any way to undelete in ext3fs?

I'm not shure if this works but I would give the normale recover for
ext2 a try. Before using it you should umount the partition. And in
the meantime you should use the partition read-only to get a chance
that the deleted inodes aren't assigned to new files.

 You can setup some kind of Trashcan yourself. Make a directory on your
 system somewhere and make an alias for rm:
 alias rm = 'mv ? /tmp/Trashcan'

alias rm = 'mv --backup=numbered --target-directory=/tmp/Trashcan'

If you want to use a parameter within aliases, you have to use
functions instead:

function rm { mv $* /tmp/Trashcan }

Obviously, all this only works in Bourne Shell derivates like bash.

 If you are on a multiuser system, you definitely have to write a
 script, which moves the deleted files into subdirs in the Trashcan
 which are unreadable by other users.

alias rm = 'mkdir -m 0700 -p /tmp/Trashcan/$USER  \
mv --backup=numbered --target-directory=/tmp/Trashcan/$USER'

[x] ulf

-- 
Der Mensch ist immer noch der beste Computer. (John F. Kennedy)



Re: Passwordless connection to ssh-nonfree 1.2.27

2002-02-26 Thread Ulf Rompe
Noah Meyerhans [EMAIL PROTECTED] writes:

 Creating an SSH key with a blank passphrase is *absolutely* the
 wrong way to go about this. Yes, it will work, but if anybody ever
 manages to get their hands on the private key, they've got access to
 your account on the remote machine.

 Passphrase protected keys can still be used for passwordless
 authentication. Please read the docs on ssh-agent and ssh-add.

This works for interactive use. But it doesn't fit the needs of cron
jobs. OK, you *can* use ssh-agent withing cron jobs, but you give up
more security than you gain using such a hack.

So if you need an ssh connection within a cron job using a blank
passphrase is absolutely the right way. *But* you should be careful
regarding some points:

1. Whenever possible use a separate sandbox user on the remote site
   for these jobs. If someone steals your key he will get full access
   to this user and nothing else.

2. If you use this connection from one or a few source hosts only, use
   the option from= in the authorized_keys file on the remote host.
   This will restrict access to this user to connections originating
   from the sources defined here.

3. If you run one or a few commands only on the remote host, use the
   option command= in the authorized_keys file on the remote host.
   If this option is given the value will be the only command executed
   on login, also if you try to give a command on the ssh command
   line. If you need more than one command on the remote host you have
   to use multiple keys, one for each command. Or just write a shell
   script containing all commands and use that as a command.

A combination of all these methods should give you reasonable
security for giving remote access to cron jobs.

[x] ulf

-- 
Rome did not create a great empire by having meetings,
they did it by killing all those who opposed them.



Re: Backup of debian

2002-02-13 Thread Ulf Rompe
Al Nikolov [EMAIL PROTECTED] writes:

 So, I thought to take the information about the running system from
 the file /var/lib/dpkg/status, and just backing up those files
 deviating from the packages default-configs (the full files, no
 diffs). Additionally, /home gets backed up, perhaps some
 exclusions,

 IMHO, the debian policy permits a simplest option: just do a backup
 of /etc with following symlinks.

This *should* be OK. But to be shure I would go one step further.


# Backing up config files:

cat /var/lib/dpkg/info/*.conffiles | xargs tar czf /backup/config.tgz


# Backing up all files *not* included in debian packages:

cat /var/lib/dpkg/info/*.list | sort /tmp/tmplist.debian
find / -xdev -type f | sort /tmp/tmplist.reallife
comm -13 /tmp/tmplist.debian /tmp/tmplist.reallife | \
 xargs tar czf /backup/additions.tgz


# Backing up all packaged but changed files:

cd /
cat /var/lib/dpkg/info/*.md5sums | \
LANG=en_US md5sum -c 21 | cut -d\' -f2 | \
xargs tar czf /backup/changed.tgz


The above commands are just written thoughts. I havn't actually tested
them, so maybe one have to fiddle a bit to get them working. For
example, the find call in the second part needs to be modified to
include the desired filesystems.

To be concrete, chances are high that you will destroy your computer
and kill your relatives by running the above commands. You have been
warned.

Hey Jens, won't you like to test this script and tell me about your
results? ;-)

[x] ulf

-- 
Der Mensch ist immer noch der beste Computer. (John F. Kennedy)



Re: Debian as multimedia system - startup and shutdown

2001-10-31 Thread Ulf Rompe
Meir Kriheli [EMAIL PROTECTED] writes:

 Is there a way to log in and start a X session (I prefer not to use
 KDM/GDM etc. I know I can use them-at least KDM), and when exiting
 the session shutdown the machine ?

Maybe you want a system that logs you on when switched on and powers
down on logout? You may be able to build it like this (untested, check
man pages):

Install rungetty and configure it to start an X session for your user
instead of running login. Then configure your X session to run
sudo shutdown -h now after the window manager. You could do this in
/etc/X11/Xsession but there should be a better place for it.

If you want to have the ability to switch the system off by pressing a
button on the case you have to work on the hardware. One solution for
those having a game port but no use for it is to stick the wires of
the reset switch into button1 of the game port, install jslaunch and
configure shutdown -h now as an action for a single press of
button1. There should be equivalent solutions for other ports like the
serial port - as I think about it, it could be possible to configure a
UPS monitor program like upsd to recognize the button press as a
signal to shut down the machine since many UPS devices signal a power
lossage via a status line of a serial port. So this should be nearly
plugplay. :-)

[x] ulf

-- 
Artificial Intelligence is no match for Natural Stupidity.



Re: apache 1.3.9/stable

2001-07-18 Thread Ulf Rompe
Jens Gecius [EMAIL PROTECTED] writes:

 does anybody have a clue regarding user-authorization in
 apache-stable?

I would do everything for a look into your Bilderalbum. ;-)

 I'm trying pretty hard to get it to work on my box, but it just
 doesn't work. Not with access.conf entries nor with .htaccess files.

Did you set AllowOverride to allow this from .htaccess files? For
access.conf, my first guess would be another conflicting Directory
or Location section for the said directory floating around in your
apache configuration.

 AuthName Bilderalbum
 AuthType Basic
 AuthUserFile /etc/apache/htpasswd
 require valid-user
 
 Of course, the entries in htpasswd are generated using htpasswd.

You should nevertheless check the contents of /etc/apache/htpasswd,
there has to be a line starting with xxx: (I would really like to
know which kind of pix you have for a user called xxx).

To check if the above statement is effective you can temporarily
replace it by this one:

Order deny,allow
Deny from all
Allow from localhost

Then give it a try with `lynx --dump http://localhost/...` and check
your logs again.

[x] ulf

-- 
Rome did not create a great empire by having meetings,
they did it by killing all those who opposed them.



Re: filename completion with nfs

2001-07-10 Thread Ulf Rompe
Richard Froehning [EMAIL PROTECTED] writes:

 I have troubles using filename completion on nfs-mounted filesystems
 with woody. It generally works. But it seems some dirs are not
 seen... . The directories are working and I can use them. But a cd
 (with using TAB with bash) does not work.

Maybe the NFS server is an SGI or similar and with TAB you see
everything except exactly the last directory entry?

If your answer is yes then your problem is the relatively new function
getdents64(). It occures not only within the bash but also in mc,
every Gnome program, etc. There is a special parameter for compiling
packages in a way that they are able to handle the high directory
indexes (I think that's the key problem) that are given by some NFS
servers. It don't do any harm to the packages. Bad thing is I forgot
which parameter it was - but if this is your problem I will recall it.

I tried compiling programs using the above parameter and it worked,
but since it's no fun to recompile a whole installation I simply
stick with kernel 2.2 on the production hosts.

[x] ulf

-- 
Well, let's just say, 'if your VCR is still blinking 12:00, you don't
want Linux'.  (Bruce Perens)



Re: galeon crashes when running as user

2001-05-17 Thread Ulf Rompe
Thomas Hess [EMAIL PROTECTED] writes:

 I think I have to switch back to mozilla 0.8.1 to use galeon and
 skipstone properly.

Galeon 0.10.6 claims to support Mozilla 0.9. But don't expect too much
of it, I tried it and it crashed regularly. The crashes seem to be UI
related. While the rendering worked perfectly good simple actions like
opening a context menu or leaving and entering the window too fast
sent the browser to hell immediatly. I switched back to galeon 0.10.5
and Mozilla 0.8.1 and am a happy man again.

[x] ulf

-- 
TEAMWORK... means never having to take all the blame yourself.



Re: Gimp and gif

2001-05-07 Thread Ulf Rompe
Thomas Wegner [EMAIL PROTECTED] writes:

 I' ve installed gimp1.2 and gimp1.2-nonfree with gif support. Now
 I'm a little bit confused because it is not possible to save any
 file as a gif-file.

GIF uses a color map. Did you reduce the number of used colors to 256
by converting the image to indexed?

[x] ulf