Re: language chooser clarity report

2002-03-04 Thread Mikhail Sobolev

I just do not quite remember.  I believe, the problem (from UI point of view)
was that the menu itself contained just a single word for every language, while
the status bar has all the information.  So the idea, if I remember correctly,
was to get rid of this "simple" menu in favour of something more instructive.

--
Misha

On Mon, Mar 04, 2002 at 10:58:48AM +, Phil Blundell wrote:
> On Fri, 2002-03-01 at 12:10, Mikhail Sobolev wrote:
> > Originally, this message was shown at the bottom (in status line), so "choosing"
> > over here means "you choose appropriate item in the menu".
> 
> Out of interest, why did this get changed?  Displaying just the language
> name in the menu, with the more verbose stuff in the status line, sounds
> like a better arrangement all round.
> 
> p.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language chooser clarity report

2002-03-04 Thread Phil Blundell

On Fri, 2002-03-01 at 12:10, Mikhail Sobolev wrote:
> Originally, this message was shown at the bottom (in status line), so "choosing"
> over here means "you choose appropriate item in the menu".

Out of interest, why did this get changed?  Displaying just the language
name in the menu, with the more verbose stuff in the status line, sounds
like a better arrangement all round.

p.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language chooser clarity report

2002-03-02 Thread Matt Kraai

On Fri, Mar 01, 2002 at 11:34:07PM -0500, Colin Walters wrote:
> On Fri, 2002-03-01 at 19:11, Junichi Uekawa wrote:
> > en - Proceed installation in English
>   ^ with
> 
> "Continue" might be slightly better than "Proceed", too.

`continue' appears in prompts much more often than `proceed', so
I'd prefer it too.  Also, do we really need to include the
language code?

My latest suggestion:

 Continue in English.

Matt



msg16400/pgp0.pgp
Description: PGP signature


Re: language chooser clarity report

2002-03-01 Thread Colin Walters

On Fri, 2002-03-01 at 19:11, Junichi Uekawa wrote:
> en - Proceed installation in English
  ^ with

"Continue" might be slightly better than "Proceed", too.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language chooser clarity report

2002-03-01 Thread Matt Kraai

On Sat, Mar 02, 2002 at 09:11:34AM +0900, Junichi Uekawa wrote:
> Marcin Owsiany <[EMAIL PROTECTED]> cum veritate scripsit:
> > On Fri, Mar 01, 2002 at 07:52:33AM -0800, Matt Kraai wrote:
> > > > -en - You have chosen English.  Press Enter to proceed
> > > > +en - Press Enter here to proceed in English.
> > >  en - Select this item and press Enter to proceed in English.
> > 
> > How about just making it:
> > 
> > en - English
> > de - Deutsch
> > pl - Polski
> > ..etc
> 
> That's a bit terse, but making it :
> 
> en - Proceed installation in English
> 
> will be better. I am not quite sure what kind of people will
> install Debian, but we probably are assuming that they know they 
> need to hit enter to select an item.

This isn't grammatical.  It should either be

 en - Proceed with the installation in English.

or (my favorite)

 en - Proceed in English.

(what else would they be proceeding with?).

Matt


msg16388/pgp0.pgp
Description: PGP signature


Re: language chooser clarity report

2002-03-01 Thread Junichi Uekawa

Marcin Owsiany <[EMAIL PROTECTED]> cum veritate scripsit:

> On Fri, Mar 01, 2002 at 07:52:33AM -0800, Matt Kraai wrote:
> > > -en - You have chosen English.  Press Enter to proceed
> > > +en - Press Enter here to proceed in English.
> >  en - Select this item and press Enter to proceed in English.
> 
> How about just making it:
> 
> en - English
> de - Deutsch
> pl - Polski
> ..etc

That's a bit terse, but making it :

en - Proceed installation in English

will be better. I am not quite sure what kind of people will
install Debian, but we probably are assuming that they know they 
need to hit enter to select an item.



regards,
junichi

-- 
[EMAIL PROTECTED] : Junichi Uekawa   http://www.netfort.gr.jp/~dancer
GPG Fingerprint : 17D6 120E 4455 1832 9423  7447 3059 BF92 CD37 56F4


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language chooser clarity report

2002-03-01 Thread Marcin Owsiany

On Fri, Mar 01, 2002 at 07:52:33AM -0800, Matt Kraai wrote:
> > -en - You have chosen English.  Press Enter to proceed
> > +en - Press Enter here to proceed in English.
>  en - Select this item and press Enter to proceed in English.

How about just making it:

en - English
de - Deutsch
pl - Polski
..etc

Wouldn't it be obvious enough?

Marcin
-- 
Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language chooser clarity report

2002-03-01 Thread Matt Kraai

