Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!kth!slyrf!dkuug!iesd!fischer From: fischer@iesd.dk (Lars P. Fischer) Newsgroups: comp.emacs Subject: Re: Wanted: minimal EMACS in C Message-ID: <1578@iesd.dk> Date: 28 Mar 89 21:06:14 GMT References: <2200001@uxg.cso.uiuc.edu> <1307@dukeac.UUCP> <618@gonzo.UUCP> Sender: fischer@iesd.dk Organization: Dept. of Computer Science, University of Aalborg Lines: 24 In-reply-to: daveb@gonzo.UUCP's message of 26 Mar 89 23:31:43 GMT In article <618@gonzo.UUCP> daveb@gonzo.UUCP (Dave Brower) writes: >In article <1307@dukeac.UUCP> bet@orion.mc.duke.edu (Bennett Todd) writes: >>Here's what I'd really love to see in an emacs(3): >> >> char *emacs(buff, fp, rows, cols, gotoxy) >Since you aren't providing a TERM, and it's already going to have to do >fileno(fp) games to set the tty modes, then you don't need to provide >rows and cols. What is the gotoxy function supposed to do? My god, are >you saying that the screen output primitives are 'position cursor' and >'write chars?' Eek! Having the "emacs" function grab the whole screen might not be what you want. Some application might have an emacs in some part of the screen, with other info displayed at the same time. Hence "rows" and "cols". A position (x,y) would also be needed. /Lars -- Lars Fischer, fischer@iesd.dk, {...}!mcvax!iesd!fischer Dept. of Math. and Comp. Sci., University of Aalborg Strandvejen 19, DK-9000 Aalborg, DENMARK Any suffiently advanced technology is indistinguishable from magic. -- Arthur C. Clarke