next up previous
Next: 19. RC Files Up: 18. Miscellaneous Commands Previous: 18.8 When You're Stuck

Subsections

18.9 Refreshing The Screen

Most of the time Ved takes care of refreshing the screen, when needed. It relies on the ncurses library function to only do updates when necessary.

There are times when the contents of your screen can become garbled. For example, if mail arrives, a message may be placed on the screen. Ved has no way to know about events like this.

You may also need to force a refresh if you resize your terminal, and the resize does not send a SIGWINCH signal back to Ved. Currently only Xterms are know to send the proper signal.

18.9.1 Terminal Refresh [Escape Z]

This will force the updating of all the windows currently available. In order, the function:

  1. Checks the size of all the windows and make sure they fit on the terminal. If they don't, they are resized.

  2. Recalulates word/line wrapping information.

  3. Redisplays each active window.

This does take a bit of time (well, not on a fast machine!), and can cause ``flashing'' on the screen.

After a terminal resize you will need to press a key to get the display to refresh. This is a ``feature'' of ncurses.


next up previous
Next: 19. RC Files Up: 18. Miscellaneous Commands Previous: 18.8 When You're Stuck
2004-05-02