On Thu, Feb 28, 2002 at 11:19:54PM -0800, David Kimdon wrote:
> Maybe this will clear it up:
> 
> Index: english.src
> ===
> RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/langs/english.src,v
> retrieving revision 1.8
> diff -u -r1.8 english.src
> --- english.src   2002/02/28 15:49:25 1.8
> +++ english.src   2002/03/01 07:20:28
> @@ -1,6 +1,6 @@
>  acm="iso01">
>  English
> -en - You have chosen English.  Press Enter to proceed
> +en - Press Enter here to proceed in English.
>  
>  Choose Language Variant
> 
> Admittedly the old way it says 'you have chosen English' even if you
> haven't.
> 
> Seconds?

Your version is better, but still sounds odd.  It seems to
instruct the user to press the word Enter on the screen.  How
about the following instead?

 en - Select this item and press Enter to proceed in English.

Matt



msg16349/pgp0.pgp
Description: PGP signature


Re: language chooser clarity report

2002-03-01 Thread Mikhail Sobolev

On Fri, Mar 01, 2002 at 07:20:30PM +0900, Junichi Uekawa wrote:
> On Thu, 28 Feb 2002 23:19:54 -0800
> David Kimdon <[EMAIL PROTECTED]> wrote:
> 
> >  English
> > -en - You have chosen English.  Press Enter to proceed
> > +en - Press Enter here to proceed in English.
> >  
> >  Choose Language Variant
> > 
> > Admittedly the old way it says 'you have chosen English' even if you
> > haven't.
> > 
> > Seconds?
> 
> Yes, that sounds like a better way.
> 
> Saying "you have selected..." before being selected sounds wrong.
Originally, this message was shown at the bottom (in status line), so "choosing"
over here means "you choose appropriate item in the menu".

--
Misha


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language chooser clarity report

2002-03-01 Thread Eduard Bloch

#include 
David Kimdon wrote on Thu Feb 28, 2002 um 11:19:54PM:
>  English
> -en - You have chosen English.  Press Enter to proceed
> +en - Press Enter here to proceed in English.
>  

Sounds much better.

Gruss/Regards,
Eduard.
-- 
Failure is not an option. It comes bundled with your Microsoft product.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language chooser clarity report

2002-03-01 Thread Junichi Uekawa

On Thu, 28 Feb 2002 23:19:54 -0800
David Kimdon <[EMAIL PROTECTED]> wrote:

>  English
> -en - You have chosen English.  Press Enter to proceed
> +en - Press Enter here to proceed in English.
>  
>  Choose Language Variant
> 
> Admittedly the old way it says 'you have chosen English' even if you
> haven't.
> 
> Seconds?

Yes, that sounds like a better way.

Saying "you have selected..." before being selected sounds wrong.

regards,
junichi


-- 
[EMAIL PROTECTED]  http://www.netfort.gr.jp/~dancer




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language chooser clarity report

2002-03-01 Thread Phil Blundell

Agreed, your patch looks good to me.  Reading the original poster's
message again, though, I think he might actually be complaining about
the debconf screen you get when configuring the "locales" package,
rather than the LC itself.

p.

On Fri, 2002-03-01 at 07:19, David Kimdon wrote:
> Maybe this will clear it up:
> 
> Index: english.src
> ===
> RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/langs/english.src,v
> retrieving revision 1.8
> diff -u -r1.8 english.src
> --- english.src   2002/02/28 15:49:25 1.8
> +++ english.src   2002/03/01 07:20:28
> @@ -1,6 +1,6 @@
>  acm="iso01">
>  English
> -en - You have chosen English.  Press Enter to proceed
> +en - Press Enter here to proceed in English.
>  
>  Choose Language Variant
> 
> Admittedly the old way it says 'you have chosen English' even if you
> haven't.
> 
> Seconds?
> 
> -David
> 
> 
> Fri, Mar 01, 2002 at 12:48:45AM -0500 wrote:
> > I suppose he is talking about the language chooser. The guy has entered
> > heavy "I'll bitch hard w/o giving any more meaningful information" mode
> > though, so don't bother emailing him. :-) Anyway, if it is lacking some
> > text along the lines of "If you think English is the only language, just
> > hit enter, dummy", perhaps such a thing should be added.
> > 
> > - Forwarded message from Harry Putnam <[EMAIL PROTECTED]> -
> > 
> > 2) There are several screens that are confusing.  In particular the
> >Locales screen gave me pause.  This is an area where even an
> >experienced linux user is not likely to be that comfortable, yet
> >there is no indication that it really doesn't need to be messed
> >with if you don't need foreign (ie not english) language support.
> > 
> > - End forwarded message -
> > 
> > -- 
> > see shy jo
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > 
> > 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language chooser clarity report

2002-02-28 Thread David Kimdon

Maybe this will clear it up:

