Hello, does anyone understand environment variables? I conpiled a program that transliterates character sets, and I don't understand the following instructions. I did make all These are the rest of the instructions.
After that, please change your working directory to the "./trans120/bin" directory. There you will find files called "*" for U*IX and "*.bat" for MS-DOS. This package is being maintained under Linux but has originally been developed under MS-DOS. OK. I have these.
Please set an enviroment variable TRANS that points to the directory where all the program sources reside *including* the trailing directory separator character (e. g. TRANS="/usr/local/lib/trans/") which could be a link to the actual directory. What is TRANS? And what is this TRANS="usr/local/lib/trans" ? There is no /usr/local/lib/trans directory. And I've never linked a directory.
It makes life much easier and you can create your programmes and tables completely independend from the source tree. That lost me.
All Character Encoding Description Files have to reside in the cedf subdir. If you don't set a variable TRANS "/usr/local/lib/trans" will be assumed (see file "tab.h", DIR_TRANS). Where do I set environment variables? I did the 'env' command. The manual has little about this.
To test the translator generator, type
cd "$TRANS"bin one There is a file 'one' and a file 'one.bat'. Typed 'one'. Did nothing.
Thanks George -- My personal website http://www.firstnethou.com/gz/welcome.htm -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/