GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TK::MORE (3)

.ds Aq ’

NAME

Tk::More - a ’more’ or ’less’ like text widget

CONTENTS

SYNOPSIS



    use Tk::More;

    $more = $parent->More(...text widget options ...);
    $more->Load(FILENAME);



DESCRIPTION

<B>Tk::MoreB> is a readonly text widget with additional key bindings as found in UNI* command line tools more or less. As in more an additional status/command line is added at the bottom.

ADDITIONAL BINDINGS

Key-g or Home goto beginning of file
Key-G or End goto end of file
Key-f or Next forward screen
Key-b or Prior backward screen
Key-k or Up up one line
Key-j or Down down one line
Key-/ search forward
Key-? search backward
Key-n find next match
Key-N find previous match
Key-u up half screen
Key-d down half screen
Key-Return down one line
Key-h invoke help window

OPTIONS

Name: <B>fixedFontB>
Class: <B>FixedFontB>
Switch: <B>-fontB> Set the font of the viewer widget. This is by default a fixed font.
Name: <B>searchCaseB>
Class: <B>SearchCaseB>
Switch: <B>-searchcaseB> Set if searching should be done case-insensitive. Defaults to true.
Switch: <B>-helpcommandB> Sets the command for the h (help) key.

METHODS

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

BUGS

Besides that most of more bindings are not implemented. This bugs me most (high to low priority):

* better status line implementation

* Cursor movement: up/down move displayed area regardless where
insert cursor is

* add History, Load, Search (also as popup menu)

SEE ALSO

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

AUTHOR

Achim Bohnet <ach@mpe.mpg.de>

Currently maintained by Slaven Rezic <slaven@rezic.de>.

Copyright (c) 1997-1998 Achim Bohnet. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MORE (3) 2013-11-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.