Index: english.src
===
RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/langs/english.src,v
retrieving revision 1.8
diff -u -r1.8 english.src
--- english.src 2002/02/28 15:49:25 1.8
+++ english.src 2002/03/01 07:20:28
@@ -1,6 +1,6 @@
 
 English
-en - You have chosen English.  Press Enter to proceed
+en - Press Enter here to proceed in English.
 
 Choose Language Variant

Admittedly the old way it says 'you have chosen English' even if you
haven't.

Seconds?

-David


Fri, Mar 01, 2002 at 12:48:45AM -0500 wrote:
> I suppose he is talking about the language chooser. The guy has entered
> heavy "I'll bitch hard w/o giving any more meaningful information" mode
> though, so don't bother emailing him. :-) Anyway, if it is lacking some
> text along the lines of "If you think English is the only language, just
> hit enter, dummy", perhaps such a thing should be added.
> 
> - Forwarded message from Harry Putnam <[EMAIL PROTECTED]> -
> 
> 2) There are several screens that are confusing.  In particular the
>Locales screen gave me pause.  This is an area where even an
>experienced linux user is not likely to be that comfortable, yet
>there is no indication that it really doesn't need to be messed
>with if you don't need foreign (ie not english) language support.
> 
> - End forwarded message -
> 
> -- 
> see shy jo
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language-chooser and keyboard configuration

2001-11-13 Thread Philip Blundell

In message <[EMAIL PROTECTED]>, Adam Di Carlo writes:
>So this bug is fixed in CVS and 3.0.17?  YOu didn't mark it as
>closable in the changelog file though, any reason why not?

The bug mentions some other stuff too; I wasn't sure whether it was all fixed.

p.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language chooser, pserver problems

2001-03-11 Thread David Whedon

Sun, Mar 11, 2001 at 06:46:32PM -0800 wrote:
> Sun, Mar 11, 2001 at 10:47:47PM +0100 wrote:
> > On Sun, Mar 11, 2001 at 12:13:01PM -0800, David Whedon wrote:
> > > Can bf-utf files be removed? Can these fonts be recreated by adding an
> > > appropriate build-depends to boot-floppies?
> > 
> > We can do that provided there is a package containing these fonts.
> I can do this, any idea how these fonts were created?  A binary only font package
> would be silly.
never mind, I guess that is the source, I'll see what I can do about packaging
it.  Anyone want to maintain it?

-David


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language chooser, pserver problems

2001-03-11 Thread David Whedon

Sun, Mar 11, 2001 at 10:47:47PM +0100 wrote:
> On Sun, Mar 11, 2001 at 12:13:01PM -0800, David Whedon wrote:
> > Can bf-utf files be removed? Can these fonts be recreated by adding an
> > appropriate build-depends to boot-floppies?
> 
> We can do that provided there is a package containing these fonts.
I can do this, any idea how these fonts were created?  A binary only font package
would be silly.

> Otherwise - please don't. I'm buying a new computer tommorow and will
> hopefully immediately start working on language chooser :-)
> 
> > Anyone? I've gotten some response from debian-admin about the pserver
> > problem, but so far we have been unable to fix it.
> 
> I've seen someone suggesting raising ulimit for pserver. Has this been done?
>
tried doubling it, that didn't work.  I've tried to get the contents of certain
logs that aren't readable by me to get more clues, but so far no response.  I
think removing them from cvs is the way to go.

David
 
> regards
> 
> Marcin
> -- 
> -
> Marcin Owsiany
> [EMAIL PROTECTED]
> -
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: language chooser, pserver problems

2001-03-11 Thread Marcin Owsiany

On Sun, Mar 11, 2001 at 12:13:01PM -0800, David Whedon wrote:
> Can bf-utf files be removed? Can these fonts be recreated by adding an
> appropriate build-depends to boot-floppies?

We can do that provided there is a package containing these fonts.
Otherwise - please don't. I'm buying a new computer tommorow and will
hopefully immediately start working on language chooser :-)

> Anyone? I've gotten some response from debian-admin about the pserver
> problem, but so far we have been unable to fix it.

I've seen someone suggesting raising ulimit for pserver. Has this been done?

regards

Marcin
-- 
-
Marcin Owsiany
[EMAIL PROTECTED]
-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-12 Thread Michael Sobolev

On Thu, Oct 12, 2000 at 12:40:44AM +0200, Marcin Owsiany wrote:
> Now there's the problem with fonts. The smallest I could find is font.bgf.
> IIRC Takesoshi Sano said this one is mostly OK (as for what characters it
> contains). But it's too big to fit on a floppy. One option seems to be
> font reduction, but the program 'reduce-font' doesn't seem to work for me:
> 
> # ./reduce-font font.bgf < ../allpos.utf
> reduce-font: mbrtowc.c:87: __mbrtowc: Assertion _mbsinit (data.statep)'
> failed.
> Aborted
Hmm...  To begin with, you should use .bdf font.  Then LC_CTYPE should have a
correct value, and the last, libutf8_plug.so should be ld-preloaded.

