Commit a9fde32e authored by Karl Heuer's avatar Karl Heuer

(list_processes_1): Print tty name.

parent c3ef6b1d
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment