PNG  IHDR* pHYs+ IDATx]n#; cdLb Ǚ[at¤_:uP}>!Usă cag޿ ֵNu`ݼTâabO7uL&y^wFٝA"l[|ŲHLN밪4*sG3|Dv}?+y߉{OuOAt4Jj.u]Gz*҉sP'VQKbA1u\`& Af;HWj hsO;ogTu uj7S3/QzUr&wS`M$X_L7r2;aE+ώ%vikDA:dR+%KzƉo>eOth$z%: :{WwaQ:wz%4foɹE[9<]#ERINƻv溂E%P1i01 |Jvҗ&{b?9g=^wζXn/lK::90KwrюO\!ջ3uzuGv^;騢wq<Iatv09:tt~hEG`v;3@MNZD.1]L:{ծI3`L(÷ba")Y.iljCɄae#I"1 `3*Bdz>j<fU40⨬%O$3cGt]j%Fߠ_twJ;ABU8vP3uEԑwQ V:h%))LfraqX-ۿX]v-\9I gl8tzX ]ecm)-cgʒ#Uw=Wlێn(0hPP/ӨtQ“&J35 $=]r1{tLuǮ*i0_;NƝ8;-vݏr8+U-kruȕYr0RnC]*ެ(M:]gE;{]tg(#ZJ9y>utRDRMdr9㪩̞zֹb<ģ&wzJM"iI( .ꮅX)Qw:9,i좜\Ԛi7&N0:asϓc];=ΗOӣ APqz93 y $)A*kVHZwBƺnWNaby>XMN*45~ղM6Nvm;A=jֲ.~1}(9`KJ/V F9[=`~[;sRuk]rєT!)iQO)Y$V ی ۤmzWz5IM Zb )ˆC`6 rRa}qNmUfDsWuˤV{ Pݝ'=Kֳbg,UҘVz2ﴻnjNgBb{? ߮tcsͻQuxVCIY۠:(V뺕 ٥2;t`@Fo{Z9`;]wMzU~%UA蛚dI vGq\r82iu +St`cR.6U/M9IENDB` REDROOM
PHP 5.6.40
Preview: lang.csh Size: 2.43 KB
//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

Directory Contents

Dirs: 0 × Files: 35

Name Size Perms Modified Actions
69 B lrw-r--r-- 2025-04-06 18:11:46
Edit Download
3.99 KB lrwxr-xr-x 2026-01-31 08:38:25
Edit Download
196 B lrw-r--r-- 2018-08-12 07:47:56
Edit Download
201 B lrw-r--r-- 2018-08-12 07:47:56
Edit Download
1.70 KB lrw-r--r-- 2025-12-18 13:41:15
Edit Download
1.57 KB lrw-r--r-- 2025-12-18 13:41:15
Edit Download
69 B lrw-r--r-- 2024-07-03 09:37:09
Edit Download
56 B lrw-r--r-- 2024-07-03 09:37:09
Edit Download
162 B lrw-r--r-- 2022-06-14 12:58:42
Edit Download
183 B lrw-r--r-- 2022-06-14 12:58:42
Edit Download
216 B lrw-r--r-- 2022-04-20 11:03:05
Edit Download
220 B lrw-r--r-- 2022-04-20 11:03:05
Edit Download
513 B lrw-r--r-- 2025-04-06 18:11:29
Edit Download
80 B lrw-r--r-- 2023-04-01 20:15:38
Edit Download
674 B lrw-r--r-- 2025-08-25 12:55:47
Edit Download
596 B lrw-r--r-- 2025-08-25 12:55:47
Edit Download
1.08 KB lrw-r--r-- 2017-12-14 17:53:45
Edit Download
757 B lrw-r--r-- 2017-12-14 17:53:45
Edit Download
2.43 KB lrw-r--r-- 2023-04-01 20:15:37
Edit Download
2.26 KB lrw-r--r-- 2023-04-01 20:15:37
Edit Download
500 B lrw-r--r-- 2024-07-02 19:57:10
Edit Download
253 B lrw-r--r-- 2024-07-02 19:57:10
Edit Download
590 B lrwxr-xr-x 2026-01-30 23:04:22
Edit Download
788 B lrwxr-xr-x 2026-01-30 23:04:21
Edit Download
240 B lrwxr-xr-x 2025-04-06 18:12:29
Edit Download
288 B lrwxr-xr-x 2025-04-06 18:12:29
Edit Download
105 B lrw-r--r-- 2023-10-14 18:46:13
Edit Download
448 B lrw-r--r-- 2023-10-14 18:46:13
Edit Download
284 B lrw-r--r-- 2017-08-25 08:23:02
Edit Download
637 B lrw-r--r-- 2017-08-25 08:23:02
Edit Download
81 B lrw-r--r-- 2023-04-01 20:15:38
Edit Download
106 B lrw-r--r-- 2025-10-12 00:23:13
Edit Download
248 B lrw-r--r-- 2025-10-12 00:23:13
Edit Download
120 B lrw-r--r-- 2025-08-26 08:51:59
Edit Download
628 B lrw-r--r-- 2025-08-26 08:51:59
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 REDROOM — Secure File Manager. All rights reserved. Built with ❤️ & Red Dark UI