summaryrefslogtreecommitdiffstats
path: root/usr.bin/tput
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-06-03 10:44:39 +0000
committerache <ache@FreeBSD.org>2002-06-03 10:44:39 +0000
commitc76b7b05b987d9699eb2f8960162cf19b08b1f61 (patch)
treeba0f457fc8c8a4514da915100aac652410a57dd9 /usr.bin/tput
parent69cfbbb22e100b8de6aa9f5b45cb3f5ef4c49e0b (diff)
downloadFreeBSD-src-c76b7b05b987d9699eb2f8960162cf19b08b1f61.zip
FreeBSD-src-c76b7b05b987d9699eb2f8960162cf19b08b1f61.tar.gz
Skip %pN comes from ncurses
PR: 15418
Diffstat (limited to 'usr.bin/tput')
-rw-r--r--usr.bin/tput/tput.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/tput/tput.c b/usr.bin/tput/tput.c
index 70a32eb..522a540 100644
--- a/usr.bin/tput/tput.c
+++ b/usr.bin/tput/tput.c
@@ -166,6 +166,11 @@ process(cap, str, argv)
case 'B':
case 'D':
break;
+ case 'p':
+ if (cp[1]) {
+ cp++;
+ break;
+ }
default:
/*
* hpux has lot's of them, but we complain
OpenPOWER on IntegriCloud