If it does not work, let me know.  In this case, I'd need the font you are
trying to use. :)

> allpos.utf is a file which i got by catening all 'po' files in UTF - is it
> suitable for 'text'?
It's not sufficient. You should also have a look at utf versions of release_notes
that come to boot disk!

-
Misha


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser - patch

2000-10-12 Thread Michael Sobolev

On Wed, Oct 11, 2000 at 07:32:03PM -0500, Adam Di Carlo wrote:
> The only grotty thing about it, really, is that it required us to have
> bf-utf8 in the same parent dir as the boot-floppies area is, which is
> pretty much the best we can do in a bad situation, IMHO.
That sounds good.  One could check if bf-utf is available in parent directory
and disable LANG_CHOOSER if it is not.

--
Misha


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser - patch

2000-10-11 Thread Adam Di Carlo

On Thu, Oct 12, 2000 at 02:01:16AM +0200, Marcin Owsiany wrote:
> Here is the patch.

Glancing at it, it looks pretty good and should be comitted into the
mainline of the boot-floppies CVS.  It will have no adverse affect if the
LANG_CHOOSER is not being used.

The only grotty thing about it, really, is that it required us to have
bf-utf8 in the same parent dir as the boot-floppies area is, which is
pretty much the best we can do in a bad situation, IMHO.

Aside from the font problems (I wish I had a clue!), the next step is to
build/test and be sure it works.  If that is good, we need to modify the
top-level makefile so that LANG_CHOOSER is enabled by default, *unless*
the kernel in question doesn't support, uh, framebuffer, I think, which
means at least the vanilla and udma66 kernels for i386.  Not sure about
other arches.

-- 
.Adam Di [EMAIL PROTECTED]http://www.onShore.com/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser - patch

2000-10-11 Thread Marcin Owsiany

Here is the patch.
Now we have to agree on how/which font to use, and make the changes to put
all the necessary files on root disk.

regards
Marcin

-- 
++ The reason we come up with new versions
|Marcin Owsiany  | is not to fix bugs. It's the stupidest
|[EMAIL PROTECTED]| reason to buy a new version
++ I ever heard.- Bill Gates


Index: utilities/Makefile
===
RCS file: /cvs/debian-boot/boot-floppies/utilities/Makefile,v
retrieving revision 1.33
diff -u -r1.33 Makefile
--- utilities/Makefile  2000/03/23 04:11:30 1.33
+++ utilities/Makefile  2000/10/11 23:54:32
@@ -9,8 +9,10 @@
   SUBDIRS  += lowmemrd
 endif
 
-# bogl disabled
-# SUBDIRS  += bogl
+ifeq ($(USE_LANGUAGE_CHOOSER),true)
+# bogl enabled
+SUBDIRS+= bogl
+endif
 
 SPLIT_OBJECTS  := floppy_split.o
 
Index: utilities/bogl/Makefile
===
RCS file: /cvs/debian-boot/boot-floppies/utilities/bogl/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- utilities/bogl/Makefile 2000/04/05 21:15:11 1.18
+++ utilities/bogl/Makefile 2000/10/11 23:54:38
@@ -39,7 +39,7 @@
 
 GENERATED = helvB10.c helvB12.c helvR10.c timBI18.c tux75.c
 
-all:depend $(LIB)
+all:depend $(LIB) bterm bdftobogl libutf8_plug.so
 
 $(LIB): $(OBJECTS)
rm -f $(LIB)
@@ -63,11 +63,15 @@
 %.c: %.png pngtobogl
./pngtobogl $< > $@
 
+libutf8_plug.so:
+   $(MAKE) -C ../../../bf-utf/libutf8
+   cp -f ../../../bf-utf/libutf8_plug.so $<
+
 depend: $(SOURCES_DEP)
$(CPP) $(CFLAGS) -M $(SOURCES_DEP) > .depend
 
 clean: 
-   rm -rf bdftobogl pngtobogl *.o $(GENERATED) *-test lang.h tmp.*.c bowl-boxes 
$(LIB)
+   rm -rf libutf8_plug.so bterm bdftobogl pngtobogl *.o $(GENERATED) *-test 
+lang.h tmp.*.c bowl-boxes $(LIB)
 
 distclean: clean
rm -f $(LIB) .depend *~ .nfs*
Index: utilities/bogl/bowl-boxes.c
===
RCS file: /cvs/debian-boot/boot-floppies/utilities/bogl/bowl-boxes.c,v
retrieving revision 1.10
diff -u -r1.10 bowl-boxes.c
--- utilities/bogl/bowl-boxes.c 2000/04/01 10:52:04 1.10
+++ utilities/bogl/bowl-boxes.c 2000/10/11 23:54:40
@@ -317,6 +317,7 @@
   return NULL;
 }
 
