diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-03-03 10:29:07 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-03-03 10:29:07 +0000 |
commit | c33fa5c6a251ba60b4ef0925afe66d886e254929 (patch) | |
tree | 26a2e4d421c005b12274d63fdcd8408de1268af7 | |
parent | aec9f21ec09f9d65dd936dbbae2ff3a4109729f1 (diff) |
Import editres version 1.0.3
-rw-r--r-- | app/editres/COPYING | 25 | ||||
-rw-r--r-- | app/editres/autogen.sh | 13 | ||||
-rw-r--r-- | app/editres/editres.man | 63 |
3 files changed, 54 insertions, 47 deletions
diff --git a/app/editres/COPYING b/app/editres/COPYING index 7f33cbfd2..a1821364e 100644 --- a/app/editres/COPYING +++ b/app/editres/COPYING @@ -1,12 +1,21 @@ -This is a stub file. This package has not yet had its complete licensing -information compiled. Please see the individual source files for details on -your rights to use and modify this software. +Copyright 1989, 1990, 1998 The Open Group -Please submit updated COPYING files to the Xorg bugzilla: +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. -https://bugs.freedesktop.org/enter_bug.cgi?product=xorg +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. -All licensing questions regarding this software should be directed at the -Xorg mailing list: +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -http://lists.freedesktop.org/mailman/listinfo/xorg +Except as contained in this notice, the name of The Open Group shall not be +used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from The Open Group. diff --git a/app/editres/autogen.sh b/app/editres/autogen.sh new file mode 100644 index 000000000..e81f98910 --- /dev/null +++ b/app/editres/autogen.sh @@ -0,0 +1,13 @@ +#! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +$srcdir/configure --enable-maintainer-mode "$@" + diff --git a/app/editres/editres.man b/app/editres/editres.man index e42b41166..27b9248b5 100644 --- a/app/editres/editres.man +++ b/app/editres/editres.man @@ -1,3 +1,4 @@ +'\" t .\" $Xorg: editres.man,v 1.4 2001/02/09 02:05:29 xorgcvs Exp $ .\" Copyright 1993, 1994, 1998 The Open Group .\" @@ -121,34 +122,21 @@ their children, it is not possible to get to every widget this way, but this mechanism does give very useful feedback between the elements in the widget tree and those in the actual application. .IP "Select All" -.br -.ns .IP "Unselect All" -.br -.ns .IP "Invert All" These functions allow the user to select, unselect, or invert all widgets in the widget tree. .IP "Select Children" -.br -.ns .IP "Select Parents" These functions select the immediate parent or children of each of the currently selected widgets. .IP "Select Descendants" -.br -.ns .IP "Select Ancestors" These functions select all parents or children of each of the currently selected widgets. This is a recursive search. .IP "Show Widget Names" -.br -.ns .IP "Show Class Names" -.br -.ns .IP "Show Widget IDs" -.br -.ns +.IP "Show Widget IDs" .IP "Show Widget Windows" When the tree widget is initially displayed the labels of each widget in the tree correspond to the widget names. These functions will @@ -174,25 +162,25 @@ the widget tree, by flashing the corresponding widget in the application \fInumFlashes\fP (three by default) times in the \fIflashColor\fP. .sp -.nf -.TA .5i 1.5i 4.0i -.ta .5i 1.5i 4.0i - \fBKey Option Translation Entry\fP - - space Unselect Select(nothing) - w Select Select(widget) - s Select Select(all) - i Invert Select(invert) - c Select Children Select(children) - d Select Descendants Select(descendants) - p Select Parent Select(parent) - a Select Ancestors Select(ancestors) - N Show Widget Names Relabel(name) - C Show Class Names Relabel(class) - I Show Widget IDs Relabel(id) - W Show Widget Windows Relabel(window) - T Toggle Widget/Class Name Relabel(toggle) -.fi +.TS +lb lb lb +l l l. +Key Option Translation Entry +- +space Unselect Select(nothing) +w Select Select(widget) +s Select Select(all) +i Invert Select(invert) +c Select Children Select(children) +d Select Descendants Select(descendants) +p Select Parent Select(parent) +a Select Ancestors Select(ancestors) +N Show Widget Names Relabel(name) +C Show Class Names Relabel(class) +I Show Widget IDs Relabel(id) +W Show Widget Windows Relabel(window) +T Toggle Widget/Class Name Relabel(toggle) +.TE .sp Clicking button 1 on a widget adds it to the set of selected widgets. Clicking button 2 on a widget deselects all other widgets and then @@ -219,7 +207,7 @@ which will generalize this level to match any widget. The last line contains a set of special buttons called \fBAny Widget Chain\fP which will turn the single level into something that matches zero or more levels. -.IP "" +.sp The initial state of this area is the most restrictive, using the resource names and the dot separator. By selecting the other buttons in this area you can ease the restrictions to allow more and more widgets @@ -237,18 +225,15 @@ This next area allows you to enter the resource value. This value should be entered exactly as you would type a line into your resource file. Thus it should contain no unescaped new-lines. There are a few special character sequences for this file: -.IP "" +.sp \\n - This will be replaced with a newline. -.br .sp \\### - Where # is any octal digit. This will be replaced with a single byte that contains this sequence interpreted as an octal number. For example, a value containing a NULL byte can be stored by specifying \\000. -.br .sp \\<new-line> - This will compress to nothing. -.br .sp \\\\ - This will compress to a single backslash. .IP "Command Area" @@ -273,7 +258,7 @@ users to put an application in states it may not be willing to handle, a hook has been provided to allow specific applications to block these SetValues requests (see \fBBlocking Editres Requests\fP below). -.IP "" +.sp Unfortunately due to design constraints imposed on the widgets by the X Toolkit and the Resource Manager, trying to coerce an inherently static system into dynamic behavior can cause strange results. There |