~ubuntu-branches/ubuntu/precise/xterm/precise-updates

« back to all changes in this revision

Viewing changes to ptyx.h

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-05-06 05:13:35 UTC
  • mfrom: (1.1.14 upstream) (11.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090506051335-wq7afxwrm5ir33xr
Tags: 242-1ubuntu1
* Merge from debian unstable, remaining changes: LP: #372492
  - Enabled URL hilighting
  - rm -rf for .pc patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $XTermId: ptyx.h,v 1.538 2009/01/25 23:33:02 tom Exp $ */
 
1
/* $XTermId: ptyx.h,v 1.542 2009/02/10 23:24:50 tom Exp $ */
2
2
 
3
3
/*
4
4
 * Copyright 1999-2008,2009 by Thomas E. Dickey
393
393
#define OPT_AIX_COLORS  1 /* true if xterm is configured with AIX (16) colors */
394
394
#endif
395
395
 
 
396
#ifndef OPT_ALLOW_XXX_OPS
 
397
#define OPT_ALLOW_XXX_OPS 1 /* true if xterm adds "Allow XXX Ops" submenu */
 
398
#endif
 
399
 
396
400
#ifndef OPT_BLINK_CURS
397
401
#define OPT_BLINK_CURS  1 /* true if xterm has blinking cursor capability */
398
402
#endif
1772
1776
#define MULTICLICKTIME 250      /* milliseconds */
1773
1777
 
1774
1778
typedef enum {
 
1779
    fwNever = 0,
 
1780
    fwResource,
 
1781
    fwAlways
 
1782
} fontWarningTypes;
 
1783
 
 
1784
typedef enum {
1775
1785
    keyboardIsLegacy,           /* bogus vt220 codes for F1-F4, etc. */
1776
1786
    keyboardIsDefault,
1777
1787
    keyboardIsHP,
1884
1894
#if OPT_INPUT_METHOD
1885
1895
    char *f_x;                  /* font for XIM */
1886
1896
#endif
 
1897
    fontWarningTypes fontWarnings;
1887
1898
    int limit_resize;
1888
1899
#ifdef ALLOWLOGGING
1889
1900
    Boolean log_on;
2215
2226
#define BorderWidth(w)          ((w)->core.border_width)
2216
2227
#define BorderPixel(w)          ((w)->core.border_pixel)
2217
2228
 
 
2229
#define AllowXtermOps(w,name)   ((w)->screen.name && !(w)->screen.allowSendEvents)
 
2230
#define AllowFontOps(w)         AllowXtermOps(w, allowFontOps)
 
2231
#define AllowTcapOps(w)         AllowXtermOps(w, allowTcapOps)
 
2232
#define AllowTitleOps(w)        AllowXtermOps(w, allowTitleOps)
 
2233
#define AllowWindowOps(w)       AllowXtermOps(w, allowWindowOps)
 
2234
 
2218
2235
#if OPT_TOOLBAR
2219
2236
#define ToolbarHeight(w)        ((resource.toolBar) \
2220
2237
                                 ? (term->VT100_TB_INFO(menu_height) \