Problem: :mode no longer works for any system.
Solution: Always give an error message.
if (*eap->arg == NUL)
shell_resized();
else
- mch_screenmode(eap->arg);
+ emsg(_(e_screenmode));
}
/*
mch_errmsg(_("cannot change console mode ?!\n"));
}
-/*
- * set screen mode, always fails.
- */
- int
-mch_screenmode(char_u *arg)
-{
- emsg(_(e_screenmode));
- return FAIL;
-}
-
/*
* Code for this routine came from the following :
*
#endif
-/*
- * set screen mode, always fails.
- */
- int
-mch_screenmode(char_u *arg UNUSED)
-{
- emsg(_(e_screenmode));
- return FAIL;
-}
-
-
#if defined(FEAT_LIBCALL) || defined(PROTO)
/*
* Call a DLL routine which takes either a string or int param
}
}
-/*
- * set screen mode, always fails.
- */
- int
-mch_screenmode(char_u *arg UNUSED)
-{
- emsg(_(e_screenmode));
- return FAIL;
-}
-
#ifndef VMS
/*
void mch_early_init(void);
void mch_exit(int r);
void mch_settmode(int tmode);
-int mch_screenmode(char_u *arg);
int mch_get_shellsize(void);
void mch_set_shellsize(void);
void mch_new_shellsize(void);
int mch_has_exp_wildcard(char_u *p);
int mch_has_wildcard(char_u *p);
int mch_chdir(char *path);
-int mch_screenmode(char_u *arg);
int mch_icon_load(HANDLE *iconp);
int mch_libcall(char_u *libname, char_u *funcname, char_u *argstring, int argint, char_u **string_result, int *number_result);
void DumpPutS(const char *psz);
void mch_setmouse(int on);
void mch_bevalterm_changed(void);
void check_mouse_termcode(void);
-int mch_screenmode(char_u *arg);
int mch_get_shellsize(void);
int mch_report_winsize(int fd, int rows, int cols);
void mch_set_shellsize(void);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 125,
/**/
124,
/**/