{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3740","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3740/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3740/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3740/events","html_url":"https://github.com/fish-shell/fish-shell/issues/3740","id":201067598,"number":3740,"title":"No prompt output on a serial terminal","user":{"login":"peoronoob","id":1516911,"avatar_url":"https://avatars.githubusercontent.com/u/1516911?v=3","gravatar_id":"","url":"https://api.github.com/users/peoronoob","html_url":"https://github.com/peoronoob","followers_url":"https://api.github.com/users/peoronoob/followers","following_url":"https://api.github.com/users/peoronoob/following{/other_user}","gists_url":"https://api.github.com/users/peoronoob/gists{/gist_id}","starred_url":"https://api.github.com/users/peoronoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peoronoob/subscriptions","organizations_url":"https://api.github.com/users/peoronoob/orgs","repos_url":"https://api.github.com/users/peoronoob/repos","events_url":"https://api.github.com/users/peoronoob/events{/privacy}","received_events_url":"https://api.github.com/users/peoronoob/received_events","type":"User","site_admin":false},"labels":[{"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":null,"comments":2,"created_at":"2017-01-16T16:40:55Z","updated_at":"2017-01-17T02:54:17Z","closed_at":null,"body":"I have an Odroid-C2: a single-board computer similar to Raspberry Pi. It has a micro USB port that can be used in gadget mode and I'm using it as a serial port offering a TTY.\r\n\r\nBoth the Odroid-C2 and the laptop I connected it to run Arch Linux with fish 2.4.0 (that's my default shell). Linux 4.8.13 on the laptop and 3.14.79 on the Odroid.\r\n\r\nI can successfully connect to the TTY (with `screen`, for instance) and log in, but then I cannot see any prompt (neither the prompt itself, nor the commands I'm typing). Commands output works fine instead (e.g. `ls` ).\r\n\r\nIf I run a bash, that one works fine as well. I tried to run fish with an empty configuration ( `sh -c 'env HOME=$(mktemp -d) fish'` ) but it doesn't work either. I also tried to play with the `TERM` env var (and with `LANG` as hinted in issue #2559), but to no avail.\r\n\r\nIs there anything else I can try?"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/273009426","html_url":"https://github.com/fish-shell/fish-shell/issues/3740#issuecomment-273009426","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3740","id":273009426,"user":{"login":"peoronoob","id":1516911,"avatar_url":"https://avatars.githubusercontent.com/u/1516911?v=3","gravatar_id":"","url":"https://api.github.com/users/peoronoob","html_url":"https://github.com/peoronoob","followers_url":"https://api.github.com/users/peoronoob/followers","following_url":"https://api.github.com/users/peoronoob/following{/other_user}","gists_url":"https://api.github.com/users/peoronoob/gists{/gist_id}","starred_url":"https://api.github.com/users/peoronoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peoronoob/subscriptions","organizations_url":"https://api.github.com/users/peoronoob/orgs","repos_url":"https://api.github.com/users/peoronoob/repos","events_url":"https://api.github.com/users/peoronoob/events{/privacy}","received_events_url":"https://api.github.com/users/peoronoob/received_events","type":"User","site_admin":false},"created_at":"2017-01-17T02:54:17Z","updated_at":"2017-01-17T02:54:17Z","body":"Thanks for the quick replies guys!\r\n\r\nHere is a recording of my session with asciinema: https://asciinema.org/a/chx1lo09bjqavbh1id0ay8lq9\r\n\r\nIt also includes the value of a few env vars and the ouput of a few commands:\r\n - `TERM` is `vt220`. I tried to change it to a few other values.\r\n - `LANG` is `en_US.UTF-8`. I tried changing it to `C` (both modifying the environment for the current session, and modifying `/etc/locale.conf` and logging out and back in).\r\n - The output for `locale` is:\r\n    ```\r\n    LANG=en_US.UTF-8\r\n    LC_CTYPE=\"en_US.UTF-8\"\r\n    LC_NUMERIC=\"en_US.UTF-8\"\r\n    LC_TIME=\"en_US.UTF-8\"\r\n    LC_COLLATE=\"en_US.UTF-8\"\r\n    LC_MONETARY=\"en_US.UTF-8\"\r\n    LC_MESSAGES=\"en_US.UTF-8\"\r\n    LC_PAPER=\"en_US.UTF-8\"\r\n    LC_NAME=\"en_US.UTF-8\"\r\n    LC_ADDRESS=\"en_US.UTF-8\"\r\n    LC_TELEPHONE=\"en_US.UTF-8\"\r\n    LC_MEASUREMENT=\"en_US.UTF-8\"\r\n    LC_IDENTIFICATION=\"en_US.UTF-8\"\r\n    LC_ALL=\r\n    ```\r\n    After I modified `/etc/locale.conf` it became:\r\n    ```\r\n    LANG=C\r\n    LC_CTYPE=\"C\"\r\n    LC_NUMERIC=\"C\"\r\n    LC_TIME=\"C\"\r\n    LC_COLLATE=\"C\"\r\n    LC_MONETARY=\"C\"\r\n    LC_MESSAGES=\"C\"\r\n    LC_PAPER=\"C\"\r\n    LC_NAME=\"C\"\r\n    LC_ADDRESS=\"C\"\r\n    LC_TELEPHONE=\"C\"\r\n    LC_MEASUREMENT=\"C\"\r\n    LC_IDENTIFICATION=\"C\"\r\n    LC_ALL=\r\n    ```\r\n - The output for `stty -a` is:\r\n    ```\r\n    speed 9600 baud; rows 0; columns 0; line = 0;\r\n    intr = ^C; quit = ^\\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;\r\n    eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;\r\n    werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;\r\n    -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts\r\n    -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -ixon -ixoff\r\n    -iuclc -ixany -imaxbel iutf8\r\n    opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0\r\n    isig icanon -iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt\r\n    -echoctl echoke -flusho -extproc\r\n    ```\r\n\r\nDid I forget anything?\r\n\r\nI'll proceed with installing fish from git and see what happens."}}
{"actor":{"display_login":"peoronoob"}}