Hey byteshaman, I was a bit busy lately, but here I am again
1— More than one “lang=”: no. This will probably just apply the last one. As I said, the locale you choose is actually just your preference, and you can only have one. Several locales are available on your computer, though, and you can change your preference on a per-application basis, with a command-line like:
env LANG=en_US.utf8 geany
2—
SomeApp-
locale.tcz: When you see such a package, as you saw for Geany, this package is mandatory for this program to have its interface (menus, dialogs…) in languages other than the native language of this program (usually English). This package usually is of no consequence for the
features of the program; for example, Geany is always able to show and edit Japanese texts, wether its menus are in Japanese, or in English (provided the system is configured properlyh UTF-8, fonts…).
3— Bon Echo… From what I see on the Internet, this seems to be a rather old and unmaintained experimental browser, probably to prepare what has become Firefox 4 and later. You may want to change your browser.
4— Terminal, console, and so on… I’ll try to explain, and write as few mistakes as possible
In the old days there was the console (that’s software), runing in a terminal (that’s hardware): the console received user input, gave it to the running program, and returned this program’s output. The console was usually connected to some powerful server.
Here’s a famous example of a terminal:
http://en.wikipedia.org/wiki/VT100Instead of booting directly to a target program running in the console, the user was welcomed (in the console) by a command-line interface called “sh”, with the added benefit of:
— having the opportunity to set some environment variables and settings before launching any program,
— being able to launch several programs in a row, or chain them with pipes,
— remembering previous commands through history,
— and so on.
Then X11 arrived (that was more than 25 years ago), with its own handling of characters, and no access to the console, although a Console program for X11 was usually available to see the output from programs running in background on the system.
Terminal emulators were created to bring back the power of the shell to X11. sh was programmed to interact with a terminal (sending specific codes, and expecting specific results). That’s why terminal emulators were written: existing command-line programs (such as sh) continued to run as they did before, thinking they were running in a terminal but actually running in an emulated terminal.
Here’s a page that sheds some light on the complexity of shell/terminal(emulator) interaction:
http://www.ibb.net/~anne/keyboard.htmlNow you have to know that several families of terminals existed, some monochrome (black and white, or black and green…), some with 16 colors, some with 256 colors, and slight differences in other areas. Each set of features needed its set of code sequences to trigger them. Thus terminal emulators are not created equal: for example, XTerm “
provides DEC VT102 and Tektronix 4014 compatible terminals for programs that can't use the window system directly. This version implements ISO/ANSI colors using the "new" color model (i.e., background color erase). It also implements most of the control sequences for VT220, as well as selected features from other DEC terminals such as VT320, VT420 and VT520.”. Other terminal emulators may have slightly different features. Apart from that, some terminal emulators can only handle 8bit characters (ISO-8859-*, ASCII…), and some can also do UTF-8.
More over, shells evolved too. Features were added, forks were done, features converged too )most notably between ksh and bash)… There is sh, then csh, then bash and tcsh, and ksh too, and don’t forget zsh. And ash, and… so on. bash is the standard on Linux.
Each shell has its own language for history management, jobs management, commands combinations, and so on.
5— UTF-8 and Windows: Beware! Windows programs have a tendency to put a totally useless thing called “BOM” (byte-order-mark) at the start of UTF-8 files, which may appear strangely when shown in other operating systems.
6— ~# bash and nothing happened: Either you don’t have bash installed (but then it should say “command not found”), or it
did work and you simply had bash running inside the parent shell, just like any other program
Type “exit” to get back to the parent shell.
7— bash /mnt/flashdrive/jp.txt: Your text file is not a shell script. You cannot ask bash to interpret it.
8— Differences between distributions: indeed… Each distribution chooses what it thinks is the best of Unix and starts from there: BSD style, Init V5, and so on. Then each chooses its way of managing packages. RPM and DEB are the most popular formats, but alternatives exist (in Slackware, TinyCore, Arch…), or just plain compiling from sources. There are too many things that can differ to list. Each choice in a distribution stems from a goal in this distribution; for example, TinyCore wants to be small. Choice is good
I hope this helps. ’later!