From 26963dfc153af3f7690651f7982417f020cfdd16 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 3 Mar 2000 21:47:59 +0000 Subject: Make it so stty's rprnt attribute works on HPUX 10.20. [CREPRINT && !CRPRNT] (CRPRNT): Define. (control_info): Recognize HPUX's CREPRINT. --- src/stty.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/stty.c b/src/stty.c index 9ba372407..307e23542 100644 --- a/src/stty.c +++ b/src/stty.c @@ -134,6 +134,9 @@ #if defined(VREPRINT) && !defined(CRPRNT) # define CRPRNT Control ('r') #endif +#if defined(CREPRINT) && !defined(CRPRNT) +# define CRPRNT Control ('r') +#endif #if defined(VWERASE) && !defined(CWERASE) # define CWERASE Control ('w') #endif @@ -379,6 +382,10 @@ static struct control_info control_info[] = #endif #ifdef VREPRINT {"rprnt", CRPRNT, VREPRINT}, +#else +# ifdef CREPRINT /* HPUX 10.20 needs this */ + {"rprnt", CRPRNT, CREPRINT}, +# endif #endif #ifdef VWERASE {"werase", CWERASE, VWERASE}, -- cgit v1.2.3-70-g09d2