diff -urN aterm-0.4.2.orig/src/feature.h aterm-0.4.2/src/feature.h --- aterm-0.4.2.orig/src/feature.h Fri Sep 7 01:38:07 2001 +++ aterm-0.4.2/src/feature.h Mon Sep 17 06:38:15 2001 @@ -306,6 +306,11 @@ */ #define SAVELINES 64 +/* + * Default line space + */ +#define LINESPACE 0 + /* (Hops) Set to choose a number of lines of context between pages * (rather than a proportion (1/5) of savedlines buffer) * when paging the savedlines with SHIFT-{Prior,Next} keys. diff -urN aterm-0.4.2.orig/src/main.c aterm-0.4.2/src/main.c --- aterm-0.4.2.orig/src/main.c Fri Sep 7 01:38:07 2001 +++ aterm-0.4.2/src/main.c Mon Sep 17 06:39:22 2001 @@ -1357,7 +1357,7 @@ fw = TermWin.font->min_bounds.width; /* can be error !!!! */ if( fw > 1000 ) fw = 0 ; /* added by suggestion from */ - fh = TermWin.font->ascent + TermWin.font->descent; + fh = TermWin.font->ascent + TermWin.font->descent + TermWin.lineSpace; if (TermWin.font->min_bounds.width == TermWin.font->max_bounds.width) TermWin.fprop = 0; /* Mono-spaced (fixed width) font */ @@ -1624,6 +1624,7 @@ rs_geometry = NULL; /* window geometry */ rs_minBufferWidth = NULL; rs_saveLines = NULL; /* scrollback buffer [lines] */ + rs_lineSpace = NULL; rs_borderWidth = NULL; rs_modifier = NULL; /* modifier */ #if defined (HOTKEY_CTRL) || defined (HOTKEY_META) @@ -1750,6 +1751,8 @@ TermWin.min_bcol = 1; if (!rs_saveLines || (TermWin.saveLines = atoi(rs_saveLines)) < 0) TermWin.saveLines = SAVELINES; + if (!rs_lineSpace || (TermWin.lineSpace = atoi(rs_lineSpace)) < 0) + TermWin.lineSpace = LINESPACE; if (!rs_borderWidth || (TermWin.borderWidth = atoi(rs_borderWidth)) < 0) TermWin.borderWidth = BORDERWIDTH; diff -urN aterm-0.4.2.orig/src/rxvt.h aterm-0.4.2/src/rxvt.h --- aterm-0.4.2.orig/src/rxvt.h Fri Sep 7 01:38:07 2001 +++ aterm-0.4.2/src/rxvt.h Mon Sep 17 06:38:15 2001 @@ -268,6 +268,7 @@ min_bcol, /* minimum horizontal columns in the buffer */ focus, /* window has focus */ saveLines, /* number of lines that fit in scrollback */ + lineSpace, /* number of extra dots between lines */ borderWidth,/* number of pixels in window border */ nscrolled, /* number of line actually scrolled */ view_start; /* scrollback view starts here */ @@ -928,6 +929,7 @@ EXTERN const char *rs_geometry; /* window geometry */ EXTERN const char *rs_minBufferWidth; /* minimum buffer width - so we can scroll horizontally */ EXTERN const char *rs_saveLines; /* scrollback buffer [lines] */ +EXTERN const char *rs_lineSpace; /* line space [pixels] */ EXTERN const char *rs_borderWidth; /* border width [pixels] */ EXTERN const char *rs_cutchars; /* chars for selection boundaries */ #ifdef META8_OPTION diff -urN aterm-0.4.2.orig/src/xdefaults.c aterm-0.4.2/src/xdefaults.c --- aterm-0.4.2.orig/src/xdefaults.c Fri Sep 7 01:38:07 2001 +++ aterm-0.4.2/src/xdefaults.c Mon Sep 17 06:38:15 2001 @@ -313,6 +313,8 @@ "minimum number of columns stored in buffer"), STRG(rs_saveLines, "saveLines", "sl", "number", "number of scrolled lines to save"), + STRG(rs_lineSpace, "lineSpace", "lsp", "number", + "number of extra dots between lines"), BOOL(rs_utmpInhibit, "utmpInhibit", "ut", Opt_utmpInhibit, "utmp inhibit"), BOOL(rs_visualBell, "visualBell", "vb", Opt_visualBell, "visual bell"),