Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
端末デバイス
Search
Satoru Takeuchi
PRO
December 26, 2021
Technology
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
端末デバイス
以下動画のテキストです
https://youtu.be/ArXSuUCtYLc
Satoru Takeuchi
PRO
December 26, 2021
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
79
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
110
あなたの知らないバージョン命名規則
sat
PRO
3
920
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
74
Machine Check Exception
sat
PRO
2
71
バイナリダンプの模様を読む
sat
PRO
0
110
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
110
114-ファイルのshallow_copy.pdf
sat
PRO
2
62
113-Btrfsのスナップショット.pdf
sat
PRO
0
46
Other Decks in Technology
See All in Technology
会社説明資料
persolserverworks
0
9.8k
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
Cognition AI Japan - ウェビナー2_テストQA_運用監視
cogakira
0
140
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
150
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
130
Rust で関数型ドメインモデリング
takonda
0
130
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
180
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
4
1.1k
Browser Spec: Testing Hotwire with Ruby
takahashim
1
120
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
160
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
Featured
See All Featured
Fireside Chat
paigeccino
43
4.1k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Done Done
chrislema
187
17k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
270
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
Marketing to machines
jonoalderson
1
5.9k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Designing for Timeless Needs
cassininazir
1
520
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Transcript
端末デバイス Dec. 26th, 2021 Satoru Takeuchi twitter: satoru_takeuchi 1
プロセスは端末デバイスに結びついている • プロセスは端末デバイスに結びついている • psコマンドの出力結果のTTYフィールドが該当 • /dev/<TTYフィールドの値>という名前のデバイスファイルがある ◦ /proc/<pid>/fd/{0,1,2}(標準入力、標準出力、標準エラー出力に対応 )を参照
• gtermなどのターミナルソフトウェアでbashを動かしているとすると… ◦ キーボード入力をbashに標準入力として与える ◦ bashの標準出力、標準エラー出力への書き込みをターミナル上に表示 2
昔話 • 入力はキーボード、出力は紙への印刷という物理端末デバイス ◦ デカいコンピュータにいっぱい端末デバイスが繋がっていた キーボード プリンタ デカいコンピュータ unkoコマンド実行! カチャカチャ...
ッターン! キーボード プリンタ シェル 3
昔話 • 入力はキーボード、出力は紙への印刷という物理端末デバイス ◦ デカいコンピュータにいっぱい端末デバイスが繋がっていた キーボード プリンタ デカいコンピュータ キーボード プリンタ
シェル そんなコマンド無いが ? 4
昔話 • 入力はキーボード、出力は紙への印刷という物理端末デバイス ◦ デカいコンピュータにいっぱい端末デバイスが繋がっていた キーボード プリンタ デカいコンピュータ キーボード プリンタ
シェル ソンナコマンドハナ イ カタカタカタ... 5
人の端末デバイスにアクセス • 他人の端末デバイスに書き込みできる • bashに結びついていれば書き込んだ文字を表示できる • 頑張ればチャットできなくもない 6
まとめ • プロセスは端末デバイスに結びついている • 標準{入力、出力、エラー出力}が端末デバイス • 人の端末デバイスがわかればチャットできる 7