summaryrefslogtreecommitdiffstats
path: root/usr.bin/tset/set.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-10-06 20:41:56 +0000
committerache <ache@FreeBSD.org>1994-10-06 20:41:56 +0000
commitd5d42820e00fb15ff8263194cdef65a75b5a6438 (patch)
tree4ac80dbcf46607f431238be06a16ff02087b63ff /usr.bin/tset/set.c
parent8ef9b59f4286b53af4aabb1452a4a1fc74545a5b (diff)
downloadFreeBSD-src-d5d42820e00fb15ff8263194cdef65a75b5a6438.zip
FreeBSD-src-d5d42820e00fb15ff8263194cdef65a75b5a6438.tar.gz
PC/ospeed code ifdefed out, our libtermcap use usleep now
Diffstat (limited to 'usr.bin/tset/set.c')
-rw-r--r--usr.bin/tset/set.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tset/set.c b/usr.bin/tset/set.c
index b279a1c..0b6c0a0 100644
--- a/usr.bin/tset/set.c
+++ b/usr.bin/tset/set.c
@@ -241,9 +241,10 @@ set_init()
int settle;
bp = buf;
+#ifndef __FreeBSD__
if (tgetstr("pc", &bp) != 0) /* Get/set pad character. */
PC = buf[0];
-
+#endif
#ifdef TAB3
if (oldmode.c_oflag & (TAB3 | ONLCR | OCRNL | ONLRET)) {
oldmode.c_oflag &= (TAB3 | ONLCR | OCRNL | ONLRET);
OpenPOWER on IntegriCloud