PDA

View Full Version : environment script: XMODIFIERS



techgtf
10-10-2003, 11:52 PM
I was checking out the environment variables on my system (Knoppix 3.2 hdinstall), and it ends with the variable XMODIFIERS and the value for that is a long script (must be over a thousand lines, since it can't all fit in Konsole without using less at my current line limit) that starts like this:


ofl.ini
_alias ()
{
local cur;
COMPREPLY=();
cur=${COMP_WORDS[$COMP_CWORD]};
case "$COMP_LINE" in
*[^=])
COMPREPLY=($( compgen -A alias -S '=' -- $cur ))
;;

I haven't seen anything like this script as an environ variable in any other distro I've used, and I don't know enough about scripting to figure it out. Does anyone recognize this or know what it's for?

Thanks in advance.
Greg