Re: Monthly output (ac -p) with new tty?

From: Ed Schouten <ed_at_80386.nl>
Date: Fri, 26 Jun 2009 21:14:09 +0200
Hi Alexey,

I'm sending this to the list again, to make sure this information
doesn't get lost.

* Alexey Shuvaev <shuvaev_at_physik.uni-wuerzburg.de> wrote:
> On Fri, Jun 26, 2009 at 07:41:30PM +0200, Ed Schouten wrote:
> > Which terminal emulators (or applications that use pseudo-terminals) do
> > you use?
> > 
> Stock x11/xterm WITH_WIDE_CHARS :)
> And tcsh, if this matters.

I've looked at it and it seems like xterm doesn't always terminate login
sessions properly. It looks like last(1) then terminates the session
when the pseudo-terminal is reused, but ac(1) does not. This means that
the sessions were only terminated when you rebooted the system.

I took a quick look at it. Maybe I can take care of it one of these
days, but I have to mention ac(1) is a buggy piece of code. Various
pieces of code look very suspicious. Because I already have some plans
for the very far future to completely overhaul our utmp system,
hopefully to support utmpx, it may be possible it will not be addressed
until then...

-- 
 Ed Schouten <ed_at_80386.nl>
 WWW: http://80386.nl/

Received on Fri Jun 26 2009 - 17:14:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:50 UTC