1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/unix
Simon Tatham 1a51771720 Unix PuTTY/pterm: Ctrl-< / Ctrl-> to change font size.
Each gtkfont back end now provides a routine that will return the name
of a similar font to the current one but one notch larger or smaller.
For Pango, this is just a matter of incrementing the font size field
in a standard way; for X11 server-side fonts, we have to go and do an
XListFonts query with a wildcard that requests fonts that vary only in
the size fields from the current one, and then iterate over the result
looking for the best one.

(I expect this will be more useful to Pango scalable-font users than
to X11 fonts, but it seemed a shame not to give the X11 side my best
shot while I was at it.)

Choice of hotkey: I know I'm being inconsistent with gnome-terminal's
use of Ctrl-plus and Ctrl-minus. I thought that was because I was
already using Ctrl-minus as a more convenient synonym for
Ctrl-underscore (which sends the actual control code 0x1F), but now I
actually try it, apparently I'm not. However, Ctrl-plus and Ctrl-minus
are quite horrible as a keystroke pair anyway (one has to be typed
with shift and one without!), and I feel as if the 'less' and
'greater' signs are more specific anyway, in that they specifically
indicate _size_ rather than just 'unspecified numerical value'.
2016-11-13 14:06:43 +00:00
..
configure Move the Unix configure script up to the top level. 2014-02-22 18:01:32 +00:00
gtkapp.c Omit the conf_launchable check in pterm Duplicate Session. 2016-03-27 14:47:51 +01:00
gtkask.c GTK 3: tweak margin below the gtkask drawing areas. 2016-04-04 11:52:01 +01:00
gtkcfg.c On OS X, be able to configure either Option or Command as Meta. 2015-09-01 19:12:19 +01:00
gtkcols.c Make Columns disregard the preferred width of GtkEntry. 2015-08-27 18:59:24 +01:00
gtkcols.h New Columns method, columns_force_same_height(). 2015-08-24 19:34:23 +01:00
gtkcomm.c Divide the whole of gtkwin.c into three parts. 2016-03-22 22:27:09 +00:00
gtkcompat.h Unix PuTTY/pterm: Ctrl-< / Ctrl-> to change font size. 2016-11-13 14:06:43 +00:00
gtkdlg.c Special host key warning when a better key exists. 2016-03-27 18:20:37 +01:00
gtkfont.c Unix PuTTY/pterm: Ctrl-< / Ctrl-> to change font size. 2016-11-13 14:06:43 +00:00
gtkfont.h Unix PuTTY/pterm: Ctrl-< / Ctrl-> to change font size. 2016-11-13 14:06:43 +00:00
gtkmain.c Omit the conf_launchable check in pterm Duplicate Session. 2016-03-27 14:47:51 +01:00
gtkmisc.c GTK 3 fake dialog action area: fix margins and spacing. 2016-03-24 07:19:09 +00:00
gtkmisc.h Move more functions into the new gtkmisc.c. 2015-08-31 15:45:43 +01:00
gtkwin.c Unix PuTTY/pterm: Ctrl-< / Ctrl-> to change font size. 2016-11-13 14:06:43 +00:00
osxlaunch.c New program 'osxlaunch', to use as an OS X bundle launcher. 2016-03-23 22:22:48 +00:00
pterm.bundle Create OS X application bundles for PuTTY and pterm. 2016-03-23 22:22:48 +00:00
pterm.plist Create OS X application bundles for PuTTY and pterm. 2016-03-23 22:22:48 +00:00
putty.bundle Create OS X application bundles for PuTTY and pterm. 2016-03-23 22:22:48 +00:00
putty.plist Create OS X application bundles for PuTTY and pterm. 2016-03-23 22:22:48 +00:00
unix.h New Unix utility function to make a directory path. 2016-08-08 20:37:07 +01:00
ux_x11.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxagentc.c Support synchronous agent requests on Unix. 2015-05-11 17:52:19 +01:00
uxcfg.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxcons.c uxcons: Don't try to include <sys/select.h> on systems that don't have it. 2016-05-01 18:13:03 +02:00
uxgen.c cmdgen: option to specify the random number device to use. 2016-03-30 08:30:40 +01:00
uxgss.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxmisc.c Fix memory leak in the new make_dir_path(). 2016-08-10 19:34:46 +01:00
uxnet.c Fix strict-aliasing warnings in sk_tcp_peer_info. 2016-01-30 14:33:54 +00:00
uxnoise.c Fix minor file descriptor leaks. Found by cppcheck, reported by Tim Kosse. 2009-09-16 22:28:20 +00:00
uxpeer.c Log identifying information for the other end of connections. 2015-05-18 14:03:10 +01:00
uxpgnt.c Support sh/csh syntax switching for Unix Pageant. 2016-03-25 16:43:59 +00:00
uxplink.c Set SSH IUTF8 appropriately in Unix Plink. 2016-05-07 11:36:50 +01:00
uxprint.c Update to r8614: another -D_FORTIFY_SOURCE=2 fix. 2010-02-20 11:21:25 +00:00
uxproxy.c Avoid passing -1 as an fd to uxsel_set(). 2015-11-25 18:18:45 +00:00
uxpterm.c Omit the conf_launchable check in pterm Duplicate Session. 2016-03-27 14:47:51 +01:00
uxpty.c New program 'osxlaunch', to use as an OS X bundle launcher. 2016-03-23 22:22:48 +00:00
uxputty.c Omit the conf_launchable check in pterm Duplicate Session. 2016-03-27 14:47:51 +01:00
uxsel.c Avoid passing -1 as an fd to uxsel_set(). 2015-11-25 18:18:45 +00:00
uxser.c New Plink operating mode: 'plink -shareexists'. 2015-09-25 12:11:27 +01:00
uxsftp.c Extend ACL-restriction to all Windows tools. 2016-04-02 08:00:07 +01:00
uxshare.c Move make_dir_and_check_ours() out into uxmisc.c. 2015-05-05 20:16:22 +01:00
uxsignal.c Rename some of the more stupidly named files in the Unix back end. 2004-12-31 13:02:46 +00:00
uxstore.c Added support for the XDG specification 2016-08-08 20:37:07 +01:00
uxucs.c Giant const-correctness patch of doom! 2015-05-15 12:47:44 +01:00
x11misc.c Ignore X11 BadMatch errors during cut buffer setup. 2016-03-20 18:30:03 +00:00
x11misc.h Ignore X11 BadMatch errors during cut buffer setup. 2016-03-20 18:30:03 +00:00
xkeysym.c Support for non-ISO-8859-1 X keysyms. So in particular, pterm in a 2003-04-27 11:10:48 +00:00
xpmptcfg.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmpterm.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmpucfg.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmputty.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00