{"action":"created","issue":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/106","labels_url":"https://api.github.com/repos/scopatz/xonsh/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/scopatz/xonsh/issues/106/comments","events_url":"https://api.github.com/repos/scopatz/xonsh/issues/106/events","html_url":"https://github.com/scopatz/xonsh/issues/106","id":63089474,"number":106,"title":"less isn't compatible with xonsh","user":{"login":"GMLudo","id":243823,"avatar_url":"https://avatars.githubusercontent.com/u/243823?v=3","gravatar_id":"","url":"https://api.github.com/users/GMLudo","html_url":"https://github.com/GMLudo","followers_url":"https://api.github.com/users/GMLudo/followers","following_url":"https://api.github.com/users/GMLudo/following{/other_user}","gists_url":"https://api.github.com/users/GMLudo/gists{/gist_id}","starred_url":"https://api.github.com/users/GMLudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GMLudo/subscriptions","organizations_url":"https://api.github.com/users/GMLudo/orgs","repos_url":"https://api.github.com/users/GMLudo/repos","events_url":"https://api.github.com/users/GMLudo/events{/privacy}","received_events_url":"https://api.github.com/users/GMLudo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scopatz/xonsh/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scopatz/xonsh/milestones/1","html_url":"https://github.com/scopatz/xonsh/milestones/v0.2","labels_url":"https://api.github.com/repos/scopatz/xonsh/milestones/1/labels","id":1013181,"number":1,"title":"v0.2","description":"","creator":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":75,"state":"open","created_at":"2015-03-09T18:29:10Z","updated_at":"2015-03-19T20:58:36Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-03-19T20:57:27Z","updated_at":"2015-03-19T21:00:14Z","closed_at":null,"body":"Hi,\r\n\r\nI can't use `less` command in xonsh.\r\nWhen I launch, the console is frozen.\r\nAfter a CTRL+C, I see less, but it's incontrolable.\r\nAfter another CTRL+C, I've this stacktrace + the output of the console is completely broken.\r\nAs workaround, I use `most`, I works as a charm, and it's better than `less`.\r\n\r\n    Traceback (most recent call last):\r\n    File \"/usr/local/bin/xonsh\", line 3, in <module>\r\n    Traceback (most recent call last):\r\n        main()\r\n    File \"/usr/local/lib/python3.4/dist-packages/xonsh/main.py\", line 27, in main\r\n    File \"/usr/local/lib/python3.4/dist-packages/xonsh/shell.py\", line 109, in default\r\n        self.execer.exec(code, mode='single', glbs=None, locs=self.ctx)\r\n    File \"/usr/local/lib/python3.4/dist-packages/xonsh/execer.py\", line 110, in exec\r\n        return exec(code, glbs, locs)\r\n        shell.default(args.command)\r\n    File \"/usr/local/lib/python3.4/dist-packages/xonsh/shell.py\", line 105, in default\r\n    File \"<xonsh-code>\", line 1, in <module>\r\n        code = self.push(line)\r\n    File \"/usr/local/lib/python3.4/dist-packages/xonsh/shell.py\", line 126, in push\r\n        locs=self.ctx)\r\n    File \"/usr/local/lib/python3.4/dist-packages/xonsh/execer.py\", line 84, in compile\r\n        tree = self.parse(input, ctx, mode=mode)\r\n    File \"/usr/local/lib/python3.4/dist-packages/xonsh/built_ins.py\", line 383, in subproc_uncaptured\r\n        return run_subproc(cmds, captured=False)\r\n    File \"/usr/local/lib/python3.4/dist-packages/xonsh/execer.py\", line 62, in parse\r\n    File \"/usr/local/lib/python3.4/dist-packages/xonsh/built_ins.py\", line 366, in run_subproc\r\n        prev_proc.communicate()[0]\r\n        tree = self._parse_ctx_free(input, mode=mode)\r\n    File \"/usr/local/lib/python3.4/dist-packages/xonsh/execer.py\", line 118, in _parse_ctx_free\r\n        mode=mode, debug_level=self.debug_level)\r\n    File \"/usr/local/lib/python3.4/dist-packages/xonsh/parser.py\", line 271, in parse\r\n        debug=debug_level)\r\n    File \"/usr/local/lib/python3.4/dist-packages/ply/yacc.py\", line 265, in parse\r\n    File \"/usr/lib/python3.4/subprocess.py\", line 941, in communicate\r\n        self.wait()\r\n    File \"/usr/lib/python3.4/subprocess.py\", line 1536, in wait\r\n        (pid, sts) = self._try_wait(0)\r\n    File \"/usr/lib/python3.4/subprocess.py\", line 1493, in _try_wait\r\n        (pid, sts) = _eintr_retry_call(os.waitpid, self.pid, wait_flags)\r\n    File \"/usr/lib/python3.4/subprocess.py\", line 487, in _eintr_retry_call\r\n        return func(*args)\r\n        return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)\r\n    File \"/usr/local/lib/python3.4/dist-packages/ply/yacc.py\", line 921, in parseopt_notrack\r\n    KeyboardInterrupt\r\n        lookahead = get_token()     # Get the next token\r\n    File \"/usr/local/lib/python3.4/dist-packages/xonsh/lexer.py\", line 66, in token\r\n        self.last = self.lexer.token()\r\n    KeyboardInterrupt\r\n"},"comment":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/comments/83758953","html_url":"https://github.com/scopatz/xonsh/issues/106#issuecomment-83758953","issue_url":"https://api.github.com/repos/scopatz/xonsh/issues/106","id":83758953,"user":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T21:00:14Z","updated_at":"2015-03-19T21:00:14Z","body":"Hi @GMLudo - Thanks for reporting. I use less all the time, so I am not sure what is going on here. What is weirder is that the other pagers work.  Can you tell us a little about your system? OS, how you got python? etc."}}