~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/programs/xman/Xman.ad

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
*input:                         True
 
2
 
 
3
*topBox:                        True
 
4
*topBox.Title:                  Xman
 
5
*topBox.IconName:               Xman
 
6
 
 
7
*manualBrowser.Title:           Manual Page
 
8
*manualBrowser.IconName:        Manual Page
 
9
*manualBrowser.geometry:        600x600
 
10
 
 
11
*manualFontBold:                -*-courier-bold-r-*-*-*-120-*-*-*-*-*-*
 
12
*manualFontItalic:              -*-courier-medium-o-*-*-*-120-*-*-*-*-*-*
 
13
*manualFontNormal:              -*-courier-medium-r-*-*-*-120-*-*-*-*-*-*
 
14
*manualFontSymbol:              -*-symbol-*-*-*-*-*-120-*-*-*-*-*-*
 
15
!*directoryFontNormal:          -*-courier-medium-r-*-*-*-120-*-*-*-*-*-*
 
16
*directoryFontNormal:           -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
 
17
!*directoryFontNormal:          -*-lucida-bold-r-*-*-*-120-*-*-*-*-*-*
 
18
 
 
19
!*SimpleMenu.BackingStore:      Always
 
20
!*SimpleMenu.SaveUnder:         Off
 
21
 
 
22
*horizPane.orientation:         horizontal
 
23
*horizPane*showGrip:            False
 
24
*horizPane.min:                 22
 
25
*horizPane.max:                 22
 
26
*topLabel.BorderWidth:          0
 
27
*search*label.BorderWidth:      0
 
28
 
 
29
*search*dialog*value:           Xman
 
30
 
 
31
!*optionMenu.Label:             Options
 
32
!*sectionMenu.Label:            Sections
 
33
 
 
34
*horizPane*options.Label:       Options
 
35
*horizPane*sections.Label:      Sections
 
36
 
 
37
*helpButton.Label:              Help
 
38
 
 
39
*quitButton.Label:              Quit
 
40
 
 
41
*manpageButton.Label:           Manual Page
 
42
 
 
43
*topLabel.Label:                Manual Browser
 
44
 
 
45
!*SimpleMenu*menuLabel*vertSpace: 100
 
46
!*SimpleMenu*menuLabel*leftMargin: 20
 
47
 
 
48
*displayDirectory.Label:        Display Directory 
 
49
*displayManualPage.Label:       Display Manual Page
 
50
*help.Label:                    Help
 
51
*help.geometry:                 600x600
 
52
*search.Label:                  Search
 
53
*removeThisManpage.Label:       Remove This Manpage
 
54
*help*removeThisManpage.Label:  Remove Help
 
55
*openNewManpage.Label:          Open New Manpage
 
56
*showVersion.Label:             Show Version
 
57
*quit.Label:                    Quit
 
58
 
 
59
*pleaseStandBy*Label:           Formatting Manual Page, Please Stand By...
 
60
 
 
61
*search*dialog.Label:           Type string to search for:
 
62
*search*apropos.Label:          Apropos
 
63
*search*manualPage.Label:       Manual Page
 
64
*search*cancel.Label:           Cancel
 
65
 
 
66
*likeToSave*dialog.Label:       Would you like to save this formatted Manual Page?
 
67
*likeToSave*yes.Label:          Yes
 
68
*likeToSave*no.Label:           No
 
69
 
 
70
*translations:          #override \
 
71
                Ctrl<Key>q: Quit() \n\
 
72
                Ctrl<Key>c: Quit() \n\
 
73
                Ctrl<Key>n: CreateNewManpage() \n\
 
74
                Ctrl<Key>h: PopupHelp() \n\
 
75
                Ctrl<Key>s: PopupSearch()
 
76
 
 
77
*help*Paned.manualPage.translations:#override \
 
78
                Ctrl<Btn1Down>: \
 
79
                        XawPositionSimpleMenu(optionMenu) \
 
80
                        MenuPopup(optionMenu) \n\
 
81
                Ctrl<Key>q: Quit() \n\
 
82
                Ctrl<Key>c: Quit() \n\
 
83
                Ctrl<Key>r: RemoveThisManpage() \n\
 
84
                Ctrl<Key>n: CreateNewManpage() \n\
 
85
                Ctrl<Key>h: PopupHelp() \n\
 
86
                Ctrl<Key>d: GotoPage(Directory) \n\
 
87
                Ctrl<Key>m: GotoPage(ManualPage) \n\
 
88
                Ctrl<Key>v: ShowVersion() \n\
 
89
                <Key>Prior: Page(Back) \n\
 
90
                <Key>Next : Page(Forward) 
 
91
 
 
92
*manualBrowser*manualPage.translations:  #override \
 
93
                Ctrl<Btn1Down>: \
 
94
                        XawPositionSimpleMenu(optionMenu) \
 
95
                        MenuPopup(optionMenu) \n\
 
96
                Ctrl<Btn2Down>: \
 
