Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195949 - sys-apps/portage-2.1.3.13 --- etc-update seems to hang if 'vim -d' is the diff_command
Summary: sys-apps/portage-2.1.3.13 --- etc-update seems to hang if 'vim -d' is the dif...
Status: RESOLVED DUPLICATE of bug 195920
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 194041
  Show dependency tree
 
Reported: 2007-10-15 14:17 UTC by Ferris McCormick (RETIRED)
Modified: 2007-10-15 18:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferris McCormick (RETIRED) gentoo-dev 2007-10-15 14:17:31 UTC
I don't know if this is portage related or a problem with vim or a problem with all my systems.  Systems involved are two amd64 and one sparc SB1000.  Problem is new.

Suppose etc-update is configured with
diff_command="vim -d %file1 %file2"
using_editor=1

Then, current etc-update ends up doing a quick validation of the diff_command by essentially doing this on a couple files which contain only a "\n"

vim -d /tmp/.diff-test-1 /tmp/.diff-test-2 &> /dev/null

This command appears to hang forever.  Actually, vim is waiting for a couple
:q
commands to vim, but there is no way for the user to figure that out without looking around and experimenting because etc-update gives no indication that the user must enter something to get things "unstuck".
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-15 18:41:54 UTC

*** This bug has been marked as a duplicate of bug 195920 ***