File: dot.bashrc.pl

package info (click to toggle)
language-env 0.64
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,588 kB
  • ctags: 125
  • sloc: perl: 6,243; makefile: 83; tcl: 64; sh: 18
file content (40 lines) | stat: -rw-r--r-- 727 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#   comment -*-coding: iso-8859-13;-*-
Lietuviski nustatymai apvalkalo bash aplinkai
END
Lietuviki nustatymai apvalkalo bash aplinkai
END

print <<"EOF";

	unset LC_ALL
	LANG=${LOCALE}
	LC_CTYPE=${LOCALE}
	export LANG
	export LC_CTYPE

EOF
if ( $LT_ENC eq "ISO8859-13" ) {
    print "\tconsolechars -f LatArCyrHeb-16 -m iso13.acm\n";
    print "\n";
} else {
	print <<'EOF';
	MM_CHARSET=UTF-8
	export MM_CHARSET
	consolechars -f LatArCyrHeb-16
	unicode_start  &> /dev/null
		
	case `tty` in
	/dev/tty[0-9]*|/dev/vc/*)
	    if [ "$PS1" ]; then
	        echo
		echo ----- Naudokite komandas: -----
		echo -e \\t unicode_start
		echo -e \\t unicode_stop
		echo -------------------------------
		echo
	    fi
	    ;;
	esac

EOF
}