summaryrefslogtreecommitdiffstats
path: root/libexec/getty/gettytab.5
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2001-06-07 13:53:23 +0000
committeryar <yar@FreeBSD.org>2001-06-07 13:53:23 +0000
commitb999f23d3f60df36c6baa88ab963c5f9494f3afc (patch)
tree2f1a1801cbb6414b53d0de6e676c6c7cd924bb72 /libexec/getty/gettytab.5
parente8be8c503badfdbcc17ce3f321e410e9069188ab (diff)
downloadFreeBSD-src-b999f23d3f60df36c6baa88ab963c5f9494f3afc.zip
FreeBSD-src-b999f23d3f60df36c6baa88ab963c5f9494f3afc.tar.gz
Add 'df' string to gettytab - the strftime(3) format for %d
in the banner messages (of course, defaults to "%+"). Submitted by: Gleb Smirnoff <glebius@tak.estra.ru>
Diffstat (limited to 'libexec/getty/gettytab.5')
-rw-r--r--libexec/getty/gettytab.59
1 files changed, 5 insertions, 4 deletions
diff --git a/libexec/getty/gettytab.5 b/libexec/getty/gettytab.5
index e6e32e9..91209af 100644
--- a/libexec/getty/gettytab.5
+++ b/libexec/getty/gettytab.5
@@ -93,6 +93,7 @@ after login prompt
.It "ct num 10 chat timeout for ac/ic scripts"
.It "dc num 0 chat debug bitmask"
.It "de num 0 delay secs and flush input before writing first prompt"
+.It "df str %+ the" Xr strftime 3 "format used for \&%d in the banner message"
.It "ds str" Ta So Li ^Y Sc Ta
.No "delayed suspend character"
.It "dx bool false set"
@@ -282,11 +283,11 @@ is running.
.Pp
.Bl -tag -offset indent -width \&%xxxxxxxxxxxxxx
.It \&%d
-The current date and time in the locale's representation as of the
+The current date and time formatted according to the
.Em \&Lo
-string
-(the \&%+ format of
-.Xr strftime 3 ) .
+and
+.Em \&df
+strings.
.It \&%h
The hostname of the machine, which is normally obtained from the
system using
OpenPOWER on IntegriCloud