aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorKarl Heuer1994-10-26 00:21:05 +0000
committerKarl Heuer1994-10-26 00:21:05 +0000
commita9fde32e8d406247ed35ceceb5fa55200991020b (patch)
tree89e350eeadb3207d3627617d9ad7da9a562062e0 /src/process.c
parentc3ef6b1d5f7b8e37dd231d11541ec4e7edb8bc29 (diff)
downloademacs-a9fde32e8d406247ed35ceceb5fa55200991020b.tar.gz
emacs-a9fde32e8d406247ed35ceceb5fa55200991020b.zip
(list_processes_1): Print tty name.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index 2ac2a811410..6af8974c7a6 100644
--- a/src/process.c
+++ b/src/process.c
@@ -880,8 +880,8 @@ list_processes_1 ()
880 current_buffer->truncate_lines = Qt; 880 current_buffer->truncate_lines = Qt;
881 881
882 write_string ("\ 882 write_string ("\
883Proc Status Buffer Command\n\ 883Proc Status Buffer Tty Command\n\
884---- ------ ------ -------\n", -1); 884---- ------ ------ --- -------\n", -1);
885 885
886 for (tail = Vprocess_alist; !NILP (tail); tail = Fcdr (tail)) 886 for (tail = Vprocess_alist; !NILP (tail); tail = Fcdr (tail))
887 { 887 {
@@ -949,6 +949,13 @@ Proc Status Buffer Command\n\
949 949
950 Findent_to (make_number (37), minspace); 950 Findent_to (make_number (37), minspace);
951 951
952 if (STRINGP (p->tty_name))
953 Finsert (1, &p->tty_name);
954 else
955 insert_string ("(none)");
956
957 Findent_to (make_number (49), minspace);
958
952 if (NETCONN_P (proc)) 959 if (NETCONN_P (proc))
953 { 960 {
954 sprintf (tembuf, "(network stream connection to %s)\n", 961 sprintf (tembuf, "(network stream connection to %s)\n",