[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, Paul Slootman wrote:

> 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'

This works!  WHOA!!!!

-- Bob

  ./'^`\._./'~`\._./'~`\._./'~`\._./'#`\._./'~`\._./'~`\._./'~`\._./'^`\.
 / Rube Goldberg? Bah! Amateur! I give you..Windows 98! Linux everywhere \ 
| Linux, because everyone's work is mission critical.   ANYTHING inside.  |
|_Bob McElrath (mcelrath@wisconsin.cern.ch) Univ. of Wisconsin at Madison_|
  \.___________________________________________________________________./


Reply to: