mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 03:11:52 +01:00
Offical fixes to the history and I18N bugs ache found.
This commit is contained in:
parent
dc86a98eaf
commit
00c801ed48
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/tcsh/dist/; revision=61519
@ -1,4 +1,4 @@
|
||||
/* $Header: /src/pub/tcsh/ed.inputl.c,v 3.47 1999/04/20 07:48:39 christos Exp $ */
|
||||
/* $Header: /src/pub/tcsh/ed.inputl.c,v 3.48 2000/06/10 20:14:57 kim Exp $ */
|
||||
/*
|
||||
* ed.inputl.c: Input line handling.
|
||||
*/
|
||||
@ -36,7 +36,7 @@
|
||||
*/
|
||||
#include "sh.h"
|
||||
|
||||
RCSID("$Id: ed.inputl.c,v 3.47 1999/04/20 07:48:39 christos Exp $")
|
||||
RCSID("$Id: ed.inputl.c,v 3.48 2000/06/10 20:14:57 kim Exp $")
|
||||
|
||||
#include "ed.h"
|
||||
#include "ed.defns.h" /* for the function names */
|
||||
@ -661,7 +661,11 @@ GetNextCommand(cmdnum, ch)
|
||||
return num;
|
||||
}
|
||||
#ifdef KANJI
|
||||
if (!adrof(STRnokanji) && (*ch & META)) {
|
||||
if (
|
||||
#ifdef DSPMBYTE
|
||||
_enable_mbdisp &&
|
||||
#endif
|
||||
!adrof(STRnokanji) && (*ch & META)) {
|
||||
MetaNext = 0;
|
||||
cmd = F_INSERT;
|
||||
break;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Header: /src/pub/tcsh/ed.refresh.c,v 3.25 1998/11/24 18:17:22 christos Exp $ */
|
||||
/* $Header: /src/pub/tcsh/ed.refresh.c,v 3.26 2000/06/10 20:14:57 kim Exp $ */
|
||||
/*
|
||||
* ed.refresh.c: Lower level screen refreshing functions
|
||||
*/
|
||||
@ -36,7 +36,7 @@
|
||||
*/
|
||||
#include "sh.h"
|
||||
|
||||
RCSID("$Id: ed.refresh.c,v 3.25 1998/11/24 18:17:22 christos Exp $")
|
||||
RCSID("$Id: ed.refresh.c,v 3.26 2000/06/10 20:14:57 kim Exp $")
|
||||
|
||||
#include "ed.h"
|
||||
/* #define DEBUG_UPDATE */
|
||||
@ -182,7 +182,11 @@ Draw(c) /* draw c, expand tabs, ctl chars */
|
||||
}
|
||||
}
|
||||
#ifdef KANJI
|
||||
else if (!adrof(STRnokanji)) {
|
||||
else if (
|
||||
#ifdef DSPMBYTE
|
||||
_enable_mbdisp &&
|
||||
#endif
|
||||
!adrof(STRnokanji)) {
|
||||
Vdraw(c);
|
||||
return;
|
||||
}
|
||||
@ -1264,7 +1268,11 @@ RefPlusOne()
|
||||
PutPlusOne(c);
|
||||
}
|
||||
#ifdef KANJI
|
||||
else if (!adrof(STRnokanji)) {
|
||||
else if (
|
||||
#ifdef DSPMBYTE
|
||||
_enable_mbdisp &&
|
||||
#endif
|
||||
!adrof(STRnokanji)) {
|
||||
PutPlusOne(c);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user