Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!rex!ames!vsi1!daver!cheers!cogent!doug From: doug@cogent.UUCP (Doug Perlich) Newsgroups: comp.unix.questions Subject: Termcap/Terminfo questions. (He'p me please!) Keywords: time delays, cursor addressing, 132 columns etc. Message-ID: <630@cogent.UUCP> Date: 14 Dec 89 20:51:14 GMT Reply-To: doug@cogent.UUCP (Doug Perlich) Organization: Cogent Software Solutions, Inc. Lines: 34 All this discussion of terminal stuff reminds me of a couple of questions I've been thinking about. Background: I'm running on an HP 9000 model 840, HP-UX A.B3.10 vers. C. I'm trying to write a set of screen control routines that may be used by any terminal, no fancy graphics, but I do want full screen control and it seems that the information I need is available in the terminfo data base, but not everything. I do not want to use curses or termcap functions. I want to do an initialization routine at user start up that will load all the needed information into the users shared memory segment since the information will be needed by several processes, (everything running under a menu system). Questions: #1 What about time delays? It is my understanding that certain escape sequences such as clear screen, clear to eof line, etc. need a time delay after them and this varies by terminal. Is this info. available in terminfo? Is this outdated and terminals don't need time delays anymore? #2 I don't want to call termcap's tgoto() routine for cursor addressing I want to get the escape sequence and put the address directly into it on my own. The problem here is, how do I know if it's row first or column first? My hp2392 terminal is row first, ansi-d is column first, how does tgoto() know? I don't see that information in the terminfo files. #3 I also want to know about switching from 80 to 132 column and back. I don't see that information anywhere. Any help is appreciated, I hope I'm not being TOO dumb here, the FM's are a bit overwhelming on this subject. -Doug g g