Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!csc!ccadfa!cancol!eyal From: eyal@cancol.oz (Eyal Lebedinski) Newsgroups: comp.os.minix Subject: termcap bug+problem (1.4d) Keywords: termcap,bug Message-ID: <304@cancol.oz> Date: 18 Mar 90 00:44:49 GMT Organization: Info. Sci. and Eng., University of Canberra Lines: 12 I just started using a Vectrix terminal on tty1 and hit some termcap problems. First, in lib/termcap.c, function tgetstr(), the interpretation of '^x' is wrong. The line after case '^' should have '1' added as in: *wsp = *++cp - 'A' + 1; The original interpreted '^A' as '0' but should be '1' etc. A problem with the '+' pattern in tgoto() is that it outputs the col first while the '%' option outputs the row first. I needed the row first. Was this supposed to work like this? BTW, is there a mechanizm in termcap to choose the desired sequence dynamicaly? Eyal