head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.8 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.6 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.4 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.2 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.4.0.94 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.92 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.90 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.88 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.86 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.84 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.82 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.80 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.78 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.76 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.74 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.72 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.70 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.68 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.66 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.64 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.62 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.60 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.58 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.54 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.34 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.56 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.52 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.50 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.48 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.46 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.44 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.42 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.40 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.38 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.36 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.32 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.30 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.28 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.26 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.24 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.22 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.20 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.18 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.16 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.14 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.12 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.10 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.8 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.6 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.4 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.2 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.3.0.66 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.64 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.62 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.60 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.58 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.56 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.54 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.52 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.50 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.48 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.46 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.44 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.42 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.40 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.38 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.36 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.34 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.32 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.30 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.28 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.26 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.24 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.22 pkgsrc-2008Q1:1.3.0.20 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.18 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.16 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.14 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.12 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.10 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.8 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.6 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.4 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.6 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.4 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.2 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.1.1.1.0.2 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.1.1.0.4 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.1.1.0.6 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.1.1.0.8 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.1.1.0.10 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.1.1.0.14 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.1.1.0.16 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.1.1.0.18 pkgviews-base:1.1 buildlink2-base:1.1.1.1 buildlink2:1.1.1.1.0.12 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2025.04.21.16.26.35; author wiz; state Exp; branches; next 1.4; commitid MRyyOFnO9QeQbWRF; 1.4 date 2013.07.18.12.07.24; author joerg; state Exp; branches; next 1.3; commitid qF8N7gtfLNHoOWXw; 1.3 date 2005.12.05.20.49.55; author rillig; state Exp; branches; next 1.2; 1.2 date 2005.01.19.16.11.41; author tv; state Exp; branches; next 1.1; 1.1 date 2002.06.19.09.39.18; author agc; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.06.19.09.39.18; author agc; state Exp; branches 1.1.1.1.12.1; next ; 1.1.1.1.12.1 date 2002.06.19.09.39.18; author jlam; state dead; branches; next 1.1.1.1.12.2; 1.1.1.1.12.2 date 2002.06.23.18.42.08; author jlam; state Exp; branches; next ; desc @@ 1.5 log @hztty: remove Interix support @ text @$NetBSD: patch-ab,v 1.4 2013/07/18 12:07:24 joerg Exp $ --- tty.c.orig 1995-01-29 20:24:55.000000000 +0000 +++ tty.c @@@@ -13,6 +13,7 @@@@ static char *rcs_id="$Id: tty.c,v 2.1 19 #endif /* lint */ #include "config.h" +#include /* * Functions get_pty() and pty_search() in this file are adopted from @@@@ -26,7 +27,7 @@@@ static char *rcs_id="$Id: tty.c,v 2.1 19 # define TTYDEV "/dev/pty/ttyxx" #else /* !hpux */ # define PTYCHAR1 "pqrstuvwxyzPQRSTUVWXYZ" -# define PTYCHAR2 "0123456789abcdef" +# define PTYCHAR2 "0123456789abcdefghijklmnopqrstuv" # define PTYDEV "/dev/ptyxx" # define TTYDEV "/dev/ttyxx" #endif /* !hpux */ @ 1.4 log @Add termios.h formerly included by unistd.h. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2005/12/05 20:49:55 rillig Exp $ a21 53 @@@@ -39,6 +40,10 @@@@ extern char *ptsname(); # include #endif +#ifdef __INTERIX +# define setpgrp() setpgid(0, 0) +#endif + static char ptydev[32]; static char ttydev[32]; static int pty_search(); @@@@ -61,7 +66,7 @@@@ int get_pty (pty) return 0; #endif /* SYSV && SYSV386 */ -#if (defined(att) || defined(ATT)) && (!defined(_SEQUENT_)) +#if (defined(att) || defined(ATT) || defined(__INTERIX)) && (!defined(_SEQUENT_)) { if ((*pty = open ("/dev/ptmx", O_RDWR)) < 0) return 1; @@@@ -414,7 +419,10 @@@@ void make_raw(oldtermptr, newtermptr) /******************************* UTMP stuffs *******************************/ +#ifndef __INTERIX #include +#endif + #ifdef HAS_UTMPX # include @@@@ -428,6 +436,10 @@@@ void make_raw(oldtermptr, newtermptr) # define getutid getutxid # define pututline pututxline +# ifdef __INTERIX +# define ut_xtime ut_tv.tv_sec +# endif + #endif #ifdef USE_SYSV_UTMP @@@@ -507,8 +519,10 @@@@ void addutmp() utmp.ut_pid = getpid(); # ifdef HAS_UTMPX +# ifndef __INTERIX utmpx.ut_syslen = 1; utmpx.ut_session = getsid(0); +# endif utmpx.ut_tv.tv_usec = 0; # endif @ 1.3 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2005/01/19 16:11:41 tv Exp $ d3 1 a3 1 --- tty.c.orig 1995-01-29 15:24:55.000000000 -0500 d5 9 a13 1 @@@@ -26,7 +26,7 @@@@ d22 1 a22 1 @@@@ -39,6 +39,10 @@@@ extern char *ptsname(); d33 1 a33 1 @@@@ -61,7 +65,7 @@@@ int get_pty (pty) d42 1 a42 1 @@@@ -414,7 +418,10 @@@@ void make_raw(oldtermptr, newtermptr) d53 1 a53 1 @@@@ -428,6 +435,10 @@@@ void make_raw(oldtermptr, newtermptr) d64 1 a64 1 @@@@ -507,8 +518,10 @@@@ void addutmp() @ 1.2 log @Fix build on Interix (mostly SVR4ish in its pty/utmp implementation). @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -26,7 +26,7 @@@@ static char *rcs_id="$Id: tty.c,v 2.1 19 @ 1.1 log @Initial revision @ text @d3 3 a5 3 --- tty.c.orig Sun Jan 29 12:24:55 1995 +++ tty.c Mon Oct 6 23:56:32 1997 @@@@ -26,7 +26,7 @@@@ d14 53 @ 1.1.1.1 log @Initial import of hztty-2.0 into the NetBSD Packages Collection. Provided in PR 16086 by Rui-Xiang Guo (rxg@@ms25.url.com.tw) This program turns a tty session from one encoding to another. For example, running hztty on cxterm can allow you to read/write Chinese in HZ format, which was not supported by cxterm. If you have many applications in different encodings but your favor terminal program only supports one, hztty can make life easy. For example, hztty can convert your GB cxterm into a HZ terminal, a Unicode (16bit, or UTF8, or UTF7) terminal, or a Big5 terminal. @ text @@ 1.1.1.1.12.1 log @file patch-ab was added on branch buildlink2 on 2002-06-23 18:42:08 +0000 @ text @d1 13 @ 1.1.1.1.12.2 log @Merge from pkgsrc-current to buildlink2 branch. @ text @a0 13 $NetBSD: patch-ab,v 1.1.1.1.12.1 2002/06/23 18:42:08 jlam Exp $ --- tty.c.orig Sun Jan 29 12:24:55 1995 +++ tty.c Mon Oct 6 23:56:32 1997 @@@@ -26,7 +26,7 @@@@ # define TTYDEV "/dev/pty/ttyxx" #else /* !hpux */ # define PTYCHAR1 "pqrstuvwxyzPQRSTUVWXYZ" -# define PTYCHAR2 "0123456789abcdef" +# define PTYCHAR2 "0123456789abcdefghijklmnopqrstuv" # define PTYDEV "/dev/ptyxx" # define TTYDEV "/dev/ttyxx" #endif /* !hpux */ @