[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vi responds only after each 4 chars



On Thu 29 Oct 1998, Christopher C Chimelis wrote:
> On 29 Oct 1998, Brederlow wrote:
> 
> > Do you still have the source? Could you make a diff please. Even a tar 
> > ball or rpm of the bin would be usefull. Better than using vi, which
> > does a screen update every 4 chars only. :)
> > 
> > By the way, is that the normal behaviour of vi on alpha?
> 
> No, it's not.  In fact, I use vi almost exclusively on my Alpha (low
> memory installed) and it's fine.  It updates every char as expected.
> Maybe it's kernel or video card related?

4 chars tells me that something put the tty in raw mode, but didn't
update the VMIN value (which is shared with VEOF in cooked mode, which
is ctrl-D (i.e. 4) normally). Normally VMIN is put at 1 so that the
app gets each keystroke immediately. What happens if you type

stty eof '^a'

before starting vi?


Anyway, I use vim, and that works wonderfully.


Paul Slootman
-- 
home: paul@wurtel.demon.nl | work: paul@murphy.nl | debian: paul@debian.org
http://www.wurtel.demon.nl | Murphy Software,   Enschede,   the Netherlands


Reply to: