diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-11-07 20:26:35 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-11-07 20:26:35 +0000 |
| commit | 2bf7ffc485ff7a75dd023b6fb218bcf3a2a2ea7d (patch) | |
| tree | d6a8044ce2667aac2489aa8c06193b46356561a9 | |
| parent | bc8cb7d0b46b7cba7163df1649d0c9adea914c5a (diff) | |
Notes
| -rw-r--r-- | usr.bin/tset/tset.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/usr.bin/tset/tset.c b/usr.bin/tset/tset.c index 60bc5fe0b43ca..8ff536d7ee074 100644 --- a/usr.bin/tset/tset.c +++ b/usr.bin/tset/tset.c @@ -209,19 +209,6 @@ main(argc, argv) tcsetattr(STDERR_FILENO, TCSADRAIN, &mode); } - /* Get the terminal name from the entry. */ - p = tcapbuf; - if (p != NULL && *p != ':') { - t = p; - if (p = strpbrk(p, "|:")) { - savech = *p; - *p = '\0'; - if ((ttype = strdup(t)) == NULL) - err("%s", strerror(errno)); - *p = savech; - } - } - if (noset) (void)printf("%s\n", ttype); else { |
