summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-30 18:14:57 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-30 18:14:57 +0200
commit041c7107f23d3b49ab62c1d7e36af90421db8b63 (patch)
treef21e0e6114da8949c9d91f727d8df2e0754ce064 /src/ui.c
parent06b7b58455f9c09be3d1c36d174ffbfdf4efcd79 (diff)
downloadvim-git-041c7107f23d3b49ab62c1d7e36af90421db8b63.tar.gz
patch 8.2.0849: BeOS code is not maintained and probably unusedv8.2.0849
Problem: BeOS code is not maintained and probably unused. Solution: Remove the BeOS code. (Emir Sari, closes #5817)
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/ui.c b/src/ui.c
index 050b1620a..19d9e2152 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -554,7 +554,7 @@ ui_suspend(void)
mch_suspend();
}
-#if !defined(UNIX) || !defined(SIGTSTP) || defined(PROTO) || defined(__BEOS__)
+#if !defined(UNIX) || !defined(SIGTSTP) || defined(PROTO)
/*
* When the OS can't really suspend, call this function to start a shell.
* This is never called in the GUI.
@@ -912,17 +912,6 @@ fill_input_buf(int exit_on_error UNUSED)
* If we can't get any, and there isn't any in the buffer, we give up and
* exit Vim.
*/
-# ifdef __BEOS__
- /*
- * On the BeBox version (for now), all input is secretly performed within
- * beos_select() which is called from RealWaitForChar().
- */
- while (!vim_is_input_buf_full() && RealWaitForChar(read_cmd_fd, 0, NULL))
- ;
- len = inbufcount;
- inbufcount = 0;
-# else
-
if (rest != NULL)
{
// Use remainder of previous call, starts with an invalid character
@@ -981,7 +970,6 @@ fill_input_buf(int exit_on_error UNUSED)
if (!exit_on_error)
return;
}
-# endif
if (len <= 0 && !got_int)
read_error_exit();
if (len > 0)