[1998] in Athena Bugs

home help back first fref pref prev next nref lref last post

all versions; queue display in lpd

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Tue Mar 28 20:16:02 1989

Date: Tue, 28 Mar 89 20:15:45 EST
From: Jonathan I. Kamens <jik@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
What's wrong:

When you print from stdin and specify a job name using the -J option
to lpr, lpq still shows "(standard input)" as the name in the queue
listing.  It is my opinion that this is a bug and that lpq should show
the job name, not the file name.

The following context patch will fix the problem:

*** /tmp/,RCSt1015543   Tue Mar 28 20:12:53 1989
--- s_displayq.c        Tue Mar 28 20:12:08 1989
***************
*** 346,352 ****
                                strcpy(file, line+1);
                        j++;
                        continue;
!               case 'N':
                        show(line+1, file, j);
                        file[0] = '\0';
                        j = 0;
--- 346,352 ----
                                strcpy(file, line+1);
                        j++;
                        continue;
!               case 'J':
                        show(line+1, file, j);
                        file[0] = '\0';
                        j = 0;


home help back first fref pref prev next nref lref last post