diff options
Diffstat (limited to 'usr.bin/tset')
-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 60bc5fe..8ff536d 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 { |