home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Clickx 115
/
Clickx 115.iso
/
software
/
tools
/
windows
/
tails-i386-0.16.iso
/
live
/
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
|
2012-06-30
|
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