+/*
 int
 enterDirBox (const char *title, const char *prompt, const char *dir, char *buf, 
size_t bufsize)
 {
@@ -334,8 +335,8 @@
 
 if (bowl_run ())
 {
-strcpy (buf, s);/* Actually, I must check whether the length of buf 
allows to hold a whole s */
-
+strcpy (buf, s);   */ /* Actually, I must check whether the length of buf 
+allows to hold a whole s */
+/*
 result = DLG_OKAY;
 }
 else
@@ -345,7 +346,7 @@
 
 return result;
 }
-
+*/
 int
 menuBox (const char *text, const char *title,
 struct d_choices *choices, int nchoices, int cancel)
Index: utilities/dbootstrap/Makefile
===
RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/Makefile,v
retrieving revision 1.82
diff -u -r1.82 Makefile
--- utilities/dbootstrap/Makefile   2000/08/28 21:45:33 1.82
+++ utilities/dbootstrap/Makefile   2000/10/11 23:54:42
@@ -157,17 +157,20 @@
 OBJECTS = $(SOURCES:%.c=%.o)
 OBJECTS_G   = $(filter-out boxes.o, $(OBJECTS))
 
-$(PROG) : _LIBS= $(LIBS)
+$(PROG) : $(LIBS)
 $(PROG) : _OBJECTS = $(OBJECTS) $(OBJECTS_2)
-$(PROG) : $(OBJECTS) $(OBJECTS_2) $(_LIBFDISK)
+$(PROG): $(OBJECTS) $(OBJECTS_2) $(_LIBFDISK)
 
 $(PROG_G) : _LIBS= $(LIBS_G)
 $(PROG_G) : _OBJECTS = $(OBJECTS_G)
 $(PROG_G) : $(_LIBBOGL) $(OBJECTS_G) $(_LIBFDISK)
 
 $(PROG) $(PROG_G) :
-   $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(_OBJECTS) $(_LIBS)
+   $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJECTS) $(OBJECTS_2) $(LIBS)
$(STRIP) $@
+ifeq ($(USE_LANGUAGE_CHOOSER),true)
+   $(MAKE) -C po all-utf
+endif
 
 ifeq (${no_pointerize},)
 __SOURCES = ${SOURCES}
@@ -250,6 +253,12 @@
 
 %.test.o %.o : .translated/%.c
$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
+
+$(UTF_LIBS_BASE)/newt/libnewt.a:
+   $(MAKE) -C $(UTF_LIBS_BASE)/newt
+
+$(UTF_LIBS_BASE)/slang/src/objs/libslang.a:
+   $(MAKE) -C $(UTF_LIBS_BASE)/slang
 
 .PHONY : clean
 clean :
Index: utilities/dbootstrap/boxes.c
===
RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/boxes.c,v
retrieving revision 1.46
diff -u -r1.46 boxes.c
--- utilities/dbootstrap/boxes.c2000/09/17 14:04:10 1.46
+++ utilities/dbootstrap/boxes.c2000/10/11 23:54:48
@@ -2,7 +2,13 @@
 #include 
 #include 
 #include 
-#include 
+#ifndef _TESTING_
+# include 
+#endif
+#ifdef _TESTING_
+# define RB_AUTOBOOT 1
+reboot(int blah);
+#endif
 #include 
 #include 
 #include 
Index: utilities/dbootstrap/main.c
===

Re: Language chooser

2000-10-11 Thread Marcin Owsiany

On Wed, Oct 11, 2000 at 01:29:57PM +0400, Michael Sobolev wrote:
> On Wed, Oct 11, 2000 at 12:22:21AM +0200, Marcin Owsiany wrote:
> > So now basically everything is OK.
> Great! :)
> 
> > Adam: (how) should I commit the necessary patches?
> So maybe you could post them here?  Or send them to me privately?

I'll post them.

Now there's the problem with fonts. The smallest I could find is font.bgf.
IIRC Takesoshi Sano said this one is mostly OK (as for what characters it
contains). But it's too big to fit on a floppy. One option seems to be
font reduction, but the program 'reduce-font' doesn't seem to work for me:

# ./reduce-font font.bgf < ../allpos.utf
reduce-font: mbrtowc.c:87: __mbrtowc: Assertion _mbsinit (data.statep)'
failed.
Aborted

allpos.utf is a file which i got by catening all 'po' files in UTF - is it
suitable for 'text'?

Misha, can you enlighten me how it should be used? :-)

