aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/keymap.h4
-rw-r--r--src/nvim/main.c4
-rw-r--r--src/nvim/option_defs.h3
-rw-r--r--src/nvim/syntax.c10
-rw-r--r--src/nvim/term.c1
5 files changed, 1 insertions, 21 deletions
diff --git a/src/nvim/keymap.h b/src/nvim/keymap.h
index 94ea095ace..c82a95c00c 100644
--- a/src/nvim/keymap.h
+++ b/src/nvim/keymap.h
@@ -97,9 +97,6 @@
/* Used a termcap entry that produces a normal character. */
#define KS_KEY 242
-/* Used for the qnx pterm mouse. */
-#define KS_PTERM_MOUSE 241
-
/* Used for click in a tab pages label. */
#define KS_TABLINE 240
@@ -412,7 +409,6 @@ enum key_extra {
#define K_NETTERM_MOUSE TERMCAP2KEY(KS_NETTERM_MOUSE, KE_FILLER)
#define K_DEC_MOUSE TERMCAP2KEY(KS_DEC_MOUSE, KE_FILLER)
-#define K_PTERM_MOUSE TERMCAP2KEY(KS_PTERM_MOUSE, KE_FILLER)
#define K_URXVT_MOUSE TERMCAP2KEY(KS_URXVT_MOUSE, KE_FILLER)
#define K_SGR_MOUSE TERMCAP2KEY(KS_SGR_MOUSE, KE_FILLER)
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 1f6c8ddc81..f063cc1238 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -149,10 +149,6 @@ void early_init(void)
(void)mb_init(); // init mb_bytelen_tab[] to ones
eval_init(); // init global variables
-#ifdef __QNXNTO__
- qnx_init(); // PhAttach() for clipboard, (and gui)
-#endif
-
// Init the table of Normal mode commands.
init_normal_cmds();
diff --git a/src/nvim/option_defs.h b/src/nvim/option_defs.h
index 8b36df3276..99e8e645b6 100644
--- a/src/nvim/option_defs.h
+++ b/src/nvim/option_defs.h
@@ -576,13 +576,12 @@ EXTERN char_u *p_ttym; /* 'ttymouse' */
EXTERN unsigned ttym_flags;
# ifdef IN_OPTION_C
static char *(p_ttym_values[]) =
-{"xterm", "xterm2", "dec", "netterm", "pterm", "urxvt", "sgr", NULL};
+{"xterm", "xterm2", "dec", "netterm", "urxvt", "sgr", NULL};
# endif
# define TTYM_XTERM 0x01
# define TTYM_XTERM2 0x02
# define TTYM_DEC 0x04
# define TTYM_NETTERM 0x08
-# define TTYM_PTERM 0x10
# define TTYM_URXVT 0x20
# define TTYM_SGR 0x40
#endif
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 4e2be0cd44..e9a814bc97 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -6407,12 +6407,6 @@ do_highlight (
4+8, 4+8, 2+8, 2+8,
6+8, 6+8, 1+8, 1+8, 5+8,
5+8, 3+8, 3+8, 7+8, -1};
-#if defined(__QNXNTO__)
- static int *color_numbers_8_qansi = color_numbers_8;
- /* On qnx, the 8 & 16 color arrays are the same */
- if (STRNCMP(T_NAME, "qansi", 5) == 0)
- color_numbers_8_qansi = color_numbers_16;
-#endif
/* reduce calls to STRICMP a bit, it can be slow */
off = TOUPPER_ASC(*arg);
@@ -6433,11 +6427,7 @@ do_highlight (
if (color >= 0) {
if (t_colors == 8) {
/* t_Co is 8: use the 8 colors table */
-#if defined(__QNXNTO__)
- color = color_numbers_8_qansi[i];
-#else
color = color_numbers_8[i];
-#endif
if (key[5] == 'F') {
/* set/reset bold attribute to get light foreground
* colors (on some terminals, e.g. "linux") */
diff --git a/src/nvim/term.c b/src/nvim/term.c
index b7c30300b0..b78b01b68a 100644
--- a/src/nvim/term.c
+++ b/src/nvim/term.c
@@ -1473,7 +1473,6 @@ int set_termname(char_u *term)
# define HMT_NORMAL 1
# define HMT_NETTERM 2
# define HMT_DEC 4
-# define HMT_PTERM 8
# define HMT_URXVT 16
# define HMT_SGR 32