CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: nia Date: Fri Jun 18 13:13:45 UTC 2021 Modified Files: src/usr.bin/calendar/calendars: calendar.holiday Log Message: June 19 is Juneteenth in USA To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/usr.bin/calendar/calendars/calendar.holiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.holiday diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.32 src/usr.bin/calendar/calendars/calendar.holiday:1.33 --- src/usr.bin/calendar/calendars/calendar.holiday:1.32 Thu Jun 17 11:48:19 2021 +++ src/usr.bin/calendar/calendars/calendar.holiday Fri Jun 18 13:13:44 2021 @@ -205,6 +205,7 @@ 06/19 Emancipation Day in Texas 06/19 Labor Day in Trinidad, Tobago 06/19 Revolution Day in Algeria +06/19 Juneteenth National Independence Day in United States 06/20 Flag Day in Argentina 06/20 West Virginia Day in West Virginia 06/22 National Sovereignty Day in Haiti
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: nia Date: Thu Jun 17 11:48:19 UTC 2021 Modified Files: src/usr.bin/calendar/calendars: calendar.holiday Log Message: U.S.S.R no longer exists To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/usr.bin/calendar/calendars/calendar.holiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.holiday diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.31 src/usr.bin/calendar/calendars/calendar.holiday:1.32 --- src/usr.bin/calendar/calendars/calendar.holiday:1.31 Thu Jun 17 11:45:22 2021 +++ src/usr.bin/calendar/calendars/calendar.holiday Thu Jun 17 11:48:19 2021 @@ -61,7 +61,7 @@ 03/06 Lantern Day, Bejing 03/09* Purim - Feast of Lots 03/08 First Annual International Women's Day, 1909 -03/08 International Women's Day in U.S.S.R. +03/08 International Women's Day 03/08 Syrian National Day in Libyan Arab Republic 03/08 Women's Day in Guinea-Bissau, Taiwan, Yemen Democratic Republic 03/08 Youth Day in Zambia @@ -149,7 +149,7 @@ 05/07 May Day in United Kingdom 05/08 Truman Day in Missouri 05/09 Liberation Day in Czechoslovakia -05/09 Victory Day in Poland, U.S.S.R. +05/09 Victory Day in Poland, Israel, former U.S.S.R. 05/10 Confederate Memorial Day in South Carolina 05/10 Mothers Day in Guatemala 05/11 Minnesota Day in Minnesota @@ -348,7 +348,6 @@ 10/04 Independence Day in Lesotho 10/06 National Sports Day in Lesotho 10/07 National Heroes Day in Jamaica -10/08 Constitution Day in U.S.S.R 10/08 Fiji Day in Fiji 10/09 Independence Day in Uganda 10/09 Korean Alphabet Day in South Korea
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: nia Date: Thu Jun 17 11:45:22 UTC 2021 Modified Files: src/usr.bin/calendar/calendars: calendar.holiday Log Message: November 20 is International Transgender Day of Remembrance Officially recongized in Ontario, Canada. Originates from the murder of Rita Hester in Allston, Massachusetts, on November 28, 1998. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.bin/calendar/calendars/calendar.holiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.holiday diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.30 src/usr.bin/calendar/calendars/calendar.holiday:1.31 --- src/usr.bin/calendar/calendars/calendar.holiday:1.30 Mon Dec 16 07:18:11 2019 +++ src/usr.bin/calendar/calendars/calendar.holiday Thu Jun 17 11:45:22 2021 @@ -551,6 +551,7 @@ 11/19 Anniversary of the 1968 Coup by the Army in Mali 11/19 Garifuna Settlement in Belize 11/19 Prince of Wales Birthday in Fiji +11/20 Transgender Day of Remembrance 11/22 Anniversary of Portuguese Aggression in Guinea 11/24 Anniversary of the New Regime in Zaire 11/28 Independence from Spain in Panama
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: nia Date: Thu Jun 17 11:32:34 UTC 2021 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: 1985: first ARM silicon and first Amiga To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.bin/calendar/calendars/calendar.computer Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.computer diff -u src/usr.bin/calendar/calendars/calendar.computer:1.17 src/usr.bin/calendar/calendars/calendar.computer:1.18 --- src/usr.bin/calendar/calendars/calendar.computer:1.17 Wed Jun 16 19:31:03 2021 +++ src/usr.bin/calendar/calendars/calendar.computer Thu Jun 17 11:32:34 2021 @@ -34,6 +34,7 @@ 04/07 IBM announces System/360, 1964 04/09 ENIAC Project begun, 1943 04/20 Apple announces the Apple ][ at the 1st West Coast Computer Faire, 1977 +04/26 First ARM silicon produced, 1985 04/28 Zilog Z-80 introduced, 1974 05/01 First BASIC program run at Dartmouth, 1964 05/06 EDSAC demonstrated, 1949 @@ -58,6 +59,7 @@ Temple Univ., Phila, 1948, for symbolic differentiation on the ENIAC 07/08 Bell Telephone Co. formed (predecessor of AT&T), 1877 07/08 CDC incorporated, 1957 +07/23 Commodore Amiga 1000 released, 1985 08/09 First email sent from space by the crew of STS-43, 1991 08/14 First Unix-based mallet created, 1954 08/14 IBM PC announced, 1981
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: snj Date: Wed Jun 16 19:31:03 UTC 2021 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: it's "its" To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.bin/calendar/calendars/calendar.computer Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.computer diff -u src/usr.bin/calendar/calendars/calendar.computer:1.16 src/usr.bin/calendar/calendars/calendar.computer:1.17 --- src/usr.bin/calendar/calendars/calendar.computer:1.16 Mon Jun 22 13:20:15 2020 +++ src/usr.bin/calendar/calendars/calendar.computer Wed Jun 16 19:31:03 2021 @@ -48,7 +48,7 @@ 06/10 First Apple II shipped, 1977 06/15 UNIVAC I delivered to the Census Bureau, 1951 06/16 First programming error at Census Bureau, 1951 (apocryphal) -06/16 Super Dimension Fortress (SDF) BBS received it's first caller on an +06/16 Super Dimension Fortress (SDF) BBS received its first caller on an Apple ][e known as the SDF-1, 1987 06/19 FreeBSD project born, 1993 06/20 X Window System born, 1984
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: martin Date: Mon May 17 15:59:28 UTC 2021 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: Add NetBSD 9.1 and 9.2 release To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.46 src/usr.bin/calendar/calendars/calendar.netbsd:1.47 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.46 Thu Apr 2 11:34:33 2020 +++ src/usr.bin/calendar/calendars/calendar.netbsd Mon May 17 15:59:28 2021 @@ -44,6 +44,7 @@ 05/09 NetBSD/acorn26 port started, 2000 05/12 NetBSD 1.4 released, 1999 05/12 NetBSD/hp300 port started, 1993 +05/12 NetBSD 9.2 released, 2021 05/14 NetBSD/cesfic port started, 2001 05/15 NetBSD/macppc port started, 1998 05/20 NetBSD 1.2.1 released, 1997 @@ -103,6 +104,7 @@ 10/14 NetBSD/bebox port started, 1997 10/16 NetBSD/playstation2 port started, 2001 10/17 NetBSD 6.0 released, 2012 +10/18 NetBSD 9.1 released, 2020 10/21 NetBSD 7.0.2 released, 2016 10/26 NetBSD 1.0 released, 1994 10/30 pkgsrc/Darwin support added, 2001
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: maya Date: Fri Dec 25 09:02:41 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.judaic Log Message: Update to 2021, hopefully less errors made in this year. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/calendar/calendars/calendar.judaic Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.judaic diff -u src/usr.bin/calendar/calendars/calendar.judaic:1.9 src/usr.bin/calendar/calendars/calendar.judaic:1.10 --- src/usr.bin/calendar/calendars/calendar.judaic:1.9 Fri Dec 20 22:58:53 2019 +++ src/usr.bin/calendar/calendars/calendar.judaic Fri Dec 25 09:02:41 2020 @@ -1,29 +1,29 @@ -01/21* Tu B'Shvat (Feast of Trees) -03/09* Fast of Esther (Battle of Purim; 1 day before Purim; fast day) -03/10* Purim (Feast of Lots; 30 days before Pesach) -04/09* Pesach (First Day of Passover; sabbatical) -04/10* Pesach (sabbatical) -04/11* Pesach (sabbatical) -04/16* Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) -04/17* Mimouna (Morrocan Jewish Celebration of End of Pesach) -04/09* Yom HaAtzma'ut (Israel Independence Day) -05/12* Lag B'Omer (Commemoration of the Great Rebellion) -05/22* Yom Yerushalayim (Reunification of Jerusalem) -05/29* Shavuot (Festival of Weeks; 50 days after Pesach; sabbatical) -07/09* Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem; +01/28* Tu B'Shvat (Feast of Trees) +02/25* Fast of Esther (Battle of Purim; 1 day before Purim; fast day) +02/26* Purim (Feast of Lots; 30 days before Pesach) +03/29* Pesach (First Day of Passover; sabbatical) +03/30* Pesach (sabbatical) +03/31* Pesach (sabbatical) +04/04* Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) +04/05* Mimouna (Morrocan Jewish Celebration of End of Pesach) +04/15* Yom HaAtzma'ut (Israel Independence Day) +04/30* Lag B'Omer (Commemoration of the Great Rebellion) +05/10* Yom Yerushalayim (Reunification of Jerusalem) +05/17* Shavuot (Festival of Weeks; 50 days after Pesach; sabbatical) +06/27* Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem; fast day) -07/30* Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day) -09/19* First Day of Rosh Hashanah (Jewish Lunar New Year; 5781 == 2021; +07/18* Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day) +09/07* First Day of Rosh Hashanah (Jewish Lunar New Year; 5782 == 2022; sabbatical) -09/20* Rosh Hashanah (sabbatical) -09/21* Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day +09/08* Rosh Hashanah (sabbatical) +09/09* Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day after Rosh Hashanah; fast day) -09/28* Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah; +09/16* Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah; sabbatical, fast day) -10/03* Sukkot (Festival of Tabernacles; 14 days after Rosh Hashanah; +09/21* Sukkot (Festival of Tabernacles; 14 days after Rosh Hashanah; sabbatical) -10/09* Hoshanah Rabba (7th day of Sukkot) -10/01* Shmini Atzeret (8th Day of Gathering; 1 day after Sukkot; sabbatical) -11/16* Sigd (Beta Israel; 50 days after Yom Kippur) -12/10* First Day of Chanukah -12/25* Fast of Asara B'Tevet (Babylonians put siege on Jerusalem; fast day) +09/27* Hoshanah Rabba (7th day of Sukkot) +09/28* Shmini Atzeret (8th Day of Gathering; 1 day after Sukkot; sabbatical) +11/04* Sigd (Beta Israel; 50 days after Yom Kippur) +11/28* First Day of Chanukah +12/14* Fast of Asara B'Tevet (Babylonians put siege on Jerusalem; fast day)
CVS commit: src/usr.bin/calendar
Module Name:src Committed By: dholland Date: Fri Dec 25 07:00:52 UTC 2020 Modified Files: src/usr.bin/calendar: Makefile Log Message: List calendar's known calendars explicitly, and only install those. Prevents build failures caused by installing editor backups and other such silliness. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/calendar/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/Makefile diff -u src/usr.bin/calendar/Makefile:1.14 src/usr.bin/calendar/Makefile:1.15 --- src/usr.bin/calendar/Makefile:1.14 Tue Apr 14 22:15:17 2009 +++ src/usr.bin/calendar/Makefile Fri Dec 25 07:00:52 2020 @@ -1,12 +1,18 @@ -# $NetBSD: Makefile,v 1.14 2009/04/14 22:15:17 lukem Exp $ +# $NetBSD: Makefile,v 1.15 2020/12/25 07:00:52 dholland Exp $ # @(#)Makefile 8.1 (Berkeley) 6/6/93 .include +CALENDARS= birthday christian computer history holiday judaic \ + lotr music netbsd usholiday + PROG= calendar + .if ${MKSHARE} != "no" FILESDIR=/usr/share/calendar -FILES!= echo ${.CURDIR}/calendars/calendar.* +.for _C_ in ${CALENDARS} +FILES+=${.CURDIR}/calendars/calendar.${_C_} +.endfor .endif .include
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: nat Date: Wed Oct 7 19:06:50 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.music Log Message: Eddie Van Halen, co-founder of Van Halen dies. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/calendar/calendars/calendar.music Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.music diff -u src/usr.bin/calendar/calendars/calendar.music:1.24 src/usr.bin/calendar/calendars/calendar.music:1.25 --- src/usr.bin/calendar/calendars/calendar.music:1.24 Thu May 21 08:43:57 2020 +++ src/usr.bin/calendar/calendars/calendar.music Wed Oct 7 19:06:50 2020 @@ -143,6 +143,7 @@ 09/26 George Gershwin born in Brooklyn, NY, 1898 10/03 Stevie Ray Vaughan born in Dallas, TX, 1954 10/04 Janis Joplin dies of a heroin overdose in Hollywood, 1970 +10/06 Eddie Van Halen dies in Santa Monica, CA, 2020 10/05 Steve Miller is born in Dallas, 1943 10/07 First Bandstand (later, American Bandstand) broadcast, 1957 10/09 John Lennon born in Liverpool, England, 1940
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Mon Jun 22 13:20:15 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: Add Quake's birthday https://twitter.com/romero/status/1275026229524074496 To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.bin/calendar/calendars/calendar.computer Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.computer diff -u src/usr.bin/calendar/calendars/calendar.computer:1.15 src/usr.bin/calendar/calendars/calendar.computer:1.16 --- src/usr.bin/calendar/calendars/calendar.computer:1.15 Sat Jun 20 21:58:17 2020 +++ src/usr.bin/calendar/calendars/calendar.computer Mon Jun 22 13:20:15 2020 @@ -52,6 +52,7 @@ Apple ][e known as the SDF-1, 1987 06/19 FreeBSD project born, 1993 06/20 X Window System born, 1984 +06/22 Quake released, 1996 06/23 IBM unbundles software, 1969 06/30 First advanced degree on computer related topic: to H. Karamanian, Temple Univ., Phila, 1948, for symbolic differentiation on the ENIAC
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Sat Jun 20 21:58:18 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: X turned 36 today http://www.talisman.org/x-debut.shtml To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/calendar/calendars/calendar.computer Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.computer diff -u src/usr.bin/calendar/calendars/calendar.computer:1.14 src/usr.bin/calendar/calendars/calendar.computer:1.15 --- src/usr.bin/calendar/calendars/calendar.computer:1.14 Tue May 19 11:07:10 2020 +++ src/usr.bin/calendar/calendars/calendar.computer Sat Jun 20 21:58:17 2020 @@ -51,6 +51,7 @@ 06/16 Super Dimension Fortress (SDF) BBS received it's first caller on an Apple ][e known as the SDF-1, 1987 06/19 FreeBSD project born, 1993 +06/20 X Window System born, 1984 06/23 IBM unbundles software, 1969 06/30 First advanced degree on computer related topic: to H. Karamanian, Temple Univ., Phila, 1948, for symbolic differentiation on the ENIAC
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Wed Jun 3 14:10:56 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Add Allen Ginsberg To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.43 src/usr.bin/calendar/calendars/calendar.birthday:1.44 --- src/usr.bin/calendar/calendars/calendar.birthday:1.43 Mon May 18 20:57:06 2020 +++ src/usr.bin/calendar/calendars/calendar.birthday Wed Jun 3 14:10:56 2020 @@ -112,6 +112,7 @@ 03/31 Rene Descartes born, 1596, mathematician & philosopher 04/01 Alan Jay Perlis was born in Pittsburgh, Pennsylvania, 1922 04/03 Washington Irving born, 1783 +04/05 Irwin Allen Ginsberg died in New York City, 1997 04/05 Thomas Hobbes born, 1588, philosopher 04/07 Florian Schneider-Esleben was born in Baden-Wurttemberg, Germany, 1947 04/08 Buddha born, 563 BC @@ -160,6 +161,7 @@ 06/01 Brigham Young born, 1801 06/01 Marilyn Monroe born, 1928 06/03 Henry James born, 1811 +06/03 Irwin Allen Ginsberg was born in Newark, New Jersey, 1926 06/07 (Eugene Henri) Paul Gaugin born, 1848 06/07 Alan Mathison Turing died, 1954 06/07 George Bryan "Beau" Brummel born, 1778
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Thu May 21 08:43:58 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.music Log Message: The Hacienda must be rebuilt. https://twitter.com/McrHistory/status/1263386700249776130 https://twitter.com/Mr_Dave_Haslam/status/1263373996172640256 To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/calendar/calendars/calendar.music Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.music diff -u src/usr.bin/calendar/calendars/calendar.music:1.23 src/usr.bin/calendar/calendars/calendar.music:1.24 --- src/usr.bin/calendar/calendars/calendar.music:1.23 Fri Mar 27 21:03:17 2020 +++ src/usr.bin/calendar/calendars/calendar.music Thu May 21 08:43:57 2020 @@ -82,6 +82,7 @@ 05/18 Rick Wakeman is born in West London, England, 1949 05/19 Pete Townshend is born in London, 1945 05/20 The Jimi Hendrix Experience is signed by Reprise Records, 1967 +05/21 The Hacienda opened its doors in Manchester, England, 1982 05/23 Blues great Elmore James dies, 1963 05/24 Bob Dylan (Robert Zimmerman) is born in Duluth, 1941 05/26 Al Jolson born, 1886 @@ -99,6 +100,7 @@ 06/21 Columbia records announces the first mass production of LPs, 1948 06/22 Todd Rundgren is born in Upper Darby, Pennsylvania, 1948 06/24 Jeff Beck is born in Surrey, England, 1944 +06/28 The Hacienda closed its doors, Manchester, England, 1997 07/02 Felix Pappalardi and Leslie West form Mountain, 1969 07/03 Jim Morrison dies in Paris, 1971 07/06 The Jefferson Airplane is formed in San Francisco, 1965
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Tue May 19 11:07:10 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: Add RISC-V's birthday https://riscv.org/2020/05/happy-10th-birthday-risc-v/ To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.bin/calendar/calendars/calendar.computer Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.computer diff -u src/usr.bin/calendar/calendars/calendar.computer:1.13 src/usr.bin/calendar/calendars/calendar.computer:1.14 --- src/usr.bin/calendar/calendars/calendar.computer:1.13 Thu Apr 30 12:13:39 2020 +++ src/usr.bin/calendar/calendars/calendar.computer Tue May 19 11:07:10 2020 @@ -38,6 +38,7 @@ 05/01 First BASIC program run at Dartmouth, 1964 05/06 EDSAC demonstrated, 1949 05/16 First report on SNOBOL distributed (within BTL), 1963 +05/18 RISC-V project born, 2010 05/21 DEC announces PDP-8, 1965 05/22 Ethernet first described, 1973 05/27 First joint meeting of U.S. and European ALGOL definition cte., 1958
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Mon May 18 20:57:06 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Add Margaret Hamilton, Florian Schneider, Ron Hardy, Little Richard To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.42 src/usr.bin/calendar/calendars/calendar.birthday:1.43 --- src/usr.bin/calendar/calendars/calendar.birthday:1.42 Mon May 11 12:42:58 2020 +++ src/usr.bin/calendar/calendars/calendar.birthday Mon May 18 20:57:06 2020 @@ -80,6 +80,7 @@ 02/29 Herman Hollerith born, 1860 03/01 David Niven born, 1910 03/02 Dr. Seuss born, 1904 +03/02 Ron Hardy died in Chicago, Illinois, 1992 03/04 Casimir Pulaski born, 1747 03/05 John Belushi dies in Los Angeles, 1982 03/07 Sir John Frederick William Herschel born, 1792, astronomer @@ -112,6 +113,7 @@ 04/01 Alan Jay Perlis was born in Pittsburgh, Pennsylvania, 1922 04/03 Washington Irving born, 1783 04/05 Thomas Hobbes born, 1588, philosopher +04/07 Florian Schneider-Esleben was born in Baden-Wurttemberg, Germany, 1947 04/08 Buddha born, 563 BC 04/08 David Rittenhouse born, 1732, astronomer & mathematician 04/09 Edward Muybridge born, 1830, motion-picture pioneer @@ -123,6 +125,7 @@ discovered Saturn's rings 04/15 Leonardo da Vinci born, 1452 04/16 Charles (Charlie) Chaplin (Sir) born in London, 1889 +04/21 Florian Schneider-Esleben died in Dusseldorf, Germany, 2020 04/22 Immanuel Kant born, 1724 04/24 Lawrence Gordon Tesler was born in The Bronx, New York City, 1945 04/27 Louis Victor de Broglie born, 1774, physicist @@ -133,6 +136,9 @@ 05/01 Little Walter (Marion Walter Jacobs) born in Alexandria, Louisiana, 1930 05/02 Dr. Benjamin Spock born, 1903 +05/08 Ron Hardy was born in Chicago, Illinois, 1958 +05/09 Little Richard (Richard Wayne Penniman) died in Tullahoma, Tennessee, + 2020 05/09 Pinza died, 1957 05/10 Fred Astaire (Frederick Austerlitz) born in Omaha, Nebraska, 1899 05/10 William Robert "Bert" Sutherland was born in Hastings, Nebraska, 1936 @@ -197,6 +203,7 @@ 08/13 Annie Oakley born, 1860 08/13 Fidel Castro born, 1927 08/17 Mae West born, 1892 +08/17 Margaret Heafield Hamilton was born in Paoli, Indiana, 1936 08/18 Meriwether Lewis born, 1774, American explorer 08/20 Leon Trotsky assassinated, 1940 08/23 Gene Kelly born, 1912 @@ -275,6 +282,8 @@ 11/30 Mark Twain (Samuel Clemens) born in Florida, Missouri, 1835 12/01 Woody Allen (Allen Stuart Konigsberg) born in Brooklyn, NY, 1935 12/04 Tommy Bolin dies of a heroin overdose in Miami, 1976 +12/05 Little Richard (Richard Wayne Penniman) was born in Macon, Georgia, + 1932 12/05 Walt (Walter Elias) Disney born in Chicago, 1901 12/08 Horace (Quintus Horatius Flaccus) born in Venosa (Italy), 65 BC 12/08 James (Grover) Thurber born in Columbus, Ohio, 1894
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: pgoyette Date: Mon May 11 12:42:58 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Fix typo To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.41 src/usr.bin/calendar/calendars/calendar.birthday:1.42 --- src/usr.bin/calendar/calendars/calendar.birthday:1.41 Sat Feb 22 23:17:59 2020 +++ src/usr.bin/calendar/calendars/calendar.birthday Mon May 11 12:42:58 2020 @@ -138,7 +138,7 @@ 05/10 William Robert "Bert" Sutherland was born in Hastings, Nebraska, 1936 05/11 Douglas Adams died, 2001 05/11 Johnny Appleseed born, 1768 -05/11 Richard Philips Feynman was born is Queens, New York, 1918 +05/11 Richard Philips Feynman was born in Queens, New York, 1918 05/12 Florence Nightingale born in Florence, Italy, 1820 05/13 Arthur S. Sullivan born, 1842 05/15 Mike Oldfield born in Essex, England, 1953
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Thu Apr 30 12:13:39 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: It was aboard the Space Shuttle Atlantis using a Macintosh Portable. https://support.apple.com/kb/TA30635 To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.bin/calendar/calendars/calendar.computer Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.computer diff -u src/usr.bin/calendar/calendars/calendar.computer:1.12 src/usr.bin/calendar/calendars/calendar.computer:1.13 --- src/usr.bin/calendar/calendars/calendar.computer:1.12 Thu Mar 19 07:20:36 2020 +++ src/usr.bin/calendar/calendars/calendar.computer Thu Apr 30 12:13:39 2020 @@ -55,6 +55,7 @@ Temple Univ., Phila, 1948, for symbolic differentiation on the ENIAC 07/08 Bell Telephone Co. formed (predecessor of AT&T), 1877 07/08 CDC incorporated, 1957 +08/09 First email sent from space by the crew of STS-43, 1991 08/14 First Unix-based mallet created, 1954 08/14 IBM PC announced, 1981 08/21 Structure and Interpretation of Computer Programs published, 1985
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Thu Apr 2 11:34:33 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: just spaces To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.45 src/usr.bin/calendar/calendars/calendar.netbsd:1.46 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.45 Thu Apr 2 11:32:31 2020 +++ src/usr.bin/calendar/calendars/calendar.netbsd Thu Apr 2 11:34:33 2020 @@ -13,7 +13,7 @@ 02/11 NetBSD/sandpoint port started, 2001 02/12 NetBSD 5.0.2 released, 2010 02/13 NetBSD/alpha port started, 1995 -02/14 NetBSD 9.0 released, 2020 +02/14 NetBSD 9.0 released, 2020 02/18 NetBSD/newsmips port started, 1998 02/20 NetBSD/hpcarm port started, 2001 02/24 NetBSD/hp700 port renamed NetBSD/hppa, 2014 @@ -33,7 +33,7 @@ 03/21 NetBSD/i386 port started, 1993 03/26 NetBSD/atari port started, 1995 03/28 NetBSD/sun2 port started, 2001 -03/31 NetBSD 8.2 released, 2020 +03/31 NetBSD 8.2 released, 2020 04/12 NetBSD 6.0.5 released, 2014 04/12 NetBSD 6.1.4 released, 2014 04/14 NetBSD 2.0.2 released, 2005
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Thu Apr 2 11:32:31 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: align To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.44 src/usr.bin/calendar/calendars/calendar.netbsd:1.45 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.44 Thu Apr 2 11:27:55 2020 +++ src/usr.bin/calendar/calendars/calendar.netbsd Thu Apr 2 11:32:31 2020 @@ -13,7 +13,7 @@ 02/11 NetBSD/sandpoint port started, 2001 02/12 NetBSD 5.0.2 released, 2010 02/13 NetBSD/alpha port started, 1995 -02/14 NetBSD 9.0 released, 2020 +02/14 NetBSD 9.0 released, 2020 02/18 NetBSD/newsmips port started, 1998 02/20 NetBSD/hpcarm port started, 2001 02/24 NetBSD/hp700 port renamed NetBSD/hppa, 2014 @@ -33,7 +33,7 @@ 03/21 NetBSD/i386 port started, 1993 03/26 NetBSD/atari port started, 1995 03/28 NetBSD/sun2 port started, 2001 -03/31 NetBSD 8.2 released, 2020 +03/31 NetBSD 8.2 released, 2020 04/12 NetBSD 6.0.5 released, 2014 04/12 NetBSD 6.1.4 released, 2014 04/14 NetBSD 2.0.2 released, 2005
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Thu Apr 2 11:27:55 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: Add NetBSD 9.0 & 8.2 Heads up by Harold Gutch To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.43 src/usr.bin/calendar/calendars/calendar.netbsd:1.44 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.43 Sat Sep 21 09:23:11 2019 +++ src/usr.bin/calendar/calendars/calendar.netbsd Thu Apr 2 11:27:55 2020 @@ -13,6 +13,7 @@ 02/11 NetBSD/sandpoint port started, 2001 02/12 NetBSD 5.0.2 released, 2010 02/13 NetBSD/alpha port started, 1995 +02/14 NetBSD 9.0 released, 2020 02/18 NetBSD/newsmips port started, 1998 02/20 NetBSD/hpcarm port started, 2001 02/24 NetBSD/hp700 port renamed NetBSD/hppa, 2014 @@ -32,6 +33,7 @@ 03/21 NetBSD/i386 port started, 1993 03/26 NetBSD/atari port started, 1995 03/28 NetBSD/sun2 port started, 2001 +03/31 NetBSD 8.2 released, 2020 04/12 NetBSD 6.0.5 released, 2014 04/12 NetBSD 6.1.4 released, 2014 04/14 NetBSD 2.0.2 released, 2005
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Fri Mar 27 21:03:18 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.music Log Message: Add higher state of consciousness https://twitter.com/joshwink1/status/1243360644042113024 To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/calendar/calendars/calendar.music Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.music diff -u src/usr.bin/calendar/calendars/calendar.music:1.22 src/usr.bin/calendar/calendars/calendar.music:1.23 --- src/usr.bin/calendar/calendars/calendar.music:1.22 Sun Feb 23 23:56:15 2020 +++ src/usr.bin/calendar/calendars/calendar.music Fri Mar 27 21:03:17 2020 @@ -56,6 +56,8 @@ 03/22 Ten Years After plays their last concert, 1974 03/25 Aretha Franklin is born in Detroit, 1943 03/26 Emerson, Lake, and Palmer record "Pictures at an Exhibition" live, 1971 +03/26 Josh Wink's "Higher State of Consciousness" released on Strictly Rythm, + 1995 03/29 Dr. Hook gets a group picture on the cover of "Rolling Stone", 1973 03/30 Eric Clapton is born in Surrey, England, 1945 04/02 Marvin Gaye is born in Washington, D.C., 1939
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Thu Mar 19 07:20:36 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: Note the birthday of Symbolics.com To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/calendar/calendars/calendar.computer Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.computer diff -u src/usr.bin/calendar/calendars/calendar.computer:1.11 src/usr.bin/calendar/calendars/calendar.computer:1.12 --- src/usr.bin/calendar/calendars/calendar.computer:1.11 Mon Feb 24 00:02:55 2020 +++ src/usr.bin/calendar/calendars/calendar.computer Thu Mar 19 07:20:36 2020 @@ -23,6 +23,7 @@ 03/04 First Cray-1 shipped to Los Alamos, 1976 03/09 "GOTO considered harmful" (E.J. Dijkstra) published in CACM, 1968 03/14 LISP introduced, 1960 +03/15 Symbolics.com, the first .com domain registered, 1985 03/21 NetBSD project born, 1993 03/28 DEC announces PDP-11, 1970 03/31 Eckert-Mauchly Computer Corp. founded, Phila, 1946
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Mon Feb 24 00:02:55 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: Add K&R publish date https://twitter.com/MIT_CSAIL/status/1231263883303645184 To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/calendar/calendars/calendar.computer Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.computer diff -u src/usr.bin/calendar/calendars/calendar.computer:1.10 src/usr.bin/calendar/calendars/calendar.computer:1.11 --- src/usr.bin/calendar/calendars/calendar.computer:1.10 Sat Feb 8 00:41:42 2020 +++ src/usr.bin/calendar/calendars/calendar.computer Mon Feb 24 00:02:55 2020 @@ -18,6 +18,7 @@ 02/11 Last day of JOSS service at RAND Corp., 1966 02/14 First micro-on-a-chip patented (TI), 1978 02/15 ENIAC demonstrated, 1946 +02/22 The C Programming Language book is published, 1978 03/01 First NPL (later PL/I) report published, 1964 03/04 First Cray-1 shipped to Los Alamos, 1976 03/09 "GOTO considered harmful" (E.J. Dijkstra) published in CACM, 1968
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Sun Feb 23 23:56:15 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.music Log Message: Add The KLF's Chill Out To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/calendar/calendars/calendar.music Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.music diff -u src/usr.bin/calendar/calendars/calendar.music:1.21 src/usr.bin/calendar/calendars/calendar.music:1.22 --- src/usr.bin/calendar/calendars/calendar.music:1.21 Mon Feb 17 21:47:33 2020 +++ src/usr.bin/calendar/calendars/calendar.music Sun Feb 23 23:56:15 2020 @@ -23,6 +23,7 @@ 02/02 Graham Nash is born in Lancashire, England, 1942 02/03 The Day The Music Died; Buddy Holly, Richie Valens, and the Big Bopper are killed in a plane crash outside Mason City, Iowa, 1959 +02/05 The KLF's "Chill Out" is released, 1990 02/07 Beatles land at JFK airport to begin first U.S. tour, 1964 02/07 Steven Stills makes the first digitally recorded rock album, 1979 02/08 John Towner Williams born in New York City, 1932; composer
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Sat Feb 22 23:17:59 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Add Ken Kesey To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.40 src/usr.bin/calendar/calendars/calendar.birthday:1.41 --- src/usr.bin/calendar/calendars/calendar.birthday:1.40 Sat Feb 22 19:25:25 2020 +++ src/usr.bin/calendar/calendars/calendar.birthday Sat Feb 22 23:17:59 2020 @@ -216,6 +216,7 @@ 09/13 Walter Reed born, 1851 09/15 Agatha Christie born in Torquay, England, 1890 09/16 Allen Funt born in Brooklyn, NY, 1914 +09/17 Kenneth Elton Kesey was born in La Junta, Colorado, 1935 09/18 Greta Garbo born, 1905 09/20 Upton (Beall) Sinclair born, 1878 09/21 H.G. (Herbert George) Wells born in Bromley, England, 1866 @@ -258,6 +259,7 @@ 11/05 Roy Rogers born, 1912 11/08 Aaron Hillel Swartz was born in Highland Park, Illinois, 1986 11/09 Carl Sagan born, 1934 +11/10 Kenneth Elton Kesey died in Eugene, Oregon, 2001 11/10 Martin Luther born in Eisleben, Germany, 1483 11/10 Soviet President Leonid Brezhnev dies at age 75, 1982 11/11 Kurt Vonnegut, Jr, born in Indianapolis, 1922
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Sat Feb 22 19:25:25 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Add Ivan Sutherland's birthday To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.39 src/usr.bin/calendar/calendars/calendar.birthday:1.40 --- src/usr.bin/calendar/calendars/calendar.birthday:1.39 Sat Feb 22 19:23:09 2020 +++ src/usr.bin/calendar/calendars/calendar.birthday Sat Feb 22 19:25:25 2020 @@ -142,6 +142,7 @@ 05/12 Florence Nightingale born in Florence, Italy, 1820 05/13 Arthur S. Sullivan born, 1842 05/15 Mike Oldfield born in Essex, England, 1953 +05/16 Ivan Edward Sutherland was born in Hastings, Nebraska, 1938 05/19 Ho Chi Minh born, 1890 05/21 Plato (Aristocles) born in Athens(?), 427 BC 05/27 Hubert H. Humphrey born, 1911
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Sat Feb 22 19:23:09 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Add Bert Sutherland https://twitter.com/ComputerHistory/status/1230200277141250050 To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.38 src/usr.bin/calendar/calendars/calendar.birthday:1.39 --- src/usr.bin/calendar/calendars/calendar.birthday:1.38 Sat Feb 22 19:21:40 2020 +++ src/usr.bin/calendar/calendars/calendar.birthday Sat Feb 22 19:23:09 2020 @@ -63,6 +63,7 @@ 02/17 Marion Anderson born, 1902 02/17 T. J. Watson, Sr. born, 1874 02/18 Ernst Mach born, 1838, philosopher & optics pioneer +02/18 William Robert "Bert" Sutherland died in Mountain View, California, 2020 02/19 Nicolas Copernicus born in Thorn, Poland, 1473 02/20 Ludwig Boltzmann born, 1838, atomic physics pioneer 02/21 Alexis De Rochon born, 1838, developed the spyglass @@ -134,6 +135,7 @@ 05/02 Dr. Benjamin Spock born, 1903 05/09 Pinza died, 1957 05/10 Fred Astaire (Frederick Austerlitz) born in Omaha, Nebraska, 1899 +05/10 William Robert "Bert" Sutherland was born in Hastings, Nebraska, 1936 05/11 Douglas Adams died, 2001 05/11 Johnny Appleseed born, 1768 05/11 Richard Philips Feynman was born is Queens, New York, 1918
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Sat Feb 22 19:21:41 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Add Larry Tesler https://www.nytimes.com/2020/02/20/technology/lawrence-tesler-dead.html To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.37 src/usr.bin/calendar/calendars/calendar.birthday:1.38 --- src/usr.bin/calendar/calendars/calendar.birthday:1.37 Thu Jan 30 23:46:21 2020 +++ src/usr.bin/calendar/calendars/calendar.birthday Sat Feb 22 19:21:40 2020 @@ -57,6 +57,7 @@ 02/15 Galileo Galilei born in Pisa, Italy, 1564 02/15 Richard Philips Feynman died in Los Angeles, California, 1988 02/15 Susan B. Anthony born, 1820 +02/16 Lawrence Gordon Tesler died in Portola Valley, California, 2020 02/16 Pierre Bouguer born, 1698, founder of photometry 02/17 Frederick Eugene Ives born, 1856, pioneer of halftone 02/17 Marion Anderson born, 1902 @@ -122,6 +123,7 @@ 04/15 Leonardo da Vinci born, 1452 04/16 Charles (Charlie) Chaplin (Sir) born in London, 1889 04/22 Immanuel Kant born, 1724 +04/24 Lawrence Gordon Tesler was born in The Bronx, New York City, 1945 04/27 Louis Victor de Broglie born, 1774, physicist 04/28 James Monroe born, 1758 04/29 Jules Henri Poincare born, 1854, founder of topology
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Mon Feb 17 21:47:33 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.music Log Message: Add Andrew Weatherall https://www.bbc.co.uk/news/entertainment-arts-51535685 http://www.rottersgolfclub.com/ To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.bin/calendar/calendars/calendar.music Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.music diff -u src/usr.bin/calendar/calendars/calendar.music:1.20 src/usr.bin/calendar/calendars/calendar.music:1.21 --- src/usr.bin/calendar/calendars/calendar.music:1.20 Sat Nov 30 12:04:13 2019 +++ src/usr.bin/calendar/calendars/calendar.music Mon Feb 17 21:47:33 2020 @@ -29,6 +29,7 @@ well-known for his many motion picture and television scores 02/09 Carole King (Carole Klein) is born in Brooklyn, 1941 02/12 The Beatles play Carnegie Hall in New York City, 1964 +02/17 Andrew James Weatherall dies in London, England, 2020 02/17 Jazz great Thelonius Monk dies in Englewood, New Jersey, 1982 02/18 Yoko Ono Lennon is born in Tokyo, 1933 02/19 Paul McCartney's "Give Ireland Back to the Irish" is banned in @@ -59,6 +60,7 @@ 04/02 Marvin Gaye is born in Washington, D.C., 1939 04/04 Muddy Waters (McKinley Morganfield) is born in Rolling Fork, Mississippi, 1915 +04/06 Andrew James Weatherall is born Windsor, Berkshire, England, 1963 04/09 Paul Robeson born, 1898 04/10 Paul McCartney announces he's quitting the Beatles, 1970 04/14 Ritchie Blackmore (Deep Purple, Rainbow) is born, 1945
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Sat Feb 8 00:41:42 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: Apple buys NeXT To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/calendar/calendars/calendar.computer Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.computer diff -u src/usr.bin/calendar/calendars/calendar.computer:1.9 src/usr.bin/calendar/calendars/calendar.computer:1.10 --- src/usr.bin/calendar/calendars/calendar.computer:1.9 Sat Nov 30 12:04:13 2019 +++ src/usr.bin/calendar/calendars/calendar.computer Sat Feb 8 00:41:42 2020 @@ -14,6 +14,7 @@ 01/25 First U.S. meeting of ALGOL definition committee, 1958 01/26 EDVAC demonstrated, 1952 01/31 Hewlett-Packard founded, 1939 +02/07 Apple and NeXT announce merger, 1997 02/11 Last day of JOSS service at RAND Corp., 1966 02/14 First micro-on-a-chip patented (TI), 1978 02/15 ENIAC demonstrated, 1946
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Thu Jan 30 23:46:21 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Add Doug Engelbart To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.36 src/usr.bin/calendar/calendars/calendar.birthday:1.37 --- src/usr.bin/calendar/calendars/calendar.birthday:1.36 Wed Jan 22 21:07:56 2020 +++ src/usr.bin/calendar/calendars/calendar.birthday Thu Jan 30 23:46:21 2020 @@ -35,6 +35,7 @@ 01/25 Virginia Woolf born, 1882 01/25 W. Somerset Maugham born, 1874 01/27 Samuel Gompers born, 1850 +01/30 Douglas Carl Engelbart was born in Portland, Oregon, 1925 01/30 Franklin Delano Roosevelt born in Hyde Park, New York, 1882 01/31 Jackie Robinson born, 1919 02/01 Terence Graham Parry Jones was born in Colwyn Bay, Denbighshire, Wales, 1942 @@ -164,6 +165,7 @@ 06/25 Eric Arthur Blair (a.k.a. George Orwell) born, 1903 06/27 Helen Keller born, 1880 07/01 Fernando Jose Corbato was born in Oakland, California, 1926 +07/02 Douglas Carl Engelbart died in Atherton, California, 2013 07/03 Franz Kafka born, 1883 07/04 John Adams and Thomas Jefferson die on same day, 1826 07/04 Nathaniel Hawthorne born in Salem, Massachusetts, 1804
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Wed Jan 22 21:07:56 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Add Terry Jones, once clarified who wasn't the messiah, but a very naughty boy To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.35 src/usr.bin/calendar/calendars/calendar.birthday:1.36 --- src/usr.bin/calendar/calendars/calendar.birthday:1.35 Sat Nov 30 12:04:13 2019 +++ src/usr.bin/calendar/calendars/calendar.birthday Wed Jan 22 21:07:56 2020 @@ -22,6 +22,7 @@ 01/19 Robert Edward Lee born in Stratford Estate, Virginia, 1807 01/20 Buzz Aldrin born, 1930 01/20 George Burns born, 1898 +01/21 Terence Graham Parry Jones died in London, England, 2020 01/21 Thomas Jonathan "Stonewall" Jackson born in Clarksburg, VA, 1824 01/21 Vladimir Lenin died, 1924 01/22 Sir Francis Bacon born, 1561 @@ -36,6 +37,7 @@ 01/27 Samuel Gompers born, 1850 01/30 Franklin Delano Roosevelt born in Hyde Park, New York, 1882 01/31 Jackie Robinson born, 1919 +02/01 Terence Graham Parry Jones was born in Colwyn Bay, Denbighshire, Wales, 1942 02/03 Gertrude Stein born, 1874 02/05 Alex Harvey (SAHB) born in Glasgow, Scotland, 1935 02/06 King George VI of UK dies; his daughter becomes Elizabeth II, 1952
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: maya Date: Fri Dec 20 22:58:53 UTC 2019 Modified Files: src/usr.bin/calendar/calendars: calendar.judaic Log Message: Avoid the risk of being wrong and don't expand meaning of holiday. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/usr.bin/calendar/calendars/calendar.judaic Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.judaic diff -u src/usr.bin/calendar/calendars/calendar.judaic:1.8 src/usr.bin/calendar/calendars/calendar.judaic:1.9 --- src/usr.bin/calendar/calendars/calendar.judaic:1.8 Fri Dec 20 18:37:20 2019 +++ src/usr.bin/calendar/calendars/calendar.judaic Fri Dec 20 22:58:53 2019 @@ -24,6 +24,6 @@ sabbatical) 10/09* Hoshanah Rabba (7th day of Sukkot) 10/01* Shmini Atzeret (8th Day of Gathering; 1 day after Sukkot; sabbatical) -11/16* Sigd (Beta Israel Day of Atonement; 50 days after Yom Kippur) +11/16* Sigd (Beta Israel; 50 days after Yom Kippur) 12/10* First Day of Chanukah 12/25* Fast of Asara B'Tevet (Babylonians put siege on Jerusalem; fast day)
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: maya Date: Fri Dec 20 18:37:20 UTC 2019 Modified Files: src/usr.bin/calendar/calendars: calendar.judaic Log Message: Update to 2020 dates. While here: - Add regional holidays: Sigd (Beta Israel), Mimouna (Morrocan). - Transliterate some things in an Israeli Hebrew accent (Succos -> Sukkot, Atzeres -> Atzeret) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/usr.bin/calendar/calendars/calendar.judaic Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.judaic diff -u src/usr.bin/calendar/calendars/calendar.judaic:1.7 src/usr.bin/calendar/calendars/calendar.judaic:1.8 --- src/usr.bin/calendar/calendars/calendar.judaic:1.7 Sat Jun 2 05:55:47 2018 +++ src/usr.bin/calendar/calendars/calendar.judaic Fri Dec 20 18:37:20 2019 @@ -1,27 +1,29 @@ 01/21* Tu B'Shvat (Feast of Trees) -03/19* Fast of Esther (Battle of Purim; 1 day before Purim; fast day) -03/20* Purim (Feast of Lots; 30 days before Pesach) -04/19* Pesach (First Day of Passover; sabbatical) -04/20* Pesach (sabbatical) -04/21* Pesach (sabbatical) -04/26* Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) -05/09* Yom HaAtzma'ut (Israel Independence Day) -05/23* Lag B'Omer (Commemoration of the Great Rebellion) -06/01* Yom Yerushalayim (Reunification of Jerusalem) -06/08* Shavuot (Festival of Weeks; 50 days after Pesach; sabbatical) -07/20* Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem; +03/09* Fast of Esther (Battle of Purim; 1 day before Purim; fast day) +03/10* Purim (Feast of Lots; 30 days before Pesach) +04/09* Pesach (First Day of Passover; sabbatical) +04/10* Pesach (sabbatical) +04/11* Pesach (sabbatical) +04/16* Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) +04/17* Mimouna (Morrocan Jewish Celebration of End of Pesach) +04/09* Yom HaAtzma'ut (Israel Independence Day) +05/12* Lag B'Omer (Commemoration of the Great Rebellion) +05/22* Yom Yerushalayim (Reunification of Jerusalem) +05/29* Shavuot (Festival of Weeks; 50 days after Pesach; sabbatical) +07/09* Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem; fast day) -07/21* Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day) -09/09* First Day of Rosh Hashanah (Jewish Lunar New Year; 5778 == 2017; +07/30* Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day) +09/19* First Day of Rosh Hashanah (Jewish Lunar New Year; 5781 == 2021; sabbatical) -09/09* Rosh Hashanah (sabbatical) -09/10* Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day +09/20* Rosh Hashanah (sabbatical) +09/21* Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day after Rosh Hashanah; fast day) -09/18* Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah; +09/28* Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah; sabbatical, fast day) -09/23* Succos (Festival of Tabernacles; 14 days after Rosh Hashanah; +10/03* Sukkot (Festival of Tabernacles; 14 days after Rosh Hashanah; sabbatical) -09/30* Hoshanah Rabba (7th day of Succos) -10/01* Shmini Atzeres (8th Day of Gathering; 1 day after Succos; sabbatical) -12/02* First Day of Chanukah -12/18* Fast of Asara B'Tevet (Babylonians put siege on Jerusalem; fast day) +10/09* Hoshanah Rabba (7th day of Sukkot) +10/01* Shmini Atzeret (8th Day of Gathering; 1 day after Sukkot; sabbatical) +11/16* Sigd (Beta Israel Day of Atonement; 50 days after Yom Kippur) +12/10* First Day of Chanukah +12/25* Fast of Asara B'Tevet (Babylonians put siege on Jerusalem; fast day)
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Mon Dec 16 07:18:11 UTC 2019 Modified Files: src/usr.bin/calendar/calendars: calendar.christian calendar.holiday calendar.usholiday Log Message: update calendar files with all dates in 2020 as next release is expect late 2019 To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/usr.bin/calendar/calendars/calendar.christian cvs rdiff -u -r1.29 -r1.30 src/usr.bin/calendar/calendars/calendar.holiday cvs rdiff -u -r1.9 -r1.10 src/usr.bin/calendar/calendars/calendar.usholiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.christian diff -u src/usr.bin/calendar/calendars/calendar.christian:1.7 src/usr.bin/calendar/calendars/calendar.christian:1.8 --- src/usr.bin/calendar/calendars/calendar.christian:1.7 Sat Jun 2 05:55:47 2018 +++ src/usr.bin/calendar/calendars/calendar.christian Mon Dec 16 07:18:11 2019 @@ -1,17 +1,17 @@ 01/06* Epiphany -03/05* Shrove Tuesday / Mardi Gras (day before Ash Wednesday) -03/06* Ash Wednesday (First day of Lent) -04/14* Palm Sunday (7 days before Easter) -04/17* Maundy Thursday (3 days before Easter) -04/18* Good Friday (2 days before Easter) -04/20* Easter Sunday -05/26* Rogation Sunday -05/30* Ascension Day (10 days before Pentecost) -06/09* Pentecost (Whitsunday) -06/10* Whitmonday -06/16* Trinity Sunday (7 days after Pentecost) -06/20* Corpus Christi (11 days after Pentecost) +02/25* Shrove Tuesday / Mardi Gras (day before Ash Wednesday) +02/26* Ash Wednesday (First day of Lent) +04/05* Palm Sunday (7 days before Easter) +04/09* Maundy Thursday (3 days before Easter) +04/10* Good Friday (2 days before Easter) +04/12* Easter Sunday +05/17* Rogation Sunday +05/21* Ascension Day (10 days before Pentecost) +05/31* Pentecost (Whitsunday) +06/01* Whitmonday +06/07* Trinity Sunday (7 days after Pentecost) +06/11* Corpus Christi (11 days after Pentecost) 10/18 Feast Day of St. Luke -12/02* First Sunday of Advent (4th Sunday before Christmas) +11/29* First Sunday of Advent (4th Sunday before Christmas) 12/06 St. Nicholas' Day 12/25 Feast of the Nativity (Christmas) Index: src/usr.bin/calendar/calendars/calendar.holiday diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.29 src/usr.bin/calendar/calendars/calendar.holiday:1.30 --- src/usr.bin/calendar/calendars/calendar.holiday:1.29 Sat Jun 2 05:55:47 2018 +++ src/usr.bin/calendar/calendars/calendar.holiday Mon Dec 16 07:18:11 2019 @@ -24,9 +24,9 @@ 01/19 Nameday of Archbishop Makarios in Cyprus 01/20 Army Day in Mali 01/20 National Heroes Day in Guinea-Bissau -01/20* Martin Luther King Day in New York (3rd Sunday) -01/21* Lee-Jackson Day in Virginia (3rd Monday) -01/21* Robert E. Lee's Birthday in Alabama & Mississippi (3rd Monday) +01/19* Martin Luther King Day in New York (3rd Sunday) +01/20* Lee-Jackson Day in Virginia (3rd Monday) +01/20* Robert E. Lee's Birthday in Alabama & Mississippi (3rd Monday) 01/21 Our Lady of Altagracia in Dominican Republic 01/23 Feast of St. Ildefonsus 01/23 National Handwriting Day @@ -59,7 +59,7 @@ 03/04 Vermont Admission Day (admitted as 14th state in 1791) 03/05 Independence Day in Equatorial Guinea 03/06 Lantern Day, Bejing -03/20* Purim - Feast of Lots +03/09* Purim - Feast of Lots 03/08 First Annual International Women's Day, 1909 03/08 International Women's Day in U.S.S.R. 03/08 Syrian National Day in Libyan Arab Republic @@ -91,7 +91,7 @@ 03/25 Lady Day (a.k.a. the Feast of the Annunciation) 03/25 Maryland Day in Maryland 03/25 National Holiday in Greece -03/25* Seward's Day in Alaska (last Monday) +03/30* Seward's Day in Alaska (last Monday) 03/26 Independence Day in Bangladesh 03/26 Prince Jonah Kuhio Kalanianaole Day in Hawaii 03/27 Armed Forces Day in Burma @@ -114,7 +114,7 @@ 04/13 Songkran Day in Thailand 04/14 Day of the Americas in Honduras 04/15 Bengali New Year in Bangladesh -04/15* Patriot's Day in Maine & Massachusetts (3rd Monday) +04/20* Patriot's Day in Maine & Massachusetts (3rd Monday) 04/16 De Diego's Birthday (celebrated in Puerto Rico) 04/16 Holy Week (5 days) in Venezuela 04/16 Tourist Week (5 days) in Uruguay @@ -126,15 +126,15 @@ 04/22 Arbor Day in Nebraska & Delaware 04/22 Oklahoma Day in Oklahoma 04/24 Victory Day in Togo -04/19* Pesach - First Day of Passover - Festival of Freedom +04/08* Pesach - First Day of Passover - Festival of Freedom 04/25 Anzac Day in Australia, New Zealand, Tonga, Western Samoa 04/25 Liberation Day in Italy 04/25 National Flag Day in Swaziland 04/26 Confederate Memorial Day in Florida & Georgia 04/26 Union Day in Tanzania 04/27 Independence Day in Togo -04/29* Arbor Day in Wyoming (last Monday) -04/29* Confederate Memorial Day in Alabama & Mississippi (last Monday) +04/27* Arbor Day in Wyoming (last Monday) +04/27* Confederate Memorial Day in Alabama & Mississippi (last Monday)
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Sat Nov 3 22:04:30 UTC 2018 Modified Files: src/usr.bin/calendar/calendars: calendar.music Log Message: Note the date Larry Levan passed away https://en.wikipedia.org/wiki/Larry_Levan To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.bin/calendar/calendars/calendar.music Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.music diff -u src/usr.bin/calendar/calendars/calendar.music:1.18 src/usr.bin/calendar/calendars/calendar.music:1.19 --- src/usr.bin/calendar/calendars/calendar.music:1.18 Sat Nov 3 21:34:35 2018 +++ src/usr.bin/calendar/calendars/calendar.music Sat Nov 3 22:04:30 2018 @@ -157,6 +157,7 @@ 11/03 James Taylor and Carly Simon are married in Manhattan, 1972 11/07 Joni Mitchell (Roberta Joan Anderson) is born in Alberta, Canada, 1943 11/08 Patti Page born, 1927 +11/08 DJ Larry Levan dies in Manhattan, New York City, 1992 11/09 The first issue of "Rolling Stone" is published, 1967 11/10 Greg Lake is born in Bournemouth, England, 1948 11/12 Neil Young is born in Toronto, 1945
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Sat Nov 3 21:34:35 UTC 2018 Modified Files: src/usr.bin/calendar/calendars: calendar.music Log Message: Let's house this up a bit. Add The Mix Collection, mixed by Sasha & John Digweed. https://en.wikipedia.org/wiki/Renaissance:_The_Mix_Collection To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.bin/calendar/calendars/calendar.music Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.music diff -u src/usr.bin/calendar/calendars/calendar.music:1.17 src/usr.bin/calendar/calendars/calendar.music:1.18 --- src/usr.bin/calendar/calendars/calendar.music:1.17 Sun Oct 27 18:30:49 2013 +++ src/usr.bin/calendar/calendars/calendar.music Sat Nov 3 21:34:35 2018 @@ -141,6 +141,7 @@ 10/09 John Lennon born in Liverpool, England, 1940 10/10 John Prine is born in Maywood, Illinois, 1946 10/12 The Jimi Hendrix Experience is formed in London, 1966 +10/14 Renaissance: The Mix Collection is released, 1994 10/16 Bob Weir (Grateful Dead) is born in San Francisco, 1947 10/17 "Hair" opens at New York's Public Theater, 1967 10/18 Chuck Berry is born in St. Louis, Missouri, 1926
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: snj Date: Sat Jul 21 18:50:22 UTC 2018 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: add netbsd 8.0, fix whitespace To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.39 src/usr.bin/calendar/calendars/calendar.netbsd:1.40 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.39 Sat Jun 2 05:55:47 2018 +++ src/usr.bin/calendar/calendars/calendar.netbsd Sat Jul 21 18:50:22 2018 @@ -26,7 +26,7 @@ 03/11 NetBSD 7.1 released, 2017 03/11 NetBSD/xen port started, 2004 03/11 pkgsrc/Interix support added, 2004 -03/15 NetBSD 7.1.2 released, 2018 +03/15 NetBSD 7.1.2 released, 2018 03/19 NetBSD/cobalt port started, 2000 03/21 NetBSD 1.4.2 released, 2000 03/21 NetBSD/i386 port started, 1993 @@ -66,6 +66,7 @@ 06/25 NetBSD/sun3 port started, 1993 07/05 NetBSD/evbsh5 port started, 2002 07/11 NetBSD 1.5.1 released, 2001 +07/17 NetBSD 8.0 released, 2018 07/22 NetBSD 1.5.3 released, 2002 07/24 NetBSD 3.0.1 released, 2006 07/25 NetBSD/mvme68k port started, 1995 @@ -125,7 +126,7 @@ 12/09 NetBSD/evbppc port started, 2002 12/17 NetBSD/zaurus port started, 2006 12/19 NetBSD 4.0 released, 2007 -12/22 NetBSD 7.1.1 released, 2017 +12/22 NetBSD 7.1.1 released, 2017 12/23 NetBSD 1.3.3 released, 1998 12/23 NetBSD 3.0 released, 2005 12/26 NetBSD 6.0.1 released, 2012
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Sat Jun 2 05:55:47 UTC 2018 Modified Files: src/usr.bin/calendar/calendars: calendar.christian calendar.holiday calendar.judaic calendar.netbsd calendar.usholiday Log Message: Update calendar files for the upcoming NetBSD 8.0 release. I'm assuming that it will be released by August 1, which is two months from now. Thus I used 2018 dates for all holidays between Aug. 1st and Dec. 31st, and 2019 dates for all holidays between Jan. 1st and Jul. 31st. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.bin/calendar/calendars/calendar.christian \ src/usr.bin/calendar/calendars/calendar.judaic cvs rdiff -u -r1.28 -r1.29 src/usr.bin/calendar/calendars/calendar.holiday cvs rdiff -u -r1.38 -r1.39 src/usr.bin/calendar/calendars/calendar.netbsd cvs rdiff -u -r1.7 -r1.8 src/usr.bin/calendar/calendars/calendar.usholiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.christian diff -u src/usr.bin/calendar/calendars/calendar.christian:1.6 src/usr.bin/calendar/calendars/calendar.christian:1.7 --- src/usr.bin/calendar/calendars/calendar.christian:1.6 Tue Dec 6 04:54:00 2016 +++ src/usr.bin/calendar/calendars/calendar.christian Sat Jun 2 05:55:47 2018 @@ -1,17 +1,17 @@ 01/06* Epiphany -02/28* Shrove Tuesday / Mardi Gras (day before Ash Wednesday) -03/01* Ash Wednesday (First day of Lent) -04/09* Palm Sunday (7 days before Easter) -04/13* Maundy Thursday (3 days before Easter) -04/14* Good Friday (2 days before Easter) -04/16* Easter Sunday -05/21* Rogation Sunday -05/25* Ascension Day (10 days before Pentecost) -06/04* Pentecost (Whitsunday) -06/05* Whitmonday -06/11* Trinity Sunday (7 days after Pentecost) -06/15* Corpus Christi (11 days after Pentecost) +03/05* Shrove Tuesday / Mardi Gras (day before Ash Wednesday) +03/06* Ash Wednesday (First day of Lent) +04/14* Palm Sunday (7 days before Easter) +04/17* Maundy Thursday (3 days before Easter) +04/18* Good Friday (2 days before Easter) +04/20* Easter Sunday +05/26* Rogation Sunday +05/30* Ascension Day (10 days before Pentecost) +06/09* Pentecost (Whitsunday) +06/10* Whitmonday +06/16* Trinity Sunday (7 days after Pentecost) +06/20* Corpus Christi (11 days after Pentecost) 10/18 Feast Day of St. Luke -12/03* First Sunday of Advent (4th Sunday before Christmas) +12/02* First Sunday of Advent (4th Sunday before Christmas) 12/06 St. Nicholas' Day 12/25 Feast of the Nativity (Christmas) Index: src/usr.bin/calendar/calendars/calendar.judaic diff -u src/usr.bin/calendar/calendars/calendar.judaic:1.6 src/usr.bin/calendar/calendars/calendar.judaic:1.7 --- src/usr.bin/calendar/calendars/calendar.judaic:1.6 Tue Dec 6 04:54:00 2016 +++ src/usr.bin/calendar/calendars/calendar.judaic Sat Jun 2 05:55:47 2018 @@ -1,27 +1,27 @@ -02/11* Tu B'Shvat (Feast of Trees) -03/10* Fast of Esther (Battle of Purim; 1 day before Purim; fast day) -03/11* Purim (Feast of Lots; 30 days before Pesach) -04/10* Pesach (First Day of Passover; sabbatical) -04/11* Pesach (sabbatical) -04/12* Pesach (sabbatical) -04/13* Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) -05/02* Yom HaAtzma'ut (Israel Independence Day) -05/13* Lag B'Omer (Commemoration of the Great Rebellion) -05/24* Yom Yerushalayim (Reunification of Jerusalem) -05/30* Shavuot (Festival of Weeks; 50 days after Pesach; sabbatical) -07/11* Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem; +01/21* Tu B'Shvat (Feast of Trees) +03/19* Fast of Esther (Battle of Purim; 1 day before Purim; fast day) +03/20* Purim (Feast of Lots; 30 days before Pesach) +04/19* Pesach (First Day of Passover; sabbatical) +04/20* Pesach (sabbatical) +04/21* Pesach (sabbatical) +04/26* Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) +05/09* Yom HaAtzma'ut (Israel Independence Day) +05/23* Lag B'Omer (Commemoration of the Great Rebellion) +06/01* Yom Yerushalayim (Reunification of Jerusalem) +06/08* Shavuot (Festival of Weeks; 50 days after Pesach; sabbatical) +07/20* Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem; fast day) -08/01* Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day) -09/21* First Day of Rosh Hashanah (Jewish Lunar New Year; 5778 == 2017; +07/21* Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day) +09/09* First Day of Rosh Hashanah (Jewish Lunar New Year; 5778 == 2017; sabbatical) -09/21* Rosh Hashanah (sabbatical) -09/22* Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day +09/09* Rosh Hashanah (sabbatical) +09/10* Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day after Rosh Hashanah; fast day) -09/30* Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah; +09/18* Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah; sabbatical, fast day) -10/05* Succos (Festival of Tab
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: leot Date: Sat Dec 9 23:16:27 UTC 2017 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Fix a typo. (or, `Emily Dickinson' - the American poet - was born on the same date) To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.26 src/usr.bin/calendar/calendars/calendar.birthday:1.27 --- src/usr.bin/calendar/calendars/calendar.birthday:1.26 Mon Feb 15 20:58:02 2016 +++ src/usr.bin/calendar/calendars/calendar.birthday Sat Dec 9 23:16:27 2017 @@ -253,7 +253,7 @@ 12/05 Walt (Walter Elias) Disney born in Chicago, 1901 12/08 Horace (Quintus Horatius Flaccus) born in Venosa (Italy), 65 BC 12/08 James (Grover) Thurber born in Columbus, Ohio, 1894 -12/10 Emily Dickenson born, 1830 +12/10 Emily Dickinson born, 1830 12/12 E.G. Robinson born, 1893 12/14 George Washington dies, 1799 12/17 William Safire (Safir) born, 1929
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: dholland Date: Sat Dec 2 18:07:34 UTC 2017 Modified Files: src/usr.bin/calendar/calendars: calendar.history Log Message: Mention the Sand Creek massacre. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.bin/calendar/calendars/calendar.history Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.history diff -u src/usr.bin/calendar/calendars/calendar.history:1.34 src/usr.bin/calendar/calendars/calendar.history:1.35 --- src/usr.bin/calendar/calendars/calendar.history:1.34 Mon Feb 15 20:58:02 2016 +++ src/usr.bin/calendar/calendars/calendar.history Sat Dec 2 18:07:34 2017 @@ -492,6 +492,7 @@ 11/27 Alfred Nobel establishes Nobel Prize, 1895 11/27 Friction match invented, England, 1826 11/27 Hoosac Railroad Tunnel completed, 1873, in NW Massachusetts +11/29 Sand Creek massacre, Colorado, USA, 1864 11/29 King Tut's tomb opened, 1922 12/01 Martin Luther King Jr., leads black boycott of Montgomery buses, 1955
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Sun Jul 2 08:25:52 UTC 2017 Modified Files: src/usr.bin/calendar/calendars: calendar.holiday Log Message: Only 35 years late. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.bin/calendar/calendars/calendar.holiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.holiday diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.27 src/usr.bin/calendar/calendars/calendar.holiday:1.28 --- src/usr.bin/calendar/calendars/calendar.holiday:1.27 Tue Dec 6 04:54:00 2016 +++ src/usr.bin/calendar/calendars/calendar.holiday Sun Jul 2 08:25:52 2017 @@ -217,7 +217,7 @@ 06/29 Independence Day in Seychelles 06/29 Last Day of Ramadan* in Algeria, Oman 06/30 Day of the Army in Guatemala -07/01 Dominion Day in Canada +07/01 Canada Day in Canada 07/01 Freedom Day in Suriname 07/01 Independence Day in Burundi 07/01 National Day in Rwanda
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: snj Date: Wed Mar 15 05:05:04 UTC 2017 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: add 7.1 release date To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.37 src/usr.bin/calendar/calendars/calendar.netbsd:1.38 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.37 Tue Dec 6 04:54:00 2016 +++ src/usr.bin/calendar/calendars/calendar.netbsd Wed Mar 15 05:05:04 2017 @@ -23,6 +23,7 @@ 03/07 NetBSD/evbmips port started, 2002 03/08 pkgsrc/Solaris support added, 1999 03/09 NetBSD 1.3.1 released, 1998 +03/11 NetBSD 7.1 released, 2017 03/11 NetBSD/xen port started, 2004 03/11 pkgsrc/Interix support added, 2004 03/19 NetBSD/cobalt port started, 2000
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Tue Dec 6 04:54:00 UTC 2016 Modified Files: src/usr.bin/calendar/calendars: calendar.christian calendar.holiday calendar.judaic calendar.netbsd calendar.usholiday Log Message: update floating holidays for 2017 in preparation for pullup for 7.1 release To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/calendar/calendars/calendar.christian \ src/usr.bin/calendar/calendars/calendar.judaic cvs rdiff -u -r1.26 -r1.27 src/usr.bin/calendar/calendars/calendar.holiday cvs rdiff -u -r1.36 -r1.37 src/usr.bin/calendar/calendars/calendar.netbsd cvs rdiff -u -r1.6 -r1.7 src/usr.bin/calendar/calendars/calendar.usholiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.christian diff -u src/usr.bin/calendar/calendars/calendar.christian:1.5 src/usr.bin/calendar/calendars/calendar.christian:1.6 --- src/usr.bin/calendar/calendars/calendar.christian:1.5 Wed Sep 23 05:21:00 2015 +++ src/usr.bin/calendar/calendars/calendar.christian Tue Dec 6 04:54:00 2016 @@ -1,17 +1,17 @@ 01/06* Epiphany -02/09* Shrove Tuesday / Mardi Gras (day before Ash Wednesday) -02/10* Ash Wednesday (First day of Lent) -03/20* Palm Sunday (7 days before Easter) -03/24* Maundy Thursday (3 days before Easter) -03/25* Good Friday (2 days before Easter) -03/27* Easter Sunday -05/01* Rogation Sunday -05/05* Ascension Day (10 days before Pentecost) -05/15* Pentecost (Whitsunday) -05/16* Whitmonday -05/22* Trinity Sunday (7 days after Pentecost) -05/26* Corpus Christi (11 days after Pentecost) +02/28* Shrove Tuesday / Mardi Gras (day before Ash Wednesday) +03/01* Ash Wednesday (First day of Lent) +04/09* Palm Sunday (7 days before Easter) +04/13* Maundy Thursday (3 days before Easter) +04/14* Good Friday (2 days before Easter) +04/16* Easter Sunday +05/21* Rogation Sunday +05/25* Ascension Day (10 days before Pentecost) +06/04* Pentecost (Whitsunday) +06/05* Whitmonday +06/11* Trinity Sunday (7 days after Pentecost) +06/15* Corpus Christi (11 days after Pentecost) 10/18 Feast Day of St. Luke -11/29* First Sunday of Advent (4th Sunday before Christmas) +12/03* First Sunday of Advent (4th Sunday before Christmas) 12/06 St. Nicholas' Day 12/25 Feast of the Nativity (Christmas) Index: src/usr.bin/calendar/calendars/calendar.judaic diff -u src/usr.bin/calendar/calendars/calendar.judaic:1.5 src/usr.bin/calendar/calendars/calendar.judaic:1.6 --- src/usr.bin/calendar/calendars/calendar.judaic:1.5 Wed Sep 23 05:21:00 2015 +++ src/usr.bin/calendar/calendars/calendar.judaic Tue Dec 6 04:54:00 2016 @@ -1,27 +1,27 @@ -01/25* Tu B'Shvat (Feast of Trees) -03/23* Fast of Esther (Battle of Purim; 1 day before Purim; fast day) -03/24* Purim (Feast of Lots; 30 days before Pesach) -04/23* Pesach (First Day of Passover; sabbatical) -04/24* Pesach (sabbatical) -04/25* Pesach (sabbatical) -04/26* Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) -05/12* Yom HaAtzma'ut (Israel Independence Day) -05/26* Lag B'Omer (Commemoration of the Great Rebellion) -06/04* Yom Yerushalayim (Reunification of Jerusalem) -06/12* Shavuos (Festival of Weeks; 50 days after Pesach; sabbatical) -07/24* Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem; +02/11* Tu B'Shvat (Feast of Trees) +03/10* Fast of Esther (Battle of Purim; 1 day before Purim; fast day) +03/11* Purim (Feast of Lots; 30 days before Pesach) +04/10* Pesach (First Day of Passover; sabbatical) +04/11* Pesach (sabbatical) +04/12* Pesach (sabbatical) +04/13* Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) +05/02* Yom HaAtzma'ut (Israel Independence Day) +05/13* Lag B'Omer (Commemoration of the Great Rebellion) +05/24* Yom Yerushalayim (Reunification of Jerusalem) +05/30* Shavuot (Festival of Weeks; 50 days after Pesach; sabbatical) +07/11* Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem; fast day) -08/14* Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day) -10/03* First Day of Rosh Hashanah (Jewish Lunar New Year; 5767 == 2006; +08/01* Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day) +09/21* First Day of Rosh Hashanah (Jewish Lunar New Year; 5778 == 2017; sabbatical) -10/03* Rosh Hashanah (sabbatical) -10/04* Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day +09/21* Rosh Hashanah (sabbatical) +09/22* Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day after Rosh Hashanah; fast day) -10/12* Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah; +09/30* Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah; sabbatical, fast day) -10/17* Succos (Festival of Tabernacles; 14 days after Rosh Hashanah; +10/05* Succos (Festival of Tabernacles; 14 days after Rosh Hashanah; sabbatical) -10/23* Hoshanah Rabba (7th day of Succos) -10/24* Shmini Atzeres (8th Day of G
CVS commit: src/usr.bin/calendar
Module Name:src Committed By: agc Date: Fri Jun 3 02:06:40 UTC 2016 Modified Files: src/usr.bin/calendar: calendar.1 calendar.c Log Message: Commit patch sent to tech-userlevel with universal approval to add a version option for calendar(1): % calendar -v calendar-20160601 % For reference, see: http://mail-index.netbsd.org/tech-userlevel/2016/06/02/msg010081.html To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/calendar/calendar.1 cvs rdiff -u -r1.52 -r1.53 src/usr.bin/calendar/calendar.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendar.1 diff -u src/usr.bin/calendar/calendar.1:1.25 src/usr.bin/calendar/calendar.1:1.26 --- src/usr.bin/calendar/calendar.1:1.25 Tue Jun 8 03:08:47 2010 +++ src/usr.bin/calendar/calendar.1 Fri Jun 3 02:06:40 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: calendar.1,v 1.25 2010/06/08 03:08:47 riz Exp $ +.\" $NetBSD: calendar.1,v 1.26 2016/06/03 02:06:40 agc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)calendar.1 8.1 (Berkeley) 6/29/93 .\" -.Dd August 27, 2009 +.Dd June 1, 2016 .Dt CALENDAR 1 .Os .Sh NAME @@ -37,7 +37,7 @@ .Nd reminder service .Sh SYNOPSIS .Nm -.Op Fl ax +.Op Fl avx .Op Fl d Ar MMDD[[YY]YY] .Op Fl f Ar file .Op Fl l Ar days @@ -95,6 +95,11 @@ number if and only if the day specified The default value is two, which causes .Nm to print entries through the weekend on Fridays. +.It Fl v +Causes +.Nm +to print version information for itself, +and then exit. .It Fl x Causes .Nm Index: src/usr.bin/calendar/calendar.c diff -u src/usr.bin/calendar/calendar.c:1.52 src/usr.bin/calendar/calendar.c:1.53 --- src/usr.bin/calendar/calendar.c:1.52 Wed Jul 1 06:48:25 2015 +++ src/usr.bin/calendar/calendar.c Fri Jun 3 02:06:40 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: calendar.c,v 1.52 2015/07/01 06:48:25 dholland Exp $ */ +/* $NetBSD: calendar.c,v 1.53 2016/06/03 02:06:40 agc Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 19 #if 0 static char sccsid[] = "@(#)calendar.c 8.4 (Berkeley) 1/7/95"; #endif -__RCSID("$NetBSD: calendar.c,v 1.52 2015/07/01 06:48:25 dholland Exp $"); +__RCSID("$NetBSD: calendar.c,v 1.53 2016/06/03 02:06:40 agc Exp $"); #endif /* not lint */ #include @@ -65,6 +65,8 @@ __RCSID("$NetBSD: calendar.c,v 1.52 2015 #include "pathnames.h" +#define CALENDAR_VERSION "calendar-20160601" + /* flags used by calendar file parser */ #define F_ISMONTH 0x01 #define F_ISDAY 0x02 @@ -133,7 +135,7 @@ main(int argc, char **argv) (void)setprogname(argv[0]); /* for portability */ - while ((ch = getopt(argc, argv, "-ad:f:l:w:x")) != -1) { + while ((ch = getopt(argc, argv, "-ad:f:l:vw:x")) != -1) { switch (ch) { case '-': /* backward contemptible */ case 'a': @@ -152,6 +154,9 @@ main(int argc, char **argv) case 'l': atodays(ch, optarg, &lookahead); break; + case 'v': + printf("%s\n", CALENDAR_VERSION); + return 0; case 'w': atodays(ch, optarg, &weekend); break;
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: snj Date: Mon Feb 15 20:58:02 UTC 2016 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday calendar.history Log Message: allexander the greeeat, his name struck fear into hearts of men! ...but let's conquer that fear and give ol' alex a consistent and correct date of death. (he died of fever in baabylooo) To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/calendar/calendars/calendar.birthday cvs rdiff -u -r1.33 -r1.34 src/usr.bin/calendar/calendars/calendar.history Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.25 src/usr.bin/calendar/calendars/calendar.birthday:1.26 --- src/usr.bin/calendar/calendars/calendar.birthday:1.25 Wed Mar 11 17:35:16 2015 +++ src/usr.bin/calendar/calendars/calendar.birthday Mon Feb 15 20:58:02 2016 @@ -142,7 +142,7 @@ 06/07 George Bryan "Beau" Brummel born, 1778 06/07 Alan Mathison Turing died, 1954 06/08 Frank Lloyd Wright born in Richland Center, Wisconsin, 1869 -06/13 Alexander the Great dies (323 BC) +06/11 Alexander the Great dies (323 BC) 06/15 Edward (Edvard Hagerup) Grieg born in Bergen, Norway, 1843 06/16 Hammurabi the Great dies, Babylon, 1686 BC 06/18 M.C. Escher born, 1898 Index: src/usr.bin/calendar/calendars/calendar.history diff -u src/usr.bin/calendar/calendars/calendar.history:1.33 src/usr.bin/calendar/calendars/calendar.history:1.34 --- src/usr.bin/calendar/calendars/calendar.history:1.33 Fri Nov 6 12:49:06 2015 +++ src/usr.bin/calendar/calendars/calendar.history Mon Feb 15 20:58:02 2016 @@ -268,7 +268,7 @@ 08/15 US leaves the Gold Standard, 1971 06/06 First drive-in movie, 1933 06/06 Normandy landing, 1944 -06/10 Death of Alexander the Great, 323 B.C. +06/11 Death of Alexander the Great, 323 B.C. 06/13 Pioneer 10 flies past Neptune's orbit, the first human artifact to travel beyond the orbits of all known planets, 1983 06/14 Sandpaper invented by I. Fischer, Jr., 1834
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Fri Nov 6 12:49:06 UTC 2015 Modified Files: src/usr.bin/calendar/calendars: calendar.history Log Message: typo To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/usr.bin/calendar/calendars/calendar.history Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.history diff -u src/usr.bin/calendar/calendars/calendar.history:1.32 src/usr.bin/calendar/calendars/calendar.history:1.33 --- src/usr.bin/calendar/calendars/calendar.history:1.32 Tue Sep 8 11:07:37 2015 +++ src/usr.bin/calendar/calendars/calendar.history Fri Nov 6 12:49:06 2015 @@ -464,7 +464,7 @@ 11/03 Beef rises to 3 cents a pound, IL, 1837 11/03 Linus Pauling wins Nobel Chemistry Prize, 1954 11/03 Sputnik II launched, 1957, bearing spacedog Laika -11/04 Iranian militants seize US embassy personnel in Teheran, 1979 +11/04 Iranian militants seize US embassy personnel in Tehran, 1979 11/04 Soviet forces crush the anti-communist revolt in Hungary, 1956 11/05 Guy Fawkes' Plot, 1605 11/06 Anniversary of the October Socialist Revolution (2 days) in U.S.S.R.
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: pgoyette Date: Sun Oct 11 22:08:46 UTC 2015 Modified Files: src/usr.bin/calendar/calendars: calendar.holiday Log Message: Fix typo - Bahamas starts with a 'B' not with a 'G' To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/calendar/calendars/calendar.holiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.holiday diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.25 src/usr.bin/calendar/calendars/calendar.holiday:1.26 --- src/usr.bin/calendar/calendars/calendar.holiday:1.25 Wed Sep 23 05:21:00 2015 +++ src/usr.bin/calendar/calendars/calendar.holiday Sun Oct 11 22:08:46 2015 @@ -361,7 +361,7 @@ 10/11 Day of the Revolution in Panama 10/11 Druger Day in South Africa 10/12 Day of the Race in Argentina -10/12 Discovery Day in Gahamas +10/12 Discovery Day in Bahamas 10/12 National Day in Equatorial Guinea, Spain 10/12 Our Lady Aparecida Day in Brazil 10/12 Pan American Day in Belize
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Fri Oct 9 00:09:52 UTC 2015 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: note the release of NetBSD 7.0 To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.35 src/usr.bin/calendar/calendars/calendar.netbsd:1.36 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.35 Mon Sep 7 12:29:19 2015 +++ src/usr.bin/calendar/calendars/calendar.netbsd Fri Oct 9 00:09:52 2015 @@ -81,6 +81,7 @@ 09/22 NetBSD 6.0.6 released, 2014 09/22 NetBSD 6.1.5 released, 2014 09/25 NetBSD/hpcmips port started, 1999 +09/25 NetBSD 7.0 released, 2015 09/28 NetBSD 5.1.3 released, 2013 09/28 NetBSD 5.2.1 released, 2013 09/29 NetBSD/mac68k port started, 1993
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Wed Sep 23 05:21:00 UTC 2015 Modified Files: src/usr.bin/calendar/calendars: calendar.christian calendar.holiday calendar.judaic calendar.usholiday Log Message: Adjust dates for floating holidays. Use 2015 for things happening from mid-October onwards, and 2016 for things happening earlier. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/calendar/calendars/calendar.christian \ src/usr.bin/calendar/calendars/calendar.judaic cvs rdiff -u -r1.24 -r1.25 src/usr.bin/calendar/calendars/calendar.holiday cvs rdiff -u -r1.5 -r1.6 src/usr.bin/calendar/calendars/calendar.usholiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.christian diff -u src/usr.bin/calendar/calendars/calendar.christian:1.4 src/usr.bin/calendar/calendars/calendar.christian:1.5 --- src/usr.bin/calendar/calendars/calendar.christian:1.4 Sat May 5 01:29:56 2012 +++ src/usr.bin/calendar/calendars/calendar.christian Wed Sep 23 05:21:00 2015 @@ -1,17 +1,17 @@ -01/18* Epiphany -02/12* Shrove Tuesday / Mardi Gras (day before Ash Wednesday) -02/13* Ash Wednesday (First day of Lent) -03/24* Palm Sunday (7 days before Easter) -03/28* Maundy Thursday (3 days before Easter) -03/29* Good Friday (2 days before Easter) -03/31* Easter Sunday -05/05* Rogation Sunday -05/09* Ascension Day (10 days before Pentecost) -05/19* Pentecost (Whitsunday) -05/20* Whitmonday -05/26* Trinity Sunday (7 days after Pentecost) -05/30* Corpus Christi (11 days after Pentecost) +01/06* Epiphany +02/09* Shrove Tuesday / Mardi Gras (day before Ash Wednesday) +02/10* Ash Wednesday (First day of Lent) +03/20* Palm Sunday (7 days before Easter) +03/24* Maundy Thursday (3 days before Easter) +03/25* Good Friday (2 days before Easter) +03/27* Easter Sunday +05/01* Rogation Sunday +05/05* Ascension Day (10 days before Pentecost) +05/15* Pentecost (Whitsunday) +05/16* Whitmonday +05/22* Trinity Sunday (7 days after Pentecost) +05/26* Corpus Christi (11 days after Pentecost) 10/18 Feast Day of St. Luke -12/01* First Sunday of Advent (4th Sunday before Christmas) +11/29* First Sunday of Advent (4th Sunday before Christmas) 12/06 St. Nicholas' Day 12/25 Feast of the Nativity (Christmas) Index: src/usr.bin/calendar/calendars/calendar.judaic diff -u src/usr.bin/calendar/calendars/calendar.judaic:1.4 src/usr.bin/calendar/calendars/calendar.judaic:1.5 --- src/usr.bin/calendar/calendars/calendar.judaic:1.4 Sat May 5 01:29:56 2012 +++ src/usr.bin/calendar/calendars/calendar.judaic Wed Sep 23 05:21:00 2015 @@ -1,27 +1,27 @@ -01/26* Tu B'Shvat (Feast of Trees) -02/22* Fast of Esther (Battle of Purim; 1 day before Purim; fast day) -02/23* Purim (Feast of Lots; 30 days before Pesach) -03/25* Pesach (First Day of Passover; sabbatical) -03/26* Pesach (sabbatical) -03/27* Pesach (sabbatical) -03/28* Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) -04/16* Yom HaAtzma'ut (Israel Independence Day) -05/12* Lag B'Omer (Commemoration of the Great Rebellion) -05/22* Yom Yerushalayim (Reunification of Jerusalem) -05/29* Shavuos (Festival of Weeks; 50 days after Pesach; sabbatical) -07/09* Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem; +01/25* Tu B'Shvat (Feast of Trees) +03/23* Fast of Esther (Battle of Purim; 1 day before Purim; fast day) +03/24* Purim (Feast of Lots; 30 days before Pesach) +04/23* Pesach (First Day of Passover; sabbatical) +04/24* Pesach (sabbatical) +04/25* Pesach (sabbatical) +04/26* Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) +05/12* Yom HaAtzma'ut (Israel Independence Day) +05/26* Lag B'Omer (Commemoration of the Great Rebellion) +06/04* Yom Yerushalayim (Reunification of Jerusalem) +06/12* Shavuos (Festival of Weeks; 50 days after Pesach; sabbatical) +07/24* Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem; fast day) -07/30* Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day) -09/19* First Day of Rosh Hashanah (Jewish Lunar New Year; 5767 == 2006; +08/14* Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day) +10/03* First Day of Rosh Hashanah (Jewish Lunar New Year; 5767 == 2006; sabbatical) -09/04* Rosh Hashanah (sabbatical) -09/05* Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day +10/03* Rosh Hashanah (sabbatical) +10/04* Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day after Rosh Hashanah; fast day) -09/13* Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah; +10/12* Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah; sabbatical, fast day) -09/28* Succos (Festival of Tabernacles; 14 days after Rosh Hashanah; +10/17* Succos (Festival of Tabernacles; 14 days after Rosh Hashanah; sabbatical) -10/04* Hoshanah Rabba (7th day of Succos) -10/15* Shmini Atzeres (8th Day of Gathering; 1 day a
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Tue Sep 8 11:07:38 UTC 2015 Modified Files: src/usr.bin/calendar/calendars: calendar.history Log Message: Pretty difficult for a TV show (Star Trek) to have a first airing on two different dates. Dump the erroneous one. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/usr.bin/calendar/calendars/calendar.history Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.history diff -u src/usr.bin/calendar/calendars/calendar.history:1.31 src/usr.bin/calendar/calendars/calendar.history:1.32 --- src/usr.bin/calendar/calendars/calendar.history:1.31 Tue Sep 1 00:56:17 2015 +++ src/usr.bin/calendar/calendars/calendar.history Tue Sep 8 11:07:37 2015 @@ -374,7 +374,6 @@ 09/02 Japan signs unconditional surrender on US battleship `Missouri', 1945 09/05 The first Continental Congress was convened in Philadelphia, 1774 09/06 149 Pilgrims set forth from England aboard the Mayflower, 1620 -09/06 First Star Trek episode (The Man Trap) aired 1966 09/06 Pres. McKinley shot, 1901 09/08 "Star Trek" debuts on NBC (1966) 09/08 Jack the Ripper kills again, Annie Chapman is second victim, 1888
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Mon Sep 7 12:29:19 UTC 2015 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: Switch from a mixture of tabs & 3 spaces to a single style, 3 spaces To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.34 src/usr.bin/calendar/calendars/calendar.netbsd:1.35 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.34 Mon Sep 7 12:20:32 2015 +++ src/usr.bin/calendar/calendars/calendar.netbsd Mon Sep 7 12:29:19 2015 @@ -8,10 +8,10 @@ 01/27 NetBSD 6.0.4 released, 2014 01/27 NetBSD 6.1.3 released, 2014 01/31 NetBSD/shark port started, 1996 -02/02 NetBSD 5.1.2 released, 2012 +02/02 NetBSD 5.1.2 released, 2012 02/06 NetBSD/evbsh3 port started, 2001 02/11 NetBSD/sandpoint port started, 2001 -02/12 NetBSD 5.0.2 released, 2010 +02/12 NetBSD 5.0.2 released, 2010 02/13 NetBSD/alpha port started, 1995 02/18 NetBSD/newsmips port started, 1998 02/20 NetBSD/hpcarm port started, 2001 @@ -64,9 +64,9 @@ 07/05 NetBSD/evbsh5 port started, 2002 07/11 NetBSD 1.5.1 released, 2001 07/22 NetBSD 1.5.3 released, 2002 -07/24 NetBSD 3.0.1 released, 2006 +07/24 NetBSD 3.0.1 released, 2006 07/25 NetBSD/mvme68k port started, 1995 -08/02 NetBSD 5.0.1 released, 2009 +08/02 NetBSD 5.0.1 released, 2009 08/02 NetBSD/vax port started, 1994 08/12 NetBSD/mipsco port started, 2000 08/20 pkgsrc forked from FreeBSD Ports, 1997 @@ -78,34 +78,34 @@ 09/09 NetBSD/pc532 port started, 1993 09/13 NetBSD 1.5.2 released, 2001 09/14 NetBSD 1.6 released, 2002 -09/22 NetBSD 6.0.6 released, 2014 -09/22 NetBSD 6.1.5 released, 2014 +09/22 NetBSD 6.0.6 released, 2014 +09/22 NetBSD 6.1.5 released, 2014 09/25 NetBSD/hpcmips port started, 1999 -09/28 NetBSD 5.1.3 released, 2013 -09/28 NetBSD 5.2.1 released, 2013 +09/28 NetBSD 5.1.3 released, 2013 +09/28 NetBSD 5.2.1 released, 2013 09/29 NetBSD/mac68k port started, 1993 -09/30 NetBSD 6.0.3 released, 2013 -09/30 NetBSD 6.1.2 released, 2013 +09/30 NetBSD 6.0.3 released, 2013 +09/30 NetBSD 6.1.2 released, 2013 10/02 NetBSD/sparc port started, 1993 10/04 NetBSD 1.2 released, 1996 10/05 NetBSD/cats port started, 1998 10/12 NetBSD/pmax port started, 1993 10/13 NetBSD/iyonix port started, 2004 -10/14 NetBSD 4.0.1 released, 2008 +10/14 NetBSD 4.0.1 released, 2008 10/14 NetBSD/bebox port started, 1997 10/16 NetBSD/playstation2 port started, 2001 10/17 NetBSD 6.0 released, 2012 10/26 NetBSD 1.0 released, 1994 10/30 pkgsrc/Darwin support added, 2001 -10/31 NetBSD 2.0.3 released, 2005 +10/31 NetBSD 2.0.3 released, 2005 11/02 NetBSD 2.1 released, 2005 -11/04 NetBSD 3.0.2 released, 2006 +11/04 NetBSD 3.0.2 released, 2006 11/04 NetBSD 3.1 released, 2006 -11/15 NetBSD 5.1.5 released, 2014 -11/15 NetBSD 5.2.3 released, 2014 +11/15 NetBSD 5.1.5 released, 2014 +11/15 NetBSD 5.2.3 released, 2014 11/17 pkgsrc/FreeBSD support added, 2002 11/18 NetBSD/acorn32 port started, 2001 -11/19 NetBSD 5.1 released, 2010 +11/19 NetBSD 5.1 released, 2010 11/20 pkgsrc/OSF1 support added, 2004 11/25 NetBSD 1.4.3 released, 2000 11/26 NetBSD 1.1 released, 1995 @@ -113,7 +113,7 @@ 12/02 pkgsrc/IRIX support added, 2002 12/03 pkgsrc/AIX support added, 2003 12/03 pkgsrc/BSDI support added, 2003 -12/03 NetBSD 5.2 released, 2012 +12/03 NetBSD 5.2 released, 2012 12/06 NetBSD 1.5 released, 2000 12/09 NetBSD 2.0 released, 2004 12/09 NetBSD/news68k port started, 1999 @@ -122,5 +122,5 @@ 12/19 NetBSD 4.0 released, 2007 12/23 NetBSD 1.3.3 released, 1998 12/23 NetBSD 3.0 released, 2005 -12/26 NetBSD 6.0.1 released, 2012 +12/26 NetBSD 6.0.1 released, 2012 12/29 NetBSD/ews4800mips port started, 2005
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Mon Sep 7 12:20:32 UTC 2015 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: Add pkgsrc/Bitrig To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.33 src/usr.bin/calendar/calendars/calendar.netbsd:1.34 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.33 Fri Aug 21 02:32:24 2015 +++ src/usr.bin/calendar/calendars/calendar.netbsd Mon Sep 7 12:20:32 2015 @@ -50,6 +50,7 @@ 05/28 NetBSD/ofppc port started, 1998 05/29 NetBSD 1.3.2 released, 1998 05/31 NetBSD/pmppc port started, 2002 +06/04 pkgsrc/Bitrig support added, 2015 06/05 NetBSD gets its own package system, 1997 06/06 NetBSD/hp700 port started, 2002 06/09 NetBSD/netwinder port started, 2001
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Tue Sep 1 00:56:17 UTC 2015 Modified Files: src/usr.bin/calendar/calendars: calendar.history Log Message: If we're going to note the USSR shooting down civilian airliners, we should be fair and pick on the USA as well. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.bin/calendar/calendars/calendar.history Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.history diff -u src/usr.bin/calendar/calendars/calendar.history:1.30 src/usr.bin/calendar/calendars/calendar.history:1.31 --- src/usr.bin/calendar/calendars/calendar.history:1.30 Thu Dec 5 22:06:13 2013 +++ src/usr.bin/calendar/calendars/calendar.history Tue Sep 1 00:56:17 2015 @@ -294,6 +294,7 @@ 06/30 China and Soviet Union announce split over ideology, 1960 07/01 Battle of Gettysburg begins, 1863 +07/03 290 people killed after Iran Airlines A300 shot down by USA, 1988 07/04 Battles of Vicksburg and Gettysburg won by Union forces, 1863 07/04 Cloudy, 76 degrees, Philadelphia PA, 1776 07/04 New York abstains on Declaration of Independence vote, 1776
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Fri Aug 21 02:32:25 UTC 2015 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: - sort - add a bunch of missing release To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.32 src/usr.bin/calendar/calendars/calendar.netbsd:1.33 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.32 Fri May 30 19:01:52 2014 +++ src/usr.bin/calendar/calendars/calendar.netbsd Fri Aug 21 02:32:24 2015 @@ -15,6 +15,7 @@ 02/13 NetBSD/alpha port started, 1995 02/18 NetBSD/newsmips port started, 1998 02/20 NetBSD/hpcarm port started, 2001 +02/24 NetBSD/hp700 port renamed NetBSD/hppa, 2014 02/27 NetBSD/mvmeppc, port started, 2002 02/29 NetBSD/prep port started, 2000 03/01 NetBSD 1.6.2 released, 2004 @@ -76,6 +77,8 @@ 09/09 NetBSD/pc532 port started, 1993 09/13 NetBSD 1.5.2 released, 2001 09/14 NetBSD 1.6 released, 2002 +09/22 NetBSD 6.0.6 released, 2014 +09/22 NetBSD 6.1.5 released, 2014 09/25 NetBSD/hpcmips port started, 1999 09/28 NetBSD 5.1.3 released, 2013 09/28 NetBSD 5.2.1 released, 2013 @@ -97,6 +100,8 @@ 11/02 NetBSD 2.1 released, 2005 11/04 NetBSD 3.0.2 released, 2006 11/04 NetBSD 3.1 released, 2006 +11/15 NetBSD 5.1.5 released, 2014 +11/15 NetBSD 5.2.3 released, 2014 11/17 pkgsrc/FreeBSD support added, 2002 11/18 NetBSD/acorn32 port started, 2001 11/19 NetBSD 5.1 released, 2010 @@ -107,6 +112,7 @@ 12/02 pkgsrc/IRIX support added, 2002 12/03 pkgsrc/AIX support added, 2003 12/03 pkgsrc/BSDI support added, 2003 +12/03 NetBSD 5.2 released, 2012 12/06 NetBSD 1.5 released, 2000 12/09 NetBSD 2.0 released, 2004 12/09 NetBSD/news68k port started, 1999 @@ -115,5 +121,5 @@ 12/19 NetBSD 4.0 released, 2007 12/23 NetBSD 1.3.3 released, 1998 12/23 NetBSD 3.0 released, 2005 +12/26 NetBSD 6.0.1 released, 2012 12/29 NetBSD/ews4800mips port started, 2005 -02/24 NetBSD/hp700 port renamed NetBSD/hppa, 2014
CVS commit: src/usr.bin/calendar
Module Name:src Committed By: dholland Date: Wed Jul 1 06:48:25 UTC 2015 Modified Files: src/usr.bin/calendar: calendar.c Log Message: Repair accidental regression in -r1.49: for -a mode, don't allow calendars to be other than regular files unless the -x option is in effect. (If not in -a mode, we're running purely as the user whose calendar it is and if they want to DoS themselves with named pipes it's their own lookout.) To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/usr.bin/calendar/calendar.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendar.c diff -u src/usr.bin/calendar/calendar.c:1.51 src/usr.bin/calendar/calendar.c:1.52 --- src/usr.bin/calendar/calendar.c:1.51 Wed Jul 1 06:45:51 2015 +++ src/usr.bin/calendar/calendar.c Wed Jul 1 06:48:25 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: calendar.c,v 1.51 2015/07/01 06:45:51 dholland Exp $ */ +/* $NetBSD: calendar.c,v 1.52 2015/07/01 06:48:25 dholland Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -39,10 +39,11 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 19 #if 0 static char sccsid[] = "@(#)calendar.c 8.4 (Berkeley) 1/7/95"; #endif -__RCSID("$NetBSD: calendar.c,v 1.51 2015/07/01 06:45:51 dholland Exp $"); +__RCSID("$NetBSD: calendar.c,v 1.52 2015/07/01 06:48:25 dholland Exp $"); #endif /* not lint */ #include +#include #include #include #include @@ -120,6 +121,7 @@ static void getmmdd(struct tm *, char * static int getmonth(char *); static bool isnow(char *); static FILE *opencal(FILE **); +static int tryopen(const char *, int); static void settime(void); static void usage(void) __dead; @@ -403,7 +405,7 @@ opencal(FILE **in) /* open up calendar file as stdin */ if (fname == NULL) { for (const char **name = defaultnames; *name != NULL; name++) { - if ((fd = open(*name, O_RDONLY)) == -1) + if ((fd = tryopen(*name, O_RDONLY)) == -1) continue; else break; @@ -413,7 +415,7 @@ opencal(FILE **in) return NULL; err(EXIT_FAILURE, "Cannot open calendar file"); } - } else if ((fd = open(fname, O_RDONLY)) == -1) { + } else if ((fd = tryopen(fname, O_RDONLY)) == -1) { if (doall) return NULL; err(EXIT_FAILURE, "Cannot open `%s'", fname); @@ -482,6 +484,74 @@ opencal(FILE **in) /*NOTREACHED*/ } +static int +tryopen(const char *pathname, int flags) +{ + int fd, serrno, zero; + struct stat st; + + /* + * XXX: cpp_restricted has inverted sense; it is false by default, + * and -x sets it to true. CPP_RESTRICTED is set in the environment + * if cpp_restricted is false... go figure. This should be fixed + * later. + */ + if (doall && cpp_restricted == false) { + /* + * We are running with the user's euid, so they can't + * cause any mayhem (e.g. opening rewinding tape + * devices) that they couldn't do easily enough on + * their own. All we really need to worry about is opens + * that hang, because that would DoS the calendar run. + */ + fd = open(pathname, flags | O_NONBLOCK); + if (fd == -1) { + return -1; + } + if (fstat(fd, &st) == -1) { + serrno = errno; + close(fd); + errno = serrno; + return -1; + } + if (S_ISCHR(st.st_mode) || + S_ISBLK(st.st_mode) || + S_ISFIFO(st.st_mode)) { + close(fd); + + /* Call shenanigans in the daily output */ + errno = EPERM; + warn("%s: %s", pw->pw_name, pathname); + + errno = EPERM; + return -1; + } + if (S_ISDIR(st.st_mode)) { + /* Don't warn about this */ + close(fd); + errno = EISDIR; + return -1; + } + if (!S_ISREG(st.st_mode)) { + /* There shouldn't be other cases to go here */ + close(fd); + errno = EINVAL; + return -1; + } + zero = 0; + if (ioctl(fd, FIONBIO, &zero) == -1) { + serrno = errno; + warn("%s: %s: FIONBIO", pw->pw_name, pathname); + close(fd); + errno = serrno; + return -1; + } + return fd; + } else { + return open(pathname, flags); + } +} + static void closecal(FILE *fp) {
CVS commit: src/usr.bin/calendar
Module Name:src Committed By: dholland Date: Wed Jul 1 06:45:51 UTC 2015 Modified Files: src/usr.bin/calendar: calendar.c Log Message: Correct privilege handling problems in calendar -a (which runs as root from /etc/daily); do not exec other programs while the real uid is still 0. Also, clear the supplementary groups list up front and call initgroups when becoming another user, to avoid leaking any extra group privileges that we might have. And finally, don't silently ignore errors changing uid and gid; those are serious if they happen. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/usr.bin/calendar/calendar.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendar.c diff -u src/usr.bin/calendar/calendar.c:1.50 src/usr.bin/calendar/calendar.c:1.51 --- src/usr.bin/calendar/calendar.c:1.50 Sat Nov 9 15:57:15 2013 +++ src/usr.bin/calendar/calendar.c Wed Jul 1 06:45:51 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: calendar.c,v 1.50 2013/11/09 15:57:15 christos Exp $ */ +/* $NetBSD: calendar.c,v 1.51 2015/07/01 06:45:51 dholland Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 19 #if 0 static char sccsid[] = "@(#)calendar.c 8.4 (Berkeley) 1/7/95"; #endif -__RCSID("$NetBSD: calendar.c,v 1.50 2013/11/09 15:57:15 christos Exp $"); +__RCSID("$NetBSD: calendar.c,v 1.51 2015/07/01 06:45:51 dholland Exp $"); #endif /* not lint */ #include @@ -48,6 +48,7 @@ __RCSID("$NetBSD: calendar.c,v 1.50 2013 #include #include +#include #include #include #include @@ -112,6 +113,7 @@ static const char *months[] = { static void atodays(int, char *, unsigned short *); static void cal(void); static void closecal(FILE *); +static void changeuser(void); static int getday(char *); static int getfield(char *, char **, int *); static void getmmdd(struct tm *, char *); @@ -171,12 +173,24 @@ main(int argc, char **argv) * XXX - This ignores the user's CALENDAR_DIR variable. * Run under user's login shell? */ + if (setgroups(0, NULL) == -1) { + err(EXIT_FAILURE, "setgroups"); + } while ((pw = getpwent()) != NULL) { - (void)setegid(pw->pw_gid); - (void)seteuid(pw->pw_uid); - if (chdir(pw->pw_dir) != -1) + if (setegid(pw->pw_gid) == -1) { +warn("%s: setegid", pw->pw_name); +continue; + } + if (seteuid(pw->pw_uid) == -1) { +warn("%s: seteuid", pw->pw_name); +continue; + } + if (chdir(pw->pw_dir) != -1) { cal(); - (void)seteuid(0); + } + if (seteuid(0) == -1) { +warn("%s: seteuid back to 0", pw->pw_name); + } } } else if ((caldir = getenv("CALENDAR_DIR")) != NULL) { if (chdir(caldir) != -1) @@ -429,6 +443,10 @@ opencal(FILE **in) (void)close(pdes[1]); } (void)close(pdes[0]); + if (doall) { + /* become the user properly */ + changeuser(); + } /* tell CPP to only open regular files */ if(!cpp_restricted && setenv("CPP_RESTRICTED", "", 1) == -1) err(EXIT_FAILURE, "Cannot restrict cpp"); @@ -495,6 +513,10 @@ closecal(FILE *fp) (void)close(pdes[0]); } (void)close(pdes[1]); + if (doall) { + /* become the user properly */ + changeuser(); + } (void)execl(_PATH_SENDMAIL, "sendmail", "-i", "-t", "-F", "\"Reminder Service\"", "-f", "root", NULL); err(EXIT_FAILURE, "Cannot exec `%s'", _PATH_SENDMAIL); @@ -518,6 +540,34 @@ done: (void)fclose(fp); continue; } +static void +changeuser(void) +{ + uid_t uid; + gid_t gid; + + uid = geteuid(); + gid = getegid(); + assert(uid == pw->pw_uid); + assert(gid == pw->pw_gid); + + if (seteuid(0) == -1) { + err(EXIT_FAILURE, "%s: changing user: cannot reassert uid 0", + pw->pw_name); + } + if (setgid(gid) == -1) { + err(EXIT_FAILURE, "%s: cannot assume gid %d", + pw->pw_name, (int)gid); + } + if (initgroups(pw->pw_name, gid) == -1) { + err(EXIT_FAILURE, "%s: cannot initgroups", pw->pw_name); + } + if (setuid(uid) == -1) { + err(EXIT_FAILURE, "%s: cannot assume uid %d", + pw->pw_name, (int)uid); + } +} + static int getmonth(char *s) {
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: snj Date: Thu Apr 23 06:19:10 UTC 2015 Modified Files: src/usr.bin/calendar/calendars: calendar.usholiday Log Message: Update for 2015 dates. From Jeff Woodall in PR misc/49587, with a typo fixed in Election Day (and the "even years" bit removed). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/calendar/calendars/calendar.usholiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.usholiday diff -u src/usr.bin/calendar/calendars/calendar.usholiday:1.4 src/usr.bin/calendar/calendars/calendar.usholiday:1.5 --- src/usr.bin/calendar/calendars/calendar.usholiday:1.4 Sat May 5 01:29:56 2012 +++ src/usr.bin/calendar/calendars/calendar.usholiday Thu Apr 23 06:19:10 2015 @@ -1,31 +1,33 @@ 01/01 New Year's Day 01/14 Julian Calendar New Year's Day +01/19* Martin Luther King Day (3rd Monday of January) 02/02 Groundhog Day 02/14 St. Valentine's Day -02/18* President's Day (3rd Monday of February) +02/16* President's Day (3rd Monday of February) 03/05 Mother-in-Law Day +03/08* Daylight Savings Time begins; clocks move forward (2nd Sunday of March) 03/17 St. Patrick's Day 03/20* Vernal Equinox 04/01 April Fool's Day 04/15 Income Tax Day -03/10* Daylight Savings Time begins; clocks move forward (2nd Sunday of March) -04/28* Arbor Day (varies from state to state) -05/12* Mother's Day (2nd Sunday of May) -05/18* Armed Forces Day (3rd Saturday of May) -05/27* Memorial Day (Last Monday of May) -06/16* Father's Day (3rd Sunday of June) +04/22 Earth Day +04/24* Arbor Day (varies from state to state) +05/10* Mother's Day (2nd Sunday of May) +05/16* Armed Forces Day (3rd Saturday of May) +05/25* Memorial Day (Last Monday of May) +06/21* Father's Day (3rd Sunday of June) 06/21* Summer Solstice 07/04 Independence Day -09/02* Labor Day (1st Monday of September) -09/08* Grandparent's Day (2nd Sunday of September; varies from state to state) -09/22* Autumnal Equinox -10/14* Columbus Day (2nd Monday of October) -11/03* Daylight Savings Time ends; clocks move back (First Sunday in November) +09/07* Labor Day (1st Monday of September) +09/13* Grandparent's Day (2nd Sunday of September; varies from state to state) +09/23* Autumnal Equinox +10/12* Columbus Day (2nd Monday of October) 10/31 All Hallows Eve (Halloween) -11/04* Election Day (1st Tuesday after 1st Monday for even years) +11/01* Daylight Savings Time ends; clocks move back (First Sunday in November) +11/03* Election Day (1st Tuesday after 1st Monday) 11/11 Veterans' Day -11/28* Thanksgiving Day (Fourth Thursday in November) -12/21* Winter Solstice +11/26* Thanksgiving Day (Fourth Thursday in November) +12/22* Winter Solstice 12/24 Christmas Eve 12/25 Christmas 12/31 New Year's Eve
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Wed Mar 11 17:35:16 UTC 2015 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: note birth and death of Douglas Adams To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.24 src/usr.bin/calendar/calendars/calendar.birthday:1.25 --- src/usr.bin/calendar/calendars/calendar.birthday:1.24 Sun Apr 14 08:03:15 2013 +++ src/usr.bin/calendar/calendars/calendar.birthday Wed Mar 11 17:35:16 2015 @@ -76,6 +76,7 @@ 03/08 Howard Aiken born, 1900 03/11 Robert Treat Paine born, 1737 03/11 Vannevar Bush born, 1890 +03/11 Douglas Adams born, 1952 03/12 Gustav Robert Kirchhoff born, 1824, physicist 03/14 Albert Einstein born, 1879 03/14 Casey Jones born, 1864 @@ -122,6 +123,7 @@ 05/09 Pinza died, 1957 05/10 Fred Astaire (Frederick Austerlitz) born in Omaha, Nebraska, 1899 05/11 Johnny Appleseed born, 1768 +05/11 Douglas Adams died, 2001 05/12 Florence Nightingale born in Florence, Italy, 1820 05/13 Arthur S. Sullivan born, 1842 05/15 Mike Oldfield born in Essex, England, 1953
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: wiz Date: Sun Aug 17 10:01:14 UTC 2014 Modified Files: src/usr.bin/calendar/calendars: calendar.holiday Log Message: Fix year of Hawaiian Admission Day. From Henning Petersen in PR 49123. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/calendar/calendars/calendar.holiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.holiday diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.23 src/usr.bin/calendar/calendars/calendar.holiday:1.24 --- src/usr.bin/calendar/calendars/calendar.holiday:1.23 Sun May 25 16:08:11 2014 +++ src/usr.bin/calendar/calendars/calendar.holiday Sun Aug 17 10:01:14 2014 @@ -285,7 +285,7 @@ 08/15 Independence Day in India 08/15 Liberation Day in South Korea 08/15 National Day in Congo -08/16* Admission Day in Hawaii, 1984 (3rd Friday) +08/16* Admission Day in Hawaii, 1959 (3rd Friday) 08/16 Bennington Battle Day in Vermont 08/16 Independence Days (3 days) in Gabon 08/16 Restoration Day in Dominican Republic
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: msaitoh Date: Fri May 30 19:01:52 UTC 2014 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: Remove duplicated lines. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.31 src/usr.bin/calendar/calendars/calendar.netbsd:1.32 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.31 Fri May 30 08:36:28 2014 +++ src/usr.bin/calendar/calendars/calendar.netbsd Fri May 30 19:01:52 2014 @@ -3,10 +3,6 @@ 01/07 NetBSD/dreamcast port started, 2001 01/17 NetBSD/hpcsh port started, 2001 01/23 NetBSD/arc port started, 2000 -01/25 NetBSD 5.1.4 released, 2014 -01/25 NetBSD 5.2.2 released, 2014 -01/25 NetBSD 6.0.4 released, 2014 -01/25 NetBSD 6.1.3 released, 2014 01/27 NetBSD 5.1.4 released, 2014 01/27 NetBSD 5.2.2 released, 2014 01/27 NetBSD 6.0.4 released, 2014
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: msaitoh Date: Fri May 30 08:36:28 UTC 2014 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: Add 5.1.4, 5.2.2. 6.0.4 and 6.1.3. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.30 src/usr.bin/calendar/calendars/calendar.netbsd:1.31 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.30 Sat Apr 19 15:51:46 2014 +++ src/usr.bin/calendar/calendars/calendar.netbsd Fri May 30 08:36:28 2014 @@ -3,6 +3,10 @@ 01/07 NetBSD/dreamcast port started, 2001 01/17 NetBSD/hpcsh port started, 2001 01/23 NetBSD/arc port started, 2000 +01/25 NetBSD 5.1.4 released, 2014 +01/25 NetBSD 5.2.2 released, 2014 +01/25 NetBSD 6.0.4 released, 2014 +01/25 NetBSD 6.1.3 released, 2014 01/27 NetBSD 5.1.4 released, 2014 01/27 NetBSD 5.2.2 released, 2014 01/27 NetBSD 6.0.4 released, 2014
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Sun May 25 16:08:11 UTC 2014 Modified Files: src/usr.bin/calendar/calendars: calendar.holiday Log Message: Happy Towel Day! To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/calendar/calendars/calendar.holiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.holiday diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.22 src/usr.bin/calendar/calendars/calendar.holiday:1.23 --- src/usr.bin/calendar/calendars/calendar.holiday:1.22 Sun Oct 13 16:43:49 2013 +++ src/usr.bin/calendar/calendars/calendar.holiday Sun May 25 16:08:11 2014 @@ -177,6 +177,7 @@ 05/25 African Liberation Day in Chad, Mauritania, Zambia 05/25 Independence Day in Jordan 05/25 Memorial Day in New Mexico & Puerto Rico +05/25 Towel Day, a tribute to Douglas Adams 05/29* First Day of Shavuot 05/27* Bank Holiday in UK (last Monday in May) 05/28 Mothers Day in Central African Republic
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: snj Date: Sat Apr 19 15:51:46 UTC 2014 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: Add 6.0.5 and 6.1.4. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.29 src/usr.bin/calendar/calendars/calendar.netbsd:1.30 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.29 Mon Feb 24 07:23:44 2014 +++ src/usr.bin/calendar/calendars/calendar.netbsd Sat Apr 19 15:51:46 2014 @@ -29,6 +29,8 @@ 03/21 NetBSD/i386 port started, 1993 03/26 NetBSD/atari port started, 1995 03/28 NetBSD/sun2 port started, 2001 +04/12 NetBSD 6.0.5 released, 2014 +04/12 NetBSD 6.1.4 released, 2014 04/14 NetBSD 2.0.2 released, 2005 04/20 NetBSD 0.8 released, 1993 04/21 NetBSD 1.6.1 released, 2003
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Mon Jan 27 21:00:02 UTC 2014 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: add today's releases: 5.1.4, 5.2.2, 6.0.4, and 6.1.3 To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.27 src/usr.bin/calendar/calendars/calendar.netbsd:1.28 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.27 Mon Sep 30 03:50:31 2013 +++ src/usr.bin/calendar/calendars/calendar.netbsd Mon Jan 27 21:00:02 2014 @@ -3,6 +3,10 @@ 01/07 NetBSD/dreamcast port started, 2001 01/17 NetBSD/hpcsh port started, 2001 01/23 NetBSD/arc port started, 2000 +01/27 NetBSD 5.1.4 released, 2014 +01/27 NetBSD 5.2.2 released, 2014 +01/27 NetBSD 6.0.4 released, 2014 +01/27 NetBSD 6.1.3 released, 2014 01/31 NetBSD/shark port started, 1996 02/02 NetBSD 5.1.2 released, 2012 02/06 NetBSD/evbsh3 port started, 2001
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: mbalmer Date: Thu Dec 5 22:06:13 UTC 2013 Modified Files: src/usr.bin/calendar/calendars: calendar.history Log Message: Nelson Mandela died today, aged 95. I whish farewell to a great statesman. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/usr.bin/calendar/calendars/calendar.history Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.history diff -u src/usr.bin/calendar/calendars/calendar.history:1.29 src/usr.bin/calendar/calendars/calendar.history:1.30 --- src/usr.bin/calendar/calendars/calendar.history:1.29 Sun Nov 11 20:25:19 2012 +++ src/usr.bin/calendar/calendars/calendar.history Thu Dec 5 22:06:13 2013 @@ -502,6 +502,7 @@ 12/05 End of Prohibition, 1933 (at least the alcohol part) 12/05 Phi Beta Kappa founded, 1776 12/05 The Eighteenth Amendment repealed, ending Prohibition, 1933 +12/05 Nelson Mandela dies aged 95, 2013 12/07 Japan bombs Pearl Harbor, 1941 12/09 Ball-bearing roller skates patented, 1884 12/10 Metric system established in France, 1799
CVS commit: src/usr.bin/calendar
Module Name:src Committed By: christos Date: Sat Nov 9 15:57:15 UTC 2013 Modified Files: src/usr.bin/calendar: calendar.c Log Message: reorganize to make clear variable use. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/usr.bin/calendar/calendar.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendar.c diff -u src/usr.bin/calendar/calendar.c:1.49 src/usr.bin/calendar/calendar.c:1.50 --- src/usr.bin/calendar/calendar.c:1.49 Tue Apr 3 08:03:04 2012 +++ src/usr.bin/calendar/calendar.c Sat Nov 9 10:57:15 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: calendar.c,v 1.49 2012/04/03 12:03:04 matthias Exp $ */ +/* $NetBSD: calendar.c,v 1.50 2013/11/09 15:57:15 christos Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 19 #if 0 static char sccsid[] = "@(#)calendar.c 8.4 (Berkeley) 1/7/95"; #endif -__RCSID("$NetBSD: calendar.c,v 1.49 2012/04/03 12:03:04 matthias Exp $"); +__RCSID("$NetBSD: calendar.c,v 1.50 2013/11/09 15:57:15 christos Exp $"); #endif /* not lint */ #include @@ -383,24 +383,23 @@ getfield(char *p, char **endp, int *flag static FILE * opencal(FILE **in) { - int fd; + int fd = -1; int pdes[2]; - const char **name; /* open up calendar file as stdin */ if (fname == NULL) { - for (name = defaultnames; *name != NULL; name++) { - if ((fd = open(*name, O_RDONLY)) < 0) + for (const char **name = defaultnames; *name != NULL; name++) { + if ((fd = open(*name, O_RDONLY)) == -1) continue; else break; } - if (*name == NULL) { + if (fd == -1) { if (doall) return NULL; err(EXIT_FAILURE, "Cannot open calendar file"); } - } else if ((fd = open(fname, O_RDONLY)) < 0) { + } else if ((fd = open(fname, O_RDONLY)) == -1) { if (doall) return NULL; err(EXIT_FAILURE, "Cannot open `%s'", fname);
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: mbalmer Date: Sun Oct 27 18:30:49 UTC 2013 Modified Files: src/usr.bin/calendar/calendars: calendar.music Log Message: No more walk on the wild side. RIP Lou Reed. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.bin/calendar/calendars/calendar.music Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.music diff -u src/usr.bin/calendar/calendars/calendar.music:1.16 src/usr.bin/calendar/calendars/calendar.music:1.17 --- src/usr.bin/calendar/calendars/calendar.music:1.16 Sun Jun 7 10:25:39 2009 +++ src/usr.bin/calendar/calendars/calendar.music Sun Oct 27 18:30:49 2013 @@ -148,6 +148,7 @@ 10/22 Franz Liszt born, 1811 10/25 Jon Anderson (Yes) is born in Lancashire, England, 1944 10/25 The Rolling Stones appear on The Ed Sullivan Show, 1964 +10/27 Lou Reed dies aged 71, 2013 10/29 Duane Allman dies in motorcycle crash near Macon, Georgia, 1971 10/30 Grace Slick is born in Chicago, 1939 11/02 Jimi Hendrix's "Electric Ladyland" enters US charts at \#1, 1968
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Sun Oct 13 16:43:49 UTC 2013 Modified Files: src/usr.bin/calendar/calendars: calendar.holiday Log Message: delete duplicate (and wrong) entry for Thanksgiving Day in Canada To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/calendar/calendars/calendar.holiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.holiday diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.21 src/usr.bin/calendar/calendars/calendar.holiday:1.22 --- src/usr.bin/calendar/calendars/calendar.holiday:1.21 Sun Jan 20 23:52:43 2013 +++ src/usr.bin/calendar/calendars/calendar.holiday Sun Oct 13 16:43:49 2013 @@ -349,7 +349,6 @@ 10/07 National Heroes Day in Jamaica 10/08 Constitution Day in U.S.S.R 10/08 Fiji Day in Fiji -10/08 Thanksgiving Day in Canada 10/09 Independence Day in Uganda 10/09 Korean Alphabet Day in South Korea 10/09 Leif Erikson Day commemorates the discovery of North America in AD 1000
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: riz Date: Mon Sep 30 03:50:31 UTC 2013 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: NetBSD 6.0.3 and 6.1.2 released. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.26 src/usr.bin/calendar/calendars/calendar.netbsd:1.27 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.26 Sun Sep 29 07:43:43 2013 +++ src/usr.bin/calendar/calendars/calendar.netbsd Mon Sep 30 03:50:31 2013 @@ -74,6 +74,8 @@ 09/28 NetBSD 5.1.3 released, 2013 09/28 NetBSD 5.2.1 released, 2013 09/29 NetBSD/mac68k port started, 1993 +09/30 NetBSD 6.0.3 released, 2013 +09/30 NetBSD 6.1.2 released, 2013 10/02 NetBSD/sparc port started, 1993 10/04 NetBSD 1.2 released, 1996 10/05 NetBSD/cats port started, 1998
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Sun Sep 29 07:43:43 UTC 2013 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: add NetBSD 5.1.3 and 5.2.1 releases To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.25 src/usr.bin/calendar/calendars/calendar.netbsd:1.26 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.25 Sun Sep 1 10:17:58 2013 +++ src/usr.bin/calendar/calendars/calendar.netbsd Sun Sep 29 07:43:43 2013 @@ -71,6 +71,8 @@ 09/13 NetBSD 1.5.2 released, 2001 09/14 NetBSD 1.6 released, 2002 09/25 NetBSD/hpcmips port started, 1999 +09/28 NetBSD 5.1.3 released, 2013 +09/28 NetBSD 5.2.1 released, 2013 09/29 NetBSD/mac68k port started, 1993 10/02 NetBSD/sparc port started, 1993 10/04 NetBSD 1.2 released, 1996
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Sun Sep 1 10:17:58 UTC 2013 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: use spaces, not tabs To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.24 src/usr.bin/calendar/calendars/calendar.netbsd:1.25 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.24 Sun Sep 1 10:16:19 2013 +++ src/usr.bin/calendar/calendars/calendar.netbsd Sun Sep 1 10:17:58 2013 @@ -62,7 +62,7 @@ 08/02 NetBSD/vax port started, 1994 08/12 NetBSD/mipsco port started, 2000 08/20 pkgsrc forked from FreeBSD Ports, 1997 -08/22 NetBSD 6.1.1 released, 2013 +08/22 NetBSD 6.1.1 released, 2013 08/23 NetBSD 0.9 released, 1993 08/26 NetBSD 1.4.1 released, 1999 09/02 NetBSD/amiga port started, 1993
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Sun Sep 1 10:16:19 UTC 2013 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: add NetBSD 6.1.1 release To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.23 src/usr.bin/calendar/calendars/calendar.netbsd:1.24 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.23 Wed May 22 01:29:59 2013 +++ src/usr.bin/calendar/calendars/calendar.netbsd Sun Sep 1 10:16:19 2013 @@ -62,6 +62,7 @@ 08/02 NetBSD/vax port started, 1994 08/12 NetBSD/mipsco port started, 2000 08/20 pkgsrc forked from FreeBSD Ports, 1997 +08/22 NetBSD 6.1.1 released, 2013 08/23 NetBSD 0.9 released, 1993 08/26 NetBSD 1.4.1 released, 1999 09/02 NetBSD/amiga port started, 1993
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Wed May 22 01:29:59 UTC 2013 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: add release dates for 6.0.1 and 6.1 To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.22 src/usr.bin/calendar/calendars/calendar.netbsd:1.23 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.22 Wed Oct 17 18:30:33 2012 +++ src/usr.bin/calendar/calendars/calendar.netbsd Wed May 22 01:29:59 2013 @@ -35,6 +35,8 @@ 05/12 NetBSD/hp300 port started, 1993 05/14 NetBSD/cesfic port started, 2001 05/15 NetBSD/macppc port started, 1998 +05/20 NetBSD 6.0.2 released, 2013 +05/20 NetBSD 6.1 released, 2013 05/20 NetBSD 1.2.1 released, 1997 05/25 NetBSD/amigappc port started, 2000 05/28 NetBSD/algor port started, 2001
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: wiz Date: Sun Apr 14 08:03:16 UTC 2013 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: correct spelling is "Christiaan Huygens"; from James J. Lippard via jmc@openbsd To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.23 src/usr.bin/calendar/calendars/calendar.birthday:1.24 --- src/usr.bin/calendar/calendars/calendar.birthday:1.23 Thu Oct 13 07:44:27 2011 +++ src/usr.bin/calendar/calendars/calendar.birthday Sun Apr 14 08:03:15 2013 @@ -106,7 +106,7 @@ 04/10 Commodore Matthew Calbraith Perry born, 1854 04/10 William Booth born, 1829, founder of the Salvation Army 04/13 Thomas Jefferson born, 1743 -04/14 Christian Huygen born, 1629, physicist & astronomer; +04/14 Christiaan Huygens born, 1629, physicist & astronomer; discovered Saturn's rings 04/15 Leonardo da Vinci born, 1452 04/16 Charles (Charlie) Chaplin (Sir) born in London, 1889
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: simonb Date: Sun Jan 20 23:52:43 UTC 2013 Modified Files: src/usr.bin/calendar/calendars: calendar.holiday Log Message: We only need to be told once about Lee-Jackson Day in Virginia today. Remove a duplicate for Memorial Day in Michigan while we're here. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.bin/calendar/calendars/calendar.holiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.holiday diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.20 src/usr.bin/calendar/calendars/calendar.holiday:1.21 --- src/usr.bin/calendar/calendars/calendar.holiday:1.20 Sat May 5 01:29:56 2012 +++ src/usr.bin/calendar/calendars/calendar.holiday Sun Jan 20 23:52:43 2013 @@ -28,7 +28,6 @@ 01/21* Lee-Jackson Day in Virginia (3rd Monday) 01/21* Robert E. Lee's Birthday in Alabama & Mississippi (3rd Monday) 01/21 Our Lady of Altagracia in Dominican Republic -01/21* Lee-Jackson Day in Virginia (3rd Monday) 01/23 Feast of St. Ildefonsus 01/23 National Handwriting Day 01/24 Economic Liberation Day in Togo @@ -165,7 +164,6 @@ 05/18 Flag Day in Haiti 05/18 Prayer Day in Denmark 05/19 Youth and Sports Day in Turkey -05/20* Memorial Day in Michigan (3rd Monday) 05/20 Mecklenburg Independence Day in North Carolina 05/20 National Day in Cameroon 05/20* Memorial Day in Michigan (3rd Monday)
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: mbalmer Date: Sun Nov 11 20:25:20 UTC 2012 Modified Files: src/usr.bin/calendar/calendars: calendar.history Log Message: It's Henry _Morton_ Stanley and Dr. Livingston_e_. Unfortunately. they did not meet at an airport. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/usr.bin/calendar/calendars/calendar.history Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.history diff -u src/usr.bin/calendar/calendars/calendar.history:1.28 src/usr.bin/calendar/calendars/calendar.history:1.29 --- src/usr.bin/calendar/calendars/calendar.history:1.28 Mon Jun 6 03:15:14 2011 +++ src/usr.bin/calendar/calendars/calendar.history Sun Nov 11 20:25:19 2012 @@ -475,7 +475,7 @@ 11/09 Roosevelt establishes the Civil Works Administration, 1933 11/10 41 Women arrested in suffragette demonstrations near White House, 1917 11/10 Cpt. Wirz, commandant of Andersonville Prison hanged, 1865 -11/10 Henry Stanley asks David Livingston, "Dr. Livingston, I presume?", 1871 +11/10 Henry Morton Stanley asks David Livingstone, "Dr. Livingstone, I presume?", 1871 11/11 Washington becomes the 42nd state, 1889 11/12 Dr. Sun Yat-sen's Birthday in Taiwan 11/12 U.S. first exports oil to Europe, 1861
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Wed Oct 17 18:30:33 UTC 2012 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: note NetBSD 6.0 release To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.21 src/usr.bin/calendar/calendars/calendar.netbsd:1.22 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.21 Sat May 5 01:29:56 2012 +++ src/usr.bin/calendar/calendars/calendar.netbsd Wed Oct 17 18:30:33 2012 @@ -77,6 +77,7 @@ 10/14 NetBSD 4.0.1 released, 2008 10/14 NetBSD/bebox port started, 1997 10/16 NetBSD/playstation2 port started, 2001 +10/17 NetBSD 6.0 released, 2012 10/26 NetBSD 1.0 released, 1994 10/30 pkgsrc/Darwin support added, 2001 10/31 NetBSD 2.0.3 released, 2005
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Sat May 5 01:29:56 UTC 2012 Modified Files: src/usr.bin/calendar/calendars: calendar.christian calendar.holiday calendar.judaic calendar.netbsd calendar.usholiday Log Message: Update all variable days - religious holidays taken from Wikipedia where available - floating days (i.e. X day of Y month) taken from cal(1) - NetBSD releases taken from http://www.netbsd.org/releases/formal.html#history - hopefully somebody will update this for the 6.0 release Hopefully, these days will be correct for the first year of NetBSD 6.0. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.bin/calendar/calendars/calendar.christian \ src/usr.bin/calendar/calendars/calendar.judaic \ src/usr.bin/calendar/calendars/calendar.usholiday cvs rdiff -u -r1.19 -r1.20 src/usr.bin/calendar/calendars/calendar.holiday cvs rdiff -u -r1.20 -r1.21 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.christian diff -u src/usr.bin/calendar/calendars/calendar.christian:1.3 src/usr.bin/calendar/calendars/calendar.christian:1.4 --- src/usr.bin/calendar/calendars/calendar.christian:1.3 Tue Sep 9 18:47:19 2008 +++ src/usr.bin/calendar/calendars/calendar.christian Sat May 5 01:29:56 2012 @@ -1,17 +1,17 @@ 01/18* Epiphany -02/24* Shrove Tuesday / Mardi Gras (day before Ash Wednesday) -02/25* Ash Wednesday (First day of Lent) -04/05* Palm Sunday (7 days before Easter) -04/09* Maundy Thursday (3 days before Easter) -04/10* Good Friday (2 days before Easter) -04/12* Easter Sunday -05/17* Rogation Sunday -05/21* Ascension Day (10 days before Pentecost) -05/31* Pentecost (Whitsunday) -06/01* Whitmonday -06/07* Trinity Sunday (7 days after Pentecost) -06/11* Corpus Christi (11 days after Pentecost) +02/12* Shrove Tuesday / Mardi Gras (day before Ash Wednesday) +02/13* Ash Wednesday (First day of Lent) +03/24* Palm Sunday (7 days before Easter) +03/28* Maundy Thursday (3 days before Easter) +03/29* Good Friday (2 days before Easter) +03/31* Easter Sunday +05/05* Rogation Sunday +05/09* Ascension Day (10 days before Pentecost) +05/19* Pentecost (Whitsunday) +05/20* Whitmonday +05/26* Trinity Sunday (7 days after Pentecost) +05/30* Corpus Christi (11 days after Pentecost) 10/18 Feast Day of St. Luke -11/29* First Sunday of Advent (4th Sunday before Christmas) +12/01* First Sunday of Advent (4th Sunday before Christmas) 12/06 St. Nicholas' Day 12/25 Feast of the Nativity (Christmas) Index: src/usr.bin/calendar/calendars/calendar.judaic diff -u src/usr.bin/calendar/calendars/calendar.judaic:1.3 src/usr.bin/calendar/calendars/calendar.judaic:1.4 --- src/usr.bin/calendar/calendars/calendar.judaic:1.3 Tue Sep 9 18:47:19 2008 +++ src/usr.bin/calendar/calendars/calendar.judaic Sat May 5 01:29:56 2012 @@ -1,11 +1,11 @@ -02/08* Tu B'Shvat (Feast of Trees) -03/09* Fast of Esther (Battle of Purim; 1 day before Purim; fast day) -03/10* Purim (Feast of Lots; 30 days before Pesach) -04/09* Pesach (First Day of Passover; sabbatical) -04/10* Pesach (sabbatical) -04/11* Pesach (sabbatical) -04/16* Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) -04/29* Yom HaAtzma'ut (Israel Independence Day) +01/26* Tu B'Shvat (Feast of Trees) +02/22* Fast of Esther (Battle of Purim; 1 day before Purim; fast day) +02/23* Purim (Feast of Lots; 30 days before Pesach) +03/25* Pesach (First Day of Passover; sabbatical) +03/26* Pesach (sabbatical) +03/27* Pesach (sabbatical) +03/28* Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) +04/16* Yom HaAtzma'ut (Israel Independence Day) 05/12* Lag B'Omer (Commemoration of the Great Rebellion) 05/22* Yom Yerushalayim (Reunification of Jerusalem) 05/29* Shavuos (Festival of Weeks; 50 days after Pesach; sabbatical) @@ -14,14 +14,14 @@ 07/30* Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day) 09/19* First Day of Rosh Hashanah (Jewish Lunar New Year; 5767 == 2006; sabbatical) -09/20* Rosh Hashanah (sabbatical) -09/21* Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day +09/04* Rosh Hashanah (sabbatical) +09/05* Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day after Rosh Hashanah; fast day) -09/28* Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah; +09/13* Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah; sabbatical, fast day) -10/03* Succos (Festival of Tabernacles; 14 days after Rosh Hashanah; +09/28* Succos (Festival of Tabernacles; 14 days after Rosh Hashanah; sabbatical) -10/09* Hoshanah Rabba (7th day of Succos) -10/10* Shmini Atzeres (8th Day of Gathering; 1 day after Succos; sabbatical) +10/04* Hoshanah Rabba (7th day of Succos) +10/15* Shmini Atzeres (8th Day of Gathering; 1 day after Succos; sabbatical) 12/12* First Day of Chanukah 12/27* Fast of Asara B'Tevet (Babylon
CVS commit: src/usr.bin/calendar
Module Name:src Committed By: matthias Date: Tue Apr 3 12:03:05 UTC 2012 Modified Files: src/usr.bin/calendar: calendar.c Log Message: Stop playing games with stdin and stdout file descriptors. calendar did not work with nss_ldap installed. Typical symptoms were cc1: error: stdout: Bad file descriptor in daily.out. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/usr.bin/calendar/calendar.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendar.c diff -u src/usr.bin/calendar/calendar.c:1.48 src/usr.bin/calendar/calendar.c:1.49 --- src/usr.bin/calendar/calendar.c:1.48 Tue Dec 8 13:49:08 2009 +++ src/usr.bin/calendar/calendar.c Tue Apr 3 12:03:04 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: calendar.c,v 1.48 2009/12/08 13:49:08 wiz Exp $ */ +/* $NetBSD: calendar.c,v 1.49 2012/04/03 12:03:04 matthias Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 19 #if 0 static char sccsid[] = "@(#)calendar.c 8.4 (Berkeley) 1/7/95"; #endif -__RCSID("$NetBSD: calendar.c,v 1.48 2009/12/08 13:49:08 wiz Exp $"); +__RCSID("$NetBSD: calendar.c,v 1.49 2012/04/03 12:03:04 matthias Exp $"); #endif /* not lint */ #include @@ -117,7 +117,7 @@ static int getfield(char *, char **, in static void getmmdd(struct tm *, char *); static int getmonth(char *); static bool isnow(char *); -static FILE *opencal(void); +static FILE *opencal(FILE **); static void settime(void); static void usage(void) __dead; @@ -192,13 +192,13 @@ static void cal(void) { bool printing; - FILE *fp; + FILE *fp, *in = NULL; char *line; - if ((fp = opencal()) == NULL) + if ((fp = opencal(&in)) == NULL || in == NULL) return; printing = false; - while ((line = fparseln(stdin, + while ((line = fparseln(in, NULL, NULL, NULL, FPARSELN_UNESCCOMM)) != NULL) { if (line[0] == '\0') continue; @@ -381,7 +381,7 @@ getfield(char *p, char **endp, int *flag } static FILE * -opencal(void) +opencal(FILE **in) { int fd; int pdes[2]; @@ -390,7 +390,7 @@ opencal(void) /* open up calendar file as stdin */ if (fname == NULL) { for (name = defaultnames; *name != NULL; name++) { - if (freopen(*name, "rf", stdin) == NULL) + if ((fd = open(*name, O_RDONLY)) < 0) continue; else break; @@ -400,7 +400,7 @@ opencal(void) return NULL; err(EXIT_FAILURE, "Cannot open calendar file"); } - } else if (freopen(fname, "rf", stdin) == NULL) { + } else if ((fd = open(fname, O_RDONLY)) < 0) { if (doall) return NULL; err(EXIT_FAILURE, "Cannot open `%s'", fname); @@ -418,7 +418,13 @@ opencal(void) (void)close(pdes[1]); return NULL; case 0: - /* child -- stdin already setup, set stdout to pipe input */ + /* child */ + /* set stdin to calendar file */ + if (fd != STDIN_FILENO) { + (void)dup2(fd, STDIN_FILENO); + (void)close(fd); + } + /* set stdout to pipe input */ if (pdes[1] != STDOUT_FILENO) { (void)dup2(pdes[1], STDOUT_FILENO); (void)close(pdes[1]); @@ -434,11 +440,13 @@ opencal(void) err(EXIT_FAILURE, "Cannot exec `%s'", _PATH_CPP); /*NOTREACHED*/ default: - /* parent -- set stdin to pipe output */ - (void)dup2(pdes[0], STDIN_FILENO); - (void)close(pdes[0]); + /* parent -- fdopen *in to pipe output */ + *in = fdopen(pdes[0], "r"); (void)close(pdes[1]); + /* close calendar file */ + close(fd); + /* not reading all calendar files, just set output to stdout */ if (!doall) return stdout;
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: mbalmer Date: Thu Oct 13 07:44:27 UTC 2011 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Add towns to dmr's dates. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.22 src/usr.bin/calendar/calendars/calendar.birthday:1.23 --- src/usr.bin/calendar/calendars/calendar.birthday:1.22 Thu Oct 13 07:41:32 2011 +++ src/usr.bin/calendar/calendars/calendar.birthday Thu Oct 13 07:44:27 2011 @@ -188,7 +188,7 @@ 09/08 King Richard I of England born, 1157 09/08 Peter Sellers born in Southsea, England, 1925 09/09 Chinese Communist Party Chairman Mao Tse-Tung dies at age 82, 1976 -09/09 Dennis Ritchie born, 1941 +09/09 Dennis Ritchie born in Bronxville, New York, 1941 09/12 Jesse Owens born, 1913 09/13 Walter Reed born, 1851 09/15 Agatha Christie born in Torquay, England, 1890 @@ -214,7 +214,7 @@ 10/04 John V. Atanasoff born, 1903 10/05 Pablo Picasso born in Malaga, Spain, 1881 10/05 Ray Kroc (founder of McDonald's) born, 1902 -10/08 Dennis Ritchie died, 2011 +10/08 Dennis Ritchie died in Murray Hill, New Jersey, 2011 10/13 Lenny Bruce born in New York City, 1925 10/13 Virgil (Publius Vergilius Maro) born near Mantua, Italy, 70 BC 10/14 Dwight David Eisenhower born, 1890
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: mbalmer Date: Thu Oct 13 07:41:32 UTC 2011 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Dennis "dmr" Ritchie R.I.P. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.21 src/usr.bin/calendar/calendars/calendar.birthday:1.22 --- src/usr.bin/calendar/calendars/calendar.birthday:1.21 Thu Jan 21 01:59:09 2010 +++ src/usr.bin/calendar/calendars/calendar.birthday Thu Oct 13 07:41:32 2011 @@ -214,6 +214,7 @@ 10/04 John V. Atanasoff born, 1903 10/05 Pablo Picasso born in Malaga, Spain, 1881 10/05 Ray Kroc (founder of McDonald's) born, 1902 +10/08 Dennis Ritchie died, 2011 10/13 Lenny Bruce born in New York City, 1925 10/13 Virgil (Publius Vergilius Maro) born near Mantua, Italy, 70 BC 10/14 Dwight David Eisenhower born, 1890
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Mon Jun 6 03:15:14 UTC 2011 Modified Files: src/usr.bin/calendar/calendars: calendar.history Log Message: add an entry about the US nationalising gold to replace old confiscation entry To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.bin/calendar/calendars/calendar.history Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.history diff -u src/usr.bin/calendar/calendars/calendar.history:1.27 src/usr.bin/calendar/calendars/calendar.history:1.28 --- src/usr.bin/calendar/calendars/calendar.history:1.27 Thu Apr 28 07:42:20 2011 +++ src/usr.bin/calendar/calendars/calendar.history Mon Jun 6 03:15:14 2011 @@ -225,6 +225,7 @@ 04/04 Martin Luther King assassinated in Memphis, Tennessee, 1968 04/04 NATO Established, 1949 +04/05 US nationalises Gold at a value of $20.67, 1933 04/06 Joseph Smith founds Mormon Church, 1830 04/09 Lee surrenders to Grant at Appomattox Courthouse, 1865 04/12 Confederate troops fire first shots of Civil War at Ft Sumter, 1861
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: mbalmer Date: Thu Apr 28 07:42:20 UTC 2011 Modified Files: src/usr.bin/calendar/calendars: calendar.history Log Message: On december 16, 1991, Kazakhstan declared its independence from the USSR. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/calendar/calendars/calendar.history Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.history diff -u src/usr.bin/calendar/calendars/calendar.history:1.26 src/usr.bin/calendar/calendars/calendar.history:1.27 --- src/usr.bin/calendar/calendars/calendar.history:1.26 Thu Dec 2 08:36:02 2010 +++ src/usr.bin/calendar/calendars/calendar.history Thu Apr 28 07:42:20 2011 @@ -509,6 +509,7 @@ 12/13 Dartmouth College chartered, 1769 12/15 Bill of Rights adopted, 1791 12/15 James Naismith invents basketball, Canada, 1891 +12/16 Kazakhstan declares independence from USSR, 1991 12/20 U.S. buys ~1,000,000 sq. miles of Louisiana for ~$20/sq.mi. 12/27 Ether first used as anesthetic in childbirth, 1845 12/28 Comet Kohoutek at perihelion, 1973
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: dholland Date: Thu Dec 2 08:36:02 UTC 2010 Modified Files: src/usr.bin/calendar/calendars: calendar.history Log Message: Ahem. "Battle" of Wounded Knee? How about "massacre"? XXX: this file needs a *lot* of attention. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/calendar/calendars/calendar.history Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.history diff -u src/usr.bin/calendar/calendars/calendar.history:1.25 src/usr.bin/calendar/calendars/calendar.history:1.26 --- src/usr.bin/calendar/calendars/calendar.history:1.25 Sat Jun 5 20:53:44 2010 +++ src/usr.bin/calendar/calendars/calendar.history Thu Dec 2 08:36:02 2010 @@ -512,5 +512,5 @@ 12/20 U.S. buys ~1,000,000 sq. miles of Louisiana for ~$20/sq.mi. 12/27 Ether first used as anesthetic in childbirth, 1845 12/28 Comet Kohoutek at perihelion, 1973 -12/29 Battle of Wounded knee, 1890 +12/29 Massacre at Wounded Knee, 1890 12/30 First Los Angeles freeway dedicated, 1940
CVS commit: src/usr.bin/calendar
Module Name:src Committed By: riz Date: Tue Jun 8 03:08:48 UTC 2010 Modified Files: src/usr.bin/calendar: calendar.1 Log Message: Fix spelling of "whether", from Ryo HAYASAKA in PR 43432. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/calendar/calendar.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendar.1 diff -u src/usr.bin/calendar/calendar.1:1.24 src/usr.bin/calendar/calendar.1:1.25 --- src/usr.bin/calendar/calendar.1:1.24 Fri May 14 16:45:41 2010 +++ src/usr.bin/calendar/calendar.1 Tue Jun 8 03:08:47 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: calendar.1,v 1.24 2010/05/14 16:45:41 joerg Exp $ +.\" $NetBSD: calendar.1,v 1.25 2010/06/08 03:08:47 riz Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -58,7 +58,7 @@ Display lines for the given date. By default, the current date is used. The year, which may be given in either two or four digit format, is used -only for purposes of determining wether the given date falls on a Friday +only for purposes of determining whether the given date falls on a Friday in that year (see below). If the year is not specified, the current year is assumed. .It Fl f Ar file
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Sat Jun 5 20:53:44 UTC 2010 Modified Files: src/usr.bin/calendar/calendars: calendar.history Log Message: The US formally left the Gold Standard in 1971, not 1933. See: http://en.wikipedia.org/wiki/Nixon_Shock To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/calendar/calendars/calendar.history Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.history diff -u src/usr.bin/calendar/calendars/calendar.history:1.24 src/usr.bin/calendar/calendars/calendar.history:1.25 --- src/usr.bin/calendar/calendars/calendar.history:1.24 Mon Jan 11 09:03:46 2010 +++ src/usr.bin/calendar/calendars/calendar.history Sat Jun 5 20:53:44 2010 @@ -264,7 +264,7 @@ 06/04 Roquefort cheese developed, 1070 06/05 Robert Kennedy assassinated, 1968 -06/05 US leaves the Gold Standard, 1933 +08/15 US leaves the Gold Standard, 1971 06/06 First drive-in movie, 1933 06/06 Normandy landing, 1944 06/10 Death of Alexander the Great, 323 B.C.
CVS commit: src/usr.bin/calendar
Module Name:src Committed By: joerg Date: Fri May 14 16:45:41 UTC 2010 Modified Files: src/usr.bin/calendar: calendar.1 Log Message: Reorder sections to canonical order. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/calendar/calendar.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendar.1 diff -u src/usr.bin/calendar/calendar.1:1.23 src/usr.bin/calendar/calendar.1:1.24 --- src/usr.bin/calendar/calendar.1:1.23 Thu Aug 27 04:18:29 2009 +++ src/usr.bin/calendar/calendar.1 Fri May 14 16:45:41 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: calendar.1,v 1.23 2009/08/27 04:18:29 dholland Exp $ +.\" $NetBSD: calendar.1,v 1.24 2010/05/14 16:45:41 joerg Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -199,10 +199,6 @@ This calendar should be updated yearly by the local system administrator so that roving holidays are set correctly for the current year. .El -.Sh SEE ALSO -.Xr at 1 , -.Xr cpp 1 , -.Xr cron 8 .Sh COMPATIBILITY The .Nm @@ -224,6 +220,10 @@ or use the .Fl f flag. +.Sh SEE ALSO +.Xr at 1 , +.Xr cpp 1 , +.Xr cron 8 .Sh HISTORY A .Nm
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Sun Jan 24 22:56:12 UTC 2010 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: first Apple Macintosh, 1984 To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/calendar/calendars/calendar.computer Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.computer diff -u src/usr.bin/calendar/calendars/calendar.computer:1.5 src/usr.bin/calendar/calendars/calendar.computer:1.6 --- src/usr.bin/calendar/calendars/calendar.computer:1.5 Thu Apr 24 13:36:19 2003 +++ src/usr.bin/calendar/calendars/calendar.computer Sun Jan 24 22:56:12 2010 @@ -10,6 +10,7 @@ 01/17 Justice Dept. begins IBM anti-trust suit, 1969 (drops it, 01/08/1982) 01/22 Apple airs "1984" commercial during Superbowl XVIII, 1984 01/24 Data General Nova introduced, 1969 +01/24 First Apple Macintosh released, 1984 01/25 First U.S. meeting of ALGOL definition committee, 1958 01/26 EDVAC demonstrated, 1952 01/31 Hewlett-Packard founded, 1939
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: simonb Date: Thu Jan 21 01:59:09 UTC 2010 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Use TAB as a separator to be consistent with the rest of this file. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.20 src/usr.bin/calendar/calendars/calendar.birthday:1.21 --- src/usr.bin/calendar/calendars/calendar.birthday:1.20 Wed Jan 20 22:56:59 2010 +++ src/usr.bin/calendar/calendars/calendar.birthday Thu Jan 21 01:59:09 2010 @@ -18,7 +18,7 @@ 01/17 Benjamin Franklin born in Boston, 1706 01/19 Edgar Allan Poe born in Boston, 1809 01/19 Robert Edward Lee born in Stratford Estate, Virginia, 1807 -01/20 Buzz Aldrin born, 1930 +01/20 Buzz Aldrin born, 1930 01/20 George Burns born, 1898 01/21 Vladimir Lenin died, 1924 01/21 Thomas Jonathan "Stonewall" Jackson born in Clarksburg, VA, 1824
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Wed Jan 20 22:56:59 UTC 2010 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: add Buzz Aldrin, second man on the moon To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.19 src/usr.bin/calendar/calendars/calendar.birthday:1.20 --- src/usr.bin/calendar/calendars/calendar.birthday:1.19 Sat Jan 9 01:24:18 2010 +++ src/usr.bin/calendar/calendars/calendar.birthday Wed Jan 20 22:56:59 2010 @@ -18,6 +18,7 @@ 01/17 Benjamin Franklin born in Boston, 1706 01/19 Edgar Allan Poe born in Boston, 1809 01/19 Robert Edward Lee born in Stratford Estate, Virginia, 1807 +01/20 Buzz Aldrin born, 1930 01/20 George Burns born, 1898 01/21 Vladimir Lenin died, 1924 01/21 Thomas Jonathan "Stonewall" Jackson born in Clarksburg, VA, 1824
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: dholland Date: Mon Jan 11 09:03:47 UTC 2010 Modified Files: src/usr.bin/calendar/calendars: calendar.history Log Message: fix some typos To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/calendar/calendars/calendar.history Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.history diff -u src/usr.bin/calendar/calendars/calendar.history:1.23 src/usr.bin/calendar/calendars/calendar.history:1.24 --- src/usr.bin/calendar/calendars/calendar.history:1.23 Mon Aug 27 21:58:16 2007 +++ src/usr.bin/calendar/calendars/calendar.history Mon Jan 11 09:03:46 2010 @@ -278,7 +278,7 @@ 1878 06/16 "The Blues Brothers" premieres in Chicago, 1980 06/17 China explodes its first Hydrogen bomb, 1967 -06/19 Lizzie Bordon acquitted, 1893 +06/19 Lizzie Borden acquitted, 1893 06/20 Victoria crowned, 1837 06/21 Berlin airlift begins, 1948 06/23 Slavery abolished in England, 1772 @@ -305,7 +305,7 @@ 07/09 10-hour working day set by law, NH, 1847 07/10 134 degrees in Death Valley, 1913 07/13 Women first compete in Olympic games, 1908 -07/16 Detonation of the first atomic bomb at Alamagordo, NM, 1945 +07/16 Detonation of the first atomic bomb at Alamogordo, NM, 1945 07/17 Disneyland opens, 1955 07/18 Ty Cobb gets 4000th base hit, 1927 07/20 Armstrong and Aldrin land on moon, 1969 @@ -381,7 +381,7 @@ 09/09 United Colonies is renamed the United States, 1776 09/11 Twin Towers fall in terrorist attacks, 2001 09/12 German paratroopers rescue Mussolini from captivity in Rome, 1943 -09/12 Germany annexes Sudentenland, 1938 +09/12 Germany annexes Sudetenland, 1938 09/13 136.4 F at el Azizia, Libya, 1922 09/13 British defeat the French at Abraham near Quebec City, 1788 09/13 Building of Hadrian's Wall begun, 122
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: jnemeth Date: Sat Jan 9 01:24:18 UTC 2010 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: add Stephen Hawking, 68 today To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.18 src/usr.bin/calendar/calendars/calendar.birthday:1.19 --- src/usr.bin/calendar/calendars/calendar.birthday:1.18 Wed May 27 17:17:03 2009 +++ src/usr.bin/calendar/calendars/calendar.birthday Sat Jan 9 01:24:18 2010 @@ -6,6 +6,7 @@ 01/04 Jakob Grimm born, 1785 01/04 Wilhelm Beer born, 1797, first astronomer to map Mars 01/05 DeWitt B. Brace born, 1859, inventor of spectrophotometer +01/08 Stephen Hawking born in Oxford, England, 1942 01/10 Ethan Allen born, 1738 01/11 Alexander Hamilton born in Nevis, British West Indies, 1757? 01/12 "Long" John Baldry born in London, 1941
CVS commit: src/usr.bin/calendar
Module Name:src Committed By: wiz Date: Tue Dec 8 13:49:08 UTC 2009 Modified Files: src/usr.bin/calendar: calendar.c Log Message: Fix problem of reporting wrong matches noted in PR 41945 by using a patch provided by Robert Elz in that PR. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/usr.bin/calendar/calendar.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendar.c diff -u src/usr.bin/calendar/calendar.c:1.47 src/usr.bin/calendar/calendar.c:1.48 --- src/usr.bin/calendar/calendar.c:1.47 Tue Sep 30 05:51:41 2008 +++ src/usr.bin/calendar/calendar.c Tue Dec 8 13:49:08 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: calendar.c,v 1.47 2008/09/30 05:51:41 dholland Exp $ */ +/* $NetBSD: calendar.c,v 1.48 2009/12/08 13:49:08 wiz Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -39,7 +39,7 @@ #if 0 static char sccsid[] = "@(#)calendar.c 8.4 (Berkeley) 1/7/95"; #endif -__RCSID("$NetBSD: calendar.c,v 1.47 2008/09/30 05:51:41 dholland Exp $"); +__RCSID("$NetBSD: calendar.c,v 1.48 2009/12/08 13:49:08 wiz Exp $"); #endif /* not lint */ #include @@ -63,6 +63,13 @@ #include "pathnames.h" + /* flags used by calendar file parser */ +#define F_ISMONTH 0x01 +#define F_ISDAY 0x02 +#define F_ISDOW 0x04 +#define F_WILDMONTH 0x10 +#define F_WILDDAY 0x20 + static unsigned short lookahead = 1; static unsigned short weekend = 2; static char *fname = NULL; @@ -247,18 +254,13 @@ int v1; int v2; -#define F_ISMONTH 0x01 -#define F_ISDAY 0x02 -#define F_WILDMONTH 0x04 -#define F_WILDDAY 0x08 - flags = 0; /* didn't recognize anything, skip it */ if (!(v1 = getfield(endp, &endp, &flags))) return false; - if (flags & F_ISDAY || v1 > 12) { + if ((flags & (F_ISDAY|F_ISDOW)) || v1 > 12) { /* found a day */ day = v1; /* if no recognizable month, assume wildcard ('*') month */ @@ -295,10 +297,17 @@ if (flags & F_WILDMONTH && flags & F_ISDAY && day == tp->tm_mday) return true; + if (flags & F_WILDMONTH && flags & F_ISDOW && day == tp->tm_wday + 1) + return true; + if (flags & F_ISMONTH && flags & F_WILDDAY && month == tp->tm_mon + 1) return true; - if (flags & F_ISDAY) + if (flags & F_ISMONTH && flags & F_ISDOW && month == tp->tm_mon + 1 && + day == tp->tm_wday + 1) + return true; + + if (flags & F_ISDOW) day = tp->tm_mday + (((day - 1) - tp->tm_wday + 7) % 7); day = cumdays[month] + day; @@ -320,9 +329,15 @@ char *start; char savech; +/* + * note this macro has an arg that isn't used ... it is retained + * (it is believed) to make the macro call look more "natural" + * and suggest at the call site what is happening. + */ #define FLDCHAR(a) (*p != '\0' && !isdigit((unsigned char)*p) && \ !isalpha((unsigned char)*p) && *p != '*') + val = 0; for (/*EMPTY*/; FLDCHAR(*p); ++p) continue; if (*p == '*') { /* `*' is current month */ @@ -343,17 +358,21 @@ *endp = p; return val; } - for (start = p; *p != '\0' && isalpha((unsigned char)*++p); /*EMPTY*/) + for (start = p; *p != '\0' && isalpha((unsigned char)*p); p++) continue; + savech = *p; - *p = '\0'; - if ((val = getmonth(start)) != 0) - *flags |= F_ISMONTH; - else if ((val = getday(start)) != 0) - *flags |= F_ISDAY; - else { - *p = savech; - return 0; + if (p != start) { + *p = '\0'; + if ((val = getmonth(start)) != 0) + *flags |= F_ISMONTH; + else if ((val = getday(start)) != 0) + *flags |= F_ISDOW; + else { + *p = savech; + *endp = start; + return 0; + } } for (*p = savech; FLDCHAR(*p); ++p) continue;
CVS commit: src/usr.bin/calendar
Module Name:src Committed By: dholland Date: Thu Aug 27 04:18:30 UTC 2009 Modified Files: src/usr.bin/calendar: calendar.1 Log Message: Make documentation of -f flag match the implementation. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/calendar/calendar.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendar.1 diff -u src/usr.bin/calendar/calendar.1:1.22 src/usr.bin/calendar/calendar.1:1.23 --- src/usr.bin/calendar/calendar.1:1.22 Fri Mar 7 19:22:22 2008 +++ src/usr.bin/calendar/calendar.1 Thu Aug 27 04:18:29 2009 @@ -1,4 +1,4 @@ -.\" $NetBSD: calendar.1,v 1.22 2008/03/07 19:22:22 christos Exp $ +.\" $NetBSD: calendar.1,v 1.23 2009/08/27 04:18:29 dholland Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)calendar.1 8.1 (Berkeley) 6/29/93 .\" -.Dd December 6, 2004 +.Dd August 27, 2009 .Dt CALENDAR 1 .Os .Sh NAME @@ -74,10 +74,11 @@ .El and the first which is found is used. The filename may be absolute. -If not absolute, it is taken relative to the current directory or the +If not absolute, it is taken relative to the directory specified by the .Ev CALENDAR_DIR -environment variable. +environment variable, if set; otherwise, it is taken relative to the +user's home directory. Or, if the .Fl a flag is given, a non-absolute filename is taken relative to each user's
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: tron Date: Sun Jun 7 10:25:39 UTC 2009 Modified Files: src/usr.bin/calendar/calendars: calendar.music Log Message: Chuck Berry was born in St. Louis, Missouri, and not in St. Jose, California. Patch submitted by Marc Balmer in private e-mail. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.bin/calendar/calendars/calendar.music Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.music diff -u src/usr.bin/calendar/calendars/calendar.music:1.15 src/usr.bin/calendar/calendars/calendar.music:1.16 --- src/usr.bin/calendar/calendars/calendar.music:1.15 Mon Aug 27 21:58:16 2007 +++ src/usr.bin/calendar/calendars/calendar.music Sun Jun 7 10:25:39 2009 @@ -143,7 +143,7 @@ 10/12 The Jimi Hendrix Experience is formed in London, 1966 10/16 Bob Weir (Grateful Dead) is born in San Francisco, 1947 10/17 "Hair" opens at New York's Public Theater, 1967 -10/18 Chuck Berry is born in San Jose, California, 1926 +10/18 Chuck Berry is born in St. Louis, Missouri, 1926 10/20 Three members of Lynyrd Skynyrd die in a plane crash, 1977 10/22 Franz Liszt born, 1811 10/25 Jon Anderson (Yes) is born in Lancashire, England, 1944
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: snj Date: Wed May 27 17:17:04 UTC 2009 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday calendar.holiday Log Message: Fix some longstanding typos and remove an entry that is both redundant and wrong at the same time. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.bin/calendar/calendars/calendar.birthday cvs rdiff -u -r1.18 -r1.19 src/usr.bin/calendar/calendars/calendar.holiday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.17 src/usr.bin/calendar/calendars/calendar.birthday:1.18 --- src/usr.bin/calendar/calendars/calendar.birthday:1.17 Mon Aug 18 15:11:42 2008 +++ src/usr.bin/calendar/calendars/calendar.birthday Wed May 27 17:17:03 2009 @@ -48,7 +48,7 @@ 02/15 Galileo Galilei born in Pisa, Italy, 1564 02/15 Susan B. Anthony born, 1820 02/16 Pierre Bouguer born, 1698, founder of photometry -02/17 Federick Eugene Ives born, 1856, pioneer of halftone +02/17 Frederick Eugene Ives born, 1856, pioneer of halftone 02/17 Marion Anderson born, 1902 02/17 T. J. Watson, Sr. born, 1874 02/18 Ernst Mach born, 1838, philosopher & optics pioneer @@ -242,7 +242,7 @@ 11/26 Norbert Wiener born in Columbia, Missouri, 1894 11/29 John Mayall born in Cheshire, England, 1933 11/30 Cleopatra died, 30 BC -11/30 Mark Twain (Samuel Clemmens) born in Florida, Missouri, 1835 +11/30 Mark Twain (Samuel Clemens) born in Florida, Missouri, 1835 12/01 Woody Allen (Allen Stuart Konigsberg) born in Brooklyn, NY, 1935 12/04 Tommy Bolin dies of a heroin overdose in Miami, 1976 12/05 Walt (Walter Elias) Disney born in Chicago, 1901 Index: src/usr.bin/calendar/calendars/calendar.holiday diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.18 src/usr.bin/calendar/calendars/calendar.holiday:1.19 --- src/usr.bin/calendar/calendars/calendar.holiday:1.18 Wed Sep 10 01:39:00 2008 +++ src/usr.bin/calendar/calendars/calendar.holiday Wed May 27 17:17:04 2009 @@ -82,7 +82,7 @@ 03/19 St. Joseph's Day in Colombia, Costa Rica, Holy See, Liechtenstein, San Marino, Spain, Venezuela 03/19 Tree Planting Day in Lestho -03/20 Independence Day in Tunsia +03/20 Independence Day in Tunisia 03/20 Youth Day in Oklahoma 03/21 Afghan New Year in Afghanistan 03/21 Juarez' Birthday in Mexico @@ -221,7 +221,7 @@ 07/01 Dominion Day in Canada 07/01 Freedom Day in Suriname 07/01 Independence Day in Burundi -07/01 National Day in Rwamda +07/01 National Day in Rwanda 07/01 Republic Day in Ghana 07/02 National Day in Kiribati 07/04 Caribbean Day in Guyana @@ -334,7 +334,6 @@ 09/24 Republic Day in Trinidad, Tobago 09/25 Army Day in Mozambique 09/25 Referendum Day in Rwanda -09/26 National Day in Maldives, Yemem Democratic Republic 09/26 Revolution Anniversary Day in Yemen Arab 09/28 Confucius' Day in Taiwan 09/30 Botswana Day in Botswana @@ -345,7 +344,7 @@ 10/01 National Liberation Day (2 days) in China 10/01 Public Holiday in Botswana 10/03 National Foundation Day in South Korea -10/03 U.N. Day in Varbados +10/03 U.N. Day in Barbados 10/03 German Reunification Day in Germany 10/04 Independence Day in Lesotho 10/06 National Sports Day in Lesotho @@ -486,7 +485,7 @@ 06/16 Bloomsday - Anniversary of Dublin events, 1904, in "Ulysses" 06/18 Queen's Birthday in Fiji 06/19 Artigas Birthday in Uruguay -06/22 Corrective Movement in Yermen Democratic Republic +06/22 Corrective Movement in Yemen Democratic Republic 06/22 Midsummer Eve in Finland, Sweden 06/24 Battle of Carabobob in Venezuela 07/01 Union of the Somalia Republic in Somalia
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: snj Date: Thu Apr 30 16:23:58 UTC 2009 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: Bah, fix typo in last: 2006, not 2005. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.19 src/usr.bin/calendar/calendars/calendar.netbsd:1.20 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.19 Thu Apr 30 16:20:50 2009 +++ src/usr.bin/calendar/calendars/calendar.netbsd Thu Apr 30 16:23:58 2009 @@ -75,7 +75,7 @@ 10/26 NetBSD 1.0 released, 1994 10/30 pkgsrc/Darwin support added, 2001 11/02 NetBSD 2.1 released, 2005 -11/04 NetBSD 3.1 released, 2005 +11/04 NetBSD 3.1 released, 2006 11/17 pkgsrc/FreeBSD support added, 2002 11/18 NetBSD/acorn32 port started, 2001 11/20 pkgsrc/OSF1 support added, 2004
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: snj Date: Thu Apr 30 16:20:50 UTC 2009 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: Add NetBSD 3.1. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.18 src/usr.bin/calendar/calendars/calendar.netbsd:1.19 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.18 Wed Apr 29 22:34:31 2009 +++ src/usr.bin/calendar/calendars/calendar.netbsd Thu Apr 30 16:20:50 2009 @@ -75,6 +75,7 @@ 10/26 NetBSD 1.0 released, 1994 10/30 pkgsrc/Darwin support added, 2001 11/02 NetBSD 2.1 released, 2005 +11/04 NetBSD 3.1 released, 2005 11/17 pkgsrc/FreeBSD support added, 2002 11/18 NetBSD/acorn32 port started, 2001 11/20 pkgsrc/OSF1 support added, 2004
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: wiz Date: Wed Apr 29 22:34:31 UTC 2009 Modified Files: src/usr.bin/calendar/calendars: calendar.netbsd Log Message: void tabs, for consistency. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.bin/calendar/calendars/calendar.netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.netbsd diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.17 src/usr.bin/calendar/calendars/calendar.netbsd:1.18 --- src/usr.bin/calendar/calendars/calendar.netbsd:1.17 Wed Apr 29 22:25:03 2009 +++ src/usr.bin/calendar/calendars/calendar.netbsd Wed Apr 29 22:34:31 2009 @@ -26,7 +26,7 @@ 04/12 NetBSD 2.0.2 released, 2005 04/20 NetBSD 0.8 released, 1993 04/21 NetBSD 1.6.1 released, 2003 -04/29 NetBSD 5.0 released, 2009 +04/29 NetBSD 5.0 released, 2009 05/05 NetBSD/x68k port started, 1996 05/09 NetBSD/acorn26 port started, 2000 05/12 NetBSD 1.4 released, 1999 @@ -89,7 +89,7 @@ 12/09 NetBSD/evbppc port started, 2002 12/09 NetBSD 2.0 released, 2004 12/17 NetBSD/zaurus port started, 2006 -12/19 NetBSD 4.0 released, 2007 +12/19 NetBSD 4.0 released, 2007 12/23 NetBSD 1.3.3 released, 1998 12/23 NetBSD 3.0 released, 2005 12/29 NetBSD/ews4800mips port started, 2005