Re: [dev] ASCII Delimited Text

From: Adrian Grigore <adrian.emil.grigore_AT_gmail.com>
Date: Tue, 22 May 2018 16:21:13 +0300

> Maybe a nice thing to have would be to get the terminal emulator to
treat the field and record separator in a special way. So the programs
all output fs and rs, and the terminal emulator uses these characters to
layout the data in a tabular way.

There's no terminal that does this, right?

On Tue, May 22, 2018 at 3:24 AM, Raphaël Proust <sub_AT_bnwr.net> wrote:
> Hello,
>
> On 2018-05-22 00:38, Connor Lane Smith wrote:
>> On 21 May 2018 at 17:12, Adrian Grigore <adrian.emil.grigore_AT_gmail.com> wrote:
>>> I'm having problems compiling usul:
>>
>> This is a surprise. Where did you get usul from?
>
> I sent the copy. I use usul regularly so I still have the whole repo
> locally.
>
>
>>
>> I have been wondering lately about resurrecting usul, since 'tabular
>> munging' with Unix utilities without the ability to set $FS and $RS
>> can be really unpleasant, and I've had to do quite a bit of it
>> recently.
>>
>> I did also write a program to complement usul which performs elastic
>> tabbing on its input, the idea being that you end up with a nice
>> tabular view in your terminal. I think ideally you might want 'real'
>> terminal support for it though, as when printing to the tty you either
>> need to buffer a lot of data (i.e. until a line with no FS), or you
>> need to do crazy tty-rewriting ANSI escapes, which it did support but
>> is a massive hack.
>
> In what way is the elastic tabbing different from what Plan9's mc(1)?
>
>
> Ciao,
> -- Raphaël
>



-- 
Thanks,
Adi
Received on Tue May 22 2018 - 15:21:13 CEST

This archive was generated by hypermail 2.3.0 : Tue May 22 2018 - 15:24:19 CEST