Edit

IABSD.fr/ports/textproc/fcbanner/patches

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2009-05-11 15:50:35
    Hash : 8020102a
    Message : import fcbanner: fcbanner is a variant on the banner program that uses fontconfig and freetype to draw its characters. Thus, it can easily draw using various fonts - any font you can get in Gnome or Mozilla for example - and handles non-ASCII characters if they are present in the font.

  • patch-fcbanner_c
  • $OpenBSD: patch-fcbanner_c,v 1.1.1.1 2009/05/11 15:50:35 sthen Exp $
    --- fcbanner.c.orig	Mon May 11 12:48:33 2009
    +++ fcbanner.c	Mon May 11 12:55:48 2009
    @@ -402,7 +402,7 @@ main(int argc, char **argv)
         } else {
     	wint_t c;
     
    -	while((c = fgetwc(stdin)) != WEOF) {
    +	while(((c = fgetwc(stdin)) != EOF) && c != '\004' ) { /* ^D */
     	    if(c == L'\n')
     		newline();
     	    else