Bug 215572 - ports-mgmt/dialog4ports: breaks terminal after exited with Ctrl+C
Summary: ports-mgmt/dialog4ports: breaks terminal after exited with Ctrl+C
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on: 221023
Blocks:
  Show dependency treegraph
 
Reported: 2016-12-26 08:53 UTC by Dmitry Marakasov
Modified: 2017-08-07 19:22 UTC (History)
4 users (show)

See Also:
rum1cro: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer freebsd_triage 2016-12-26 08:53:31 UTC
Seems like d4p does not do a proper curses cleanup when catching SIGINT.

(in some port directory)
% ls -l
total 36
-rw-r--r--  1 root  wheel   6454 Dec 24 11:40 Makefile
-rw-r--r--  1 root  wheel    158 Dec 24 11:40 distinfo
drwxr-xr-x  2 root  wheel    512 Dec 25 16:44 files
-rw-r--r--  1 root  wheel    367 Jan 22  2014 pkg-descr
-rw-r--r--  1 root  wheel  13286 Dec 22 21:08 pkg-plist
% sudo make config
^C
% ls -l              
total 36
        -rw-r--r--  1 root  wheel   6454 Dec 24 11:40 Makefile
                                                              -rw-r--r--  1 root  wheel    158 Dec 24 11:40 distinfo
                                                                                                                    drwxr-xr-x  2 root  wheel    512 Dec 25 16:44 files
                                                                                                                                                                       -rw-r--r--  1 root  wheel    367 Jan 22  2014 pkg-descr
                                                                                                                                                                                                                              -rw-r--r--  1 root  wheel  13286 Dec 22 21:08 pkg-plist

This only seems to happen in tmux though. reset command fixes the terminal.
Comment 1 ru_M1cRO 2017-01-25 14:10:52 UTC
I can't reproduce it, Dmitry trying to (clarify|find) situation for reproducing it.
Comment 3 ru_M1cRO 2017-07-25 16:49:11 UTC
This issue was fixed: https://svnweb.freebsd.org/base?view=revision&revision=321410
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2017-07-26 03:32:19 UTC
If any further base changes are required, please create separate (blocking) issues  for them so assignees/merges to other branches can be documented correctly/clearly
Comment 5 Larry Rosenman freebsd_committer freebsd_triage 2017-08-07 19:22:44 UTC
closing per
M1cRO (IRC) APP [2:20 PM] 
somebody please close https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215572 , it was fixed, AMDmi3 seems on vacation