{"id":4290,"date":"2021-06-07T16:18:41","date_gmt":"2021-06-07T07:18:41","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=4290"},"modified":"2021-06-08T07:07:15","modified_gmt":"2021-06-07T22:07:15","slug":"posix-%e7%94%bb%e9%9d%a2%e5%81%9c%e6%ad%a2%e3%82%92%e7%84%a1%e5%8a%b9%e5%8c%96%e3%81%99%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/4290","title":{"rendered":"[POSIX] \u753b\u9762\u505c\u6b62\u3092\u7121\u52b9\u5316\u3059\u308b\u3002"},"content":{"rendered":"<h3>1. \u75c7\u72b6<\/h3>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u30ad\u30fc\u5165\u529b\u3092\u3057\u3066\u3044\u308b\u3046\u3061\u306b\u3001\u30ad\u30fc\u64cd\u4f5c\u3092\u53d7\u3051\u4ed8\u3051\u306a\u304f\u306a\u3063\u305f\uff08\u30d5\u30ea\u30fc\u30ba\u3057\u305f\uff09\u3088\u3046\u306b\u307f\u3048\u308b\u3002<\/p>\n<h3>2. \u539f\u56e0<\/h3>\n<p><strong>Ctrl<\/strong> + <strong>S<\/strong> \u3092\u62bc\u3057\u3066\u3001\u753b\u9762\u505c\u6b62(STOP)\u3092\u5b9f\u884c\u3057\u305f\u3002<\/p>\n<ul>\n<li>\u4e00\u822c\u7684\u306a\u30a2\u30d7\u30ea : \u4fdd\u5b58<\/li>\n<li>\u30bf\u30fc\u30df\u30ca\u30eb : \u753b\u9762\u66f4\u65b0\uff08\u30b9\u30af\u30ed\u30fc\u30eb\uff09\u306e\u4e00\u6642\u505c\u6b62<\/li>\n<\/ul>\n<p>\u203b \u30bf\u30fc\u30df\u30ca\u30eb\u901a\u4fe1(RS-232C\u3084\u30a2\u30ca\u30ed\u30b0\u30e2\u30c7\u30e0)\u304c\u4f4e\u901f\u306a\u6642\u4ee3\u306f Ctrl + S \u3068 Ctrl + Q \u3092\u99c6\u4f7f\u3057\u3066\u3001\u753b\u9762\u306e\u30b9\u30af\u30ed\u30fc\u30eb\u3068\u4e00\u6642\u505c\u6b62\u3092\u7e70\u308a\u8fd4\u3057\u3001\u5b9f\u884c\u7d50\u679c\u3084\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8aad\u307f\u9032\u3093\u3067\u3044\u307e\u3057\u305f\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u6a5f\u80fd\u304c\u306a\u304b\u3063\u305f\u6642\u4ee3\u306eTIPS\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h3>3. \u89e3\u6c7a\u65b9\u6cd5<\/h3>\n<h4>3.1. [\u4e00\u6642\u7684\u89e3\u6c7a\u7b56] \u753b\u9762\u505c\u6b62\u3092\u89e3\u9664\u3059\u308b<\/h4>\n<p><strong>Ctrl<\/strong> + <strong>Q<\/strong><\/p>\n<h4>3.2. [\u6c38\u4e45\u7684\u89e3\u6c7a\u7b56] <strong>Ctrl<\/strong> + <strong>S<\/strong> \u306e\u30ad\u30fc\u30d0\u30a4\u30f3\u30c9\u3092\u7121\u52b9\uff08\u672a\u5b9a\u7fa9\uff09\u306b\u3059\u308b<\/h4>\n<p>.bashrc\u306a\u3069\u306b\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true \" >stty stop undef<\/pre>\n<h3>4. \u30ad\u30fc\u30d0\u30a4\u30f3\u30c9\u4e00\u89a7\u8868\u793a\u65b9\u6cd5<\/h3>\n<pre class=\"lang:default highlight:0 decode:true \" >$ stty -a\r\nspeed 38400 baud; rows 30; columns 120; line = 0;\r\nintr = ^C; quit = ^\\; erase = ^?; kill = ^U; eof = ^D; eol = &lt;undef&gt;; eol2 = &lt;undef&gt;; swtch = &lt;undef&gt;; start = ^Q;\r\nstop = ^S; susp = ^Z; rprnt = ^R; 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 -iuclc -ixany -imaxbel -iutf8\r\nopost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0\r\nisig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>1. \u75c7\u72b6 \u30bf\u30fc\u30df\u30ca\u30eb\u3067\u30ad\u30fc\u5165\u529b\u3092\u3057\u3066\u3044\u308b\u3046\u3061\u306b\u3001\u30ad\u30fc\u64cd\u4f5c\u3092\u53d7\u3051\u4ed8\u3051\u306a\u304f\u306a\u3063\u305f\uff08\u30d5\u30ea\u30fc\u30ba\u3057\u305f\uff09\u3088\u3046\u306b\u307f\u3048\u308b\u3002 2. \u539f\u56e0 Ctrl + S \u3092\u62bc\u3057\u3066\u3001\u753b\u9762\u505c\u6b62(STOP)\u3092\u5b9f\u884c\u3057\u305f\u3002 \u4e00\u822c\u7684\u306a\u30a2\u30d7\u30ea : \u4fdd\u5b58 \u30bf\u30fc\u30df\u30ca\u30eb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[42],"class_list":["post-4290","post","type-post","status-publish","format-standard","hentry","category-memo","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/4290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=4290"}],"version-history":[{"count":15,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/4290\/revisions"}],"predecessor-version":[{"id":4306,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/4290\/revisions\/4306"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=4290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=4290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=4290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}