NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/40598: nvi catches SIGTSTP instead of ^Z character
>Number: 40598
>Category: bin
>Synopsis: nvi catches SIGTSTP instead of ^Z character
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 10 02:00:00 +0000 2009
>Originator: Shingo NISHIOKA
>Release: NetBSD 5.0_RC1
>Organization:
NII
>Environment:
System: NetBSD mir.cs.nii.ac.jp 5.0_RC1 NetBSD 5.0_RC1 (S) #0: Tue Feb 3 21:58:3
6 JST 2009 nis%mir.cs.nii.ac.jp@localhost:/usr/obj/sys/arch/i386/compile/S i386
Architecture: i386
Machine: i386
/usr/bin/vi:
-lc.12 => /usr/lib/libc.so.12
-lcurses.6 => /usr/lib/libcurses.so.6
Version nvi-1.81.6nb1 (2007-11-18) The CSRG, University of California,
Berkeley.
no .nexrc nor .exrc
TERM=xterm
SHELL=/bin/ksh
LANG=C
LC_* -- unset
>Description:
nvi catches SIGTSTP instead of ^Z character. Useally, nvi cleanups
the screen before suspending itself. In this case, nvi is suspended
immediately, and the screen will be left untidy. Once this problem
comes up, nvi stays in this mode, until it exits or it receives
SIGWINCH.
The same problem exists in nvi-1.79-m17n (from pkgsrc) compiled on
4.0_STABLE, but the same code compiled on Darwin Kernel Version
9.6.0 (MacOS X Leopard) seems to be immuned from this problem.
Some code reset c_cc[VSUSP] which was set to be _POSIX_VDISABLE at
cl_screen.c:351?
>How-To-Repeat:
Start vi with no arguments, then try to edit a noexisting
file `*nonexistent', with a meta character (thus, expansion fails).
The following keystroke rises this problem:
vi<CR>
:e *nonexistent<CR>
^Z
>Fix:
Unkown.
Home |
Main Index |
Thread Index |
Old Index