[Patch]fix a manual bug about logout warnning

Li Zefan lizf at cn.fujitsu.com
Tue Aug 7 08:23:47 EEST 2007


Hi,

When we try to exit the shell while jobs are stopped, we will get a warnning message 'There are suspended jobs.', but not 'You have stopped jobs.' as the manpage describes.

Here's a patch to fix it.

Index: tcsh/tcsh.man
==============================================================
--- tcsh.orig/tcsh.man	2007-03-04 04:01:26.000000000 +0800
+++ tcsh/tcsh.man	2007-08-07 13:15:05.000000000 +0800
@@ -1894,9 +1894,9 @@
 starting a background job to mark it.
 .PP
 When you try to leave the shell while jobs are stopped, you will be
-warned that `You have stopped jobs.' You may use the \fIjobs\fR command to see
-what they are.  If you do this or immediately try to exit again, the shell will
-not warn you a second time, and the suspended jobs will be terminated.
+warned that `There are suspended jobs.' You may use the \fIjobs\fR command to
+see what they are.  If you do this or immediately try to exit again, the shell
+will not warn you a second time, and the suspended jobs will be terminated.
 .SS "Automatic, periodic and timed events (+)"
 There are various ways to run commands and take other actions automatically
 at various times in the ``life cycle'' of the shell.  They are summarized here,
==============================================================
Index: tcsh/tcsh.man

Best Recards




More information about the Tcsh-Bugs mailing list