head 1.6; access; symbols netbsd-10-2-RELEASE:1.5 netbsd-9-5-RELEASE:1.5 netbsd-11-0-RELEASE:1.5 netbsd-11-0-RC7:1.5 netbsd-11-0-RC6:1.5 netbsd-11-0-RC5:1.5 netbsd-11-0-RC4:1.5 netbsd-11-0-RC3:1.5 netbsd-11-0-RC2:1.5 netbsd-11-0-RC1:1.5 perseant-exfatfs-base-20250801:1.5 netbsd-11:1.5.0.18 netbsd-11-base:1.5 netbsd-10-1-RELEASE:1.5 perseant-exfatfs-base-20240630:1.5 perseant-exfatfs:1.5.0.16 perseant-exfatfs-base:1.5 netbsd-8-3-RELEASE:1.4 netbsd-9-4-RELEASE:1.5 netbsd-10-0-RELEASE:1.5 netbsd-10-0-RC6:1.5 netbsd-10-0-RC5:1.5 netbsd-10-0-RC4:1.5 netbsd-10-0-RC3:1.5 netbsd-10-0-RC2:1.5 netbsd-10-0-RC1:1.5 netbsd-10:1.5.0.14 netbsd-10-base:1.5 netbsd-9-3-RELEASE:1.5 cjep_sun2x-base1:1.5 cjep_sun2x:1.5.0.12 cjep_sun2x-base:1.5 cjep_staticlib_x-base1:1.5 netbsd-9-2-RELEASE:1.5 cjep_staticlib_x:1.5.0.10 cjep_staticlib_x-base:1.5 netbsd-9-1-RELEASE:1.5 phil-wifi-20200421:1.5 phil-wifi-20200411:1.5 is-mlppp:1.5.0.8 is-mlppp-base:1.5 phil-wifi-20200406:1.5 netbsd-8-2-RELEASE:1.4 netbsd-9-0-RELEASE:1.5 netbsd-9-0-RC2:1.5 netbsd-9-0-RC1:1.5 phil-wifi-20191119:1.5 netbsd-9:1.5.0.6 netbsd-9-base:1.5 phil-wifi-20190609:1.5 netbsd-8-1-RELEASE:1.4 netbsd-8-1-RC1:1.4 pgoyette-compat-merge-20190127:1.5 pgoyette-compat-20190127:1.5 pgoyette-compat-20190118:1.5 pgoyette-compat-1226:1.5 pgoyette-compat-1126:1.5 pgoyette-compat-1020:1.5 pgoyette-compat-0930:1.5 pgoyette-compat-0906:1.5 netbsd-7-2-RELEASE:1.4 pgoyette-compat-0728:1.5 netbsd-8-0-RELEASE:1.4 phil-wifi:1.5.0.4 phil-wifi-base:1.5 pgoyette-compat-0625:1.5 netbsd-8-0-RC2:1.4 pgoyette-compat-0521:1.5 pgoyette-compat-0502:1.5 pgoyette-compat-0422:1.5 netbsd-8-0-RC1:1.4 pgoyette-compat-0415:1.5 pgoyette-compat-0407:1.5 pgoyette-compat-0330:1.5 pgoyette-compat-0322:1.5 pgoyette-compat-0315:1.5 netbsd-7-1-2-RELEASE:1.4 pgoyette-compat:1.5.0.2 pgoyette-compat-base:1.5 netbsd-7-1-1-RELEASE:1.4 matt-nb8-mediatek:1.4.0.108 matt-nb8-mediatek-base:1.4 perseant-stdc-iso10646:1.4.0.106 perseant-stdc-iso10646-base:1.4 netbsd-8:1.4.0.104 netbsd-8-base:1.4 prg-localcount2-base3:1.4 prg-localcount2-base2:1.4 prg-localcount2-base1:1.4 prg-localcount2:1.4.0.102 prg-localcount2-base:1.4 pgoyette-localcount-20170426:1.4 bouyer-socketcan-base1:1.4 pgoyette-localcount-20170320:1.4 netbsd-7-1:1.4.0.100 netbsd-7-1-RELEASE:1.4 netbsd-7-1-RC2:1.4 netbsd-7-nhusb-base-20170116:1.4 bouyer-socketcan:1.4.0.98 bouyer-socketcan-base:1.4 pgoyette-localcount-20170107:1.4 netbsd-7-1-RC1:1.4 pgoyette-localcount-20161104:1.4 netbsd-7-0-2-RELEASE:1.4 localcount-20160914:1.4 netbsd-7-nhusb:1.4.0.96 netbsd-7-nhusb-base:1.4 pgoyette-localcount-20160806:1.4 pgoyette-localcount-20160726:1.4 pgoyette-localcount:1.4.0.94 pgoyette-localcount-base:1.4 netbsd-7-0-1-RELEASE:1.4 netbsd-7-0:1.4.0.92 netbsd-7-0-RELEASE:1.4 netbsd-7-0-RC3:1.4 netbsd-7-0-RC2:1.4 netbsd-7-0-RC1:1.4 netbsd-5-2-3-RELEASE:1.4 netbsd-5-1-5-RELEASE:1.4 netbsd-6-0-6-RELEASE:1.4 netbsd-6-1-5-RELEASE:1.4 netbsd-7:1.4.0.90 netbsd-7-base:1.4 yamt-pagecache-base9:1.4 yamt-pagecache-tag8:1.4 netbsd-6-1-4-RELEASE:1.4 netbsd-6-0-5-RELEASE:1.4 tls-earlyentropy:1.4.0.88 tls-earlyentropy-base:1.4 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4 riastradh-drm2-base3:1.4 netbsd-6-1-3-RELEASE:1.4 netbsd-6-0-4-RELEASE:1.4 netbsd-5-2-2-RELEASE:1.4 netbsd-5-1-4-RELEASE:1.4 netbsd-6-1-2-RELEASE:1.4 netbsd-6-0-3-RELEASE:1.4 netbsd-5-2-1-RELEASE:1.4 netbsd-5-1-3-RELEASE:1.4 netbsd-6-1-1-RELEASE:1.4 riastradh-drm2-base2:1.4 riastradh-drm2-base1:1.4 riastradh-drm2:1.4.0.82 riastradh-drm2-base:1.4 netbsd-6-1:1.4.0.86 netbsd-6-0-2-RELEASE:1.4 netbsd-6-1-RELEASE:1.4 netbsd-6-1-RC4:1.4 netbsd-6-1-RC3:1.4 agc-symver:1.4.0.84 agc-symver-base:1.4 netbsd-6-1-RC2:1.4 netbsd-6-1-RC1:1.4 yamt-pagecache-base8:1.4 netbsd-5-2:1.4.0.80 netbsd-6-0-1-RELEASE:1.4 yamt-pagecache-base7:1.4 netbsd-5-2-RELEASE:1.4 netbsd-5-2-RC1:1.4 matt-nb6-plus-nbase:1.4 yamt-pagecache-base6:1.4 netbsd-6-0:1.4.0.78 netbsd-6-0-RELEASE:1.4 netbsd-6-0-RC2:1.4 tls-maxphys:1.4.0.76 tls-maxphys-base:1.4 matt-nb6-plus:1.4.0.74 matt-nb6-plus-base:1.4 netbsd-6-0-RC1:1.4 yamt-pagecache-base5:1.4 yamt-pagecache-base4:1.4 netbsd-6:1.4.0.72 netbsd-6-base:1.4 netbsd-5-1-2-RELEASE:1.4 netbsd-5-1-1-RELEASE:1.4 yamt-pagecache-base3:1.4 yamt-pagecache-base2:1.4 yamt-pagecache:1.4.0.70 yamt-pagecache-base:1.4 cherry-xenmp:1.4.0.68 cherry-xenmp-base:1.4 bouyer-quota2-nbase:1.4 bouyer-quota2:1.4.0.66 bouyer-quota2-base:1.4 matt-mips64-premerge-20101231:1.4 matt-nb5-mips64-premerge-20101231:1.4 matt-nb5-pq3:1.4.0.64 matt-nb5-pq3-base:1.4 netbsd-5-1:1.4.0.62 netbsd-5-1-RELEASE:1.4 netbsd-5-1-RC4:1.4 matt-nb5-mips64-k15:1.4 netbsd-5-1-RC3:1.4 netbsd-5-1-RC2:1.4 netbsd-5-1-RC1:1.4 netbsd-5-0-2-RELEASE:1.4 matt-nb5-mips64-premerge-20091211:1.4 matt-premerge-20091211:1.4 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.4 matt-nb4-mips64-k7-u2a-k9b:1.4 matt-nb5-mips64-u1-k1-k5:1.4 matt-nb5-mips64:1.4.0.60 netbsd-5-0-1-RELEASE:1.4 jym-xensuspend-nbase:1.4 netbsd-5-0:1.4.0.58 netbsd-5-0-RELEASE:1.4 netbsd-5-0-RC4:1.4 netbsd-5-0-RC3:1.4 netbsd-5-0-RC2:1.4 jym-xensuspend:1.4.0.56 jym-xensuspend-base:1.4 netbsd-5-0-RC1:1.4 christos-time_t-nbase:1.4 christos-time_t:1.4.0.54 christos-time_t-base:1.4 netbsd-5:1.4.0.52 netbsd-5-base:1.4 matt-mips64-base2:1.4 matt-mips64:1.4.0.50 mjf-devfs2:1.4.0.48 mjf-devfs2-base:1.4 netbsd-4-0-1-RELEASE:1.4 wrstuden-revivesa-base-3:1.4 wrstuden-revivesa-base-2:1.4 wrstuden-fixsa-newbase:1.4 wrstuden-revivesa-base-1:1.4 yamt-pf42-base4:1.4 yamt-pf42-base3:1.4 hpcarm-cleanup-nbase:1.4 yamt-pf42-baseX:1.4 yamt-pf42-base2:1.4 wrstuden-revivesa:1.4.0.46 wrstuden-revivesa-base:1.4 yamt-pf42:1.4.0.44 yamt-pf42-base:1.4 keiichi-mipv6:1.4.0.42 keiichi-mipv6-base:1.4 matt-armv6-nbase:1.4 matt-armv6-prevmlocking:1.4 wrstuden-fixsa-base-1:1.4 netbsd-4-0:1.4.0.40 netbsd-4-0-RELEASE:1.4 cube-autoconf:1.4.0.38 cube-autoconf-base:1.4 netbsd-4-0-RC5:1.4 netbsd-4-0-RC4:1.4 netbsd-4-0-RC3:1.4 netbsd-4-0-RC2:1.4 netbsd-4-0-RC1:1.4 matt-armv6:1.4.0.36 matt-armv6-base:1.4 matt-mips64-base:1.4 hpcarm-cleanup:1.4.0.34 hpcarm-cleanup-base:1.4 netbsd-3-1-1-RELEASE:1.4 netbsd-3-0-3-RELEASE:1.4 wrstuden-fixsa:1.4.0.32 wrstuden-fixsa-base:1.4 abandoned-netbsd-4-base:1.4 abandoned-netbsd-4:1.4.0.26 netbsd-3-1:1.4.0.28 netbsd-3-1-RELEASE:1.4 netbsd-3-0-2-RELEASE:1.4 netbsd-3-1-RC4:1.4 netbsd-3-1-RC3:1.4 netbsd-3-1-RC2:1.4 netbsd-3-1-RC1:1.4 netbsd-4:1.4.0.30 netbsd-4-base:1.4 netbsd-3-0-1-RELEASE:1.4 netbsd-3-0:1.4.0.24 netbsd-3-0-RELEASE:1.4 netbsd-3-0-RC6:1.4 netbsd-3-0-RC5:1.4 netbsd-3-0-RC4:1.4 netbsd-3-0-RC3:1.4 netbsd-3-0-RC2:1.4 netbsd-3-0-RC1:1.4 netbsd-2-0-3-RELEASE:1.4 netbsd-2-1:1.4.0.22 netbsd-2-1-RELEASE:1.4 netbsd-2-1-RC6:1.4 netbsd-2-1-RC5:1.4 netbsd-2-1-RC4:1.4 netbsd-2-1-RC3:1.4 netbsd-2-1-RC2:1.4 netbsd-2-1-RC1:1.4 netbsd-2-0-2-RELEASE:1.4 netbsd-3:1.4.0.20 netbsd-3-base:1.4 netbsd-2-0-1-RELEASE:1.4 netbsd-2:1.4.0.18 netbsd-2-base:1.4 netbsd-2-0-RELEASE:1.4 netbsd-2-0-RC5:1.4 netbsd-2-0-RC4:1.4 netbsd-2-0-RC3:1.4 netbsd-2-0-RC2:1.4 netbsd-2-0-RC1:1.4 netbsd-2-0:1.4.0.16 netbsd-2-0-base:1.4 netbsd-1-6-PATCH002-RELEASE:1.4 netbsd-1-6-PATCH002:1.4 netbsd-1-6-PATCH002-RC4:1.4 netbsd-1-6-PATCH002-RC3:1.4 netbsd-1-6-PATCH002-RC2:1.4 netbsd-1-6-PATCH002-RC1:1.4 netbsd-1-6-PATCH001:1.4 netbsd-1-6-PATCH001-RELEASE:1.4 netbsd-1-6-PATCH001-RC3:1.4 netbsd-1-6-PATCH001-RC2:1.4 netbsd-1-6-PATCH001-RC1:1.4 nathanw_sa_end:1.4 nathanw_sa_before_merge:1.4 fvdl_fs64_base:1.4 nathanw_sa_base:1.4 netbsd-1-6-RELEASE:1.4 netbsd-1-6-RC3:1.4 netbsd-1-6-RC2:1.4 netbsd-1-6-RC1:1.4 netbsd-1-6:1.4.0.14 netbsd-1-6-base:1.4 netbsd-1-5-PATCH003:1.4 netbsd-1-5-PATCH002:1.4 netbsd-1-5-PATCH001:1.4 nathanw_sa:1.4.0.12 netbsd-1-5-RELEASE:1.4 netbsd-1-5-BETA2:1.4 netbsd-1-5-BETA:1.4 netbsd-1-4-PATCH003:1.4 netbsd-1-5-ALPHA2:1.4 netbsd-1-5:1.4.0.10 netbsd-1-5-base:1.4 minoura-xpg4dl:1.4.0.8 minoura-xpg4dl-base:1.4 netbsd-1-4-PATCH002:1.4 wrstuden-devbsize-19991221:1.4 wrstuden-devbsize:1.4.0.6 wrstuden-devbsize-base:1.4 comdex-fall-1999:1.4.0.4 comdex-fall-1999-base:1.4 netbsd-1-4-PATCH001:1.4 netbsd-1-4-RELEASE:1.4 netbsd-1-4:1.4.0.2 netbsd-1-4-base:1.4 netbsd-1-3-PATCH003:1.2 netbsd-1-3-PATCH003-CANDIDATE2:1.2 netbsd-1-3-PATCH003-CANDIDATE1:1.2 netbsd-1-3-PATCH003-CANDIDATE0:1.2 netbsd-1-3-PATCH002:1.2 netbsd-1-3-PATCH001:1.2 netbsd-1-3-RELEASE:1.2 netbsd-1-3-BETA:1.2 netbsd-1-3:1.2.0.10 netbsd-1-3-base:1.2 netbsd-1-2-PATCH001:1.2 nsswitch:1.2.0.8 ivory_soap2:1.2.0.4 netbsd-1-2-RELEASE:1.2 netbsd-1-2-BETA:1.2 netbsd-1-2:1.2.0.6 netbsd-1-2-base:1.2 netbsd-1-1-PATCH001:1.2 netbsd-1-1-RELEASE:1.2 netbsd-1-1:1.2.0.2 netbsd-1-1-base:1.2; locks; strict; comment @# @; 1.6 date 2026.10.04.03.28.46; author mrg; state Exp; branches; next 1.5; commitid iCZ96NJyTfeaO6YG; 1.5 date 2017.10.25.06.32.59; author kre; state Exp; branches; next 1.4; commitid yVbhl8Lbu6BDOocA; 1.4 date 98.02.14.20.20.44; author kleink; state Exp; branches; next 1.3; 1.3 date 98.02.14.01.37.06; author thorpej; state Exp; branches; next 1.2; 1.2 date 95.04.25.21.22.17; author christos; state Exp; branches; next 1.1; 1.1 date 95.04.25.00.04.21; author jtc; state Exp; branches; next ; desc @@ 1.6 log @Prefer using ${.PARSEDIR} over assuming that ${.CURDIR} is src/lib/libc. Mostly this changes ${.CURDIR} refs into either ${.PARSEDIR}, ${LIBCDIR}, or ${NETBSDSRCDIR} refs. Set LIBCDIR earlier to ensure it's available always. This will be used to build a smaller libc (eg, with no assert strings.) Tested builds on atari, x86-64, arm64, and vax. @ text @# $NetBSD: Makefile.inc,v 1.5 2017/10/25 06:32:59 kre Exp $ .PATH: ${.PARSEDIR} SRCS+= cfgetispeed.c cfgetospeed.c cfmakeraw.c cfsetispeed.c cfsetospeed.c \ cfsetspeed.c tcdrain.c tcflow.c tcflush.c tcgetattr.c tcgetpgrp.c \ tcgetwinsize.c tcgetsid.c tcsendbreak.c tcsetattr.c tcsetpgrp.c \ tcsetwinsize.c MAN+= tcgetpgrp.3 tcgetsid.3 tcgetwinsize.3 tcsendbreak.3 tcsetattr.3 \ tcsetpgrp.3 MLINKS+=tcgetwinsize.3 tcsetwinsize.3 MLINKS+=tcsendbreak.3 tcdrain.3 tcsendbreak.3 tcflow.3 \ tcsendbreak.3 tcflush.3 MLINKS+=tcsetattr.3 tcgetattr.3 tcsetattr.3 cfgetispeed.3 \ tcsetattr.3 cfgetospeed.3 tcsetattr.3 cfmakeraw.3 \ tcsetattr.3 cfsetispeed.3 tcsetattr.3 cfsetospeed.3 \ tcsetattr.3 cfsetspeed.3 @ 1.5 log @Implement tcgetwinsize() and tcsetwinsize() in libc, with access via (and document them.) Bump libc minor number for them. Arrange for "struct winsize" to become visible in Fix stty(1) so that "cols" is reported as the arg to set number of columns, and "columns" is the alias, rather than the other way around, as "cols" is what has been added to POSIX. This is to conform with updates to be included in 1003.1 issue 8 (whenever that gets published) currently available at: http://austingroupbugs.net/view.php?id=1053 (see note 3863) http://austingroupbugs.net/view.php?id=1151 (see note 3856) @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.4 1998/02/14 20:20:44 kleink Exp $ d3 1 a3 1 .PATH: ${.CURDIR}/termios @ 1.4 log @Add tcgetsid.c (for thorpej). @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.3 1998/02/14 01:37:06 thorpej Exp $ d7 2 a8 1 tcgetsid.c tcsendbreak.c tcsetattr.c tcsetpgrp.c d10 2 a11 1 MAN+= tcgetpgrp.3 tcgetsid.3 tcsendbreak.3 tcsetattr.3 tcsetpgrp.3 d13 1 @ 1.3 log @Add tcgetsid.3 @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.2 1995/04/25 21:22:17 christos Exp $ d7 1 a7 1 tcsendbreak.c tcsetattr.c tcsetpgrp.c @ 1.2 log @Fix typo... @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.1 1995/04/25 00:04:21 jtc Exp $ d9 1 a9 1 MAN+= tcgetpgrp.3 tcsendbreak.3 tcsetattr.3 tcsetpgrp.3 @ 1.1 log @Initial checkin of termios directory. The code used to be in gen/termios.c, but has been split out so that NetBSD users don't trip over the extensions that intrude into the POSIX namespace. @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.69 1995/04/17 12:28:29 ragge Exp $ d3 1 a3 1 .PATH: ${.CURDIR}/gen @