zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Clint Adams <schizo@debian.org>, zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: termcap/terminfo support in modules
Date: Mon, 4 Dec 2000 16:38:07 +0000	[thread overview]
Message-ID: <1001204163807.ZM19828@candle.brasslantern.com> (raw)
In-Reply-To: <20001203154842.B23776@dman.com>

On Dec 3,  3:48pm, Clint Adams wrote:
} Subject: PATCH: termcap/terminfo support in modules
}
} This is my attempt to get the echotc builtin out of the core
} and to provide a terminfo equivalent, as well as a terminfo parameter.

Lots of errors for me:

../../../zsh-3.1.6/Src/Modules/terminfo.c: In function `bin_echoti':
../../../zsh-3.1.6/Src/Modules/terminfo.c:68: warning: assignment makes pointer from integer without a cast
../../../zsh-3.1.6/Src/Modules/terminfo.c:43: warning: unused variable `argct'
../../../zsh-3.1.6/Src/Modules/terminfo.c:42: warning: unused variable `u'
../../../zsh-3.1.6/Src/Modules/terminfo.c:42: warning: unused variable `buf'
../../../zsh-3.1.6/Src/Modules/terminfo.c: In function `getterminfo':
../../../zsh-3.1.6/Src/Modules/terminfo.c:140: warning: return makes pointer from integer without a cast
../../../zsh-3.1.6/Src/Modules/terminfo.c:142: warning: return makes pointer from integer without a cast
../../../zsh-3.1.6/Src/Modules/terminfo.c:166: warning: assignment makes pointer from integer without a cast
../../../zsh-3.1.6/Src/Modules/terminfo.c: In function `scanterminfo':
../../../zsh-3.1.6/Src/Modules/terminfo.c:185: warning: `return' with a value, in function returning void

And then:

Modules/terminfo.o: In function `bin_echoti':
/usr/src/local/zsh/zsh-3.1.6-build/Src/Modules/../../../zsh-3.1.6/Src/Modules/terminfo.c:51: undefined reference to `tigetnum'
/usr/src/local/zsh/zsh-3.1.6-build/Src/Modules/../../../zsh-3.1.6/Src/Modules/terminfo.c:56: undefined reference to `tigetflag'
/usr/src/local/zsh/zsh-3.1.6-build/Src/Modules/../../../zsh-3.1.6/Src/Modules/terminfo.c:68: undefined reference to `tigetstr'
Modules/terminfo.o: In function `getterminfo':
/usr/src/local/zsh/zsh-3.1.6-build/Src/Modules/../../../zsh-3.1.6/Src/Modules/terminfo.c:158: undefined reference to `tigetnum'
/usr/src/local/zsh/zsh-3.1.6-build/Src/Modules/../../../zsh-3.1.6/Src/Modules/terminfo.c:162: undefined reference to `tigetflag'
/usr/src/local/zsh/zsh-3.1.6-build/Src/Modules/../../../zsh-3.1.6/Src/Modules/terminfo.c:166: undefined reference to `tigetstr'

It appears that configure on my RH5.2 box decides that only -ltermcap is
necessary, but the tiget* functions are in libcurses.  I find it somewhat
disappointing that zsh now has to be linked with curses; the line editor
has so studiously avoided using curses for screen management ...

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2000-12-04 16:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-03 20:48 Clint Adams
2000-12-04 16:38 ` Bart Schaefer [this message]
2000-12-04 16:46   ` Clint Adams
2000-12-04 17:05     ` Peter Stephenson
2000-12-04 17:27       ` Bart Schaefer
2000-12-05  0:23         ` Clint Adams
2000-12-05  2:17           ` Vin Shelton
2000-12-05  4:21             ` PATCH: texinfo (Re: PATCH: termcap/terminfo support in modules) Bart Schaefer
2000-12-05 10:04           ` PATCH: termcap/terminfo support in modules Peter Stephenson
2000-12-05 10:42             ` Peter Stephenson
2000-12-05 10:55               ` Peter Stephenson
2000-12-06  1:11                 ` Clint Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1001204163807.ZM19828@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=schizo@debian.org \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).