Commit Graph

30 Commits

Author SHA1 Message Date
steve
c43c34747e Minor brace gymnastics so that /etc/wall_cmos_clock is really
created.

PR:		5473
Submitted by:	MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp>
1998-01-10 15:55:11 +00:00
joerg
f0aa162149 Teach tzsetup to understand blank lines in the iso3166 file.
Found by:  evanc@synapse.net (Evan Champion)
1997-11-07 00:07:27 +00:00
charnier
551a07d472 Add usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clock
when -n (do nothing) is used.
1997-10-27 07:49:47 +00:00
steve
58ae86a175 Fix a minor nit in the .Dd macro invocation so that
the revision date is displayed correctly.
1997-06-23 04:52:13 +00:00
peter
32d6b795de Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
jkh
20ecf8fbbb Ask about local or UTC here, like we used to. 1997-02-16 23:51:03 +00:00
jhay
05c5ea1cbb At the end it was much simpler than I thought. 26 * 26 = 676 and not 576.
South Africa and a few other countries exists again. This fix pr 2595.
This should go into 2.2.
1997-02-01 17:03:10 +00:00
jkh
b87803f0fb Make some of the less necessary user feedback #ifdef VERBOSE.
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).
1997-01-21 10:53:38 +00:00
wosch
00e37028d0 Sort cross references. 1997-01-20 00:03:00 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
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.
1997-01-14 07:20:47 +00:00
joerg
9a119274a8 Remove two uninitialized and unused variables that used to cause a
segfault before.
1996-11-19 23:21:52 +00:00
wollman
1b3886d9bc Completely re-vamped `tzsetup':
- 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).
1996-11-19 18:09:41 +00:00
bde
3c2ee02d21 Removed unused `-I.'s from CFLAGS.
"." 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}'.
1996-09-04 22:25:35 +00:00
wosch
e99625b29c sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
wosch
179f760ed3 add pathnames.h, -Wall cleanup 1996-08-20 23:51:20 +00:00
jkh
b6fb079423 Only print the selected timezone in verification rather than the bogus time. 1996-07-03 01:17:34 +00:00
joerg
9931e45bc6 Copy /etc/localtime, unless it's already a symlink. 1996-04-01 08:17:49 +00:00
joerg
7ffaf3cfb7 Another round of fixes:
. 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.
1996-03-31 09:55:02 +00:00
joerg
6094e82d91 All this was horribly broken. The menues were overflowing, the `diff'
calculation wrong, bogus `reboot now!' hints given, and the displayed
month off by one.

Fix all of this.

Requested by:	jkh
1996-03-22 22:22:40 +00:00
wosch
4bfb4f1baf Convert "time zone" to "timezone" in NAME section
Submitted by:	obrien@cs.ucdavis.edu (David E. O'Brien)
1996-02-27 00:27:21 +00:00
wosch
b48086b266 add a manpage 1996-01-24 00:11:58 +00:00
peter
639da796bd recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
jkh
17a140cae6 Don't put up bogus confirmation dialog. 1995-10-06 02:46:23 +00:00
rgrimes
8f6e1a9b69 Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
rgrimes
5a145b5eb1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
wollman
5ef9836ca0 Grand new all-singing, dialog-wielding tzsetup(8). Still needs a man page. 1995-04-24 21:04:35 +00:00
ache
b7a021a0c3 Restore back -i for adjkerntz 1994-11-02 09:43:38 +00:00
ache
a08efc8fea Remove -i option from adjkerntz 1994-11-02 00:00:17 +00:00
ache
be7830a2c9 Add 'rm -f /etc/localtime' before cp to /etc/localtime,
I have a link here and got strange results without 'rm'
1994-09-18 18:27:30 +00:00
wollman
887ed56978 A little script to help users in setting up their timezone. (Try it!) 1994-09-13 23:01:59 +00:00