From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5784 invoked from network); 14 Apr 2023 19:45:40 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 14 Apr 2023 19:45:40 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1681501540; b=pB4PMiafoA0F/zCCC2BtK1+fWHLmpfgb1Mec1KeYDggFOCtr4ONzv397zVEjdIfPF49Kb6VGHY TGiGNIyHe4+b9BEN/r+BhjFP7T8vGwFyhK9HA6dggbJ7vKNGspkXJWwFxSjv61TVPGdIy3bN5L n59tsf3I/1CZpG5u52NqhDFAKw/e1cLfb0ShBC9XIc16BVfIfT5aZxahOIY1LdAa2vmouQu5jC 3rq8zYjOT9Nzm//YOd994tG6PnJuvyxOzC8BsDO3Vy1dyVx2gqjKpEKhql7BKpzwWIiFOVzRLg CsbJFNHDH/KgJWX3VbXdvRhmOt0xli2R8ja2oBBHrTG43w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lj1-f180.google.com) smtp.remote-ip=209.85.208.180; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1681501540; bh=IMYlKkSc9fN1tcUZkc+ZNbPIeuVhkG8KVp+t+lHJNL4=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=Oc/wNKm6pzzFYAhlt6v3H0WVOA7laLTRM+0RdkyPPHcMTB5WvGRz7ZbX6hp3tlmb9nS2tqcpCR KpIFreigmmW4/vYGPoRHm8pAXp9gs+80VklPYcj29bPxmUzLFEXmCjXMkZO/oNygTh0iht/ys9 3o0k+WnMtWUCxngMNg1cgZIdKh6ONTZasspdsZ56Y4+cfKyzuO62W4zuQJuPVbZ7Nsg8i9YEb9 s+4jRLeLH0J67yGOuogZ7sPhNFlkyRkAHfHF2AGr8138Wg4P19oQbXWsZ8HGO7oT2uQQA+XOpv 6Ht+DyQfVYm3nK1JyXEjIbHlLIKmlIWJ8+CDQkeJym5/lw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=IMYlKkSc9fN1tcUZkc+ZNbPIeuVhkG8KVp+t+lHJNL4=; b=LepgKjI2BmfKtaWtXDPovJC9ip g3xLwfL73gvhxhww9njfCZcpUSJ6dIXACvCYIb7XR3yrouGyILPJahlDxKzMqvN9NwLsu2fLNRF1r H34AVeoTR/YSpPK77j2c9OTzyvS+YKqa4yQXaCEQvfmqmZLJ7rF7QQGdLciC1MpB639xlpe/pL5MN j/EyxQKLKHuvgWeIqEi9hSlTGvBSE+jh9CYpzCLXStsa6L/sI7ebwjfe4EPNdLP0rBcX5sF/4u4fk gwCNk/z15QgDa0TvDrarMDsfhPfUdwLT1FQxlIJpJ60fqOtH4CE3WvaXmZrT1seY4UDnQuuSjKpGa NVENw2HQ==; Received: by zero.zsh.org with local id 1pnPMY-0002oI-EJ; Fri, 14 Apr 2023 19:45:38 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lj1-f180.google.com) smtp.remote-ip=209.85.208.180; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lj1-f180.google.com ([209.85.208.180]:34750) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1pnPMG-0002V6-Ia; Fri, 14 Apr 2023 19:45:22 +0000 Received: by mail-lj1-f180.google.com with SMTP id x34so6588140ljq.1 for ; Fri, 14 Apr 2023 12:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681501520; x=1684093520; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=IMYlKkSc9fN1tcUZkc+ZNbPIeuVhkG8KVp+t+lHJNL4=; b=WUxojZis/oj/QU0W37cEHpavsCw175XMWOMkRTyU2p1HZ90zz+u9ZZCD1L5da8lYvS Y4h9VlrlvUBx/y29zRC3EFSmr2cZqjIjtH+hyRw3sZPZfZ1bjo70nLrSK5/7A8eeqoEV 6txHShtD5fivo88K8J38hos7vqK18ocsYiFPK9NNm39njB8ysUAsikPWGg4q4xbiDJid 1cgWV0pAMSvmc1ZUA52axnf0APHkCh2ejikr1MsNTnufSwQntC/c2auqj1Mwi8j/izQh ejb2HFxw3wLK3ZybedqcNpmBNxc7fZAhpPKuetStWocF2xnft613KXalZzUx/aqWo873 rceg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681501520; x=1684093520; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IMYlKkSc9fN1tcUZkc+ZNbPIeuVhkG8KVp+t+lHJNL4=; b=KnxDwIwXps4MgWgQU+dK3Yj+4TlSZYezW15Yru+RzF8ACgUY6qpbILGcOp0SluEIJN BBQb49n5sfgRZEWNqjERIQ3df++b3r/wiNzLE89l5eOGjAE6peJDTNNBknsmmW2dv0oo SD+bO7TlIvFFwTttKSCZqIAegKTUwz+w1+gMOa5kFtEfWURMxBB8/dmXQZh1/ibGLHMV PDJHXAsBFxaUBQ29IvKisCJoxVGIQUiHrS9ReYXTXAkGuFdnQxXYV6KUdWN7obJ5gyPu +weqTWvL6QKpaiN55HN31Iwe/Kz2ZGgAdGyfSZ1LYcdg5xF38OOo6hIYtV06WR6gc8hU AjMg== X-Gm-Message-State: AAQBX9dIX/mqBNZS0I5R+50UIozoMhnvTOtsG3PERZqXF6NK8VFFkOLk m0UpBg5wXQSbe1Qo8rRRSUmrZsXVlrr7IY0rukHPBOhJ X-Google-Smtp-Source: AKy350bKVtW1YQ7A5xeGn+GtejGA75UATHgXNEgoVxolzSGUqJA6UAX/FqtCSSQxCoewR9afyvlqZDDw3/mNlF9LZJw= X-Received: by 2002:a2e:9dd9:0:b0:2a7:9952:b244 with SMTP id x25-20020a2e9dd9000000b002a79952b244mr2321398ljj.9.1681501519431; Fri, 14 Apr 2023 12:45:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sebastian Gniazdowski Date: Fri, 14 Apr 2023 21:45:07 +0200 Message-ID: Subject: Re: A novel, unprecedented approach to command line - n-commodore To: Zsh hackers list Content-Type: multipart/alternative; boundary="000000000000c14f0d05f95114d2" X-Seq: 51655 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: --000000000000c14f0d05f95114d2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Basically it's about 3 factors: panelize everything, grep everything and save everything. Panelization is known from Midnight Commander - it means to capture command output into a list that can be browsed. Grepping is known from fzf. Screen saving is a new paradigm You basically have new screen (a greppable panel) for each new command, which is saved to the disk (GDBM), and which can be fetched/navigated to, having also PWD dir and position in panel restored. pt., 14 kwi 2023, 20:01 u=C5=BCytkownik Sebastian Gniazdowski < sgniazdowski@gmail.com> napisa=C5=82: > Hi, > by accident, I might have discovered a novel approach to command line > - a merge of Midnight Commander panels with pure shell. Basically, > n-commodore, the project that does this, panelizes each command that > you enter and allows multi-keyword grepping. Up to this point, it's > like fzf. However, by use of db/gdbm module, n-commodore's also: > - allows a persistent save of each of the screens (even of the help > screen, e.g.), > - the screens are saved and indexed, for later retrieval via > Ctrl-Shift-Left/RIight, > - they save not only the panel, but also: current PWD, active line in > the panel, search query/command line buffer and restores them on > fetch. > > n-commodore is a Zsh script implemented on top of Zui library. > Persistence is done via db/gdbm module. You can clone the repo and > simply run bin/n-c or use a plugin manager (alias `nc` will be then > set up). The login shell can be Bash or any other, if zsh will be > installed. > > Asciicast: https://asciinema.org/a/577630 > Homepage: https://github.com/psprint/n-commodore > --000000000000c14f0d05f95114d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Basically it's about 3 factors: pan= elize everything, grep everything and save everything.

Panelization is known from Midnight Commande= r - it means to capture command output into a list that can be browsed. Gre= pping is known from fzf. Screen saving is a new paradigm=C2=A0

You basically have new screen (a gre= ppable panel) for each new command, which is saved to the disk (GDBM), and = which can be fetched/navigated to, having also PWD dir and position in pane= l restored.

--000000000000c14f0d05f95114d2--