Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ncursesを学ぼう
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
poccariswet
November 11, 2018
Programming
86
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ncursesを学ぼう
ncurses
poccariswet
November 11, 2018
More Decks by poccariswet
See All by poccariswet
rust for web app
poccariswet
2
380
APNG maker on wasm
poccariswet
1
210
past and future
poccariswet
0
95
shorterql
poccariswet
0
110
i_and_go
poccariswet
0
76
editor
poccariswet
0
120
さぁ、深夜ラジオを聴こう!
poccariswet
1
130
Aizu-Go
poccariswet
1
180
Other Decks in Programming
See All in Programming
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
280
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
230
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
140
OSもどきOS
arkw
0
590
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
160
dRuby over BLE
makicamel
2
390
Lessons from Spec-Driven Development
simas
PRO
0
220
はてなアカウント基盤 State of the Union
cockscomb
0
610
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
260
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
160
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
170
さぁV100、メモリをお食べ・・・
nilpe
0
150
Featured
See All Featured
Being A Developer After 40
akosma
91
590k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
180
Product Roadmaps are Hard
iamctodd
PRO
55
12k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
Code Review Best Practice
trishagee
74
20k
Code Reviewing Like a Champion
maltzj
528
40k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
220
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
340
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
200
Side Projects
sachag
455
43k
Transcript
ncursesを学ぼう
自己紹介
は知っていると思うのですっ飛ばします!
今日やること〜! ・ncursesとは一体なんなのか... ・どうゆうことに使われてるの〜? ・あなたはそれで何をして来るの?
3本立てでお送りいたします。
ncurses?
スクリーン、キー入力、カーソルなどを管理 するライブラリのこと
また、ncurses を使用することで端末が違っていて も同じように画面(cui)の制御が出来る!
簡単に言うと
ncurses を使えば、cui の画面制御が簡単にできるってことです
実用例をみましょい!
ncurses 実用例 zsh などなど...
ncurses の名前の由来は、curses ライブラリ(UNIX系システムでの端末 制御ライブラリ)の後続で作成されたため、’new curses’ を略して ncurses になったみたいです! (curses自体の開発はすでに終了している) ちょっとした豆知識
また、最近新しい version が追加されたらしく... 【6.1のポイント】 ・バージョン6系の登場から2年半ぶりのポイントリリース ・性能を強化 ・カラーペア管理を簡素化する関数強化 ・RGB拡張の強化
基本文法
None
みたいな感じです!
で、僕がこの技術を使って何をするかと言うと
簡易的なテキストエディタを作って来ます。