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
96
shorterql
poccariswet
0
110
i_and_go
poccariswet
0
77
editor
poccariswet
0
120
さぁ、深夜ラジオを聴こう!
poccariswet
1
130
Aizu-Go
poccariswet
1
180
Other Decks in Programming
See All in Programming
Laravelで学ぶ Webアプリケーションチューニング入門/web_application_tuning_101
hanhan1978
4
800
act1-costs.pdf
sumedhbala
0
230
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
150
【やさしく解説 設計編・中級 #4】ルールの寿命と、システムの年輪
panda728
PRO
2
140
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
0
110
任せる範囲はこう広がった / How the Scope of AI Delegation Has Expanded
nrslib
1
260
共通化で考えるべきは、実装より公開する型だった
codeegg
0
250
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
270
【やさしく解説 設計編 #0】DDDのコード、読めるのに分からない人へ
panda728
PRO
2
270
1年で人数1.5倍、PR数5.5倍増。 品質とアウトカムはどうなったか、 何が効いたか
ike002jp
0
140
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
1
190
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
110
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.3k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
420
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
350
Designing for Timeless Needs
cassininazir
1
370
Test your architecture with Archunit
thirion
1
2.3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
410
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
190
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.6k
Become a Pro
speakerdeck
PRO
31
6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
150
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
みたいな感じです!
で、僕がこの技術を使って何をするかと言うと
簡易的なテキストエディタを作って来ます。