Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!hp-pcd!hpcvca!charles From: charles@hpcvca.HP.COM (Charles Brown) Newsgroups: comp.os.minix Subject: Re: Line wrap Message-ID: <5870007@hpcvca.HP.COM> Date: 20 Oct 88 01:00:48 GMT References: <091488A8547@syntel.UUCP> Organization: Hewlett-Packard Co., Corvallis, Oregon Lines: 22 > At what point does the cursor wrap when > you have line-wrap enabled? If I were writing the driver, I would have > it wrap when you attempted to write one past the end of the line, *NOT* > when you write into the last column. This should prevent any problems > with "well behaved" programs which only use 80 columns, even if they use > EXACTLY 80 columns. > Dale Schumacher 399 Beacon Ave. Generally the cursor sits where the NEXT character will be added. If column 80 has just been filled you have 2 choices: 1. Put the cursor on column 1 of the next line. Now if the next character is printable, it goes where the cursor is sitting. That makes sense. But if the next character is a NL, the cursor does not move. That is not consistent or friendly. 2. Make the cursor disappear. This handles the problem case with NL as mentioned above, but it is not friendly for the cursor to disappear. I can't think of a way to do what you suggest in a way that is consistent and friendly. -- Charles Brown charles%hpcvca@hplabs.hp.com Not representing my employer.