{"id":81463,"date":"2020-05-13T13:42:49","date_gmt":"2020-05-13T11:42:49","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vyshla-notcurses-v1-4-1-biblioteka-dlya-sovremennyh-tekstovyh-interfejsov"},"modified":"2020-05-13T13:42:49","modified_gmt":"2020-05-13T11:42:49","slug":"vyshla-notcurses-v1-4-1-biblioteka-dlya-sovremennyh-tekstovyh-interfejsov","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/vyshla-notcurses-v1-4-1-biblioteka-dlya-sovremennyh-tekstovyh-interfejsov","title":{"rendered":"Megjelent a notcurses v1.4.1 \u2014 k\u00f6nyvt\u00e1r a modern sz\u00f6veges fel\u00fcletekhez","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><a rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/images\/19139\/original.jpg\" itemprop=\"contentURL\"><br \/>\n      <img decoding=\"async\" alt=\"Megjelent a notcurses v1.4.1 \u2014 k\u00f6nyvt\u00e1r a modern sz\u00f6veges fel\u00fcletekhez\" src=\"\/wp-content\/uploads\/2020\/05\/973d5cc67751ccd145585d50ec2cba73.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>    <\/a><\/p>\n<p>Megjelent a notcurses v1.4.x k\u00f6nyvt\u00e1r \u00faj verzi\u00f3ja: \u201efolytat\u00f3dik a saga! wu-tang! wu-tang!\u201d<\/p>\n<p><noindex><noindex><\/p>\n<p>A Notcurses egy TUI k\u00f6nyvt\u00e1r a modern termin\u00e1lemul\u00e1torokhoz. Sz\u00f3 szerint - nem \u00e1tkok (not curses). C nyelven \u00edr\u00f3dott, C++-biztons\u00e1gos header f\u00e1jlok haszn\u00e1lat\u00e1val. El\u00e9rhet\u0151 fed\u0151lapok a <a rel=\"nofollow\" href=\"https:\/\/crates.io\/crates\/notcurses\">Rust<\/a>, <a rel=\"nofollow\" href=\"https:\/\/github.com\/dankamongmen\/notcurses\/issues\/212\">C++<\/a> \u00e9s <a rel=\"nofollow\" href=\"https:\/\/pypi.org\/project\/notcurses\">Python<\/a>.<\/p>\n<p><\/noindex><\/noindex><\/p>\n<p>Mi ez: egy k\u00f6nyvt\u00e1r, amely leegyszer\u0171s\u00edti a bonyolult TUI-kat a modern termin\u00e1lemul\u00e1torokon, maxim\u00e1lisan t\u00e1mogatja a f\u00e9nyes sz\u00edneket \u00e9s az Unicode-ot. Sok feladat, amelyet a curses kezel, elv\u00e9gezhet\u0151 a notcurses seg\u00edts\u00e9g\u00e9vel (\u00e9s ford\u00edtva).<\/p>\n<p>Ami nem: kompatibilis X\/Open curses megval\u00f3s\u00edt\u00e1s vagy a ncurses helyettes\u00edt\u00e9se a megl\u00e9v\u0151 rendszereken.<\/p>\n<p>A Notcurses elhagyja az X\/Open Curses API-t, amely a Single UNIX Specification r\u00e9szek\u00e9nt \u00e9rkezik. Ez a specifik\u00e1ci\u00f3 r\u00e9g\u00f3ta elavult, \u00e9s p\u00e9ld\u00e1ul nem t\u00e1mogatja a termin\u00e1l olyan funkci\u00f3it, mint a nem indexelt 24-bites sz\u00edn. Ennek megfelel\u0151en a notcurses nem helyettes\u00edti a curses-t. Kev\u00e9sb\u00e9 hordozhat\u00f3, \u00e9s hat\u00e1rozottan kevesebb hardveren tesztelt\u00e9k.<br \/>\nAmikor csak lehets\u00e9ges, a notcurses a ncurses-szal egy\u00fctt sz\u00e1ll\u00edtott terminfo k\u00f6nyvt\u00e1rat haszn\u00e1lja, nagy hasznot h\u00fazva annak hordozhat\u00f3s\u00e1g\u00e1b\u00f3l.<br \/>\nA Notcurses kiterjesztett funkci\u00f3kat ny\u00fajt a felhaszn\u00e1l\u00f3k interakci\u00f3j\u00e1hoz munka\u00e1llom\u00e1sokon, telefonokon, laptopokon \u00e9s t\u00e1blag\u00e9peken.<\/p>\n<p>Mi\u00e9rt haszn\u00e1ljuk ezt a nem szabv\u00e1nyos k\u00f6nyvt\u00e1rat?<\/p>\n<ul>\n<li>\n<p>A sz\u00e1lbiztons\u00e1g \u00e9s a hat\u00e9kony felhaszn\u00e1l\u00e1s a t\u00f6bb sz\u00e1las programokban m\u00e1r a tervez\u00e9s sor\u00e1n figyelembe lett v\u00e9ve.<\/p>\n<\/li>\n<li>\n<p>Helyesebben kialak\u00edtott API az X\/Open-hoz k\u00e9pest:<\/p>\n<ul>\n<li>\n<p>Az export\u00e1lt azonos\u00edt\u00f3k prefixet kapnak, hogy elker\u00fclj\u00e9k a n\u00e9vt\u00e9r \u00fctk\u00f6z\u00e9seket.<\/p>\n<\/li>\n<li>\n<p>A k\u00f6nyvt\u00e1r objektumf\u00e1jlja a minim\u00e1lis sz\u00e1m\u00fa szimb\u00f3lumot export\u00e1l. Ahol indokolt, ott statikus k\u00f3dot haszn\u00e1lnak csak az alacsony szint\u0171 fejl\u00e9cekhez. Ez megk\u00f6nny\u00edti a ford\u00edt\u00f3optimaliz\u00e1l\u00e1st \u00e9s cs\u00f6kkenti a bet\u00f6lt\u00e9si id\u0151t.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<noindex><\/p>\n<p>Minden API kezdetben t\u00e1mogatja az univerz\u00e1lis szimb\u00f3lumszettet (Unicode). A cell\u00e1khoz k\u00e9sz\u00fclt API a k\u00f6vetkez\u0151 fogalomra alapoz: <a rel=\"nofollow\" href=\"https:\/\/unicode.org\/reports\/tr29\/\">Unicode Kiterjesztett Grapheme Clusters<\/a>.<\/p>\n<p><\/noindex>\n<\/li>\n<li>\n<p>L\u00e1tv\u00e1nyos lehet\u0151s\u00e9gek, bele\u00e9rtve a k\u00e9peket, bet\u0171t\u00edpusokat, vide\u00f3kat, nagy kontraszt\u00fa sz\u00f6veget, sprite-okat \u00e9s \u00e1tl\u00e1tsz\u00f3 ter\u00fcleteket. Minden API nat\u00edvan t\u00e1mogatja a 24-bites sz\u00ednt, sz\u00fcks\u00e9g szerint quant\u00e1lva a termin\u00e1lhoz.<\/p>\n<\/li>\n<li>\n<noindex><\/p>\n<p>Apache2 licenc, szemben a <a rel=\"nofollow\" href=\"https:\/\/invisible-island.net\/ncurses\/ncurses-license.html\">dr\u00e1ma<\/a> t\u00f6bb aktusban, amely az ncurses licencet jelenti (legut\u00f3bb az \u201eMIT-X11 \u00e1tfogalmaz\u00e1sak\u00e9nt\u201d van \u00f6sszefoglalva).<\/p>\n<p><\/noindex>\n<\/li>\n<\/ul>\n<p>Az el\u0151z\u0151 jelent\u0151s kiad\u00e1s \u00f3ta 1.1.0 rengeteg \u00faj funkci\u00f3 ker\u00fclt hozz\u00e1ad\u00e1sra. F\u0151bb v\u00e1ltoz\u00e1sok:<\/p>\n<ul>\n<li>\n<p>A widget egyedi form\u00e1j\u00fa sztringek olvas\u00e1s\u00e1ra szolg\u00e1l, k\u00f6zvetlen kapcsolatban a sztringekkel.<\/p>\n<\/li>\n<li>\n<p>Subprocess widget egy \u00faj alprocessz gener\u00e1l\u00e1s\u00e1ra, ir\u00e1ny\u00edt\u00e1s\u00e1ra \u00e9s az eredm\u00e9nyek vissza\u00e1raml\u00e1s\u00e1ra.<\/p>\n<\/li>\n<li>\n<p>Linux 5.3+ verzi\u00f3ban \u00faj clone3+pidfd mechanizmus ker\u00fcl bevezet\u00e9sre a folyamatok versenyhelyzet n\u00e9lk\u00fcli kezel\u00e9s\u00e9re.<\/p>\n<\/li>\n<li>\n<p>Fdplane widget, amely lehet\u0151v\u00e9 teszi b\u00e1rmely f\u00e1jl le\u00edr\u00f3 folyamatos tov\u00e1bb\u00edt\u00e1s\u00e1t a s\u00edkra (ahol az alprocessz \u00e9p\u00edtve van). Mindkett\u0151 lehet\u0151v\u00e9 teszi visszah\u00edv\u00e1sok st\u00edlusoz\u00e1s\u00e1t vagy egy\u00e9b sz\u00f6vegfeldolgoz\u00e1st.<\/p>\n<\/li>\n<li>\n<p>S\u00edklapok \u00e9s vizu\u00e1lis effektusok forgat\u00e1sa. Vizualiz\u00e1ci\u00f3k bet\u00f6lt\u00e9se mem\u00f3ri\u00e1b\u00f3l. Szabad RGBA\/BGRx blittel\u00e9s.<\/p>\n<\/li>\n<li>\n<p>A men\u00fc tetsz\u0151leges (vagy mindk\u00e9t) fels\u0151 \u00e9s als\u00f3 s\u00edkon elhelyezhet\u0151.<\/p>\n<\/li>\n<li>\n<p>Jelent\u0151s fejleszt\u00e9sek a Direct m\u00f3dban.<\/p>\n<\/li>\n<li>\n<p>Polyfill-ek, gradientek \u00e9s magas kontraszt\u00fa sz\u00f6veg.<\/p>\n<\/li>\n<li>\n<p>Tetris hozz\u00e1ad\u00e1sa mint p\u00e9lda.<\/p>\n<\/li>\n<li>\n<p>A C++ wrapper-ek Marek Habersack-t\u00f3l lehet\u0151s\u00e9get kaptak kiv\u00e9telek dob\u00e1s\u00e1ra (ha sz\u00fcks\u00e9ges).<\/p>\n<\/li>\n<li>\n<p>A Python \u00e9s Rust FFI friss\u00edt\u00e9sre \u00e9s tesztel\u00e9sre ker\u00fclt.<\/p>\n<\/li>\n<\/ul>\n<p><a rel=\"nofollow\" href=\"https:\/\/www.youtube.com\/watch?v=TvWdUfIStDI\">Vide\u00f3 bemutat\u00f3, az \u00edr\u00f3 komment\u00e1rjaival.<\/a><br \/>\n<a rel=\"nofollow\" href=\"https:\/\/nick-black.com\/dankwiki\/index.php\/Hacking_The_Planet!_with_Notcurses\">A \u201eHacking The Planet! with Notcurses\u201d k\u00f6nyv szerz\u0151je<\/a><\/p>\n<p>Forr\u00e1s: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"http:\/\/www.linux.org.ru\/news\/opensource\/15699897\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412\u044b\u0448\u043b\u0430 \u043d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 notcurses v1.4.x &laquo;the saga continues! wu-tang! wu-tang!&raquo; Notcurses \u044d\u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 TUI \u0434\u043b\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u0432. \u0411\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044f &ndash; \u043d\u0435 \u043f\u0440\u043e\u043a\u043b\u044f\u0442\u0438\u044f (not curses). \u041e\u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 \u0421, \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c C++-safe headers. \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043e\u0431\u0451\u0440\u0442\u043a\u0438 \u0434\u043b\u044f Rust, C++ \u0438 Python. \u0427\u0442\u043e \u044d\u0442\u043e \u0442\u0430\u043a\u043e\u0435: \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430, \u0443\u043f\u0440\u043e\u0449\u0430\u044e\u0449\u0430\u044f \u0441\u043b\u043e\u0436\u043d\u044b\u0435 TUI \u043d\u0430 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430\u0445, \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0430\u044f \u044f\u0440\u043a\u0438\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":81464,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-81463","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/vyshla-notcurses-v1-4-1-biblioteka-dlya-sovremennyh-tekstovyh-interfejsov\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u0448\u043b\u0430 notcurses v1.4.1 \u2014 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043b\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 | ProHoster\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/vyshla-notcurses-v1-4-1-biblioteka-dlya-sovremennyh-tekstovyh-interfejsov\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-05-13T11:42:49+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-13T11:42:49+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Megjelent a notcurses v1.4.1 \u2013 k\u00f6nyvt\u00e1r a modern sz\u00f6veges fel\u00fcletekhez | ProHoster","description":"","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/vyshla-notcurses-v1-4-1-biblioteka-dlya-sovremennyh-tekstovyh-interfejsov","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u0448\u043b\u0430 notcurses v1.4.1 \u2014 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043b\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 | ProHoster","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/vyshla-notcurses-v1-4-1-biblioteka-dlya-sovremennyh-tekstovyh-interfejsov","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-05-13T11:42:49+00:00","article:modified_time":"2020-05-13T11:42:49+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"81463","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 15:57:25","updated":"2022-09-29 16:14:56","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/81463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=81463"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/81463\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media\/81464"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=81463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=81463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=81463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}