fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.8K
active users

#vterm

0 posts0 participants0 posts today
HoldMyType<p>custom <a href="https://mathstodon.xyz/tags/zsh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>zsh</span></a> functions give me the git/ tmux functionality I need<br>can't recall but someone wrote <a href="https://mathstodon.xyz/tags/go" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>go</span></a> helpers for this<br><a href="https://mathstodon.xyz/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a></p>
HoldMyType<p>sh-set-shell may not be <a href="https://mathstodon.xyz/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a> , but its good enough</p>
circfruit<p>ok, so <a href="https://fosstodon.org/tags/vterm" class="mention hashtag" rel="tag">#<span>vterm</span></a> doesn&#39;t actually run bash upon start. If I run /bin/bash, all my usual environment is working.</p>
circfruit<p>How to “source venv/bin/activate” in <a href="https://fosstodon.org/tags/Emacs" class="mention hashtag" rel="tag">#<span>Emacs</span></a> in <a href="https://fosstodon.org/tags/vterm" class="mention hashtag" rel="tag">#<span>vterm</span></a> through TRAMP ssh session? It doesn’t seem to find ‘source’. It’s highly specific but it’s annoying that I can’t do that.</p>
mocom<p>Solved! Thanks to this post: <a href="https://discourse.nixos.org/t/non-interactive-bash-errors-from-flake-nix-mkshell/33310" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discourse.nixos.org/t/non-inte</span><span class="invisible">ractive-bash-errors-from-flake-nix-mkshell/33310</span></a></p><p>Solution: add bashInteractive as a package in the nix shell.</p><p><a href="https://mastodon.social/tags/emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>emacs</span></a> <a href="https://mastodon.social/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a> <a href="https://mastodon.social/tags/nix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nix</span></a></p>
mocom<p>This is a bit niche but any <a href="https://mastodon.social/tags/nix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nix</span></a> <a href="https://mastodon.social/tags/emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>emacs</span></a> <a href="https://mastodon.social/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a> users out there? Lately, if I'm in a nix-shell (or nix develop), vterm completely breaks down. Control characters to navigate command line no longer work, the shell prompt has extra characters in it, history is inaccessible etc. So it's unusable. What have I done?</p>
Björn<p>Did you know that you can call <a href="https://mastodon.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> functions in <a href="https://mastodon.social/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a> like you can do in Eshell?<br>Using vterm-eval-cmds you can either commands that don't exist in a shell or replace those that exist.<br>E.g. instead of man you can call the Emacs manapge mode.<br>You just have to print something to the terminal with the right escape sequence so vterm receives<br>the right control sequence to know what to call.</p><p>Look at my config for more examples:<br><a href="https://github.com/Thaodan/emacs.d/blob/master/init.org#vterm" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Thaodan/emacs.d/blo</span><span class="invisible">b/master/init.org#vterm</span></a></p>
HoldMyType<p><a href="https://mathstodon.xyz/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a> can read and execute commands. At the moment, a command is passed by providing a specific escape sequence. For example, to evaluate</p><p>(message "Hello!")<br>--message passing <a href="https://mathstodon.xyz/tags/emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>emacs</span></a><br><a href="https://github.com/akermu/emacs-libvterm#message-passing" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/akermu/emacs-libvte</span><span class="invisible">rm#message-passing</span></a></p>
HoldMyType<p>~carnotweat/droid-tmpl: <br><a href="https://mathstodon.xyz/tags/zsh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>zsh</span></a>+ <a href="https://mathstodon.xyz/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a> intergration without posimacs &amp; gitignore_global.nix - sourcehut git<br><a href="https://mathstodon.xyz/tags/emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>emacs</span></a> <a href="https://mathstodon.xyz/tags/NixOnDroid" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NixOnDroid</span></a> <a href="https://mathstodon.xyz/tags/gitignore" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gitignore</span></a> <br><a href="https://git.sr.ht/~carnotweat/droid-tmpl/commit/main" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">git.sr.ht/~carnotweat/droid-tm</span><span class="invisible">pl/commit/main</span></a></p>
Choan Gálvez<p>I've just found out that the annoying flickering on my <a href="https://mstdn.social/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a> buffers on <a href="https://mstdn.social/tags/emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>emacs</span></a> was due to hl-line-mode</p><p>Thus, issue solved!</p><p>```<br>;; vterm<br>(use-package vterm<br> :hook<br> (vterm-mode . (lambda () (setq-local global-hl-line-mode nil))))<br>```</p>
Summer Emacs 🏳️‍🌈🇺🇦🍎🐃<p>More updates! I'm feeling really productive today as I have time to deal with some of my own stuff for a while before next week. So… I set up a second Time Machine backup on my server. All using <a href="https://fashionsocial.host/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a>, I used <a href="https://fashionsocial.host/tags/tramp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tramp</span></a> to log into my server, change smb.conf to add the second backup drive, restarted smb with <a href="https://fashionsocial.host/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a> inside of emacs, and then set up Time Machine's second drive to back up to! Time taken: About 2 minutes tops. 😀👩🏼‍💻</p><p><a href="https://fashionsocial.host/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> <a href="https://fashionsocial.host/tags/macos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>macos</span></a> <a href="https://fashionsocial.host/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://fashionsocial.host/tags/raspberrypi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>raspberrypi</span></a> <a href="https://fashionsocial.host/tags/backup" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>backup</span></a> <a href="https://fashionsocial.host/tags/timemachine" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>timemachine</span></a></p>
Aaron W. Swenson<p><span class="h-card" translate="no"><a href="https://emacs.ch/@emaksovalec" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>emaksovalec</span></a></span> EAT (<a href="https://codeberg.org/akib/emacs-eat" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">codeberg.org/akib/emacs-eat</span><span class="invisible"></span></a>) or <a href="https://mastodon.social/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a> (<a href="https://github.com/akermu/emacs-libvterm" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/akermu/emacs-libvte</span><span class="invisible">rm</span></a>) may be better for you. I still use <a href="https://mastodon.social/tags/eshell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>eshell</span></a> for smaller things that I don't mind blocking, such as waiting for a repo sanity check with <a href="https://mastodon.social/tags/Gentoo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Gentoo</span></a>.</p>
David Wilson<p>🔴 Today on <a href="https://fosstodon.org/tags/SystemCrafters" class="mention hashtag" rel="tag">#<span>SystemCrafters</span></a> Live, we&#39;ll take a look at a few different options for using Emacs as a shell or terminal emulator: Eshell, vterm, and Eat! We&#39;ll compare them to find the overall best experience in terms of speed, terminal emulation quality, and efficiency of use.</p><p>Join us on YouTube or Twitch:</p><p>- <a href="https://youtube.com/live/HG7pVCa0DVY" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">youtube.com/live/HG7pVCa0DVY</span><span class="invisible"></span></a><br />- <a href="https://twitch.tv/SystemCrafters" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">twitch.tv/SystemCrafters</span><span class="invisible"></span></a><br />- <a href="https://systemcrafters.net/live-streams/july-28-2023/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">systemcrafters.net/live-stream</span><span class="invisible">s/july-28-2023/</span></a></p><p>🕐 in your time zone: <a href="https://time.is/compare/1800_in_Athens" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">time.is/compare/1800_in_Athens</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/gnu" class="mention hashtag" rel="tag">#<span>gnu</span></a> <a href="https://fosstodon.org/tags/emacs" class="mention hashtag" rel="tag">#<span>emacs</span></a> <a href="https://fosstodon.org/tags/eshell" class="mention hashtag" rel="tag">#<span>eshell</span></a> <a href="https://fosstodon.org/tags/vterm" class="mention hashtag" rel="tag">#<span>vterm</span></a> <a href="https://fosstodon.org/tags/eat" class="mention hashtag" rel="tag">#<span>eat</span></a> <a href="https://fosstodon.org/tags/terminal" class="mention hashtag" rel="tag">#<span>terminal</span></a> <a href="https://fosstodon.org/tags/shell" class="mention hashtag" rel="tag">#<span>shell</span></a> <a href="https://fosstodon.org/tags/freesoftware" class="mention hashtag" rel="tag">#<span>freesoftware</span></a></p>
Fabio Natali<p>Quick show of hands, if you fancy, who's using <a href="https://octodon.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> Eat⁰ (Emulate A <a href="https://octodon.social/tags/Terminal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Terminal</span></a>)? I'm considering it as a <a href="https://octodon.social/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a> alternative - one of the main advantages being, apparently, its char mode.</p><p>Among other things, char mode makes it possible (or easier) to have nested Emacs-in-Emacs sessions.</p><p>- 0: <a href="https://codeberg.org/akib/emacs-eat" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">codeberg.org/akib/emacs-eat</span><span class="invisible"></span></a></p>
🏳️‍🌈Trentskunk🏳️‍🌈:unverified:<p>Hmmm, vterm in emacs these days is pretty great. I can even ssh around, run btop... All in an emacs buffer (and all that that gives me).</p><p><a href="https://mstdn.social/tags/emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>emacs</span></a> <br><a href="https://mstdn.social/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a></p>
Stephan Lichtenauer | נח סתו<p><span class="h-card"><a href="https://floss.social/@jgoerzen" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>jgoerzen</span></a></span> </p><p>Also my use case of <a href="https://mastodon.africa/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> is specific: While I do some programming, it mainly is my "operating system" that I use all day long, i.e. I read my email in <a href="https://mastodon.africa/tags/Gnus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Gnus</span></a>, I use some <a href="https://mastodon.africa/tags/orgmode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>orgmode</span></a>, I use <a href="https://mastodon.africa/tags/ses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ses</span></a> as spreadsheet, <a href="https://mastodon.africa/tags/eshell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>eshell</span></a> and <a href="https://mastodon.africa/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a> are my main shells etc.</p><p>But anybody with more in-depth knowledge about <a href="https://mastodon.africa/tags/DoomEmacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DoomEmacs</span></a> vs <a href="https://mastodon.africa/tags/Spacemacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Spacemacs</span></a> should please chime in and feel free to correct me.</p><p>2/2</p><p><span class="h-card"><a href="https://infosec.exchange/@inetpro" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>inetpro</span></a></span></p>
Kai 🐈‍⬛<p>If you using emacs, vterm, and R, you probably want to add</p><p>options(cli.hyperlink = FALSE)</p><p>to your .Rprofile.</p><p>Hyperlinks aren&#39;t (currently?) supported in libvterm, so they&#39;ll look like garbage (compare images)</p><p>Excuse all my warnings...I&#39;ll get to them. Eventually. </p><p><a href="https://fosstodon.org/tags/emacs" class="mention hashtag" rel="tag">#<span>emacs</span></a> <a href="https://fosstodon.org/tags/vterm" class="mention hashtag" rel="tag">#<span>vterm</span></a> <a href="https://fosstodon.org/tags/rstats" class="mention hashtag" rel="tag">#<span>rstats</span></a></p>
Tom :emacs: :guix:<p><span class="h-card" translate="no"><a href="https://hostux.social/@schnouki" class="u-url mention">@<span>schnouki</span></a></span> if only I could run eshell in vterm, and have the awesomeness of a great terminal emulator and a great shell in one. Could something like that be written? Using eshell as the shell, but with the rendering done by libvterm? I&#39;m not actually 100% what part of the process (lib)vterm handles.</p><p><a href="https://fosstodon.org/tags/emacs" class="mention hashtag" rel="tag">#<span>emacs</span></a> <a href="https://fosstodon.org/tags/vterm" class="mention hashtag" rel="tag">#<span>vterm</span></a> <a href="https://fosstodon.org/tags/eshell" class="mention hashtag" rel="tag">#<span>eshell</span></a></p>
Gabriele Bozzola<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@daviwil" class="u-url mention">@<span>daviwil</span></a></span> </p><p>In my opinion, what sets <a href="https://fosstodon.org/tags/Emacs" class="mention hashtag" rel="tag">#<span>Emacs</span></a> apart from everything else I&#39;ve used is the level of self-documentation/introspection/runtime malleability.</p><p>(Fun fact: until recently <a href="https://fosstodon.org/tags/vterm" class="mention hashtag" rel="tag">#<span>vterm</span></a> was using the libvterm maintained in Neovim&#39;s GitHub repos)</p>
Schnouki<p>Finally testing <a href="https://hostux.social/tags/vterm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vterm</span></a> in <a href="https://hostux.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a>... Alright, *so* much better than eshell! But not yet sure if it can replace my usual terminal emulator (<a href="https://hostux.social/tags/foot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>foot</span></a>). Let's try that for a few days!</p>