mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
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.
This commit is contained in:
@@ -1294,14 +1294,6 @@ do_shell (
|
||||
}
|
||||
|
||||
starttermcap(); /* start termcap if not done by wait_return() */
|
||||
|
||||
/*
|
||||
* In an Amiga window redrawing is caused by asking the window size.
|
||||
* If we got an interrupt this will not work. The chance that the
|
||||
* window size is wrong is very small, but we need to redraw the
|
||||
* screen. Don't do this if ':' hit in wait_return(). THIS IS UGLY
|
||||
* but it saves an extra redraw.
|
||||
*/
|
||||
}
|
||||
|
||||
/* display any error messages now */
|
||||
|
@@ -5141,8 +5141,7 @@ static void ex_quit(exarg_T *eap)
|
||||
*/
|
||||
static void ex_cquit(exarg_T *eap)
|
||||
{
|
||||
getout(1); /* this does not always pass on the exit code to the Manx
|
||||
compiler. why? */
|
||||
getout(1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
@@ -179,7 +179,7 @@ char_u *path_next_component(char_u *fname)
|
||||
|
||||
/*
|
||||
* Get a pointer to one character past the head of a path name.
|
||||
* Unix: after "/"; DOS: after "c:\"; Amiga: after "disk:/"; Mac: no head.
|
||||
* Unix: after "/"; DOS: after "c:\"; Mac: no head.
|
||||
* If there is no head, path is returned.
|
||||
*/
|
||||
char_u *get_past_head(char_u *path)
|
||||
|
@@ -80,7 +80,7 @@
|
||||
*
|
||||
* The entries are compact, therefore they normally are included even when
|
||||
* HAVE_TGETENT is defined. When HAVE_TGETENT is defined, the builtin entries
|
||||
* can be accessed with "builtin_amiga", "builtin_ansi", "builtin_debug", etc.
|
||||
* can be accessed with "builtin_ansi", "builtin_debug", etc.
|
||||
*
|
||||
* Each termcap is a list of builtin_term structures. It always starts with
|
||||
* KS_NAME, which separates the entries. See parse_builtin_tcap() for all
|
||||
|
@@ -16,11 +16,7 @@ STARTTEST
|
||||
:let $CDIR = "."
|
||||
/CDIR
|
||||
:else
|
||||
:if has("amiga")
|
||||
:let $TDIR = "/testdir"
|
||||
:else
|
||||
:let $TDIR = "."
|
||||
:endif
|
||||
/TDIR
|
||||
:endif
|
||||
:" Dummy writing for making that sure gf doesn't fail even if the current
|
||||
|
Reference in New Issue
Block a user