*** main.c.orig	2008-01-29 18:50:29.000000000 -0600
--- main.c	2008-01-29 18:51:59.000000000 -0600
***************
*** 140,147 ****
  		else if (!strcmp("--nopict",argv[i])) nopict_mode=TRUE;
  		else if (!strcmp("-n",argv[i])) nopict_mode=TRUE;
  		else {
- 			if (*argv[i]=='-') usage();
- 
  			if(path) 
  				usage();
  			else 	
--- 140,145 ----
***************
*** 184,196 ****
  	if (debug_mode) fprintf (stderr, "Debug mode.\n");
  	if (dump_mode) fprintf (stderr, "Dump mode.\n");
  
! 	f = fopen (path, "r");
! 	if (!f) {
! 		char path2[200];
! 		strcpy(path2,path); strcat(path2,".rtf");
! 		f = fopen(path2, "r");
! 		if(!f)
! 			error_handler ("cannot open input file");
  	}
  
  	fprintf(stderr,"Processing %s...\n", path);
--- 182,202 ----
  	if (debug_mode) fprintf (stderr, "Debug mode.\n");
  	if (dump_mode) fprintf (stderr, "Dump mode.\n");
  
!  	if(!strncmp(path, "-", 1))
!  		{
!  		f = stdin;
!  		path = "stdin";
!  	}
! 	else
! 		{
! 		f = fopen (path, "r");
! 		if (!f) {
! 			char path2[200];
! 			strcpy(path2,path); strcat(path2,".rtf");
! 			f = fopen(path2, "r");
! 			if(!f)
! 				error_handler ("cannot open input file");
! 		}
  	}
  
  	fprintf(stderr,"Processing %s...\n", path);
