[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#652907: #652907 xterm: no UTMP/WTMP update with kfreebsd-amd64



I setup a kFreeBSD machine to check this, and agree that the configuration
and build work.  But utempter is doing nothing with the calls.  I added
a few trace messages to see what data is passed.  (As an aside, in my
current changes, I've modified xterm to use posix_openpt).  I agree with
your comment here:

>However, I am amongst other things suspicious of the checking
>against "/dev/" and whether "/dev/pts/5" with Linux versus
>"/dev/ttyp6" with kFreeBSD could have a bearing here.

However, if that is the cause, then it's likely a problem with utempter
being confused, rather than xterm.  There is a /dev/pts in kFreeBSD,
but ptsname returns the /dev/ttyp6, etc.

Another place to look is that utempter has an "old" interface (which
xterm uses) and a "new".  Perhaps its developers have broken the old
interface (xvt's source in sid doesn't show your NMU - where can I
find that?)

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


Reply to: