summaryrefslogtreecommitdiff
path: root/Hurd
diff options
context:
space:
mode:
authorOgnyan Kulev <ogi@fmi.uni-sofia.bg>2003-05-30 14:40:00 +0000
committerOgnyan Kulev <ogi@fmi.uni-sofia.bg>2003-05-30 14:40:00 +0000
commitfc3182b029e29742047ab75a56ad0ea739a468cc (patch)
tree834c528c66225a164617c01561f916e7619bbf00 /Hurd
parent0d90564ae703a3e923c272dac4465e94509cd483 (diff)
none
Diffstat (limited to 'Hurd')
-rw-r--r--Hurd/HurdConsole.mdwn34
1 files changed, 14 insertions, 20 deletions
diff --git a/Hurd/HurdConsole.mdwn b/Hurd/HurdConsole.mdwn
index 60ecf4bf..e3c62eae 100644
--- a/Hurd/HurdConsole.mdwn
+++ b/Hurd/HurdConsole.mdwn
@@ -2,6 +2,10 @@ The below is a reworked version of Marcus Brinkmanns' [letter to the debian-hurd
-- [[Main/JoachimNilsson]] - 21 Jan 2003
+## <a name="Table_of_Contents"> Table of Contents </a>
+
+%TOC%
+
## <a name="What_is_the_new_console_"> What is the new console? </a>
**_The new Hurd console features:_**
@@ -65,11 +69,7 @@ First, make some device files:
The above six ttys are only suggestions. You might want to give or take a few, depending on your needs.
-You need the terminal description. This is not yet in the ncurses package, because I am not finished yet. But you can download it from
-
-[http://savannah.gnu.org/cgi-bin/viewcvs/\*checkout\*/hurd/hurd/console/hurd.ti](http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/hurd/hurd/console/hurd.ti)
-
-Please add it with
+You need the terminal description. This is not yet in the ncurses package, because I am not finished yet. But you can download [hurd.ti from CVS](http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/hurd/hurd/console/hurd.ti). Please add it with
# tic -x hurd.ti
@@ -115,13 +115,9 @@ This is because by default, the vga driver just reads the VGA card memory and ta
But you want it all. You want to read Middle Old English. You want to read Thai. Your Korean spam. Georgian script. Hebrew. And you can have it.
-You need a Unicode font. There are good ones providd by Markus Kuhn, the UCS fonts. Get them here:
+You need a Unicode font. There are good ones provided by Markus Kuhn, [the UCS fonts](http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz). See also \[[http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html]\[the web page].
-<http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz>
-
-See also the web page at <http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html>
-
-Now, load the font by providing it with the #--font# option to the vga driver. I suggest only the 8x13 and the 9x15 fonts, but feel free to try others, too. Note that the VGA text mode can not really display 9 pixel wide characters. But as most characters have the ninth column empty, and the VGA text mode can display an empty column between two adjacant character cells, this trick allows us to display most of the 9x15 font correctly. So you won't notice a difference until you come to very broad characters or special symbols, where you will see that the last column is cut off. (BTW, I wrote the dynafont code carefully to still support horizontal line graphic characters properly in 9 pixel wide fonts. This is done by exploiting some special modes in the VGA hardware. This is why in 512 (256) glyph mode and 9 pixel wide fonts, you are limited to 448 (224) normal characters: 64 (32) slots are reserved for the horizontal line graphic characters so they are drawn continuously.)
+Now, load the font by providing it with the `--font` option to the vga driver. I suggest only the 8x13 and the 9x15 fonts, but feel free to try others, too. Note that the VGA text mode can not really display 9 pixel wide characters. But as most characters have the ninth column empty, and the VGA text mode can display an empty column between two adjacant character cells, this trick allows us to display most of the 9x15 font correctly. So you won't notice a difference until you come to very broad characters or special symbols, where you will see that the last column is cut off. (BTW, I wrote the dynafont code carefully to still support horizontal line graphic characters properly in 9 pixel wide fonts. This is done by exploiting some special modes in the VGA hardware. This is why in 512 (256) glyph mode and 9 pixel wide fonts, you are limited to 448 (224) normal characters: 64 (32) slots are reserved for the horizontal line graphic characters so they are drawn continuously.)
So, try the following:
@@ -153,7 +149,7 @@ There are a few more steps necessary to make your Unicode environment ready:
Install the locales package. The current version does want a newer glibc than we have in the archive, but this can be overridden with the `--force-depends` option to dpkg. The old glibc is good enough.
-Add a Unicode locale to /etc/locale.gen, and generate the locale information for that! For example, I am living in Germany, and normally use `de_DE` with the encoding ISO8859-1. My Unicode locale is `de_DE.UTF-8`, so I am adding that to `/etc/locale.gen`:
+Add a Unicode locale to `/etc/locale.gen`, and generate the locale information for that! For example, I am living in Germany, and normally use `de_DE` with the encoding ISO8859-1. My Unicode locale is `de_DE.UTF-8`, so I am adding that to `/etc/locale.gen`:
de_DE.UTF-8 UTF-8
@@ -161,7 +157,7 @@ and rerun locale-gen:
# locale-gen
-See also /share/i18n/SUPPORTED. You can also do this more conveniently with
+See also `/share/i18n/SUPPORTED`. You can also do this more conveniently with
# dpkg-reconfigure locales
@@ -171,7 +167,7 @@ Once you generated this, make it your default locale:
If you have also loaded the unicode font above, you are set up. Try for example to view the examples/ files in the ucs-fonts package with less.
-# less fonts/examples/UTF\_8-demo.txt
+ # less fonts/examples/UTF_8-demo.txt
You should see most of that file with the 9x15 font (a bit less with the 8x13 font).
@@ -181,7 +177,7 @@ You should be able to do the above process with other encodings than UTF-8. But
If you enter unicode characters at the shell, libreadline loses track of the number of characters displayed (it is not aware of multi-byte encodings like UTF-8). This is fixed in readline 4.3 (which is not yet in Debian).
-If you use mutt, install mutt-utf8. For lynx, edit `/etc/lynx.cfg`, making sure that CHARACTER\_SET is set to utf-8.
+If you use mutt, install `mutt-utf8` package. For lynx, edit `/etc/lynx.cfg`, making sure that `CHARACTER_SET` is set to `utf-8`.
If you use other applications, try to search with google for "application-name utf8" or "application-name unicode". Often you find what you need. The issues are the same for the GNU/Hurd and GNU/Linux systems, so most of the information can be shared, except how to setup the system console to support Unicode, of course.
@@ -197,9 +193,7 @@ Combining characters are not supported.
Copy &amp; Paste not supported.
-**vga driver:** Does not have configuration option for
-
-1. glyphs/16colors mode. Does not recalculate the mode lines if the font height is changed. This makes font heights below 13 or over 16 infeasible.
+**vga driver:** Does not have configuration option for 256glyphs/16colors mode. Does not recalculate the mode lines if the font height is changed. This makes font heights below 13 or over 16 infeasible.
Should support other text modes (integrate svgatextmode?)
@@ -215,8 +209,8 @@ Should support other text modes (integrate svgatextmode?)
----
-Here's a June 2002 [status report](http://mail.gnu.org/pipermail/bug-hurd/2002-June/009437.html)
+Here's a June 2002 [status report](http://mail.gnu.org/archive/html/bug-hurd/2002-06/msg00549.html)
-In September 2002 there was a [request for testers](http://mail.gnu.org/pipermail/bug-hurd/2002-September/010459.html). There's been quite a bit of discussion on <bug-hurd@gnuNOSPAM.org> about updates, test results and changes.
+In September 2002 there was a [request for testers](http://mail.gnu.org/archive/html/bug-hurd/2002-09/msg00121.html). There's been quite a bit of discussion on <bug-hurd@gnuNOSPAM.org> about updates, test results and changes.
-- [[Main/GrantBow]] - 22 Oct 2002