mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Rework TTY column
* Rename internal identifier from TTY_NR to just TTY * Unify column header on platforms * Use devname(3) on BSD derivate to show the actual terminal, simplifies current FreeBSD implementation. * Use 'unsigned long int' as id type, to fit dev_t on Linux. Only on Solaris the terminal path is not yet resolved.
This commit is contained in:

committed by
cgzones

parent
36880cd61c
commit
9a8221568a
@ -54,6 +54,7 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) {
|
||||
proc->pgrp = 0;
|
||||
proc->session = 0;
|
||||
proc->tty_nr = 0;
|
||||
proc->tty_name = NULL;
|
||||
proc->tpgid = 0;
|
||||
proc->st_uid = 0;
|
||||
proc->processor = 0;
|
||||
|
Reference in New Issue
Block a user