annotate src/EmacsShell.h @ 5518:3cc7470ea71c

gnuclient: if TMPDIR was set and connect failed, try again with /tmp 2011-06-03 Aidan Kehoe <kehoea@parhasard.net> * gnuslib.c (connect_to_unix_server): Retry with /tmp as a directory in which to search for Unix sockets if an attempt to connect with some other directory failed (which may be because gnuclient and gnuserv don't share an environment value for TMPDIR, or because gnuserv was compiled with USE_TMPDIR turned off).
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 03 Jun 2011 18:40:57 +0100
parents 308d34e9f07d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* Emacs shell widget external header file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 Copyright (C) 1994 Sun Microsystems, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 This file is part of XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 440
diff changeset
6 XEmacs is free software: you can redistribute it and/or modify it
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 under the terms of the GNU General Public License as published by the
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 440
diff changeset
8 Free Software Foundation, either version 3 of the License, or (at your
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 440
diff changeset
9 option) any later version.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 440
diff changeset
17 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 /* Synched up with: Not in FSF. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 /* Written by Ben Wing, May, 1994. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 0
diff changeset
23 #ifndef INCLUDED_EmacsShell_h_
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 0
diff changeset
24 #define INCLUDED_EmacsShell_h_
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 #ifndef XtNwidthCells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 #define XtNwidthCells "widthCells"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 #ifndef XtCWidthCells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 #define XtCWidthCells "WidthCells"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 #ifndef XtNheightCells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 #define XtNheightCells "heightCells"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 #ifndef XtCHeightCells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 #define XtCHeightCells "HeightCells"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 #ifndef XtNminWidthCells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 #define XtNminWidthCells "minWidthCells"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 #ifndef XtCMinWidthCells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 #define XtCMinWidthCells "MinWidthCells"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 #ifndef XtNminHeightCells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 #define XtNminHeightCells "minHeightCells"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 #ifndef XtCMinHeightCells
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 #define XtCMinHeightCells "MinHeightCells"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 typedef struct _TopLevelEmacsShellClassRec *TopLevelEmacsShellWidgetClass;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 typedef struct _TopLevelEmacsShellRec *TopLevelEmacsShellWidget;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 extern WidgetClass topLevelEmacsShellWidgetClass;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 typedef struct _TransientEmacsShellClassRec *TransientEmacsShellWidgetClass;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 typedef struct _TransientEmacsShellRec *TransientEmacsShellWidget;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 extern WidgetClass transientEmacsShellWidgetClass;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 void EmacsShellUpdateSizeHints (Widget gw);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 void TopLevelEmacsShellUpdateSizeHints (Widget gw);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 void TransientEmacsShellUpdateSizeHints (Widget gw);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 void EmacsShellSetSizeUserSpecified (Widget gw);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 void EmacsShellSetPositionUserSpecified (Widget gw);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 void EmacsShellSmashIconicHint (Widget shell, int iconic_p);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 0
diff changeset
69 #endif /* INCLUDED_EmacsShell_h_ */