(list_processes_1): Print tty name.
This commit is contained in:
parent
c3ef6b1d5f
commit
a9fde32e8d
1 changed files with 9 additions and 2 deletions
|
@ -880,8 +880,8 @@ list_processes_1 ()
|
|||
current_buffer->truncate_lines = Qt;
|
||||
|
||||
write_string ("\
|
||||
Proc Status Buffer Command\n\
|
||||
---- ------ ------ -------\n", -1);
|
||||
Proc Status Buffer Tty Command\n\
|
||||
---- ------ ------ --- -------\n", -1);
|
||||
|
||||
for (tail = Vprocess_alist; !NILP (tail); tail = Fcdr (tail))
|
||||
{
|
||||
|
@ -949,6 +949,13 @@ Proc Status Buffer Command\n\
|
|||
|
||||
Findent_to (make_number (37), minspace);
|
||||
|
||||
if (STRINGP (p->tty_name))
|
||||
Finsert (1, &p->tty_name);
|
||||
else
|
||||
insert_string ("(none)");
|
||||
|
||||
Findent_to (make_number (49), minspace);
|
||||
|
||||
if (NETCONN_P (proc))
|
||||
{
|
||||
sprintf (tembuf, "(network stream connection to %s)\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue