{"id":2390,"date":"2019-05-07T22:56:28","date_gmt":"2019-05-07T13:56:28","guid":{"rendered":"http:\/\/matoken.org\/blog\/?p=2390"},"modified":"2019-05-07T22:56:28","modified_gmt":"2019-05-07T13:56:28","slug":"fixed-editor-warning-on-debian-with-nano-removed","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2019\/05\/07\/fixed-editor-warning-on-debian-with-nano-removed\/","title":{"rendered":"nano\u3092\u6d88\u3057\u305fDebian\u3067\u30a8\u30c7\u30a3\u30bf\u306e\u8b66\u544a\u304c\u51fa\u308b\u306e\u3092\u4fee\u6b63"},"content":{"rendered":"<div id=\"preamble\">\n<div class=\"sectionbody\">\n<div class=\"paragraph\">\n<p>vim\u4f7f\u3046\u306e\u3067nano\u3092\u6d88\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u8b66\u544a\u304c\u51fa\u3066\u3044\u307e\u3059\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ sudo crontab -e\r\n\/usr\/bin\/sensible-editor: 25: \/usr\/bin\/sensible-editor: \/bin\/nano: not found\r\n\/usr\/bin\/sensible-editor: 28: \/usr\/bin\/sensible-editor: nano: not found\r\n\/usr\/bin\/sensible-editor: 31: \/usr\/bin\/sensible-editor: nano-tiny: not found\r\ncrontab: installing new crontab<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>fallback?\u3067vim\u306b\u5207\u308a\u66ff\u308f\u308b\u306e\u3067\u5b9f\u5bb3\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u6c17\u6301\u3061\u60aa\u3044\uff0e<br \/>\n\u8b66\u544a\u3092\u51fa\u3057\u3066\u3044\u308b <code>sensible-editor<\/code> \u3092\u78ba\u8a8d\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ man sensible-editor|more\r\nSENSIBLE-EDITOR(1)                                         General Commands Manual                                         SENSIBLE-EDITOR(1)\r\n\r\nNAME\r\n       sensible-editor, sensible-pager, sensible-browser - sensible editing, paging, and web browsing\r\n\r\nSYNOPSIS\r\n       sensible-editor [OPTIONS...]\r\n       sensible-pager [OPTIONS...]\r\n       sensible-browser url\r\n\r\nDESCRIPTION\r\n       sensible-editor,  sensible-pager and sensible-browser make sensible decisions on which editor, pager, and web browser to call, respec\u2010\r\n       tively.  Programs in Debian can use these scripts as their default editor, pager, or web browser or emulate their behavior.\r\n\r\nSEE ALSO\r\n       Documentation of the EDITOR, VISUAL and PAGER variables in environ(7) and select-editor(1) for changing a user's default editor\r\n\r\nSTANDARD\r\n       Documentation of behavior of sensible-utils under a debian system is available under section 11.4 of debian-policy  usually  installed\r\n       under \/usr\/share\/doc\/debian-policy (you might need to install debian-policy)\r\n\r\nDebian                                                           14 Nov 2010                                               SENSIBLE-EDITOR(1)<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>select-editor \u3092\u5b9f\u884c\u3059\u308b\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u306e\u30a8\u30c7\u30a3\u30bf\u3092\u9078\u629e\u3067\u304d\u308b\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ sudo select-editor\r\n\r\nSelect an editor.  To change later, run 'select-editor'.\r\n  1. \/usr\/bin\/vim.gtk3\r\n  2. \/usr\/bin\/vim.nox\r\n  3. \/usr\/bin\/vim.basic\r\n  4. \/usr\/bin\/mcedit\r\n  5. \/usr\/bin\/vim.tiny\r\n  6. \/usr\/bin\/vscodium\r\n\r\nChoose 1-6 [1]: 2<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>\u8b66\u544a\u304c\u51fa\u306a\u304f\u306a\u308a\u307e\u3057\u305f :)<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ sudo crontab -e\r\ncrontab: installing new crontab<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1\">\n<h2 id=\"_\u74b0\u5883\">\u74b0\u5883<\/h2>\n<div class=\"sectionbody\">\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ dpkg-query -W sensible-utils cron vim\r\ncron    3.0pl1-133\r\nsensible-utils  0.0.12\r\nvim     2:8.1.0875-2\r\n$ lsb_release -dr\r\nDescription:    Debian GNU\/Linux 10 (buster)\r\nRelease:        10\r\n$ uname -m\r\nx86_64<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=matokensmeme-22&#038;language=ja_JP&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=as_ss_li_til&#038;asins=B07QHHSPHW&#038;linkId=14c453c11d18f87258bd365ad1cd1962\"><\/iframe><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=matokensmeme-22&#038;language=ja_JP&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=as_ss_li_til&#038;asins=B00TQMFOCW&#038;linkId=251e5173ed2529213536f9da76c3f3c1\"><\/iframe><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=matokensmeme-22&#038;language=ja_JP&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=as_ss_li_til&#038;asins=B07QRT9776&#038;linkId=5fe1143b404fc215fc28813aeb6ab56c\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>vim\u4f7f\u3046\u306e\u3067nano\u3092\u6d88\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u8b66\u544a\u304c\u51fa\u3066\u3044\u307e\u3059\uff0e $ sudo crontab -e \/usr\/bin\/sensible-editor: 25: \/usr\/bin\/sensible-editor: \/bin\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[7,6,199],"tags":[202],"class_list":["post-2390","post","type-post","status-publish","format-standard","hentry","category-debian-linux","category-linux","category-sid","tag-debian-sid"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/2390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=2390"}],"version-history":[{"count":0,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/2390\/revisions"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=2390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=2390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=2390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}