NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/40202: Wrong spelling of 'portuguese' on sysinstall
On Tue, Dec 16, 2008 at 10:45 PM, <ari.constancio%gmail.com@localhost> wrote:
>>Number: 40202
>>Category: misc
>>Synopsis: Wrong spelling of 'portuguese' on sysinstall
>>Confidential: no
>>Severity: non-critical
>>Priority: low
>>Responsible: misc-bug-people
>>State: open
>>Class: sw-bug
>>Submitter-Id: net
>>Arrival-Date: Tue Dec 16 22:45:00 +0000 2008
>>Originator: Ari Constancio
>>Release: 5.99.5
>>Organization:
>>Environment:
> NetBSD C26 5.99.5 NetBSD 5.99.5 (GENERIC) #1: Tue Dec 16 18:55:14 WET 2008
> root@C26:/usr/obj/sys/arch/i386/compile/GENERIC i386
>>Description:
> When choosing the keyboard type on sysinst, the spelling of 'portuguese' is
> wrong ('portugese' is seen).
>>How-To-Repeat:
> Run sysinst and check keyboard type
>>Fix:
> Apply the following patch:
>
> Index: wsemul_vt100.c
> ===================================================================
> RCS file: /cvsroot/src/sys/dev/wscons/wsemul_vt100.c,v
> retrieving revision 1.30
> diff -u -r1.30 wsemul_vt100.c
> --- wsemul_vt100.c 16 Nov 2006 01:33:31 -0000 1.30
> +++ wsemul_vt100.c 16 Dec 2008 22:30:29 -0000
> @@ -662,7 +662,7 @@
> int nrc;
>
> switch (c) {
> - case '%': /* probably portugese */
> + case '%': /* probably portuguese */
> newstate = VT100_EMUL_STATE_SCS96_PERCENT;
> break;
> case 'A': /* ISO-latin-1 supplemental */
> @@ -713,7 +713,7 @@
> wsemul_vt100_output_scs96_percent(struct wsemul_vt100_emuldata *edp, u_char
> c)
> {
> switch (c) {
> - case '6': /* portugese */
> + case '6': /* portuguese */
> vt100_setnrc(edp, 8);
> break;
> default:
> Index: wsksymdef.h
> ===================================================================
> RCS file: /cvsroot/src/sys/dev/wscons/wsksymdef.h,v
> retrieving revision 1.61
> diff -u -r1.61 wsksymdef.h
> --- wsksymdef.h 21 May 2008 07:39:24 -0000 1.61
> +++ wsksymdef.h 16 Dec 2008 22:30:29 -0000
> @@ -590,7 +590,7 @@
> action(KB_JP, 0, 0x0800, "jp", , "Japanese") \
> action(KB_NO, 0, 0x0a00, "no", , "Norwegian") \
> action(KB_PL, 0, 0x0d00, "pl", , "Polish") \
> -action(KB_PT, 0, 0x1100, "pt", , "Portugese") \
> +action(KB_PT, 0, 0x1100, "pt", , "Portuguese") \
> action(KB_RU, 0, 0x0e00, "ru", , "Russian") \
> action(KB_ES, 0, 0x0b00, "es", , "Spanish") \
> action(KB_SV, 0, 0x0900, "sv", , "Swedish") \
>
>
A third file is also affected:
Index: wsemul_vt100_chars.c
===================================================================
RCS file: /cvsroot/src/sys/dev/wscons/wsemul_vt100_chars.c,v
retrieving revision 1.11
diff -u -r1.11 wsemul_vt100_chars.c
--- wsemul_vt100_chars.c 11 Dec 2005 12:24:12 -0000 1.11
+++ wsemul_vt100_chars.c 16 Dec 2008 22:44:08 -0000
@@ -124,7 +124,7 @@
/* norwegian /danish */
{{0x0023, 0x0040, 0x00c6, 0x00d8, 0x00c5, 0x005e,
0x005f, 0x0060, 0x00e6, 0x00f8, 0x00e5, 0x007e}},
- /* portugese */
+ /* portuguese */
{{0x0023, 0x0040, 0x00c3, 0x00c7, 0x00d5, 0x005e,
0x005f, 0x0060, 0x00e3, 0x00e7, 0x00f5, 0x007e}},
/* spanish */
Home |
Main Index |
Thread Index |
Old Index