Re: [dev] [st and terminals] About escape sequences and stuff

2012-02-10 Thread Kurt H Maier
On Sat, Feb 11, 2012 at 02:53:00AM +0100, Guillaume Quintin wrote: > @Kurt: So how do you see a terminal emulator? > Something that can execute postscript or a > subset of it or another stack language? Maybe > simplier than NeWS if you do not need multi > monitor, thread, ...? When I was (extraord

Re: [dev] [st and terminals] About escape sequences and stuff

2012-02-10 Thread Guillaume Quintin
I just read the ``man terminfo" on my linux box. It is fucking frightening! @Chris: Not sure whether or not it is good idea to be compatible with everybody if you want to change this. @pancake: In fact, I think this is not much of a problem because all main terminal emulators use [1]. For the mom

Re: [dev] [st and terminals] About escape sequences and stuff

2012-02-09 Thread pancake
you may probably want to look at my r_cons and r_line libraries from r2. i do buffering, autocomplete, screen filling, and works on w32 console, and most of terminals (st, xterm...) without guessing the termcodes. i just hardcode them. http://radare.org On Feb 9, 2012, at 18:02, Chris Siebenm

Re: [dev] [st and terminals] About escape sequences and stuff

2012-02-09 Thread Chris Siebenmann
| Writing a saner library than ncurses that knows only st and try to | convince other terminal emulator writers to do the same: support | exactly the same sequences. Replacing ncurses with a hardcoded library is not a workable approach. Unix systems today are accessed from far more environments

Re: [dev] [st and terminals] About escape sequences and stuff

2012-02-09 Thread Kurt H Maier
On Thu, Feb 09, 2012 at 05:25:08PM +0100, Guillaume Quintin wrote: > Writing a saner library than ncurses that > knows only st and try to convince other terminal emulator > writers to do the same: support exactly the same sequences. The logical conclusion of this approach is e.g. NeWS. NeWS faile

Re: [dev] [st and terminals] About escape sequences and stuff

2012-02-09 Thread Guillaume Quintin
Thanks for the pointer. I just read Chapter 6 and I agree with most of it. Is there any plans for st to go towards a ``good" direction ? I mean using maybe unusual but saner control or escape sequences, support all colors (2^24 or 2^32) at the same time ? Writing a saner library than ncurses that k

Re: [dev] [st and terminals] About escape sequences and stuff

2012-02-08 Thread Kurt H Maier
Please see the Unix Haters' Handbook[1], Part 1, Chapter 6. [1] - http://www.simson.net/ref/ugh.pdf

[dev] [st and terminals] About escape sequences and stuff

2012-02-08 Thread Guillaume Quintin
Hi, This is not a question about st in particular. Have you any stuff for me to read or explain to me why each terminal (linux, xterm, rxvt, gnome-terminal, konsole) has its own strings for keys like insert, delete, function keys ? They vary from terminal to terminal, why ? Guillaume.