1KUESVR(1) General Commands Manual KUESVR(1)
2
3
4
6 kuesvr - the CERN KUIP edit server
7
9 kuesvr -p pid -c cmd -t tmpfile [ -e editor ] file
10
12 kuesvr is a small program called from KUIP. (KUIP stands for Kit for a
13 User Interface Package; it is part of the Packlib library from CERN.)
14 kuesvr allows the user to call up an editor from within a KUIP program
15 (PAW, for instance) on the file given by file, and continue to use the
16 program asynchronously.
17
18 In general kuesvr is not called directly from the command line (in
19 Debian it is not even located in the $PATH); instead it will be run
20 automatically from a KUIP program when an editor is needed, as long as
21 the command line set with KUIP's HOST_EDITOR command ends with an
22 ampersand ('&'), and $DISPLAY is set. If $DISPLAY is unset (or, on
23 non-Debian systems, if kuesvr cannot be found in $PATH), the ampersand
24 will be ignored. For instance,
25
26 PAW > HOST_EDITOR 'emacs -geometry 80x48 &'
27
28 The editor is expected to create its own graphical window. However,
29 since 'vi' is a frequent choice, setting HOST_EDITOR to 'vi &' will
30 automatically be interpreted as 'x-terminal-emulator -e vi &' instead.
31
33 -c cmd Specifies the KUIP command invoking the edit server.
34
35 -e editor
36 Specifies the editor to be used. By default it is vi. Even
37 though this flag is optional, it will be set anyway when kuesvr
38 is called from the KUIP library.
39
40 -p pid Specifies the process ID of the calling program.
41
42 -t tmpfile
43 Specifies the name of the temporary file used for communication
44 between the calling program and the edit server. This is a
45 Debian extension added for security reasons. It is a required
46 argument, so this version of kuesvr will not work with a KUIP
47 application using CERN's unmodified Packlib; nor will CERN's
48 unmodified kuesvr work with the Debian version of Packlib.
49
51 · paw(1) - a program that can use the edit server
52 · the KUIP online help available with command "help host_editor"
53 · the KUIP manual, available at
54 http://wwwasdoc.web.cern.ch/wwwasdoc/psdir/kuip.ps.gz
55
57 This manual page was written by Kevin McCarty <kmccarty@debian.org> for
58 the Debian GNU/Linux system (but may be used by others).
59
60
61
62 March 4, 2005 KUESVR(1)