[Top][All Lists]

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


From: John Darrington
Date: Mon, 17 Sep 2007 13:32:57 +0800
User-agent: Mutt/1.5.13 (2006-08-11)

I'm concerned about get_termcap_viewport currently in

1. It means that src/data/libdata.a contains part of a user interface
   implementation (and in this case makes it depend on libncurses
   which is silly).

2. Using the terminal's width and length is obviously appropriate for
   the terminal interface, but inappropriate for the  GUI where the
   dimensions of the output window are what matter.

3. In the case of the terminal interface, shouldn't there be something
   connecting to SIGWINCH, so that width and length will change
   accordingly when an xterm is resized? 

I suggest that settings_init takes a pointer to a function, which
fetches the viewport dimensions.  That way, it can work for both graphic
and terminal user interfaces.


PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]