From: Tejun Heo <tj@kernel.org>
To: Frank Pan <frankpzh@gmail.com>
Cc: Alan Cox <alan@linux.intel.com>,
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>,
Kay Sievers <kay.sievers@vrfy.org>,
Andrew Morton <akpm@linux-foundation.org>,
Greg Kroah-Hartman <gregkh@suse.de>,
Catalin Marinas <catalin.marinas@arm.com>,
Daniel Mack <daniel@caiaq.de>,
Christoph Lameter <cl@linux-foundation.org>,
Jiri Slaby <jirislaby@gmail.com>, Jochen Hein <jochen@jochen.org>,
Johannes Weiner <hannes@cmpxchg.org>,
Dave Airlie <airlied@redhat.com>,
Pekka Enberg <penberg@cs.helsinki.fi>,
Geert Uytterhoeven <geert@linux-m68k.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 0/2] Enlarge the storage of chars in virtual terminal
Date: Thu, 27 May 2010 11:30:32 +0200 [thread overview]
Message-ID: <4BFE3BB8.1030503@kernel.org> (raw)
In-Reply-To: <AANLkTik2MyWWogREK1DpXKeYrutr7skHQB7kzeg6DYvq@mail.gmail.com>
Hello,
On 05/27/2010 10:59 AM, Frank Pan wrote:
> You are right, I've missed a big count of languages.
> Nonetheless, the vt already identified several ranges in the unicode
> space, and made them 2 times wide as ASCII chars.
> My idea depends on this.
Hmmm... I see.
>> And then, if you think about multilingual terminal, output is only one
>> half of the story. You gotta be able to input something too and in
>> many scripts, input handling needs to interact constantly with
>> rendering, which means that the kernel will also need to supply input
>> framework, at which point I start to wonder whether the whole thing is
>> just too complicated.
>
> Agree. Input method is much complex than a data structure expanding.
>
> I don't know about other languages, but I bet the thing goes like:
> one press one or more keys, (choose the char he/she really want to, )?
> and commit an input.
> We need not to implement the whole thing inside kernel, a user space
> app can catch keyboard inputs and push unicode chars into the tty.
> The only change should be done in kernel is reserve a space on screen
> for the potential char choosing, which is really easy to do in any
> console drivers(report a smaller height/width).
I'm not an export on the issue but if I'm not mistaken it gets more
complex than that. It took quite some time to solve the problem
properly even on full desktop envs.
>> What's the use case other than "I just want to use console"?
>
> Many times I type startx is just for checking time of a meeting
> (in a CJK web page, etc).
> Many times I've found emails in mutt with question marks, I must
> open a X and a terminal in X, and mutt in terminal in X.
And other than yourself, how many would such users be? What's your
reason for not using X other than "console looks cooler"? Even if you
have some valid reason to not use X and absolutely have to have
multilingual support, what prevents you from using fb based terminals
like jfbterm which already works with input and all without
introducing any i18n related complexities into kernel? To me, it
seems like low activiy on jfbterm seems to show the low demand for
such feature. So, just use X.
> Is there anything worse?
Sure, there are plenty of worse things. :-)
Thanks.
--
tejun
next prev parent reply other threads:[~2010-05-27 9:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-26 6:55 [PATCH 0/2] Enlarge the storage of chars in virtual terminal Frank Pan
2010-05-26 6:59 ` [PATCH 1/2] " Frank Pan
2010-05-26 7:02 ` [PATCH 2/2] " Frank Pan
2010-05-26 14:11 ` [PATCH 0/2] " Alan Cox
2010-05-27 6:00 ` Frank Pan
2010-05-27 6:52 ` Tejun Heo
2010-05-27 8:59 ` Frank Pan
2010-05-27 9:30 ` Tejun Heo [this message]
2010-05-27 12:53 ` Frank Pan
2010-05-27 10:57 ` Alan Cox
2010-05-27 13:15 ` Frank Pan
2010-05-27 13:41 ` Olivier Galibert
2010-05-27 13:46 ` Frank Pan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BFE3BB8.1030503@kernel.org \
--to=tj@kernel.org \
--cc=airlied@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=alan@linux.intel.com \
--cc=catalin.marinas@arm.com \
--cc=cl@linux-foundation.org \
--cc=daniel@caiaq.de \
--cc=frankpzh@gmail.com \
--cc=geert@linux-m68k.org \
--cc=gregkh@suse.de \
--cc=hannes@cmpxchg.org \
--cc=jirislaby@gmail.com \
--cc=jochen@jochen.org \
--cc=kay.sievers@vrfy.org \
--cc=linux-kernel@vger.kernel.org \
--cc=penberg@cs.helsinki.fi \
--cc=vmlinuz386@yahoo.com.ar \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.