Re: improved console interface

2002-04-27 Thread Ognyan Kulev
Gaute B Strokkenes wrote: > Adding support for a system-internal encoding seems like a pretty > reasonable thing to do. That is, iconv_open("ISO-8859-15", "CONSOLE") > or some such. What about iconv("iso-8859-15", "/dev/pts/0"), suggesting that there is a way to get the charset of pseudo-termin

Re: improved console interface (was: Re: some console code checked in

2002-04-25 Thread Marcus Brinkmann
On Thu, Apr 25, 2002 at 12:16:02PM +0100, Gaute B Strokkenes wrote: > Just barely. The set of supported charsets is not. For instance, > Solaris iconv does not recognise "ISO-8859-1", and > iconv_open("UTF-8", "UTF-8") will fail. > > Adding support for a system-internal encoding seems like a pr

Re: improved console interface (was: Re: some console code checkedin

2002-04-25 Thread Gaute B Strokkenes
On Wed, 24 Apr 2002, [EMAIL PROTECTED] wrote: > On Tue, Apr 23, 2002 at 05:27:57AM -0400, Gaute B Strokkenes wrote: >> Yes. It is up to you to eventually decide whether it is easier to >> keep the extra information together with or separate from the >> character number. I'm just pointing out tha

Re: improved console interface (was: Re: some console code checked in

2002-04-24 Thread Marcus Brinkmann
On Tue, Apr 23, 2002 at 05:27:57AM -0400, Gaute B Strokkenes wrote: > Yes. It is up to you to eventually decide whether it is easier to > keep the extra information together with or separate from the > character number. I'm just pointing out that it is possible. I > suppose it might be easiest

Re: improved console interface (was: Re: some console code checked in

2002-04-23 Thread Marcus Brinkmann
On Tue, Apr 23, 2002 at 02:18:33AM +0200, Marcus Brinkmann wrote: > There are probably more points that I forgot now, Yeah, I have two more. When having character data and attribute data not interleaved, you have an ugly race condition that can lead to an update of the attributes but not the tex

Re: improved console interface (was: Re: some console code checked in

2002-04-23 Thread Marcus Brinkmann
On Tue, Apr 23, 2002 at 01:50:50PM +0200, Wolfgang Jährling wrote: > Marcus Brinkmann <[EMAIL PROTECTED]> wrote: > > 2. Scroll back buffer. It seems to me best to have the scroll back buffer > > maintained in the generic component, so it is retained across detach/attach > > and can be shared by m

Re: improved console interface (was: Re: some console code checked in

2002-04-23 Thread Wolfgang Jährling
Marcus Brinkmann <[EMAIL PROTECTED]> wrote: > 2. Scroll back buffer. It seems to me best to have the scroll back buffer > maintained in the generic component, so it is retained across detach/attach > and can be shared by many display drivers. This requires that it is part of > the mmap'able file

Re: improved console interface (was: Re: some console code checked in

2002-04-23 Thread Marcus Brinkmann
On Tue, Apr 23, 2002 at 05:27:57AM -0400, Gaute B Strokkenes wrote: > Absolutely. See, for instance, > . You will have to wade through > a lot of poorly worded standardese in order to convince yourself of > that, though. Well, I have no problems with doing

Re: improved console interface (was: Re: some console code checkedin

2002-04-23 Thread Gaute B Strokkenes
On Tue, 23 Apr 2002, [EMAIL PROTECTED] wrote: > If you want to design a console/terminal emulator in The Right > Way(tm), then you might want to have a look at the linux-utf8 [sic] > [EMAIL PROTECTED] mailing lists, That should be [EMAIL PROTECTED] and [EMAIL PROTECTED]; that is these are two sep

Re: improved console interface (was: Re: some console code checkedin

2002-04-23 Thread Gaute B Strokkenes
On Tue, 23 Apr 2002, [EMAIL PROTECTED] wrote: > On Mon, Apr 22, 2002 at 11:13:47PM -0400, Gaute B Strokkenes wrote: >> Any Unicode character will fit in 21 bits, so you have plenty of >> bits left over for attributes of various sorts. Furthermore, the >> Unicode standard guarantees that this will

Re: improved console interface (was: Re: some console code checked in

2002-04-22 Thread Marcus Brinkmann
On Mon, Apr 22, 2002 at 11:13:47PM -0400, Gaute B Strokkenes wrote: > Any Unicode character will fit in 21 bits, so you have plenty of bits > left over for attirbutes of various sorts. Furthermore, the Unicode > standard guarantees that this will alwasy be so. Is this also true for UCS-4? Becau

Re: improved console interface (was: Re: some console code checkedin

2002-04-22 Thread Gaute B Strokkenes
On Tue, 23 Apr 2002, [EMAIL PROTECTED] wrote: > On Tue, Apr 23, 2002 at 02:18:33AM +0200, Marcus Brinkmann wrote: >> There are probably more points that I forgot now, > > Oh, yeah, the exact data format of the mmap'able area. > > We need to store the character value and the attributes (bold, col

Re: improved console interface (was: Re: some console code checked in

2002-04-22 Thread Marcus Brinkmann
On Tue, Apr 23, 2002 at 02:18:33AM +0200, Marcus Brinkmann wrote: > There are probably more points that I forgot now, Oh, yeah, the exact data format of the mmap'able area. We need to store the character value and the attributes (bold, color etc). We can settle on some common attributes, and lea

Re: improved console interface (was: Re: some console code checked in

2002-04-22 Thread Marcus Brinkmann
On Tue, Apr 23, 2002 at 02:18:33AM +0200, Marcus Brinkmann wrote: > When seperating separate, dammit. Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] Marcus Brinkmann GNUhttp://www.gnu.org[EMAIL PROTECTED] [EMAIL PROTECTED] http://www