Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions bin/tail
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ sub tail_f
@filelist = @{ $files };
@dirlist = @{ $dirs };

local $SIG{'INT'} = \&handle_INT;
local $SIG{'QUIT'} = sub { exit 0 }; # do not core dump
local $SIG{'QUIT'} = \&handle_INT;

my ($ino, $size, $mtime);

Expand Down Expand Up @@ -382,7 +381,7 @@ sub handle_INT

# On some systems (NT, for instance), it is necessary to
# reinstall the signal handler
$SIG{'INT'} = \&handle_INT;
$SIG{'QUIT'} = \&handle_INT;
}

#
Expand Down Expand Up @@ -491,9 +490,8 @@ line doesn't exist, the program will watch for it and monitor it once
created. When switching files in the display, a banner showing the
pathname of the file is printed.

An interrupt character (usually CTRL/C or DEL) will display a list of
the most recently modified files being watched. Send a quit signal
(usually CTRL/backslash) to stop the program.
Send a quit signal (usually CTRL/backslash) to display a list of
the most recently modified files being watched.

The options are the following for I<tail> (no options are
supported by I<xtail>) :
Expand Down
Loading