Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #33839

Re: Block editor with Unicode

From Andrew Haley <andrew29@littlepinkcloud.invalid>
Subject Re: Block editor with Unicode
Newsgroups comp.lang.forth
References <m18nf9$3fh$1@newsserver.rrzn.uni-hannover.de> <1p-dnXlQo9GalKXJnZ2dnUU7-cudnZ2d@supernews.com> <m19lfp$hud$1@online.de>
Message-ID <ELadnf4MQopOYKXJnZ2dnUU7-ImdnZ2d@supernews.com> (permalink)
Date 2014-10-11 04:52 -0500

Show all headers | View raw


Bernd Paysan <bernd.paysan@gmx.de> wrote:
> Andrew Haley wrote:
>> The only thing which makes sense IMO is to do the line breaks after 64
>> bytes.  The editor itself only sees bytes, and simply emits them to
>> the terminal, which decodes them to UTF-8.  This will require some
>> clever processing when repositioning the cursor, but that's all.
> 
> The easiest thing to position the cursor is to print everything up to the 
> cursor, emit the "save cursor" escape sequence (vt100 <esc>[s or <esc>7), 
> print the rest, and then emit the "restore cursor" escape sequence (vt100 
> <esc>[u or <esc>8).

Urgh.  :-)

Andreew.

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Block editor with Unicode Matthias Koch <matthias.koch@hot.uni-hannover.de> - 2014-10-10 15:33 +0200
  Re: Block editor with Unicode Christian Kellermann <ckeen@pestilenz.org> - 2014-10-10 16:06 +0200
  Re: Block editor with Unicode peter.m.falth@gmail.com - 2014-10-10 07:27 -0700
  Re: Block editor with Unicode albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-10-10 15:27 +0000
  Re: Block editor with Unicode anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-10-10 15:59 +0000
    Re: Block editor with Unicode jg <josefg@gmail.com> - 2014-10-10 10:37 -0700
    Re: Block editor with Unicode hughaguilar96@yahoo.com - 2014-10-10 16:27 -0700
      Re: Block editor with Unicode hughaguilar96@yahoo.com - 2014-10-10 16:30 -0700
        UTF-8 'toupper' and 'tolower' (Re: Block editor with Unicode) Marcos Cruz <null_email_so_use_my_contact_page@programandala.net> - 2014-11-10 16:46 +0000
  Re: Block editor with Unicode Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-10-10 11:27 -0500
    Re: Block editor with Unicode Bernd Paysan <bernd.paysan@gmx.de> - 2014-10-11 00:10 +0200
      Re: Block editor with Unicode Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-10-11 04:52 -0500
  Re: Block editor with Unicode Bernd Paysan <bernd.paysan@gmx.de> - 2014-10-11 00:04 +0200
  Re: Block editor with Unicode Matthias Koch <matthias.koch@hot.uni-hannover.de> - 2014-10-15 11:31 +0200
  Re: Block editor with Unicode Matthias Koch <matthias.koch@hot.uni-hannover.de> - 2014-10-21 14:09 +0200
    Re: Block editor with Unicode Stefan Mauerhofer <smauerhofer@androsoft.ch> - 2014-11-11 04:10 -0800
      Re: Block editor with Unicode Matthias Koch <matthias.koch@hot.uni-hannover.de> - 2014-11-12 07:45 +0100

csiph-web