1More(3)               User Contributed Perl Documentation              More(3)
2
3
4

NAME

6       Tk::More - a 'more' or 'less' like text widget
7

SYNOPSIS

9           use Tk::More;
10
11           $more = $parent->More(...text widget options ...);
12           $more->Load(FILENAME);
13

DESCRIPTION

15       Tk::More is a readonly text widget with additional key bindings as
16       found in UNI* command line tools "more" or "less". As in "more" an
17       additional status/command line is added at the bottom.
18

ADDITIONAL BINDINGS

20       Key-g or Home
21           goto beginning of file
22
23       Key-G or End
24           goto end of file
25
26       Key-f or Next
27           forward screen
28
29       Key-b or Prior
30           backward screen
31
32       Key-k or Up
33           up one line
34
35       Key-j or Down
36           down one line
37
38       Key-/
39           search forward
40
41       Key-?
42           search backward
43
44       Key-n
45           find next match
46
47       Key-N
48           find previous match
49
50       Key-u
51           up half screen
52
53       Key-d
54           down half screen
55
56       Key-Return
57           down one line
58
59       Key-h
60           invoke help window
61

OPTIONS

63       Name:     fixedFont
64       Class:    FixedFont
65       Switch:   -font
66           Set the font of the viewer widget. This is by default a fixed font.
67
68       Name:     searchCase
69       Class:    SearchCase
70       Switch:   -searchcase
71           Set if searching should be done case-insensitive. Defaults to true.
72
73       Switch:   -helpcommand
74           Sets the command for the "h" (help) key.
75

METHODS

77       Load($file, %args)
78           Load $file into the widget. %args may be one of the following
79
80           -encoding => $encoding
81               Assume the encoding of the file to be $encoding. If none is
82               given, then assume no encoding (which is equivalent to
83               iso-8859-1).
84
85       AddQuitBindings
86           Convenience method to add the bindinds Key-q and Control-Key-q to
87           close the Toplevel window containing this More widget.
88

BUGS

90       Besides that most of more bindings are not implemented. This bugs me
91       most (high to low priority):
92
93       * better status line implementation
94
95       * Cursor movement: up/down move displayed area regardless where
96         insert cursor is
97
98       * add History, Load, Search (also as popup menu)
99

SEE ALSO

101       Tk::ROText, more(1), tkmore, less(1)
102

AUTHOR

104       Achim Bohnet <ach@mpe.mpg.de>
105
106       Currently maintained by Slaven Rezic <slaven@rezic.de>.
107
108       Copyright (c) 1997-1998 Achim Bohnet. All rights reserved.  This
109       program is free software; you can redistribute it and/or modify it
110       under the same terms as Perl itself.
111
112
113
114perl v5.32.0                      2020-07-28                           More(3)
Impressum