less/less.csh
cvsdist 9bee6086fb auto-import changelog data from less-381-2.src.rpm
Thu Jan 15 2004 Karsten Hopp <karsten@redhat.de> 381-2
- drop iso247 patch, doesn't work
2004-09-09 07:15:31 +00:00

13 lines
393 B
Tcsh
Executable File

# less initialization script (csh)
if ( -x /usr/bin/lesspipe.sh ) then
setenv LESSOPEN "|/usr/bin/lesspipe.sh %s"
endif
if ( $?LANG ) then
if ( `echo $LANG | cut -b 7- | tr -s "[:lower:]" "[:upper:]"` == "EUCJP" ) then
setenv JLESSCHARSET japanese-euc
else if ( `echo $LANG | cut -b 7- | tr -s "[:lower:]" "[:upper:]"` == "EUCKR" ) then
setenv JLESSCHARSET korean
endif
endif