summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/appl/xnlock/xnlock.cat1
blob: d358eee405b6602ef2798f8c452157acf3a8530f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
XNLOCK(1L)                                             XNLOCK(1L)



NNAAMMEE
       xnlock  -  amusing  lock  screen  program with message for
       passers-by

SSYYNNOOPPSSIISS
       xxnnlloocckk [ _o_p_t_i_o_n_s ] [ _m_e_s_s_a_g_e ]

DDEESSCCRRIIPPTTIIOONN
       _x_n_l_o_c_k is a program that acts as a screen saver for  work-
       stations  running  X11.   It  also "locks" the screen such
       that the workstation can be left unattended without  worry
       that  someone  else will walk up to it and mess everything
       up.  When _x_n_l_o_c_k is running, a little man with a big  nose
       and  a hat runs around spewing out messages to the screen.
       By default, the messages are "humorous", but that  depends
       on your sense of humor.

       If  a  key or mouse button is pressed, a prompt is printed
       requesting the user's password.  If a RETURN is not  typed
       within  30 seconds, the little man resumes running around.

       Text on the command line is  used  as  the  message.   For
       example:
            % xnlock I'm out to lunch for a couple of hours.
       Note the need to quote shell metacharacters.

       In  the  absence  of flags or text, _x_n_l_o_c_k displays random
       fortunes.

OOPPTTIIOONNSS
       Command line options override all resource specifications.
       All  arguments that are not associated with a command line
       option is taken to be message text  that  the  little  man
       will   "say"   every   once  in  a  while.   The  resource
       xxnnlloocckk..tteexxtt may be set to a string.

       --ffnn _f_o_n_t_n_a_m_e
              The default font is the first 18 point font in  the
              _n_e_w  _c_e_n_t_u_r_y _s_c_h_o_o_l_b_o_o_k family.  While larger fonts
              are recokmmended over smaller ones, any font in the
              server's  font list will work.  The resource to use
              for this option is xxnnlloocckk..ffoonntt.

       --ffiilleennaammee  _f_i_l_e_n_a_m_e
              Take the message to  be  displayed  from  the  file
              _f_i_l_e_n_a_m_e.     If   _f_i_l_e_n_a_m_e   is   not   specified,
              _$_H_O_M_E_/_._m_s_g_f_i_l_e is used.  If  the  contents  of  the
              file  are  changed  during runtime, the most recent
              text of the file is used  (allowing  the  displayed
              message  to be altered remotely).  Carriage returns
              within the text are allowed, but tabs or other con-
              trol  characters  are not translated and should not
              be used.  The resource available for this option is
              xxnnlloocckk..ffiillee.

       --aarr    Accept  root's  password  to  unlock  screen.  This
              option is true by default.  The reason for this  is
              so  that someone's screen may be unlocked by autor-
              ized users in case of emergency and the person run-
              ning  the  program  is  still  out  to  lunch.  The
              resource available for specifying  this  option  is
              xxnnlloocckk..aacccceeppttRRoooottPPaasssswwdd.

       --nnooaarr  Don't  accept  root's password.  This option is for
              paranoids who fear their peers might breakin  using
              root's  password  and  remove  their  files anyway.
              Specifying this option on the  command  line  over-
              rides the xxnnlloocckk..aacccceeppttRRoooottPPaasssswwdd if set to True.

       --iipp    Ignore password prompt.  The resource available for
              this option is xxnnlloocckk..iiggnnoorreePPaasssswwdd.

       --nnooiipp  Don't ignore password prompt.  This is available in
              order  to override the resource iiggnnoorreePPaasssswwdd if set
              to True.

       --ffgg _c_o_l_o_r
              Specifies  the  foreground  color.   The   resource
              available for this is xxnnlloocckk..ffoorreeggrroouunndd.

       --bbgg _c_o_l_o_r
              Specifies   the  background  color.   The  resource
              available for this is xxnnlloocckk..bbaacckkggrroouunndd.

       --rrvv    Reverse the foreground and background colors.   The
              resource for this is xxvvnnlloocckk..rreevveerrsseeVViiddeeoo.

       --nnoorrvv  Don't  use  reverse  video.   This  is available to
              override the reverseVideo resource if set to  True.

       --pprroogg _p_r_o_g_r_a_m
              Receive  message text from the running program _p_r_o_-
              _g_r_a_m. If there are  arguments  to  _p_r_o_g_r_a_m,  encase
              them  with  the name of the program in quotes (e.g.
              xnlock -t "fortune -o").  The resource for this  is
              xxnnlloocckk..pprrooggrraamm.

RREESSOOUURRCCEESS
       xnlock.font:               fontname
       xnlock.foreground:         color
       xnlock.background:         color
       xnlock.reverseVideo:       True/False
       xnlock.text:               Some random text string
       xnlock.program:            program [args]
       xnlock.ignorePasswd:       True/False
       xnlock.acceptRootPasswd:   True/False

FFIILLEESS
       _x_n_l_o_c_k               executable file
       ~/.msgfile                 default message file

AAUUTTHHOORR
       Dan Heller <argv@sun.com>  Copyright (c) 1985, 1990.
       The  original  version  of  this program was written using
       pixrects on a Sun 2 running SunOS 1.1.



                          19 April 1990                XNLOCK(1L)
OpenPOWER on IntegriCloud