{"action":"created","issue":{"url":"https://api.github.com/repos/kaushalmodi/eless/issues/27","repository_url":"https://api.github.com/repos/kaushalmodi/eless","labels_url":"https://api.github.com/repos/kaushalmodi/eless/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/kaushalmodi/eless/issues/27/comments","events_url":"https://api.github.com/repos/kaushalmodi/eless/issues/27/events","html_url":"https://github.com/kaushalmodi/eless/issues/27","id":297252939,"number":27,"title":"man pages are not readable on macOS","user":{"login":"mobyte0","id":8704870,"avatar_url":"https://avatars2.githubusercontent.com/u/8704870?v=4","gravatar_id":"","url":"https://api.github.com/users/mobyte0","html_url":"https://github.com/mobyte0","followers_url":"https://api.github.com/users/mobyte0/followers","following_url":"https://api.github.com/users/mobyte0/following{/other_user}","gists_url":"https://api.github.com/users/mobyte0/gists{/gist_id}","starred_url":"https://api.github.com/users/mobyte0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobyte0/subscriptions","organizations_url":"https://api.github.com/users/mobyte0/orgs","repos_url":"https://api.github.com/users/mobyte0/repos","events_url":"https://api.github.com/users/mobyte0/events{/privacy}","received_events_url":"https://api.github.com/users/mobyte0/received_events","type":"User","site_admin":false},"labels":[{"id":838457198,"url":"https://api.github.com/repos/kaushalmodi/eless/labels/cannot%20reproduce%20issue","name":"cannot reproduce issue","color":"f97768","default":false},{"id":591507223,"url":"https://api.github.com/repos/kaushalmodi/eless/labels/help%20wanted","name":"help wanted","color":"0e8a16","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":62,"created_at":"2018-02-14T21:33:38Z","updated_at":"2018-02-22T16:42:36Z","closed_at":null,"author_association":"NONE","body":"Mentioned this issue in [#18](https://github.com/kaushalmodi/eless/issues/18#issuecomment-365404302).\r\n\r\n```\r\n rob  ~/b/eless   master ±  echo $PAGER\r\neless\r\n rob  ~/b/eless   master ±  man ls | eless -D\r\nEless Version c447784 (commit hash of current master~1)\r\nhttps://github.com/kaushalmodi/eless/tree/master\r\nDEBUG: --> Input from pipe/file\r\nDEBUG:     Output to terminal -->\r\nDEBUG: var : -D\r\nDEBUG: Raw Args                       : -D\r\nDEBUG: Emacs Args                     : -nw\r\nDEBUG: Pipe Contents (up to 10 lines) : This script is not supposed to send output to a pipe\r\nDEBUG: Temp File : /var/folders/24/18pqhyd57wv1c4cn4r7zswt40000gn/T/emacs-stdin-rob.NyrJ0jY\r\nDEBUG: first_line_piped_data = This script is not supposed to send output to a pipe\r\nDEBUG: No man page or info manual detected\r\nDEBUG: Eless Command : emacs_Q_view_mode /var/folders/24/18pqhyd57wv1c4cn4r7zswt40000gn/T/emacs-stdin-rob.NyrJ0jY                          -nw                          --eval '(progn\r\n                                   (set-visited-file-name nil)\r\n                                   (rename-buffer \"*Stdin*\" :unique))'\r\nDEBUG: Args passed to emacs_Q_view_mode : /var/folders/24/18pqhyd57wv1c4cn4r7zswt40000gn/T/emacs-stdin-rob.NyrJ0jY -nw --eval (progn\r\n                                   (set-visited-file-name nil)\r\n                                   (rename-buffer \"*Stdin*\" :unique))\r\n```\r\n`This script is not supposed to send output to a pipe` displayed in `eless`.\r\n```\r\n rob  ~/b/eless   master ± \r\n```"},"comment":{"url":"https://api.github.com/repos/kaushalmodi/eless/issues/comments/367742169","html_url":"https://github.com/kaushalmodi/eless/issues/27#issuecomment-367742169","issue_url":"https://api.github.com/repos/kaushalmodi/eless/issues/27","id":367742169,"user":{"login":"nasyxx","id":5007613,"avatar_url":"https://avatars3.githubusercontent.com/u/5007613?v=4","gravatar_id":"","url":"https://api.github.com/users/nasyxx","html_url":"https://github.com/nasyxx","followers_url":"https://api.github.com/users/nasyxx/followers","following_url":"https://api.github.com/users/nasyxx/following{/other_user}","gists_url":"https://api.github.com/users/nasyxx/gists{/gist_id}","starred_url":"https://api.github.com/users/nasyxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasyxx/subscriptions","organizations_url":"https://api.github.com/users/nasyxx/orgs","repos_url":"https://api.github.com/users/nasyxx/repos","events_url":"https://api.github.com/users/nasyxx/events{/privacy}","received_events_url":"https://api.github.com/users/nasyxx/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T16:42:36Z","updated_at":"2018-02-22T16:42:36Z","author_association":"NONE","body":"Hi, I added `NOCACHE` to the end of `man.conf`,\r\n\r\n<img width=\"298\" alt=\"screen shot 2018-02-23 at 12 28 59 am\" src=\"https://user-images.githubusercontent.com/5007613/36550647-ba37e4ba-1830-11e8-9c65-298b58308719.png\">\r\n\r\nbut it still does not work.\r\n\r\nWhen I run `PAGER=eless man Net::FTP`, the result is the same as @sshaw 's, mangled characters.\r\n\r\n<img width=\"850\" alt=\"screen shot 2018-02-23 at 12 35 13 am\" src=\"https://user-images.githubusercontent.com/5007613/36551300-41e14914-1832-11e8-9f37-ef020cffec6f.png\">\r\n\r\n\r\nAnd `PAGER=eless man -d Net::FTP` shows as below.\r\n\r\n```\r\n...\r\nadding mandatory man directories\r\n\r\nadding /Applications/Xcode.app/Contents/Developer/usr/share/man to manpath\r\nadding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man to manpath\r\nno cat page stored because of nonstandard line length\r\nusing default preprocessor sequence\r\nfound tbl(1) directive\r\n\r\nnot executing command:\r\n  (cd '/usr/local/share/man' && (echo \".ll 14.5i\"; echo \".nr LL 14.5i\"; /bin/cat '/usr/local/share/man/man3/Net::FTP.3') | /usr/bin/tbl | /usr/bin/groff -Wall -mtty-char -Tascii -mandoc -c | (eless || true))\r\n```"}}
{"actor":{"display_login":"nasyxx"}}