From a62fe49d3caa40b8a6efb6528cce725f4dffa78a Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Wed, 10 Dec 2014 00:07:19 -0500 Subject: Remove Amiga remnants Notes regarding the removal of specific items: - Aztec C: only on the Amiga. - mch_check_win(): doesn't exist anymore. - Comment in ex_cmds.c: It seems the context for this comment was removed, but the comment was inadvertantly left alone. --- src/nvim/main.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/nvim/main.c') diff --git a/src/nvim/main.c b/src/nvim/main.c index 23c48651b1..1f6c8ddc81 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -208,9 +208,6 @@ int main(int argc, char **argv) /* * Check if we have an interactive window. - * On the Amiga: If there is no window, we open one with a newcli command - * (needed for :! to * work). mch_check_win() will also handle the -d or - * -dev argument. */ check_and_set_isatty(¶ms); @@ -1087,8 +1084,7 @@ static void command_line_scan(mparm_T *parmp) exmode_active = EXMODE_VIM; break; - case 'f': /* "-f" GUI: run in foreground. Amiga: open - window directly, not with newcli */ + case 'f': /* "-f" GUI: run in foreground. */ break; case 'g': /* "-g" start GUI */ @@ -1489,9 +1485,6 @@ static void init_startuptime(mparm_T *paramp) /* * Check if we have an interactive window. - * On the Amiga: If there is no window, we open one with a newcli command - * (needed for :! to * work). mch_check_win() will also handle the -d or - * -dev argument. */ static void check_and_set_isatty(mparm_T *paramp) { @@ -1957,10 +1950,10 @@ static void source_startup_scripts(mparm_T *parmp) /* * Try to read initialization commands from the following places: * - environment variable VIMINIT - * - user vimrc file (s:.vimrc for Amiga, ~/.vimrc otherwise) + * - user vimrc file (~/.vimrc) * - second user vimrc file ($VIM/.vimrc for Dos) * - environment variable EXINIT - * - user exrc file (s:.exrc for Amiga, ~/.exrc otherwise) + * - user exrc file (~/.exrc) * - second user exrc file ($VIM/.exrc for Dos) * The first that exists is used, the rest is ignored. */ -- cgit