Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!ncar!gatech!rutgers!att!whuts!picuxa!gpasq From: gpasq@picuxa.UUCP (Greg Pasquariello X1190) Newsgroups: comp.unix.wizards Subject: Re: where to do line editing? Message-ID: <625@picuxa.UUCP> Date: 15 Jul 88 13:55:54 GMT References: <678@gtx.com> <593@blblbl.UUCP> Reply-To: gpasq@picuxa.UUCP (Greg Pasquariello X1190) Organization: AT&T/EDS Product Integration Center Lines: 24 In article <593@blblbl.UUCP> henrik@blblbl.UUCP (Larry DeLuca) writes: > >While it's not going to help the ile people much, it still seems the best >place for a line editor of some sort is still the tty driver (ioctl's >can be used to set characters or toggle between modes). > >The most simple line editing commands (rubout, line delete, and co.) are >there already, and it is the only way to guarantee that they will be >uniformly supported. One of the problems with putting it there is that now every driver must incorporate it. This was one of the problems that SYSV STREAMS solved. Rather than putting it in the driver, put it in a pushable module that can be chosen by the application. I would suggest a well documented interface so that anyone can create their own editors to work with the driver. Now, applications (ergo users) are able to select their own line editing, or no editing, or whatever. -- ========================================================================= Greg Pasquariello AT&T Product Integration Center att!picuxa!gpasq 299 Jefferson Rd, Parsippany, NJ 07054 =========================================================================