[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    utmp support in konsole [Was: Re: [PATCH] 1_1_BRANCH: kvt, pty and glibc-2.1 still broken]
From:       Lars Doelle <lars.doelle () on-line ! de>
Date:       1999-07-26 22:39:44
[Download RAW message or body]

Franz Sirl wrote:

> I use kvt :-). Actually I don't like konsole very much. It completely lacks
> utmp/wtmp handling (might be a good idea to integrate utmp.c from kvt into
> konsole, it's one of the cleanest multiplatform utmp implementations I've seen)
> and I simply don't need most features.

utmp support is only needed by a few aged programs which have obsolete
assumptions about their environment. These are, and the list should be
complete: who(1), finger(1), talk(1), write(1), wall(1).

You can (and should stamp your utmp) via sessreg(1x) in kdm(1k).

[If you have xterm, kvt, konsole, linux consoles and other programs
stamp your utmp, to which one would you write to? Or do you love to
mesg(1) a lot?]

Who and finger are already handled by sessreg.
(Allowing to finger is commonly considered a security hole.)
talk might by done via ktalkd.

Leaves write/wall. True, Franz, a trivial program listening on a pty which
is registered via sessreg for writes and popping up whenever something
comes in, is missing. But this has nothing to do with konsole, since
terminal emulation capabilities are not needed for this purpose, so i didn't
include utmp support at all into konsole.

I can well image environments where write/wall is intensively used
(e.g. a windows nt system (finally matured to multisessions) with a
lot of terminals attached to it where the operator hourly announces
to reboot ;), so i could add such a kwrited proggy to the konsole sources.

Lars

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic