diff options
| author | Karl Heuer | 1994-10-26 00:21:05 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-10-26 00:21:05 +0000 |
| commit | a9fde32e8d406247ed35ceceb5fa55200991020b (patch) | |
| tree | 89e350eeadb3207d3627617d9ad7da9a562062e0 /src | |
| parent | c3ef6b1d5f7b8e37dd231d11541ec4e7edb8bc29 (diff) | |
| download | emacs-a9fde32e8d406247ed35ceceb5fa55200991020b.tar.gz emacs-a9fde32e8d406247ed35ceceb5fa55200991020b.zip | |
(list_processes_1): Print tty name.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 11 |
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 ("\ |
| 883 | Proc Status Buffer Command\n\ | 883 | Proc 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", |