regards
Marcin
-- 
++ The reason we come up with new versions
|Marcin Owsiany  | is not to fix bugs. It's the stupidest
|[EMAIL PROTECTED]| reason to buy a new version
++ I ever heard.- Bill Gates


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-11 Thread Adam Di Carlo

Sorry, I missed this message temporarily (my DSL is down and I can't get
in).

Maybe someone can try to him me on #debian-boot (IRC) if they need
anything immediate?

-- 
.Adam Di [EMAIL PROTECTED]http://www.onShore.com/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-11 Thread Michael Sobolev

On Wed, Oct 11, 2000 at 12:22:21AM +0200, Marcin Owsiany wrote:
> So now basically everything is OK.
Great! :)

> Adam: (how) should I commit the necessary patches?
So maybe you could post them here?  Or send them to me privately?

--
Misha


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-10 Thread Marcin Owsiany

On Tue, Oct 10, 2000 at 11:31:25PM +0200, Marcin Owsiany wrote:
> The only thing to get right is the display, namely dbootstrap doesn't fit
> on my screen, and some dialogs are ugly. I think this is because of the
> font I'm using.

It is not :-P
It was caused by langs.o somehow not built with LANGUAGE_CHOOSER=false and
by a Polish dbootstrap message for loading drivers from a provided floppy
being too long.

So now basically everything is OK.

Adam: (how) should I commit the necessary patches?

regards

Marcin


-- 
++ The reason we come up with new versions
|Marcin Owsiany  | is not to fix bugs. It's the stupidest
|[EMAIL PROTECTED]| reason to buy a new version
++ I ever heard.- Bill Gates


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-10 Thread Marcin Owsiany

OK, let's clear up some things (I need more sleep :-P ):

1) in bterm, I don't see the Polish chars I'm typing directly from keyboard,
but that is OK, isn't it? (I've got an ordinary US keyboard)

2) I can see all the characers properly in dbootstrap under bterm now that I
use the trm files from utilities/dbootstrap/po/utf

The only thing to get right is the display, namely dbootstrap doesn't fit on
my screen, and some dialogs are ugly. I think this is because of the font
I'm using. Which font do you use?

Then I'll try making the necassary changes to the version in CVS (should I
create a branch?)

regards

Marcin

-- 
++ The reason we come up with new versions
|Marcin Owsiany  | is not to fix bugs. It's the stupidest
|[EMAIL PROTECTED]| reason to buy a new version
++ I ever heard.- Bill Gates


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-10 Thread Michael Sobolev

On Tue, Oct 10, 2000 at 11:05:57PM +0200, Marcin Owsiany wrote:
> > Last note (before leaving to home :).  What files have you tried to browse?
> > Have you converted them into UTF-8? (Wild guess, but who knows? :)
> 
> Hmm.. I cat-ed some files like 'UTF-8-demo.txt' which was I guess in libutf8
> directory... They looked OK with the font i'm using. Actually I don't know
> where did this font come from exactly. Anyway, if it displays Polish chars i
> enter in bterm from the keyboard as well as runes and greek, it is probably
> OK.
Aha.  I've got a question for you. :)  Does you keyboard layout generate UTF-8
sequences?  If so, it's OK.  If not, then you are trying to do something in a
wrong way.

> But if the dbootstrap's messages are not automatically converted to UTF8
> during build of the .trm files when LANGUAGE_CHOOSER==true, then that's
> probably the problem. I'll check that in a second.
There is a special target (all-utf) that allows to create UTF-8 versions
of messages...

--
Misha


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-10 Thread Marcin Owsiany

On Tue, Oct 10, 2000 at 08:25:27PM +0400, Michael Sobolev wrote:
> On Tue, Oct 10, 2000 at 02:01:12PM +0400, Michael Sobolev wrote:
> > On Tue, Oct 10, 2000 at 11:18:19AM +0200, Marcin Owsiany wrote:
> > > Um.. I don't think so... I compiled dbootstrap with LANGUAGE_CHOOSER=true,
> > > as well as bterm and after setting these all variables ran 
> > > 
> > > ../bogl/bterm -f ../bogl/font.bgf ./dbootstrap
> > This seems to be correct.  Let me check when I am back to home (in about 8
> > hours). :)
> Last note (before leaving to home :).  What files have you tried to browse?
> Have you converted them into UTF-8? (Wild guess, but who knows? :)

Hmm.. I cat-ed some files like 'UTF-8-demo.txt' which was I guess in libutf8
directory... They looked OK with the font i'm using. Actually I don't know
where did this font come from exactly. Anyway, if it displays Polish chars i
enter in bterm from the keyboard as well as runes and greek, it is probably
OK.

But if the dbootstrap's messages are not automatically converted to UTF8
during build of the .trm files when LANGUAGE_CHOOSER==true, then that's
probably the problem. I'll check that in a second.

regards

