X-Git-Url: https://hackdaworld.org/gitweb/?p=hdw-repos%2Fpackages.git;a=blobdiff_plain;f=demian%2Fsplitvt%2Ftitle.c.patch;fp=demian%2Fsplitvt%2Ftitle.c.patch;h=6337afabeb88e7c5dd8cc45b1f5d4396c720c8c4;hp=0000000000000000000000000000000000000000;hb=f0cf5d9bdce8c606167c114b5ba06792a200b957;hpb=19e8a11f5a1789f804a1b0cb43b1d0c34bf5916c diff --git a/demian/splitvt/title.c.patch b/demian/splitvt/title.c.patch new file mode 100755 index 0000000..6337afa --- /dev/null +++ b/demian/splitvt/title.c.patch @@ -0,0 +1,10 @@ +--- dem-old/utils/title.c.old 2002-11-18 23:26:41.000000000 -0600 ++++ dem-new/utils/title.c 2002-11-18 23:29:25.000000000 -0600 +@@ -1 +1 @@ +-/* Set the titlebar on an xterm */ ++/* Set the titlebar + "HDW Linux" on an xterm */ +@@ -11 +11,3 @@ +- printf("\033]0;%s\07", argv[1]); fflush(stdout); ++ char * title = argv[1] ; ++ strcat(title, " HDW Linux :)") ; ++ printf("\033]0;%s\07", title); fflush(stdout);