File: node17.html

package info (click to toggle)
gtkeyboard 1.1.7-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,284 kB
  • ctags: 1,234
  • sloc: ansic: 12,255; sh: 2,805; makefile: 328; perl: 32
file content (197 lines) | stat: -rw-r--r-- 8,046 bytes parent folder | download | duplicates (2)
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2K.1beta (1.48)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Explicit Versus Implicit Methods of Window Redirection</TITLE>
<META NAME="description" CONTENT="Explicit Versus Implicit Methods of Window Redirection">
<META NAME="keywords" CONTENT="MANUAL">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v2K.1beta">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="MANUAL.css">

<LINK REL="previous" HREF="node16.html">
<LINK REL="up" HREF="node14.html">
<LINK REL="next" HREF="node18.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html347"
  HREF="node18.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html343"
  HREF="node14.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html339"
  HREF="node16.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
<A NAME="tex2html345"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html348"
  HREF="node18.html">User Defined Shortcuts</A>
<B> Up:</B> <A NAME="tex2html344"
  HREF="node14.html">Text Editing</A>
<B> Previous:</B> <A NAME="tex2html340"
  HREF="node16.html">Editing Text in a</A>
 &nbsp <B>  <A NAME="tex2html346"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION00330000000000000000">
Explicit Versus Implicit Methods of Window Redirection</A>
</H1>

<P>
There are two ways to choose a window to redirect data from the
keyboard to.  They are the implicit method, and the explicit
method. The implicit method, which is the default, is quite easy.
Whichever window had the focus last is the window that is designated
to receive the key presses.  The explicit mode is where the user
chooses a window explicitly for redirection. 

<P>
In order to use the implicit mode, all you have to do is make sure
that the window you want to redirect to is the window that last had
the keyboard focus in your window manager.  That's it.  Generally, if
you need to assign this, you can just click on the window you want to
focus on with your mouse, and then click on GTKeyboard again.  You
should see a message in your status window saying ``Found new
focus window:  window name''  All keyboard usage after that will go into
the foreign window.

<P>
In order to choose a new window to redirect output to (using explicit
mode), click on the Output menu, then click on Choose a Window.  Your
cursor will change, at which time you go out and choose a window by
clicking on an active window.  When that is done, you just type with
the on-screen keyboard as normal, or do whatever you would normally do,
except that output goes into the foreign window rather than where it
usually goes.  See the BUGS file that comes withe the source
distribution about some things that don't seem to
want to work properly like xterm which are traditionally a pain to
send X events to.  For most things, this will work just that easily.
(e.g. an rxvt window/other terminal emulator)

<P>
Sometimes, you will want to redirect text to a certain box within a
certain window.  (Like for example, the URL box in Netscape
Navigator).  This is no problem, GTKeyboard will let you do that too,
but you must make sure that the box you want to type into has the
focus.  Basically, after you select the window, click on the box that
you want one more time so a thin black border comes up around it as is
traditional for most windows that have the focus, and then you can
begin typing into that window.

<P>
Some notes about redirection to other windows:

<P>

<UL>
<LI>Although implicit focus is the default, some users may want to
        toggle to explicit mode, particularly if you are using GTKeyboard in
        its editing facilities.  If GTKeyboard has a valid window to
        redirect to, it will use that window, which may cause problems
        if you expect your text to show up in the editing buffer!
</LI>
<LI>The most common problem is forgetting to give focus to the
    item inside an application you're typing into.  Don't forget to do
        that.  Note that this may take a special ``focus setting'' in
        your window manager.  Sloppy focus works the best in my
        experience.  Focus follows mouse often doesn't work, depending
        on whether or not the window manager takes keyboard focus with
        mouse focus when moving between windows.
</LI>
<LI>It should work fine for most ``well-behaved'' X applications,
    provided that the widget you want to enter text into has the
    focus.
</LI>
<LI>Xterm will work, but in order to make it work, you must
    control+click on your Xterm window and hit ``Allow
    SendEvents'' before the keypresses will show up in an Xterm
</LI>
<LI>If you find an application that it doesn't work with, let me
    know.
</LI>
<LI>Some programs simply will not allow events.  In order for
        this redirection to work, it has to be allowed by the client
        program.  Some programs such as <I>xterm</I> mentioned above
        will only let you redirect to them after you have configured
        them correctly.  Others won't allow it at all.  Carefully read
        the documentation of the program in question if it doesn't
        work, and if it doesn't allow such configuration, either drop
        me or the developer of the application an email and ask.
</LI>
</UL>

<P>
You will also find a ``Choose Window'' and ``Ignore Window'' option
under the <I>Shortcuts</I> menu.  They're just there for convenience,
there is no difference between them, only that some people look in
different places for the same things.

<P>
The ignore window button does exactly what it says it does:  It
ignores the current active window.  So if you're workin on something
within an rxvt window, and you want to go back to editing within the
GTKeyboard text buffer, click on the Ignore Window button either at
the bottom of the screen or in the Shortcuts or Output menus, and
GTKeyboard will take focus away from that window and begin sending all
keystrokes back into the GTKeyboard editing buffer.  This allows you
the flexibility to flip back and forth between small editing tasks
editing in other windows or performing other tasks with the on screen
keyboard.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html347"
  HREF="node18.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html343"
  HREF="node14.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html339"
  HREF="node16.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
<A NAME="tex2html345"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html348"
  HREF="node18.html">User Defined Shortcuts</A>
<B> Up:</B> <A NAME="tex2html344"
  HREF="node14.html">Text Editing</A>
<B> Previous:</B> <A NAME="tex2html340"
  HREF="node16.html">Editing Text in a</A>
 &nbsp <B>  <A NAME="tex2html346"
  HREF="node1.html">Contents</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
David Allen
2001-04-26
</ADDRESS>
</BODY>
</HTML>