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
83
0
Share
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
91
shorterql
poccariswet
0
99
i_and_go
poccariswet
0
72
editor
poccariswet
0
110
さぁ、深夜ラジオを聴こう!
poccariswet
1
130
Aizu-Go
poccariswet
1
170
Other Decks in Programming
See All in Programming
実践CRDT
tamadeveloper
0
610
Agentic Elixir
whatyouhide
0
430
How Swift's Type System Guides AI Agents
koher
0
320
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
4
380
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
430
CDK Deployのための ”反響定位”
watany
5
920
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
130
From Formal Specification to Property Based Test
ohbarye
0
630
PHPでバイナリをパースして理解するASN.1
muno92
PRO
0
360
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
120
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
340
Running Swift without an OS
kishikawakatsumi
0
870
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Un-Boring Meetings
codingconduct
0
280
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
160
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Agile that works and the tools we love
rasmusluckow
331
21k
Practical Orchestrator
shlominoach
191
11k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Designing Powerful Visuals for Engaging Learning
tmiket
1
360
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
みたいな感じです!
で、僕がこの技術を使って何をするかと言うと
簡易的なテキストエディタを作って来ます。