[X-Unix] Building Spiff

Eugene Lee list-themacintoshguy at fsck.net
Fri Jul 16 01:24:22 PDT 2004


On Thu, Jul 15, 2004 at 08:54:08AM -0700, SeaSoft Systems wrote:
: 
: I am trying to get a nifty "diff"-type utility to run under 10.2.8 
: using the bash shell.
:
[...]
: 
: The problem:
: 
: After executing spiff (and getting quite reasonably formatted spiff 
: output in the terminal window), the terminal attributes of my shell 
: window are hosed (Examples: (1) I can't see what I am typing to the 
: CLI; (2) the output stream to shell commands forgets the meaning of 
: "carriage return", producing staggered output like the following 
: response in to "ls" (note the post-command bash prompt $ does not 
: even end up in the leftmost window position.)
:
[...]
:
: I am admittedly way over my head here, and very happy to have gotten 
: this far, but does anyone have any suggestions for fixing this final 
: cosmetic glitch? In particular, how do I find out whether I am "using 
: terminfo" or "using termcap" or whatever?

OS X Panther comes with termcap, terminfo, and curses (it's actually
ncurses, but no worries, very few modern OSes use the original curses).
I suggest experimenting with the other TFLAG/TLIB variables suggested
by the makefile documentation until you find something that seems to
work right.


-- 
Eugene Lee
http://www.coxar.pwp.blueyonder.co.uk/



More information about the X-Unix mailing list