head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.160 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.158 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.156 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.154 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.152 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.150 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.148 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.146 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.144 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.142 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.140 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.138 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.136 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.134 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.132 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.130 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.128 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.126 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.124 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.122 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.120 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.118 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.116 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.112 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.92 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.114 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.110 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.108 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.106 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.104 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.102 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.100 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.98 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.96 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.94 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.90 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.88 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.86 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.84 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.82 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.80 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.78 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.76 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.74 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.72 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.70 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.68 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.66 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.64 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.62 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.60 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.58 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.56 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.54 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.52 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.50 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.48 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.46 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.44 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.42 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.40 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.38 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.36 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.34 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.32 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.30 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.28 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.26 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.24 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.22 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.20 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.18 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.16 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.14 pkgsrc-2008Q1:1.5.0.12 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.10 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.8 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.6 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.4 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.2 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.3.0.30 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.28 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.26 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.24 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.22 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.20 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.18 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.16 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.14 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.12 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.10 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.8 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.4 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.6 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.2 pkgviews-base:1.3 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.2; locks; strict; comment @# @; 1.5 date 2006.10.15.16.43.37; author schwarz; state Exp; branches; next 1.4; 1.4 date 2006.10.14.19.33.45; author schwarz; state Exp; branches; next 1.3; 1.3 date 2002.07.08.02.21.20; author kim; state Exp; branches; next 1.2; 1.2 date 99.08.22.22.55.46; author kim; state Exp; branches; next 1.1; 1.1 date 99.07.26.21.19.34; author tron; state Exp; branches; next ; desc @@ 1.5 log @ - do not explicitly pass CC to MAKE_ENV as pkgsrc already does so - added fixes for IRIX @ text @$NetBSD$ --- term.c.orig 2005-06-29 23:40:27.000000000 +0200 +++ term.c 2006-10-15 15:22:58.000000000 +0200 @@@@ -25,7 +25,7 @@@@ #include "regexp.h" #include "nn_term.h" -#if !defined(__FreeBSD__) && !(__NetBSD__) && !defined(NeXT) +#if !defined(__FreeBSD__) && !(__NetBSD__) && !defined(NeXT) && !defined(__APPLE__) && !defined(__DragonFly__) #include #else #include @@@@ -60,7 +60,7 @@@@ #else #define USE_TERMCAP -#if !defined(SUNOS4) && !defined(NeXT) +#if !defined(SUNOS4) && !defined(NeXT) && !defined(__sgi) #include #endif /* SUNOS4 */ @@@@ -74,9 +74,9 @@@@ #else -#ifndef __FreeBSD__ +#ifndef HAVE_TERMIOS_H #include -#endif /* __FreeBSD__ */ +#endif /* HAVE_TERMIOS_H */ #endif @@@@ -456,6 +456,12 @@@@ #endif /* FAKE_INTERRUPT */ static unsigned sp_table[] = { +#ifdef B115200 + B115200, 11520, +#endif +#ifdef B57600 + B57600, 5760, +#endif B9600, 960, #ifdef B19200 @ 1.4 log @updated news/nn to 6.7.3. Changes from 6.6.5 according to nn's ChangeLog are various bug fixes and code cleanups. @ text @d1 2 d4 1 a4 1 +++ term.c 2006-10-14 21:03:30.000000000 +0200 d14 9 @ 1.3 log @Upgrade to 6.6.4, which does not depend on an external inews program anymore. This should avoid any vulnerability issues with INN. NOTE: The text files from lib/nn can now be found in share/nn instead. @ text @d1 13 a13 7 $NetBSD$ --- term.c.orig Sun Jun 16 01:54:33 2002 +++ term.c Sun Jul 7 21:33:10 2002 @@@@ -42,9 +42,9 @@@@ # include # endif /* USE_TERMCAP */ d15 1 d18 4 a21 3 # include -#endif /* __FreeBSD__ */ +#endif /* HAVE_TERMIOS_H */ d24 2 a25 3 #ifdef SYSV_RESIZING @@@@ -401,6 +401,12 @@@@ #endif /* FAKE_INTERRUPT */ d35 1 a36 1 B19200, 1920, @ 1.2 log @Upgrade to nn 6.5.4. The main reason for the upgrade is to run completely over NNTP without any access to a news spool file system. NOV is accessed using the XOVER command (INN has this and it is available for nntpd too). @ text @d3 3 a5 3 --- term.c.orig Wed Jun 9 14:19:01 1999 +++ term.c Sun Aug 22 18:28:48 1999 @@@@ -47,9 +47,9 @@@@ d16 2 a17 2 /* SYSV curses.h clash */ @@@@ -413,6 +413,12 @@@@ @ 1.1 log @Split patches and convert to diff's unified output format. @ text @d3 3 a5 14 --- term.c.orig Sat Oct 2 12:34:09 1993 +++ term.c Mon Jul 26 23:11:39 1999 @@@@ -26,6 +26,10 @@@@ #include #endif +#ifdef HAVE_TERMIOS +#include +#endif + #ifdef USE_TERMINFO # ifdef HPUX80 # include @@@@ -46,8 +50,10 @@@@ d9 2 a10 1 +#ifndef HAVE_TERMIOS d12 2 a14 1 +#endif d17 1 a17 32 #undef raw @@@@ -206,7 +212,7 @@@@ extern char fake_keyb_siglist[]; #endif /* FAKE_INTERRUPT */ -#ifdef HAVE_TERMIO +#if defined(HAVE_TERMIO) || defined(HAVE_TERMIOS) /* This used to be 50, but there are some rather complex bugs in the SYSV */ /* TERMIO driver... */ @@@@ -214,12 +220,20 @@@@ #undef CBREAK +#ifdef HAVE_TERMIOS +static struct termios norm_tty, raw_tty; +#else static struct termio norm_tty, raw_tty; +#endif #define IntrC ((key_type) norm_tty.c_cc[VINTR]) #define EraseC ((key_type) norm_tty.c_cc[VERASE]) #define KillC ((key_type) norm_tty.c_cc[VKILL]) +#ifdef HAVE_TERMIOS +#define SuspC ((key_type) norm_tty.c_cc[VSUSP]) +#else #define SuspC ((key_type) CONTROL_('Z')) /* norm_tty.c_cc[SWTCH] */ +#endif #else /* V7/BSD TTY DRIVER */ @@@@ -390,6 +404,12 @@@@ a29 69 @@@@ -473,7 +493,11 @@@@ #ifdef HAVE_TERMIO ioctl(0, TCGETA, &norm_tty); #else +#ifdef HAVE_TERMIOS + tcgetattr(0, &norm_tty); +#else ioctl(0, TIOCGETP, &norm_tty); +#endif #endif /* HAVE_TERMIO */ #ifdef USE_TERMINFO @@@@ -581,6 +605,17 @@@@ raw_tty.c_cc[VTIME] = ((int)(raw_tty.c_cflag & CBAUD) > B1200) ? 1 : 2; set_term_speed((unsigned long)(raw_tty.c_cflag & CBAUD)); #else +#ifdef HAVE_TERMIOS + cfmakeraw(&raw_tty); + /* read a maximum of 10 characters in one burst; timeout in 1-200 ms */ + raw_tty.c_cc[VMIN] = KEY_BURST; + raw_tty.c_cc[VTIME] = (cfgetispeed(&raw_tty) > B1200) ? 1 : 2; + set_term_speed((unsigned long)cfgetospeed(&raw_tty)); +#ifdef SV_INTERRUPT + siginterrupt(SIGTSTP, 1); + siginterrupt(SIGALRM, 1); +#endif /* SV_INTERRUPT */ +#else ioctl(0, TIOCGETC, &norm_chars); #ifdef TIOCGLTC @@@@ -603,6 +638,7 @@@@ #ifdef SV_INTERRUPT siginterrupt(SIGALRM, 1); /* make read from tty interruptable */ #endif /* SV_INTERRUPT */ +#endif #endif /* HAVE_TERMIO */ erase_key = EraseC; @@@@ -1124,8 +1160,13 @@@@ #define RAW_MODE_ON ioctl(0, TCSETAW, &raw_tty) #define RAW_MODE_OFF ioctl(0, TCSETAW, &norm_tty) #else +#ifdef HAVE_TERMIOS +#define RAW_MODE_ON tcsetattr(0, TCSADRAIN, &raw_tty) +#define RAW_MODE_OFF tcsetattr(0, TCSADRAIN, &norm_tty) +#else #define RAW_MODE_ON ioctl(0, TIOCSETP, &raw_tty) #define RAW_MODE_OFF ioctl(0, TIOCSETP, &norm_tty) +#endif #endif /* HAVE_TERMIO */ void @@@@ -1344,12 +1385,16 @@@@ #ifdef HAVE_TERMIO ioctl(0, TCFLSH, 0); #else +#ifdef HAVE_TERMIOS + tcflush(0, TCIFLUSH); +#else #ifdef FREAD arg = FREAD; ioctl(0, TIOCFLUSH, &arg); #else ioctl(0, TIOCFLUSH, 0); #endif /* FREAD */ +#endif #endif /* HAVE_TERMIO */ rd_count = 0; } @