home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2007 September
/
PCWSEP07.iso
/
Software
/
Linux
/
Linux Mint 3.0 Light
/
LinuxMint-3.0-Light.iso
/
casper
/
filesystem.squashfs
/
usr
/
lib
/
libvte9
/
decset
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2007-04-09
|
284 b
|
17 lines
#!/bin/sh
#
# Set or reset DEC private modes. You'll need the XTerm docs.
#
if [ "$#" -eq 0 ] ; then
echo usage: `basename $0` '[ -r | -s ] mode [...]'
exit
fi
char=h
for arg in $@ ; do
case "$arg" in
-r) char=l ;;
-s) char=h ;;
*) echo -n -e '\033[?'${arg}${char}
esac
done