$90 GRAYBYTE WORDPRESS FILE MANAGER $93

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/etc/profile.d/

HOME
Current File : /etc/profile.d//lang.csh
# /etc/profile.d/lang.csh - exports environment variables, and provides fallback
#                          for CJK languages that can't be displayed in console.

if (${?LANG}) then
    set LANG_backup=${LANG}
endif

foreach config (/etc/locale.conf "${HOME}/.i18n")
    if (-f "${config}") then
        # NOTE: We are using eval & sed here to avoid invoking of any commands & functions from those files.
        eval `/usr/bin/sed -r -e 's/^[[:blank:]]*([[:upper:]_]+)=([[:print:][:digit:]\._-]+|"[[:print:][:digit:]\._-]+")/setenv \1 \2;/;t;d' ${config}`
    endif
end

if (${?LANG_backup}) then
    setenv LANG "${LANG_backup}"
endif

unset LANG_backup config

# ----------------------------------------------

# The LC_ALL is not supposed to be set in /etc/locale.conf according to 'man 5 locale.conf'.
# If it is set, then we we expect it is user's explicit override (most likely from ~/.i18n file).
# See 'man 7 locale' for more info about LC_ALL.
if (${?LC_ALL}) then
    if (${LC_ALL} != ${LANG}) then
        setenv LC_ALL
    else
        unsetenv LC_ALL
    endif
endif

# The ${LANG} manipulation is necessary only in virtual terminal (a.k.a. console - /dev/tty*):
set in_console=`/usr/bin/tty | /usr/bin/grep -vc -e '/dev/tty'`

if (${?LANG} && ${?TERM}) then
    if (${TERM} == 'linux' && $in_console == 0) then
        set utf8_used=`echo ${LANG} | /usr/bin/grep -vc -E -i -e '^.+\.utf-?8$'`

        if (${utf8_used} == 0) then
            switch (${LANG})
                case en_IN*:
                    breaksw

                case ja*:
                case ko*:
                case si*:
                case zh*:
                case ar*:
                case fa*:
                case he*:
                case *_IN*:
                    setenv LANG en_US.UTF-8
                    breaksw
            endsw
        else
            switch (${LANG})
                case en_IN*:
                    breaksw
                case ja*:
                case ko*:
                case si*:
                case zh*:
                case ar*:
                case fa*:
                case he*:
                case *_IN*:
                    setenv LANG en_US
                    breaksw
            endsw
        endif

        # NOTE: We are not exporting the ${LANG} here again on purpose.
        #       If user starts GUI session from console manually, then
        #       the previously set LANG should be okay to use.
    endif
endif

unset in_console utf8_used

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
19 Mar 2026 4.15 PM
root / root
0755
bash_timestamps.sh
0.067 KB
30 Aug 2024 10.27 PM
root / root
0644
colorgrep.csh
0.191 KB
12 Aug 2018 2.47 PM
root / root
0644
colorgrep.sh
0.196 KB
12 Aug 2018 2.47 PM
root / root
0644
colorls.csh
1.7 KB
1 Apr 2023 1.22 PM
root / root
0644
colorls.sh
1.568 KB
1 Apr 2023 1.22 PM
root / root
0644
colorsysstat.csh
0.067 KB
3 Jul 2024 4.37 PM
root / root
0644
colorsysstat.sh
0.055 KB
3 Jul 2024 4.37 PM
root / root
0644
colorxzgrep.csh
0.158 KB
14 Jun 2022 7.58 PM
root / root
0644
colorxzgrep.sh
0.179 KB
14 Jun 2022 7.58 PM
root / root
0644
colorzgrep.csh
0.211 KB
20 Apr 2022 6.03 PM
root / root
0644
colorzgrep.sh
0.215 KB
20 Apr 2022 6.03 PM
root / root
0644
cpanel-user-commands.sh
0.501 KB
30 Aug 2024 10.27 PM
root / root
0644
csh.local
0.078 KB
15 May 2023 9.46 PM
root / root
0644
debuginfod.csh
0.658 KB
25 Aug 2025 7.55 PM
root / root
0644
debuginfod.sh
0.582 KB
25 Aug 2025 7.55 PM
root / root
0644
gawk.csh
1.081 KB
15 Dec 2017 12.53 AM
root / root
0644
gawk.sh
0.739 KB
15 Dec 2017 12.53 AM
root / root
0644
lang.csh
2.431 KB
15 May 2023 9.46 PM
root / root
0644
lang.sh
2.258 KB
15 May 2023 9.46 PM
root / root
0644
less.csh
0.488 KB
3 Jul 2024 2.57 AM
root / root
0644
less.sh
0.247 KB
3 Jul 2024 2.57 AM
root / root
0644
locallib.csh
0.234 KB
30 Aug 2024 10.28 PM
root / root
0755
locallib.sh
0.281 KB
30 Aug 2024 10.28 PM
root / root
0755
modules.csh
0.103 KB
15 Oct 2023 1.46 AM
root / root
0644
modules.sh
0.438 KB
15 Oct 2023 1.46 AM
root / root
0644
scl-init.csh
0.277 KB
25 Aug 2017 3.23 PM
root / root
0644
scl-init.sh
0.622 KB
25 Aug 2017 3.23 PM
root / root
0644
sh.local
0.079 KB
15 May 2023 9.46 PM
root / root
0644
vim.csh
0.104 KB
12 Oct 2025 7.23 AM
root / root
0644
vim.sh
0.242 KB
12 Oct 2025 7.23 AM
root / root
0644
which2.csh
0.117 KB
26 Aug 2025 3.51 PM
root / root
0644
which2.sh
0.613 KB
26 Aug 2025 3.51 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF