Mailinglist Archive: opensuse-bugs (3094 mails)

< Previous Next >
[Bug 932950] w truncates usernames and lies about available commands
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 01 Jun 2015 06:58:20 +0000
  • Message-id: <bug-932950-21960-bxvx73uwbm@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=932950

Dr. Werner Fink <werner@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID

--- Comment #1 from Dr. Werner Fink <werner@xxxxxxxx> ---
man w(1) ...

ENVIRONMENT
PROCPS_USERLEN
Override the default width of the username column. Defaults to
8.

PROCPS_FROMLEN
Override the default width of the from column. Defaults to 16.

and man utmp(5)


#define UT_LINESIZE 32
#define UT_NAMESIZE 32
#define UT_HOSTSIZE 256

struct utmp {
short ut_type; /* Type of record */
pid_t ut_pid; /* PID of login process */
char ut_line[UT_LINESIZE]; /* Device name of tty - "/dev/" */
char ut_id[4]; /* Terminal name suffix,
or inittab(5) ID */
char ut_user[UT_NAMESIZE]; /* Username */
char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or
kernel version for run-level
messages */

Beside this: openSUSE 12.3 is gone

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >