{"action":"created","issue":{"url":"https://api.github.com/repos/M-griffin/EtherTerm/issues/15","labels_url":"https://api.github.com/repos/M-griffin/EtherTerm/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/M-griffin/EtherTerm/issues/15/comments","events_url":"https://api.github.com/repos/M-griffin/EtherTerm/issues/15/events","html_url":"https://github.com/M-griffin/EtherTerm/issues/15","id":58488018,"number":15,"title":"Toggle for displaying incomplete ESC Sequences","user":{"login":"M-griffin","id":8034111,"avatar_url":"https://avatars.githubusercontent.com/u/8034111?v=3","gravatar_id":"","url":"https://api.github.com/users/M-griffin","html_url":"https://github.com/M-griffin","followers_url":"https://api.github.com/users/M-griffin/followers","following_url":"https://api.github.com/users/M-griffin/following{/other_user}","gists_url":"https://api.github.com/users/M-griffin/gists{/gist_id}","starred_url":"https://api.github.com/users/M-griffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M-griffin/subscriptions","organizations_url":"https://api.github.com/users/M-griffin/orgs","repos_url":"https://api.github.com/users/M-griffin/repos","events_url":"https://api.github.com/users/M-griffin/events{/privacy}","received_events_url":"https://api.github.com/users/M-griffin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/M-griffin/EtherTerm/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"M-griffin","id":8034111,"avatar_url":"https://avatars.githubusercontent.com/u/8034111?v=3","gravatar_id":"","url":"https://api.github.com/users/M-griffin","html_url":"https://github.com/M-griffin","followers_url":"https://api.github.com/users/M-griffin/followers","following_url":"https://api.github.com/users/M-griffin/following{/other_user}","gists_url":"https://api.github.com/users/M-griffin/gists{/gist_id}","starred_url":"https://api.github.com/users/M-griffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M-griffin/subscriptions","organizations_url":"https://api.github.com/users/M-griffin/orgs","repos_url":"https://api.github.com/users/M-griffin/repos","events_url":"https://api.github.com/users/M-griffin/events{/privacy}","received_events_url":"https://api.github.com/users/M-griffin/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-22T03:07:44Z","updated_at":"2015-02-22T08:41:38Z","closed_at":null,"body":"Right now all invalid ESC sequences are displayed for debugging purposes.  I've noticed on very large intro screens on Synchronet that random ESC sequences are coming over incomplete.  I've double checked with raw socket reads on Winfows, Linux and OSX that this is not a parsing error and appears to be Synchronet issue.  \r\n\r\nI believe it's a good idea to setup a toggle remove invalid sequence from displaying to avoid the appearance of artifacts on the screen for release builds, but allow them during debug builds for testing."},"comment":{"url":"https://api.github.com/repos/M-griffin/EtherTerm/issues/comments/75425875","html_url":"https://github.com/M-griffin/EtherTerm/issues/15#issuecomment-75425875","issue_url":"https://api.github.com/repos/M-griffin/EtherTerm/issues/15","id":75425875,"user":{"login":"M-griffin","id":8034111,"avatar_url":"https://avatars.githubusercontent.com/u/8034111?v=3","gravatar_id":"","url":"https://api.github.com/users/M-griffin","html_url":"https://github.com/M-griffin","followers_url":"https://api.github.com/users/M-griffin/followers","following_url":"https://api.github.com/users/M-griffin/following{/other_user}","gists_url":"https://api.github.com/users/M-griffin/gists{/gist_id}","starred_url":"https://api.github.com/users/M-griffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M-griffin/subscriptions","organizations_url":"https://api.github.com/users/M-griffin/orgs","repos_url":"https://api.github.com/users/M-griffin/repos","events_url":"https://api.github.com/users/M-griffin/events{/privacy}","received_events_url":"https://api.github.com/users/M-griffin/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T08:41:38Z","updated_at":"2015-02-22T08:41:38Z","body":"Yes, that is correct.  However in this instance,  i'm seeing ESC,  or ESC[, ESC[0  with normal characters after it (not even between socket calls),  So it appears to be lost in transmission.  I'm looking at the socket recv() prior to any parsing and this occurs when I connect to Pharcyde BBS which has a very long 3000 line into ANSI which i use for testing display speed.  I'm wondering if syncterm is sending too large of a buffer or something, but it's very random and not always the same place.  I've only seen this occur when connecting to Synchronet as of this moment, I haven't seen any issues with my own welcome and logoff screens which are almost as large.\r\n\r\nI've also noticed that Syncterm sends random NULL characters \\0 when connections are waiting for input like every 15/30 seconds.. like 50 or so in a row.  So I had to put some code to ignore null bytes.  Very annoying Synchronet is.  :)"}}