mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
- Add support for autodetection of *.euc?? and *.EUC locales.
- ja_JP.eucJP, ja_JP.EUC - ko_KR.eucKR, ko_KR.EUC - zn_CN.eucCN, zn_CN.EUC - Add support for zh_TW.Big5 - Add ja_JP.Shift_JIS alias for ja_JP.SJIS Submitted by: phantom Approved by: Christos Zoulas <cristos@zoulas.com> - TCSH maintainer
This commit is contained in:
parent
6767bd61d2
commit
ad35f55d45
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/tcsh/dist/; revision=90446
@ -1212,8 +1212,10 @@ autoset_dspmbyte(pcp)
|
||||
} dspmt[] = {
|
||||
{ STRLANGEUCJP, STRKEUC },
|
||||
{ STRLANGEUCKR, STRKEUC },
|
||||
{ STRLANGEUCZH, STRKEUC },
|
||||
{ STRLANGEUCJPB, STRKEUC },
|
||||
{ STRLANGEUCKRB, STRKEUC },
|
||||
{ STRLANGEUCZHB, STRKEUC },
|
||||
{ STRLANGSJIS, STRKSJIS },
|
||||
{ STRLANGSJISB, STRKSJIS },
|
||||
{ STRLANGBIG5, STRKBIG5 },
|
||||
|
@ -133,8 +133,9 @@ Char STRmbytemap[] = { 'm', 'b', 'y', 't', 'e', 'm', 'a', 'p', '\0' };
|
||||
/* dspmbyte autoset trap */
|
||||
/* STRLANGEUCJP,STRLANGEUCJPB = EUCJP Trap */
|
||||
/* STRLANGEUCKR,STRLANGEUCKRB = EUCKR Trap */
|
||||
/* STRLANGEUCZH,STRLANGEUCZHB = EUCZH Trap */
|
||||
/* STRLANGSJIS,STRLANGSJISB = SJIS Trap */
|
||||
# if defined(__FreeBSD__) || defined(__uxps__) || defined(sgi) || defined(aix) || defined(__CYGWIN__) || defined(linux)
|
||||
# if defined(__uxps__) || defined(sgi) || defined(aix) || defined(__CYGWIN__) || defined(linux)
|
||||
Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'E', 'U', 'C', '\0' };
|
||||
Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'E', 'U', 'C', '\0' };
|
||||
# if defined(__uxps__)
|
||||
@ -156,44 +157,61 @@ Char STRLANGSJIS[] = { 'j', 'a', '_', 'J', 'P', '.', 'S', 'J', 'I', 'S',
|
||||
Char STRLANGSJISB[] = { '\0' };
|
||||
Char STRLANGBIG5[] = { 'z', 'h', '_', 'T', 'W', '.', 'B', 'i', 'g', '5',
|
||||
'\0' };
|
||||
# elif defined(linux)
|
||||
Char STRLANGEUC[] = { 'j', 'a', '_', 'J', 'P', '.', 'e', 'u', 'c', 'J',
|
||||
Char STRLANGEUCZH[] = { '\0' };
|
||||
Char STRLANGEUCZHB[] = { '\0' };
|
||||
# elif defined(__FreeBSD__)
|
||||
Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'e', 'u', 'c', 'J',
|
||||
'P', '\0' };
|
||||
Char STRLANGEUCB[] = { 'j', 'a', '_', 'J', 'P', '.', 'u', 'j', 'i', 's',
|
||||
'\0' };
|
||||
Char STRLANGEUCJPB[] = { 'j', 'a', '_', 'J', 'P', '.', 'E', 'U', 'C', '\0' };
|
||||
Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'e', 'u', 'c', 'K',
|
||||
'R', '\0' };
|
||||
Char STRLANGEUCKRB[] = { 'k', 'o', '_', 'K', 'R', '.', 'E', 'U', 'C', '\0' };
|
||||
Char STRLANGEUCZH[] = { 'z', 'h', '_', 'C', 'N', '.', 'e', 'u', 'c', 'C',
|
||||
'N', '\0' };
|
||||
Char STRLANGEUCZHB[] = { 'z', 'h', '_', 'C', 'N', '.', 'E', 'U', 'C', '\0' };
|
||||
Char STRLANGSJIS[] = { 'j', 'a', '_', 'J', 'P', '.', 'S', 'J', 'I', 'S',
|
||||
'\0' };
|
||||
Char STRLANGSJISB[] = { '\0' };
|
||||
Char STRLANGBIG5[] = { '\0' };
|
||||
Char STRLANGSJISB[] = { 'j', 'a', '_', 'J', 'P', '.', 'S', 'h', 'i', 'f',
|
||||
't', '_', 'J', 'I', 'S', '\0' };
|
||||
Char STRLANGBIG5[] = { 'z', 'h', '_', 'T', 'W', '.', 'B', 'i', 'g', '5',
|
||||
'\0' };
|
||||
# elif defined(__uxpm__)
|
||||
Char STRLANGEUCJP[] = { 'j', 'a', 'p', 'a', 'n', '\0' };
|
||||
Char STRLANGEUCKR[] = { 'k', 'o', 'r', 'e', 'a', '\0' };
|
||||
Char STRLANGEUCZH[] = { '\0' };
|
||||
Char STRLANGEUCJPB[] = { '\0' };
|
||||
Char STRLANGEUCKRB[] = { '\0' };
|
||||
Char STRLANGEUCZHB[] = { '\0' };
|
||||
Char STRLANGSJIS[] = { '\0' };
|
||||
Char STRLANGSJISB[] = { '\0' };
|
||||
Char STRLANGBIG5[] = { '\0' };
|
||||
# elif defined(SOLARIS2)
|
||||
Char STRLANGEUCJP[] = { 'j', 'a', '\0' };
|
||||
Char STRLANGEUCKR[] = { 'k', 'o', '\0' };
|
||||
Char STRLANGEUCZH[] = { '\0' };
|
||||
Char STRLANGEUCJPB[] = { 'j', 'a', 'p', 'a', 'n', 'e', 's', 'e', '\0' };
|
||||
Char STRLANGEUCKRB[] = { 'k', 'o', 'r', 'e', 'a', 'n', '\0' };
|
||||
Char STRLANGEUCZHB[] = { '\0' };
|
||||
Char STRLANGSJIS[] = { '\0' };
|
||||
Char STRLANGSJISB[] = { '\0' };
|
||||
Char STRLANGBIG5[] = { '\0' };
|
||||
# elif defined(hpux)
|
||||
Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'e', 'u', 'c', 'J', 'P' };
|
||||
Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'e', 'u', 'c', 'K', 'R' };
|
||||
Char STRLANGEUCZH[] = { '\0' };
|
||||
Char STRLANGEUCJPB[] = { '\0' };
|
||||
Char STRLANGEUCKRB[] = { '\0' };
|
||||
Char STRLANGEUCZHB[] = { '\0' };
|
||||
Char STRLANGSJIS[] = { '\0' };
|
||||
Char STRLANGSJISB[] = { '\0' };
|
||||
Char STRLANGBIG5[] = { '\0' };
|
||||
# else
|
||||
Char STRLANGEUCJP[] = { '\0' };
|
||||
Char STRLANGEUCKR[] = { '\0' };
|
||||
Char STRLANGEUCZH[] = { '\0' };
|
||||
Char STRLANGEUCJPB[] = { '\0' };
|
||||
Char STRLANGEUCKRB[] = { '\0' };
|
||||
Char STRLANGEUCZHB[] = { '\0' };
|
||||
Char STRLANGSJIS[] = { '\0' };
|
||||
Char STRLANGSJISB[] = { '\0' };
|
||||
Char STRLANGBIG5[] = { '\0' };
|
||||
|
Loading…
Reference in New Issue
Block a user