[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sudo-users
Subject:    [sudo-users] SIGINT while within editor
From:       Valentin Nechayev <netch () lucky ! net>
Date:       2006-04-27 7:58:11
Message-ID: 20060427075811.GP1038 () lucky ! net
[Download RAW message or body]

Hi,

I prefer to use ^C to exit insert mode in vi/vim rather then Esc
(this is much faster and doesn't collide with terminal
sequences). Both vim and FreeBSD standard vi allows this. But,
standard vi doesn't block ISIG on terminal so parent process gets
SIGINT. Many editor callers (e.g. crontab) processes this
correctly, but visudo dies immediately.

It's no problem to patch visudo to ignore SIGINT while editor
works. My question is whether this will be considered as bug and
adopted?

(I suppose there is no reason to generalize the problem over the
SIGINT.)


-netch-

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic