--- root-tail.c.orig	Sun Apr 15 15:30:36 2001
+++ root-tail.c	Sun Apr 15 15:35:27 2001
@@ -40,7 +40,7 @@
 int screen, listlen = STD_HEIGHT, width = STD_WIDTH, ScreenWidth, ScreenHeight,
   win_x = LOC_X, win_y = LOC_Y, w = -1, h = -1, pid = -1,
   font_width, font_height, font_descent,
-  infocus, shade, frame, reload;
+  infocus, shade, no_filename, frame, reload;
 time_t lastreload;
 struct timeval interval = { 2, 400000 }; /* see Knuth */
 
@@ -379,8 +379,10 @@
 		      strcpy (lines[lin].line, lines[lin + 1].line);
 		      lines[lin].color = lines[lin + 1].color;
 		    }
-		  sprintf (lines[listlen - 1].line, "[%s]",
+		  if (no_filename != 0) {
+		  	sprintf (lines[listlen - 1].line, "[%s]",
 			   current->desc);
+		  }
 		  lines[listlen - 1].color = current->color;
 		  linecnt++;
 		}
@@ -557,6 +559,8 @@
 
 	  else if (!strcmp (argv[i], "-shade"))
 	    shade = 1;
+	  else if (!strcmp (argv[i], "-no-filename"))
+		no_filename =1;
 	  else if (!strcmp (argv[i], "-frame"))
 	    frame = 1;
           else if (!strcmp (argv[i], "-noinitial"))
