File hanterm-xf-utempter.patch of Package hanterm-xf
--- hanterm-xf-2.0.3/main.c.utempter 2003-01-07 16:56:02.000000000 +0900
+++ hanterm-xf-2.0.3/main.c 2003-02-05 20:20:32.000000000 +0900
@@ -3717,6 +3717,7 @@
if (login_name != NULL) {
xtermSetenv("LOGNAME=", login_name); /* for POSIX */
}
+#ifndef USE_UTEMPTER
#ifdef USE_SYSV_UTMP
/* Set up our utmp entry now. We need to do it here
* for the following reasons:
@@ -3870,6 +3871,7 @@
handshake.tty_slot = tslot;
#endif /* USE_HANDSHAKE */
#endif /* USE_SYSV_UTMP */
+#endif
#ifdef USE_LASTLOG
if (term->misc.login_shell &&