97
                        XawPositionSimpleMenu(sectionMenu) \
 
98
                        MenuPopup(sectionMenu) \n\
 
99
                Shift<Btn2Down>,<Btn2Up>:GotoPage(Directory)\n\
 
100
                Ctrl<Key>q: Quit() \n\
 
101
                Ctrl<Key>c: Quit() \n\
 
102
                Ctrl<Key>r: RemoveThisManpage() \n\
 
103
                Ctrl<Key>n: CreateNewManpage() \n\
 
104
                Ctrl<Key>h: PopupHelp() \n\
 
105
                Ctrl<Key>d: GotoPage(Directory) \n\
 
106
                Ctrl<Key>m: GotoPage(ManualPage) \n\
 
107
                Ctrl<Key>v: ShowVersion() \n\
 
108
                <Key>Prior: Page(Back) \n\
 
109
                <Key>Next : Page(Forward) \n\
 
110
                Ctrl<Key>s: PopupSearch()
 
111
 
 
112
!*manualBrowser*directory.background: Grey80
 
113
*manualBrowser*directory.translations:   #override \
 
114
                Ctrl<Btn1Down>: \
 
115
                        XawPositionSimpleMenu(optionMenu) \
 
116
                        MenuPopup(optionMenu) \n\
 
117
                Ctrl<Btn2Down>: \
 
118
                        XawPositionSimpleMenu(sectionMenu) \
 
119
                        MenuPopup(sectionMenu) \n\
 
120
                Shift<Btn2Down>,<Btn2Up>: GotoPage(Manpage) \n\
 
121
                Ctrl<Key>q: Quit() \n\
 
122
                Ctrl<Key>c: Quit() \n\
 
123
                Ctrl<Key>r: RemoveThisManpage() \n\
 
124
                Ctrl<Key>n: CreateNewManpage() \n\
 
125
                Ctrl<Key>h: PopupHelp() \n\
 
126
                Ctrl<Key>d: GotoPage(Directory) \n\
 
127
                Ctrl<Key>m: GotoPage(ManualPage) \n\
 
128
                Ctrl<Key>v: ShowVersion() \n\
 
129
                Ctrl<Key>s: PopupSearch()
 
130
 
 
131
*manualBrowser*search*manualPage.translations:  #augment \
 
132
                <Btn1Down>,<Btn1Up>: Search(Manpage) reset()
 
133
 
 
134
*manualBrowser*search*apropos.translations:             #augment \
 
135
                <Btn1Down>,<Btn1Up>: Search(Apropos) reset()
 
136
 
 
137
*manualBrowser*search*cancel*translations:      #augment \
 
138
                <Btn1Down>,<Btn1Up>: Search(Cancel) reset()
 
139
 
 
140
*manualBrowser*search*value*translations:               #override \
 
141
                <Key>Return: Search(Manpage) \n\
 
142
                Ctrl<Key>m:  Search(Manpage)
 
143
 
 
144
*topBox*search*manualPage.translations:                 #augment \
 
145
                <Btn1Down>,<Btn1Up>: Search(Manpage, Open) reset()
 
146
 
 
147
*topBox*search*apropos.translations:            #augment \
 
148
                <Btn1Down>,<Btn1Up>: Search(Apropos, Open) reset()
 
149
 
 
150
*topBox*search*cancel*translations:             #augment \
 
151
                <Btn1Down>,<Btn1Up>: Search(Cancel, Open) reset()
 
152
 
 
153
*topBox*search*value*translations:                      #override \
 
154
                <Key>Return: Search(Manpage, Open) \n\
 
155
                Ctrl<Key>m:  Search(Manpage, Open)
 
156
 
 
157
*manualBrowser*likeToSave*yes.translations:     #override \
 
158
                <Btn1Down>,<Btn1Up>: SaveFormattedPage(Save) reset() \n\
 
159
                <Key>y:   SaveFormattedPage(Save) \n\
 
160
                <Key>n:   SaveFormattedPage(Cancel) 
 
161
 
 
162
*manualBrowser*likeToSave*no.translations:      #override \
 
163
                <Btn1Down>,<Btn1Up>: SaveFormattedPage(Cancel) reset() \n\
 
164
                <Key>y:   SaveFormattedPage(Save) \n\
 
165
                <Key>n:   SaveFormattedPage(Cancel) 
 
166
 
 
167
*manualBrowser*likeToSave*translations: #override \
 
168
                <Key>y:   SaveFormattedPage(Save) \n\
 
169
                <Key>n:   SaveFormattedPage(Cancel) 
 
170
 
 
171
*helpButton.translations:       #augment \
 
172
                <Btn1Down>,<Btn1Up>: PopupHelp() reset()
 
173
 
 
174
*quitButton.translations:       #augment \
 
175
                <Btn1Down>,<Btn1Up>: Quit() reset()
 
176
 
 
177
*manpageButton.translations: #augment \
 
178
                <Btn1Down>,<Btn1Up>: CreateNewManpage() reset()