LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Some sort of buffer issue with terms and vi? (https://www.linuxquestions.org/questions/linux-software-2/some-sort-of-buffer-issue-with-terms-and-vi-436896/)

stardotstar 04-19-2006 06:57 PM

Some sort of buffer issue with terms and vi?
 
I have been noticing a wierd hesitation that occurs in terminals and in Vim sessions lately.

Don't remember it ever bothering me before.

The easiest way to describe it is that when I am moving around in Vi with the arrow keys through a line say the cursor will move normally at each key press until suddenly it will stop and not respond to my key presses but then moments later the buffered keystrokes will be actioned. This causes much bell ringing in Vi and it annoys me since I can;t see how anything could be interrupting such a simple session as keyboard in terminal...

Can anyone shed some light on this for me please?

TIA

Will

btw I am finding it within aterm, rxvt and gnome-terminal - it was evident in gnome 2.14 with metacity and now in fvwm...

chrism01 04-19-2006 09:24 PM

Have a look at top, sounds like there's a busy process hogging the cpu, as normally interactive processes eg vim get a higher priority than others.

stardotstar 04-19-2006 09:59 PM

Can't see anything out of the ordinary. I am using hardly any CPU at all even in this TOP with VM-Ware running. Basically X, FVWM, xscreensaver, some daemons... Wierd.

Code:

  Tasks:  83 total,  1 running,  82 sleeping,  0 stopped,  0 zombie
Cpu(s):  1.0% us,  1.3% sy,  0.0% ni, 97.4% id,  0.0% wa,  0.0% hi,  0.3% si
Mem:    905340k total,  893188k used,    12152k free,    4532k buffers
Swap:  3429868k total,      260k used,  3429608k free,  642248k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND         
 3634 wparker    5 -10  378m 296m 285m S  1.0 33.5  3:21.42 vmware-vmx       
 2507 root      15  0  106m  41m 6348 S  0.7  4.7 102:08.58 X                 
 3816 wparker  16  0  2120 1084  824 R  0.3  0.1  0:00.12 top               
    1 root      16  0  1476  512  448 S  0.0  0.1  0:00.52 init

Thanks Chris for the suggestion.

:)

stardotstar 04-22-2006 08:40 PM

This is happening in the terminal itself without X running or anything - seems strange. Like it locks for a second.


All times are GMT -5. The time now is 01:48 AM.