Marcin
-- 
++ The reason we come up with new versions
|Marcin Owsiany  | is not to fix bugs. It's the stupidest
|[EMAIL PROTECTED]| reason to buy a new version
++ I ever heard.- Bill Gates


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-10 Thread Michael Sobolev

On Tue, Oct 10, 2000 at 08:25:27PM +0400, Michael Sobolev wrote:
> On Tue, Oct 10, 2000 at 02:01:12PM +0400, Michael Sobolev wrote:
> > On Tue, Oct 10, 2000 at 11:18:19AM +0200, Marcin Owsiany wrote:
> > > Um.. I don't think so... I compiled dbootstrap with LANGUAGE_CHOOSER=true,
> > > as well as bterm and after setting these all variables ran 
> > > 
> > > ../bogl/bterm -f ../bogl/font.bgf ./dbootstrap
> > This seems to be correct.  Let me check when I am back to home (in about 8
> > hours). :)
> Last note (before leaving to home :).  What files have you tried to browse?
> Have you converted them into UTF-8? (Wild guess, but who knows? :)

Well, I tried to run the stuff on my computer and It Works (tm). :(

So what I did.  According to README.BOGL-bterm, I downloaded and compiled
libutf8 plug.  Then compiled bterm.  My commands are:

$ export LD_PRELOAD=`pwd`/libutf8/libutf8_plug.so
$ ./bterm -f ucs.bgf -l en_US.UTF-8 /bin/bash

Then, in bterm, I executed

$ less f

where f is a concatenation of release notes (old versions) in all available
languages.  English, French, and Russian seems to be OK.  Japanese looks
unusual, but it's full of those nice symbols. :)

Could you please execute

$ locale

after you start bterm.  And, another try, what fonts do you use?  From bf-utf?

--
Misha


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-10 Thread Michael Sobolev

On Tue, Oct 10, 2000 at 02:01:12PM +0400, Michael Sobolev wrote:
> On Tue, Oct 10, 2000 at 11:18:19AM +0200, Marcin Owsiany wrote:
> > Um.. I don't think so... I compiled dbootstrap with LANGUAGE_CHOOSER=true,
> > as well as bterm and after setting these all variables ran 
> > 
> > ../bogl/bterm -f ../bogl/font.bgf ./dbootstrap
> This seems to be correct.  Let me check when I am back to home (in about 8
> hours). :)
Last note (before leaving to home :).  What files have you tried to browse?
Have you converted them into UTF-8? (Wild guess, but who knows? :)

--
Misha


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-10 Thread Michael Sobolev

On Tue, Oct 10, 2000 at 11:18:19AM +0200, Marcin Owsiany wrote:
> Um.. I don't think so... I compiled dbootstrap with LANGUAGE_CHOOSER=true,
> as well as bterm and after setting these all variables ran 
> 
> ../bogl/bterm -f ../bogl/font.bgf ./dbootstrap
This seems to be correct.  Let me check when I am back to home (in about 8
hours). :)

