{"action":"created","issue":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1040","labels_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1040/labels{/name}","comments_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1040/comments","events_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1040/events","html_url":"https://github.com/KSP-KOS/KOS/pull/1040","id":79237169,"number":1040,"title":"Fixes #1036 with gui terminal beeping and more.","user":{"login":"Dunbaratu","id":5216848,"avatar_url":"https://avatars.githubusercontent.com/u/5216848?v=3","gravatar_id":"","url":"https://api.github.com/users/Dunbaratu","html_url":"https://github.com/Dunbaratu","followers_url":"https://api.github.com/users/Dunbaratu/followers","following_url":"https://api.github.com/users/Dunbaratu/following{/other_user}","gists_url":"https://api.github.com/users/Dunbaratu/gists{/gist_id}","starred_url":"https://api.github.com/users/Dunbaratu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dunbaratu/subscriptions","organizations_url":"https://api.github.com/users/Dunbaratu/orgs","repos_url":"https://api.github.com/users/Dunbaratu/repos","events_url":"https://api.github.com/users/Dunbaratu/events{/privacy}","received_events_url":"https://api.github.com/users/Dunbaratu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-22T01:43:28Z","updated_at":"2015-05-23T03:01:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/KSP-KOS/KOS/pulls/1040","html_url":"https://github.com/KSP-KOS/KOS/pull/1040","diff_url":"https://github.com/KSP-KOS/KOS/pull/1040.diff","patch_url":"https://github.com/KSP-KOS/KOS/pull/1040.patch"},"body":"NOTE: The question of how eventually we will actually\r\nsupport making special characters in kOS strings is\r\noutside the scope of this PR, and is expected to be\r\naddressed as part of a future larger string functions\r\nupdate.\r\n\r\nTesting it:\r\n-----------\r\nIn the meantime, to test this feature you'll have to\r\nuse the \"spec_char.ksm\" program from the KSLib github project.\r\nAfter you do a:\r\n\r\n```\r\n   run spec_char.\r\n```\r\n\r\nThen you will now have a global variable called `beep` that\r\ncontains an ascii 7 BEL char, which you can now print:\r\n\r\n```\r\n   print \"one beep\" + beep.\r\n   print beep + \"two beep\" + beep.\r\n```\r\n\r\nNote, when testing on telnet you may notice multiple beeps get mashed\r\ninto one beep if they occur fast enough that the first beep isn't done\r\nyet when the second one starts.  This is not a bug in kOS.  That's just\r\nhow the terminals being emulated by most telnet clients actually behaved.\r\n\r\nWhile this was being worked on, further suggested improvements\r\ncame up in chat discussion and were added to this PR commit:\r\n\r\n- a visual beep setting so beeping can be just a flash.\r\n- a reverse screen setting (as long as we have to reverse the\r\nscreen for the sake of the visual beep, it may as well support\r\njust leaving it in reverse mode."},"comment":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/comments/104823149","html_url":"https://github.com/KSP-KOS/KOS/pull/1040#issuecomment-104823149","issue_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1040","id":104823149,"user":{"login":"hvacengi","id":2975036,"avatar_url":"https://avatars.githubusercontent.com/u/2975036?v=3","gravatar_id":"","url":"https://api.github.com/users/hvacengi","html_url":"https://github.com/hvacengi","followers_url":"https://api.github.com/users/hvacengi/followers","following_url":"https://api.github.com/users/hvacengi/following{/other_user}","gists_url":"https://api.github.com/users/hvacengi/gists{/gist_id}","starred_url":"https://api.github.com/users/hvacengi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvacengi/subscriptions","organizations_url":"https://api.github.com/users/hvacengi/orgs","repos_url":"https://api.github.com/users/hvacengi/repos","events_url":"https://api.github.com/users/hvacengi/events{/privacy}","received_events_url":"https://api.github.com/users/hvacengi/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T03:01:23Z","updated_at":"2015-05-23T03:01:23Z","body":"Wait... we used to shoot electrons at a phosphor coated piece of glass to get images?  Can we implement a degauss feature too? :wink: "}}