summaryrefslogtreecommitdiff
path: root/libps
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-18 22:54:53 +0000
committerMiles Bader <miles@gnu.org>1996-07-18 22:54:53 +0000
commitc83439752bf3358eb7b7f0573f2a1f193d385378 (patch)
treee90ca6af3293dab0273cdff4aa1e44fec6f95656 /libps
parenta22bd3c35f85ee284830551ebdbcf5a6336c5aa8 (diff)
(ps_tty_abbrevs): Add an entry for /dev/comX -> cX.
Diffstat (limited to 'libps')
-rw-r--r--libps/tty.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libps/tty.c b/libps/tty.c
index 9e7de577..9d9ee649 100644
--- a/libps/tty.c
+++ b/libps/tty.c
@@ -98,10 +98,11 @@ struct ps_tty_abbrev
struct ps_tty_abbrev ps_tty_abbrevs[] =
{
{ "/tmp/console", "oc" }, /* temp hack */
- { "/dev/console", "co"},
- { "/dev/tty", ""},
- { "/dev/pty", ""},
- { "/dev/", ""},
+ { "/dev/console", "co" },
+ { "/dev/tty", "" },
+ { "/dev/pty", "" },
+ { "/dev/com", "c" },
+ { "/dev/", "" },
{ 0 }
};