zsh-workers
 help / color / mirror / code / Atom feed
* Slang instead ncurses
@ 2001-12-01  9:14 Raúl Núñez de Arenas Coronado
  2001-12-01 13:12 ` Borsenkow Andrej
  0 siblings, 1 reply; 2+ messages in thread
From: Raúl Núñez de Arenas Coronado @ 2001-12-01  9:14 UTC (permalink / raw)
  To: Zsh

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

    Hello zsh-workers :))

    I haven't took a deep look at the code, but I think that ncurses
is used only in the terminfo module and, obviously, in the few screen
handling routines of zsh, and I will make a suggestion: how about
switching to slang? I think that it's fully ncurses compatible, less
bloated and full featured.

    I don't know if it is really needed, because I don't know the use
of ncurses throughout the zsh code, but IMHO slang is far better.

    Moreover: how is curses used in zsh? Is *really* needed to make
zsh dependent of the curses library or could it statically link the
few needed parts?

    I keep on with my idea of putting zsh into a tiny embedded system
O:))) Thanks in advance for you opinion :)

    Raúl


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Slang instead ncurses
  2001-12-01  9:14 Slang instead ncurses Raúl Núñez de Arenas Coronado
@ 2001-12-01 13:12 ` Borsenkow Andrej
  0 siblings, 0 replies; 2+ messages in thread
From: Borsenkow Andrej @ 2001-12-01 13:12 UTC (permalink / raw)
  To: RaЗl NЗЯez de Arenas Coronado; +Cc: Zsh

On Сбт, 2001-12-01 at 12:14, RaЗl NЗЯez de Arenas Coronado wrote:
>     Hello zsh-workers :))
> 
>     I haven't took a deep look at the code, but I think that ncurses
> is used only in the terminfo module and, obviously, in the few screen
> handling routines of zsh,
             
These "few routines" are the heart of zsh ZLE :-) Remove them and half
of the zsh functionality is lost.

                             and I will make a suggestion: how about
> switching to slang? I think that it's fully ncurses compatible, less
> bloated and full featured.
> 
>     I don't know if it is really needed, because I don't know the use
> of ncurses throughout the zsh code, but IMHO slang is far better.
> 
>     Moreover: how is curses used in zsh? Is *really* needed to make
> zsh dependent of the curses library or could it statically link the
> few needed parts?
> 

zsg does not actually use either termcap or curses. It needs them only
to get terminal capabilities; for this it is using several termcap
functions that are emulates by curses as well. 

curses module just provides convinient access to terminal capabilities
using curses names, no more.

There is no need to switch to slang. Either termcap or curses are
available on every system; slang is not. Given that we do not use any of
the features provided by slang (for that matter we do not use any of the
features provided by termcap or curses either :-) there is no reason to
use it.

-andrej


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-01 13:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-01  9:14 Slang instead ncurses Raúl Núñez de Arenas Coronado
2001-12-01 13:12 ` Borsenkow Andrej

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).