diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/stty.c | 7 |
1 files changed, 7 insertions, 0 deletions
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}, |