1 # meta.bash --- meta key frobnications
2 # Author: Noah Friedman <friedman@prep.ai.mit.edu>
4 # Last modified: 1993-01-26
11 # Usage: meta [on|off]
13 # An argument of "on" will make bash use the 8th bit of any input from
14 # a terminal as a "meta" bit, i.e bash will be able to use a real meta
17 # An argument of "off" causes bash to disregard the 8th bit, which is
18 # assumed to be used for parity instead.
24 on
) bind 'set input-meta On'
25 bind 'set output-meta on'
26 bind 'set convert-meta off' ;;
27 off
) bind 'set input-meta Off'
28 bind 'set output-meta off'
29 bind 'set convert-meta on' ;;
30 *) echo "Usage: meta [on|off]" 1>&2 ; return 1 ;;