Let us assume the program name = foo. In the cases of --format='other text files' or --format='other binary files', kpse first tries to find a variable FOOINPUTS. If the variable is defined, kpse searches for files according to the variable FOOINPUTS. If it is not defined, kpse searches for files under the directory $TEXMF/foo. Best regards, Akira