Mercurial > vim
comparison src/globals.h @ 1832:b34d985598f6 v7.2.130
updated for version 7.2-130
author | vimboss |
---|---|
date | Mon, 02 Mar 2009 01:47:02 +0000 |
parents | 021f9d0f60a1 |
children | ccbd8177e1f4 |
comparison
equal
deleted
inserted
replaced
1831:eb1ce51c1cb0 | 1832:b34d985598f6 |
---|---|
480 # endif | 480 # endif |
481 | 481 |
482 /* | 482 /* |
483 * While executing external commands or in Ex mode, should not insert GUI | 483 * While executing external commands or in Ex mode, should not insert GUI |
484 * events in the input buffer: Set hold_gui_events to non-zero. | 484 * events in the input buffer: Set hold_gui_events to non-zero. |
485 */ | 485 * |
486 EXTERN int hold_gui_events INIT(= 0); | 486 * volatile because it is used in signal handler sig_sysmouse(). |
487 */ | |
488 EXTERN volatile int hold_gui_events INIT(= 0); | |
487 | 489 |
488 /* | 490 /* |
489 * When resizing the shell is postponed, remember the new size, and call | 491 * When resizing the shell is postponed, remember the new size, and call |
490 * gui_resize_shell() later. | 492 * gui_resize_shell() later. |
491 */ | 493 */ |
595 * still keep on running if there is a changed | 597 * still keep on running if there is a changed |
596 * buffer. */ | 598 * buffer. */ |
597 EXTERN int really_exiting INIT(= FALSE); | 599 EXTERN int really_exiting INIT(= FALSE); |
598 /* TRUE when we are sure to exit, e.g., after | 600 /* TRUE when we are sure to exit, e.g., after |
599 * a deadly signal */ | 601 * a deadly signal */ |
600 EXTERN int full_screen INIT(= FALSE); | 602 /* volatile because it is used in signal handler deathtrap(). */ |
603 EXTERN volatile int full_screen INIT(= FALSE); | |
601 /* TRUE when doing full-screen output | 604 /* TRUE when doing full-screen output |
602 * otherwise only writing some messages */ | 605 * otherwise only writing some messages */ |
603 | 606 |
604 EXTERN int restricted INIT(= FALSE); | 607 EXTERN int restricted INIT(= FALSE); |
605 /* TRUE when started as "rvim" */ | 608 /* TRUE when started as "rvim" */ |
737 * Stuff for setjmp() and longjmp(). | 740 * Stuff for setjmp() and longjmp(). |
738 * Used to protect areas where we could crash. | 741 * Used to protect areas where we could crash. |
739 */ | 742 */ |
740 EXTERN JMP_BUF lc_jump_env; /* argument to SETJMP() */ | 743 EXTERN JMP_BUF lc_jump_env; /* argument to SETJMP() */ |
741 # ifdef SIGHASARG | 744 # ifdef SIGHASARG |
742 EXTERN int lc_signal; /* catched signal number, 0 when no was signal | 745 /* volatile because it is used in signal handlers. */ |
743 catched; used for mch_libcall() */ | 746 EXTERN volatile int lc_signal; /* caught signal number, 0 when no was signal |
744 # endif | 747 caught; used for mch_libcall() */ |
745 EXTERN int lc_active INIT(= FALSE); /* TRUE when lc_jump_env is valid. */ | 748 # endif |
749 /* volatile because it is used in signal handler deathtrap(). */ | |
750 EXTERN volatile int lc_active INIT(= FALSE); /* TRUE when lc_jump_env is valid. */ | |
746 #endif | 751 #endif |
747 | 752 |
748 #if defined(FEAT_MBYTE) || defined(FEAT_POSTSCRIPT) | 753 #if defined(FEAT_MBYTE) || defined(FEAT_POSTSCRIPT) |
749 /* | 754 /* |
750 * These flags are set based upon 'fileencoding'. | 755 * These flags are set based upon 'fileencoding'. |
984 EXTERN FILE *scriptin[NSCRIPT]; /* streams to read script from */ | 989 EXTERN FILE *scriptin[NSCRIPT]; /* streams to read script from */ |
985 EXTERN int curscript INIT(= 0); /* index in scriptin[] */ | 990 EXTERN int curscript INIT(= 0); /* index in scriptin[] */ |
986 EXTERN FILE *scriptout INIT(= NULL); /* stream to write script to */ | 991 EXTERN FILE *scriptout INIT(= NULL); /* stream to write script to */ |
987 EXTERN int read_cmd_fd INIT(= 0); /* fd to read commands from */ | 992 EXTERN int read_cmd_fd INIT(= 0); /* fd to read commands from */ |
988 | 993 |
989 EXTERN int got_int INIT(= FALSE); /* set to TRUE when interrupt | 994 /* volatile because it is used in signal handler catch_sigint(). */ |
995 EXTERN volatile int got_int INIT(= FALSE); /* set to TRUE when interrupt | |
990 signal occurred */ | 996 signal occurred */ |
991 #ifdef USE_TERM_CONSOLE | 997 #ifdef USE_TERM_CONSOLE |
992 EXTERN int term_console INIT(= FALSE); /* set to TRUE when console used */ | 998 EXTERN int term_console INIT(= FALSE); /* set to TRUE when console used */ |
993 #endif | 999 #endif |
994 EXTERN int termcap_active INIT(= FALSE); /* set by starttermcap() */ | 1000 EXTERN int termcap_active INIT(= FALSE); /* set by starttermcap() */ |