File: xvt.h

package info (click to toggle)
xfe 1.32.1-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 12,584 kB
  • ctags: 7,947
  • sloc: cpp: 39,642; ansic: 17,753; sh: 9,661; makefile: 783; yacc: 289
file content (71 lines) | stat: -rw-r--r-- 2,182 bytes parent folder | download | duplicates (3)
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
/*  Copyright 1992, 1997 John Bovey, University of Kent at Canterbury.
 *
 *  Redistribution and use in source code and/or executable forms, with
 *  or without modification, are permitted provided that the following
 *  condition is met:
 *
 *  Any redistribution must retain the above copyright notice, this
 *  condition and the following disclaimer, either as part of the
 *  program source code included in the redistribution or in human-
 *  readable materials provided with the redistribution.
 *
 *  THIS SOFTWARE IS PROVIDED "AS IS".  Any express or implied
 *  warranties concerning this software are disclaimed by the copyright
 *  holder to the fullest extent permitted by applicable law.  In no
 *  event shall the copyright-holder be liable for any damages of any
 *  kind, however caused and on any theory of liability, arising in any
 *  way out of the use of, or inability to use, this software.
 *
 *  -------------------------------------------------------------------
 *
 *  In other words, do not misrepresent my work as your own work, and
 *  do not sue me if it causes problems.  Feel free to do anything else
 *  you wish with it.
 */

/* Guard C code in headers, while including them from C++ */
#ifdef  __cplusplus
extern "C" {
#endif


/*#define VERSION "2.1"*/	/* Overall release number of the current version */

#define MARGIN 2	/* gap between the text and the window edges */

/*  Some wired in defaults so we can run without any external resources.
 */
#define DEF_FONT "8x13"
#define FIXED_FONT "fixed"	/* last resort font */
#define DEF_SAVED_LINES 64	/* number of saved lines that have scrolled of the top */
#define TERM_ENV "TERM=xterm-r6"
#define COMMAND "/bin/sh"	/* default command to run */

/* arguments to set and reset functions.
 */
#define LOW	0
#define HIGH	1



/*  Standard system prototypes included here because they are not in a convenient
 *  system header file.
 */
/*#ifdef SUNOS5 */
#ifdef __sun
int gethostname(char *,int);
int getdtablesize();
int grantpt(int);
int unlockpt(int);
char *ptsname(int);
#endif /* !SUNOS5 */


/* Function prototypes */
void *cmalloc(int);
int xvt(int, char **);


#ifdef  __cplusplus
}
#endif