> Is there a graphical interface somewhere?
Well, you have (had?) an opportunity to link dbootstrap against bogl.  That's
what I mean under `graphical interface'.

--
Misha


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-10 Thread Marcin Owsiany

On Tue, Oct 10, 2000 at 12:23:44PM +0400, Michael Sobolev wrote:
> Marcin,
> 
> I just got an idea! :)  You are trying to use graphical interface, are you not?
> And not just bterm program?

Um.. I don't think so... I compiled dbootstrap with LANGUAGE_CHOOSER=true,
as well as bterm and after setting these all variables ran 

../bogl/bterm -f ../bogl/font.bgf ./dbootstrap

Is there a graphical interface somewhere?

Marcin

-- 
++ The reason we come up with new versions
|Marcin Owsiany  | is not to fix bugs. It's the stupidest
|[EMAIL PROTECTED]| reason to buy a new version
++ I ever heard.- Bill Gates


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-10 Thread Michael Sobolev

Marcin,

I just got an idea! :)  You are trying to use graphical interface, are you not?
And not just bterm program?

--
Misha


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-09 Thread Marcin Owsiany

On Tue, Oct 10, 2000 at 01:12:47AM +0400, Michael Sobolev wrote:
> On Mon, Oct 09, 2000 at 04:28:52PM +0200, Marcin Owsiany wrote:
> > However, on each line only the first ASCII characters are displayed.
> > 
> > Do you get them to display properly?
> I believe, you missed two things

I had read it, and had done both things.

> LC_CTYPE=en_US.UTF-8
> 
> The part before '.' is not important (unless you have messages for this very
> locale), the important part is 'UTF-8'.

I set it to eo.UTF-8, as the README says.

> LD_PRELOAD=libutf8_plug.so

I had done that as well, unless this got outdated (I had a once compiled .so
in bowl directory)

> If my supposition is wrong (you actually read the README file :), then I'd
> need more information to help you get it working.

Just tell me what to do/tell you.

regards

Marcin

-- 
++ The reason we come up with new versions
|Marcin Owsiany  | is not to fix bugs. It's the stupidest
|[EMAIL PROTECTED]| reason to buy a new version
++ I ever heard.- Bill Gates


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language chooser

2000-10-09 Thread Michael Sobolev

On Mon, Oct 09, 2000 at 04:28:52PM +0200, Marcin Owsiany wrote:
> However, on each line only the first ASCII characters are displayed.
> 
> Do you get them to display properly?
I believe, you missed two things (as you did not say that you had read the
README file (the one called utilities/bogl/README.BOGL-bterm :))

LC_CTYPE=en_US.UTF-8

The part before '.' is not important (unless you have messages for this very
locale), the important part is 'UTF-8'.

The second thing is

LD_PRELOAD=libutf8_plug.so

This one is a bit more difficult. :)  You should either get it where README
file points to, or get bf-utf package (where I put it).

If my supposition is wrong (you actually read the README file :), then I'd need
more information to help you get it working.

--
Misha


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language Chooser

2000-08-28 Thread Michael Sobolev

On Mon, Aug 28, 2000 at 11:50:12AM +0100, Enrique Zanardi wrote:
> On Mon, Aug 28, 2000 at 01:07:55PM +0400, Michael Sobolev wrote:
> [...]
> > What's to be done. This information (the chosen language) is not stored
> > anywhere, as result base-config cannot use it.  This and the fact that we do
> > not create any configuration file that would allow to create a correctly
> > localized environment for the user are the major issues to be resolved and
> > implemented.
> 
> Currently dbootstrap creates /etc/environment with LANG=, where
>  is the translation of msgid "C" in the PO file used at compile
> time. (for example, if I use LINGUA=es, the PO file will be es.po that has:
>   msgid "C"
>   msgstr "es_ES"
> so /etc/environment will contain:
>   LANG=es_ES
> )
> 
> Can that be used with the new "language chooser"?
Hmm, yes, it can.  I'll check if it can *easily* be done.

--
Misha


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language Chooser

2000-08-28 Thread Enrique Zanardi

On Mon, Aug 28, 2000 at 01:07:55PM +0400, Michael Sobolev wrote:
[...]
> What's to be done. This information (the chosen language) is not stored
> anywhere, as result base-config cannot use it.  This and the fact that we do
> not create any configuration file that would allow to create a correctly
> localized environment for the user are the major issues to be resolved and
> implemented.

Currently dbootstrap creates /etc/environment with LANG=, where
 is the translation of msgid "C" in the PO file used at compile
time. (for example, if I use LINGUA=es, the PO file will be es.po that has:
  msgid "C"
  msgstr "es_ES"
so /etc/environment will contain:
  LANG=es_ES
)

Can that be used with the new "language chooser"?
 
-- 
Enrique Zanardi [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Language Chooser

2000-08-28 Thread Michael Sobolev

On Sat, Aug 26, 2000 at 09:29:57AM +0200, Martin Schulze wrote:

> who is in charge of the language chooser?  The head of choose_lang.c says
> that it's haggie but he says, it's somebody else.
I'd say that I am in charge of language chooser.  Please be advised that
choose_lang.c has nothing common with language chooser.

> Next question: Why isn't that thing enabled?
because it was not well tested and it's incomplete (see below).

> Next question: How is it supposed to work?
well, there is a program (bterm) that implements an UTF-8 aware terminal.
Second step is to compile dbootstrap with language chooser support (add
USE_LANGUAGE_CHOOSER=true), then you can run something like

bterm -f  /path/to/dbootstrap

It should be working. :)  At least, it works for me (tm).

> Next question: What kind of work needs to be done to get it working?  I've
>been told that there were some problems with UTF8 fonts &c and that
>its development involves deep understnding in utf8, dbootstrap and python?
>Is that true?  If so, why?
Let's start with false statements. :)  It does not need any understanding of
python nor utf-8.  I used python as it seemed to be a good choice for small
tasks.  I used it to create data files needed for language chooser.

What's done: it does permit to choose a language (along with locale name and
keyboard layout) and makes dbootstrap showing all messages in chosen language.

What's to be done. This information (the chosen language) is not stored
anywhere, as result base-config cannot use it.  This and the fact that we do
not create any configuration file that would allow to create a correctly
localized environment for the user are the major issues to be resolved and
implemented.

I also created a program that takes a set of files, a bdf font and creates a
font that allows to display US-ASCII + everything in these files.  While
experimenting (sp?) with release_notes and message files for dbootstrap I found
that the resulting font is not big at all.

Unfortunately, I was short of time this summer, hopefully I will have more now.
Anyway, I am going to work on this.

--
Misha


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]