utmp

simple login manager
git clone git://git.suckless.org/utmp
Log | Files | Refs | README | LICENSE

README (778B)


      1 
      2 utmp is a small program which update the utmp record of the current tty.
      3 It is designed for helping in some terminal emulators or session manager
      4 which lack support for it.
      5 
      6 Compile:
      7 -------
      8 
      9 There  are  three  different interfaces to utmp: SystemV, BSD and POSIX.
     10 SystemV and POSIX are basically the same  interfaces (POSIX  has  better
     11 definitons for utmp fields, like for example ut_pid which in some system
     12 was a short instead of a pid_t), but BSD is very different. utmp has im‐
     13 plemented  the  three interfaces  and it supplies three different config
     14 files, so the user only has to rename the proper one to config.mk. It is
     15 also  added a basic configure, which selects the POSIX interface for all
     16 platforms except for OpenBSD.
     17 
     18 
     19  $ ./configure
     20  $ make
     21  # make install
     22