{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3646","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3646/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3646/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3646/events","html_url":"https://github.com/fish-shell/fish-shell/issues/3646","id":195472681,"number":3646,"title":"Fish garbage output during command line editin in Haiku","user":{"login":"miqlas","id":5569059,"avatar_url":"https://avatars.githubusercontent.com/u/5569059?v=3","gravatar_id":"","url":"https://api.github.com/users/miqlas","html_url":"https://github.com/miqlas","followers_url":"https://api.github.com/users/miqlas/followers","following_url":"https://api.github.com/users/miqlas/following{/other_user}","gists_url":"https://api.github.com/users/miqlas/gists{/gist_id}","starred_url":"https://api.github.com/users/miqlas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miqlas/subscriptions","organizations_url":"https://api.github.com/users/miqlas/orgs","repos_url":"https://api.github.com/users/miqlas/repos","events_url":"https://api.github.com/users/miqlas/events{/privacy}","received_events_url":"https://api.github.com/users/miqlas/received_events","type":"User","site_admin":false},"labels":[{"id":4724776,"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/bug","name":"bug","color":"fc2929","default":true},{"id":137587665,"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/needs-more-info","name":"needs-more-info","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4","html_url":"https://github.com/fish-shell/fish-shell/milestone/4","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4/labels","id":130257,"number":4,"title":"fish-future","description":"These are issues that are not targeted for an upcoming minor or major release. After a release, we will re-examine these issues and pull any in that we think are good targets; that is retarget them to the next minor (or major) release.\r\n\r\nIf you can provide a fix for an issue in this milestone, we'll generally accept it for the next release even if the issue is not targeted for the release.","creator":{"login":"ridiculousfish","id":920838,"avatar_url":"https://avatars.githubusercontent.com/u/920838?v=3","gravatar_id":"","url":"https://api.github.com/users/ridiculousfish","html_url":"https://github.com/ridiculousfish","followers_url":"https://api.github.com/users/ridiculousfish/followers","following_url":"https://api.github.com/users/ridiculousfish/following{/other_user}","gists_url":"https://api.github.com/users/ridiculousfish/gists{/gist_id}","starred_url":"https://api.github.com/users/ridiculousfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridiculousfish/subscriptions","organizations_url":"https://api.github.com/users/ridiculousfish/orgs","repos_url":"https://api.github.com/users/ridiculousfish/repos","events_url":"https://api.github.com/users/ridiculousfish/events{/privacy}","received_events_url":"https://api.github.com/users/ridiculousfish/received_events","type":"User","site_admin":false},"open_issues":380,"closed_issues":8,"state":"open","created_at":"2012-06-11T02:25:13Z","updated_at":"2016-12-15T19:17:49Z","due_on":null,"closed_at":null},"comments":18,"created_at":"2016-12-14T08:50:35Z","updated_at":"2016-12-16T00:10:02Z","closed_at":null,"body":"<!-- check if this problem is already solved! github.com/issues?q=is:issue+user:fish-shell -->\r\n- [x] Have you checked if problem occurs with [fish 2.4.0](/fish-shell/fish-shell/releases/tag/2.4.0)?\r\n- [ ] Tried fish without third-party customizations *(check `sh -c 'env HOME=$(mktemp -d) fish'`)*?\r\n\r\n**fish version installed** *(`fish --version`)*:\r\nfish, version unknown\r\nit is 2.4.0 with Haiku specific patches, not in mainline yet.\r\nCurrent recipe: https://github.com/haikuports/haikuports/pull/928\r\nPatchset: https://github.com/miqlas/haikuports/blob/b34ed504a7925d53e4be384ecad3b235fbb9d0e4/app-shells/fish/patches/fish-2.4.0.patchset\r\n**OS/terminal used**: \r\nHaiku hrev 50762 x86_64, Terminal\r\n\r\nTalk about the the issue here.\r\nBTW, the problem can lie in ncursesw Haiku port, and in Haiku's Terminal too. My current Fish config is here: https://github.com/miqlas/dotfiles/tree/master/config/settings/fish.\r\nI would like to try it later without custom prompt and clean settings. This aren't exactly a new bug, i had it all the time with earlkier Fish versions too.\r\nI can test it trough ssh from OSX box with iTerm, if it helps.\r\n\r\n## Reproduction steps\r\n1. type a long command with `/`, for example, paths and so on\r\n2. navigate with the cursor keys and edit some parts of the command\r\n3. Fish shows unnecessary characters here and there. I see double `//` and extra characters. Ctrl+L helps.\r\n\r\n<!-- Hard to explain? Post a screen recording on asciinema.org then link it here -->\r\nWill do screenshots later.\r\n\r\n## Results\r\n```console\r\n~ $ math 2 + 2\r\n4\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/267482211","html_url":"https://github.com/fish-shell/fish-shell/issues/3646#issuecomment-267482211","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3646","id":267482211,"user":{"login":"faho","id":5185367,"avatar_url":"https://avatars.githubusercontent.com/u/5185367?v=3","gravatar_id":"","url":"https://api.github.com/users/faho","html_url":"https://github.com/faho","followers_url":"https://api.github.com/users/faho/followers","following_url":"https://api.github.com/users/faho/following{/other_user}","gists_url":"https://api.github.com/users/faho/gists{/gist_id}","starred_url":"https://api.github.com/users/faho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faho/subscriptions","organizations_url":"https://api.github.com/users/faho/orgs","repos_url":"https://api.github.com/users/faho/repos","events_url":"https://api.github.com/users/faho/events{/privacy}","received_events_url":"https://api.github.com/users/faho/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T00:10:02Z","updated_at":"2016-12-16T00:10:02Z","body":"Okay, I got it installed now, and I can't reproduce.\r\n\r\nMy locale is mainly \"de.UTF-8\". In addition I also have (in addition to LC_CTYPE=de.UTF-8) \"LC_TYPE\" (without C) set to \"en_US.UTF-8\".\r\n\r\nThere's also a bunch of niggling issues here - `gettext` apparently isn't a thing, neither is `hostname -s` (this is already fixed by accident in git). `fish_config` refuses to run twice because the cache directory already exists (?). It also prints errors about tcsetpgrp.\r\n\r\nThe errnos are apparently wrapped around or something - I get \"-2147459070\" for \"file or directory already exists\".\r\n\r\nI'll try to test a bit more later."}}
{"actor":{"display_login":"faho"}}