GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Terminal programs have a lot of hidden rules and conventions (like some programs don't quit when you press Ctrl+C!), and knowing them makes your life WAY easier. Here are some of the questions I ask myself when starting a program! is it a REPL? -> is it using canonical mode? (arrow keys don't work when entering text, try rlwrap) am I actually in another program it started? (A pager like less or a text editor like vim) is it noninteractive? -> is it stuck because it's waiting for input on stdin and I forgot to pipe to it? is it a shell? -> is this a minimal shell like dash? (if so, can I use bash instead?) is it full screen? -> mouse reporting: is it on? -> (selecting text doesn't work, but you might be able to click to navigate) am I in some kind of special environment? -> (a server? tmux/screen? a container? a virtualenv? what environment variables are set?)

Download link

https://cdn.masto.host/socialjvnsca/media_attachments/files/114/428/669/171/247/716/original/cd955d7422889059.png

Notices where this attachment appears

  1. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Thursday, 01-May-2025 05:02:48 JST Julia Evans Julia Evans

    terminal programs have a lot of hidden rules

    In conversation about 2 months ago from social.jvns.ca permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.