I have adjusted how vty handles terminals on OS X. Terminal.app, iTerm.app and xterm via X11 all work as expected in my testing. Pull the latest vty patches from darcs, install, and then yi should work OK.
Possible issues: - The last line in yi is displayed without the correct attributes? - iTerm displays bold in red? I think this is a feature of iTerm actually. - The standard xterm-color termcap on OS X is 8 colors only. vty does not adjust it's output to match. - termcaps from /sw/ appear to be incorrect? Also, iTerm.app supports the xterm-256color profile. For added color have iTerm set the TERM variable to xterm-256color. Cheers, -Corey O'Connor On Sat, Aug 29, 2009 at 10:39 PM, Wen Pu<dexte...@gmail.com> wrote: > > Hi Corey, > > I got this on my Mac (iTerm.app): > > yi-darwin-i386: user error (Terminal does not define required > capability "cnorm") > > Anything wrong? > > Thanks! > -Wen > > > > On Aug 29, 12:47 pm, "Corey O'Connor" <coreyocon...@gmail.com> wrote: >> On Fri, Aug 28, 2009 at 5:02 PM, Simon Michael<si...@joyful.com> wrote: >> > Yes, I think mtl and parsec 2 are both still preferred and used by the >> > majority of packages and the Haskell Platform. >> > And yes if you want to support alternate dependencies a cabal flag that >> > also sets a cpp flag is the way to go, I do it >> > in hledger.cabal. >> >> OK. I've updated vty in darcs to use mtl and support both parsec 2 and >> parsec 3. Attached is the updated yi patch that accounts for some >> other changes as well. >> >> Let me know if there are any further issues. :-D >> >> Thanks! >> >> vty_4_0_0_support.dpatch >> 57KViewDownload > > > --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---