aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/tzsetup
Commit message (Collapse)AuthorAgeFilesLines
* Another hunk of -current syncs:Tom Rhodes2003-03-111-2/+3
| | | | | | | | | | | | - Spelling fixes. - Grammar fixes. - The .Nm utility - Kill whitespace at EOL/EOF Approved by: re (blanket) Notes: svn path=/stable/4/; revision=112122
* MFC: rev 1.22 (default to UTC on Alpha).David E. O'Brien2002-03-061-3/+10
| | | | Notes: svn path=/stable/4/; revision=91727
* MFC: markup and misc fixes.Ruslan Ermilov2001-08-161-2/+4
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=81780
* MFC: remove whitespace at EOL.Dima Dorfman2001-07-221-1/+1
| | | | Notes: svn path=/stable/4/; revision=80147
* MFC: MAN[1-9] -> MAN.Ruslan Ermilov2001-04-251-1/+1
| | | | Notes: svn path=/stable/4/; revision=75960
* MFC: use better dialog type for UTC questionJordan K. Hubbard2000-12-171-1/+1
| | | | Notes: svn path=/stable/4/; revision=70125
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2000-12-081-2/+2
| | | | Notes: svn path=/stable/4/; revision=69769
* Convert err() to errx(), reason is already provided. Complete thePhilippe Charnier2000-01-232-4/+14
| | | | | | | abort on allocation failure instead of deferencing NULL later. Notes: svn path=/head/; revision=56487
* Re-add the libmytinfo/libncurses stuff - removing it breaks staticChris Costello1999-09-011-2/+2
| | | | | | | | | linkage. Pointed out by: bde Notes: svn path=/head/; revision=50778
* The libraries `libmytinfo' and `libncurses' are not required by thisChris Costello1999-09-011-2/+2
| | | | | | | program. Notes: svn path=/head/; revision=50768
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50479
* - ignore the user-supplied umask, set it to 0022 by defaultRuslan Ermilov1999-08-051-5/+9
| | | | | | | | | | - install /etc/wall_cmos_clock with 0444 mode rather than 0666 - -Wall inspection PR: 12967 Notes: svn path=/head/; revision=49435
* Make UTC or local time message a little more clear.Michael Haro1999-06-231-2/+2
| | | | Notes: svn path=/head/; revision=48121
* Add a `default' feature to tzsetup for use in script-driven installationGarrett Wollman1999-02-022-20/+86
| | | | | | | | (if someone writes the other half). Also rewrite the man page in a more appropriate (formal) style. Notes: svn path=/head/; revision=43544
* Old stuff lying around a source tree:Peter Wemm1998-12-162-5/+11
| | | | | | | Create/remove /etc/wall_cmos_clock without using system() and magic paths. Notes: svn path=/head/; revision=41852
* Minor brace gymnastics so that /etc/wall_cmos_clock is reallySteve Price1998-01-101-3/+4
| | | | | | | | | | created. PR: 5473 Submitted by: MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp> Notes: svn path=/head/; revision=32394
* Teach tzsetup to understand blank lines in the iso3166 file.Joerg Wunsch1997-11-071-2/+2
| | | | | | | Found by: evanc@synapse.net (Evan Champion) Notes: svn path=/head/; revision=30999
* Add usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clockPhilippe Charnier1997-10-272-15/+34
| | | | | | | when -n (do nothing) is used. Notes: svn path=/head/; revision=30763
* Fix a minor nit in the .Dd macro invocation so thatSteve Price1997-06-231-2/+2
| | | | | | | the revision date is displayed correctly. Notes: svn path=/head/; revision=26827
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=22997
* Ask about local or UTC here, like we used to.Jordan K. Hubbard1997-02-161-0/+8
| | | | Notes: svn path=/head/; revision=22815
* At the end it was much simpler than I thought. 26 * 26 = 676 and not 576.John Hay1997-02-011-2/+3
| | | | | | | | South Africa and a few other countries exists again. This fix pr 2595. This should go into 2.2. Notes: svn path=/head/; revision=22181
* Make some of the less necessary user feedback #ifdef VERBOSE.Jordan K. Hubbard1997-01-211-0/+4
| | | | | | | | | | | | We could also make this stuff only come out when getpid() != 1 and thus avoid the install case (where it really is just too verbose, and people have complained), but this seems less messy and no one complained when tzsetup didn't print the final "things went fine!" messages (which sort of contravene the UNIX spirit of only yelling when you need to anyway). Notes: svn path=/head/; revision=21915
* Sort cross references.Wolfram Schneider1997-01-201-2/+2
| | | | Notes: svn path=/head/; revision=21880
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-143-3/+3
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Remove two uninitialized and unused variables that used to cause aJoerg Wunsch1996-11-191-3/+2
| | | | | | | segfault before. Notes: svn path=/head/; revision=19887
* Completely re-vamped `tzsetup':Garrett Wollman1996-11-198-624/+656
| | | | | | | | | | | | | | | | | | - It no longer attempts to fiddle wall-vs-UTC-in-RTC. The results were just confusing most of the time. - The program no longer contains a pre-compiled list of timezones (compiled by groveling through the tzdata source files for comments starting with `ZONE-DESCR'). Now it uses the new `zone.tab' file supplied with current versions of the timezone data files, to determine the list at run time. (It also requires the ISO 3166 table I committed some months ago.) AS A RESULT, this program will NOT work until the new timezone data files are committed (should happen sometime soon). Notes: svn path=/head/; revision=19872
* Removed unused `-I.'s from CFLAGS.Bruce Evans1996-09-041-2/+2
| | | | | | | | | | | "." means the object directory, so it is just confusing to use it when nothing is included from the object directory unless the object directory is also the source directory. It is confusing for "." not to mean the source directory anyway, so used `-I.'s should be replaced by `-I${.OBJDIR}'. Notes: svn path=/head/; revision=18035
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightWolfram Schneider1996-08-271-3/+23
| | | | Notes: svn path=/head/; revision=17849
* add pathnames.h, -Wall cleanupWolfram Schneider1996-08-203-9/+35
| | | | Notes: svn path=/head/; revision=17725
* Only print the selected timezone in verification rather than the bogus time.Jordan K. Hubbard1996-07-031-5/+2
| | | | Notes: svn path=/head/; revision=16927
* Copy /etc/localtime, unless it's already a symlink.Joerg Wunsch1996-04-011-7/+20
| | | | Notes: svn path=/head/; revision=14983
* Another round of fixes:Joerg Wunsch1996-03-312-60/+35
| | | | | | | | | | | | | | | . Replace my NIH-suffering code to detect the number of lines on the terminal by the curses variable LINES. . Fix the selection code for countries with more than one screenful of locations. The very few people living in America/US/Pacific now won't be charged for Indiana any longer... :) . Removed the gross code that copied over the timezone file to /etc/localtime, and create a symlink now instead. Notes: svn path=/head/; revision=14946
* All this was horribly broken. The menues were overflowing, the `diff'Joerg Wunsch1996-03-222-20/+45
| | | | | | | | | | | | calculation wrong, bogus `reboot now!' hints given, and the displayed month off by one. Fix all of this. Requested by: jkh Notes: svn path=/head/; revision=14758
* Convert "time zone" to "timezone" in NAME sectionWolfram Schneider1996-02-271-2/+2
| | | | | | | Submitted by: obrien@cs.ucdavis.edu (David E. O'Brien) Notes: svn path=/head/; revision=14270
* add a manpageWolfram Schneider1996-01-242-2/+45
| | | | Notes: svn path=/head/; revision=13602
* recording cvs-1.6 file deathPeter Wemm1995-12-301-181/+0
| | | | Notes: svn path=/cvs2svn/branches/ATT/; revision=13122
* Don't put up bogus confirmation dialog.Jordan K. Hubbard1995-10-061-1/+3
| | | | Notes: svn path=/head/; revision=11249
* Merge RELENG_2_0_5 into HEADRodney W. Grimes1995-06-111-3/+3
| | | | Notes: svn path=/head/; revision=9202
* Remove trailing whitespace.Rodney W. Grimes1995-05-303-21/+21
| | | | Notes: svn path=/head/; revision=8857
* Grand new all-singing, dialog-wielding tzsetup(8). Still needs a man page.Garrett Wollman1995-04-245-6/+588
| | | | Notes: svn path=/head/; revision=8050
* Restore back -i for adjkerntzAndrey A. Chernov1994-11-021-2/+2
| | | | Notes: svn path=/head/; revision=4091
* Remove -i option from adjkerntzAndrey A. Chernov1994-11-021-2/+2
| | | | Notes: svn path=/head/; revision=4066
* Add 'rm -f /etc/localtime' before cp to /etc/localtime,Andrey A. Chernov1994-09-181-1/+2
| | | | | | | I have a link here and got strange results without 'rm' Notes: svn path=/head/; revision=2854
* A little script to help users in setting up their timezone. (Try it!)Garrett Wollman1994-09-132-0/+192
Notes: svn path=/head/; revision=2751