xterm   815

« earlier    

Yes, Eshell is my main shell - emacs
"Compare with bash (or Zsh or fish for that matters: it's all the same because they run in terminals) ..."

Eshell breaks up with the "terminal-interface" paradigm: the UI of the Eshell commandline-interface is Emacs itself. The pager is the Emacs buffer. The input is Emacs keystrokes. The extension language is Elisp.

That's a function of your terminal emulator. Some will intercept Shift+Ins, Shift+Ctrl+C, and Shift+Ctrl+V for these functions. You still need a pointing device to make selections though. If your keyboard has a numeric keypad then it can double as a mouse by pressing Shift+Numlock, but you may need to edit an X configuration to enable this feature.

eshell's nice for some things, but I'm not going to give up on zsh just yet (or writing quick and dirty bash scripts). Much of this post is a muddle of confusion between programatic features (such as pipes and redirection), interactive features (such as completion), and terminal features (mouse-selection, copy-paste).

Probably most annoying is the lack of understanding that sed, awk, and grep can operate on streams, while most of emacs's editing magic works on a buffer. Using grep I can cut through a gigabyte of noise to get to the handful of bytes that are most relevant without the memory hit of loading the entire file or output of a process into memory.

Don't use a pocket knife when you need a screwdriver. Similarly, if you need to pull process output into an emacs buffer, use eshell. If you're redirecting between programs, use a system shell. If you need to edit buffers, use emacs. If you need to filter streams, use a stream-processing utility or language for the job.

And thankfully, emacs has editing modes and REPL shells for doing all that as well.
shell  emacs  cli  terminal  xterm 
5 weeks ago by dusko
Hidden gems of xterm
Last week I migrated from urxvt to xterm, because I noticed that beginning last year (2012), xterm can finally open URLs nicely. This feature was a blocker for me, since I read all my e-mails in mutt and I hate copying links.

During migration, I noticed several nice features of xterm so I decided to write a blog post about some. Let’s start.
configuration  terminal  x11  xterm  tips 
10 weeks ago by lboulard
Ubuntu virtual terminal cursor style resetting - Super User
Q: I am running Ubuntu 14.04 and using one of the virtual terminals (TTY[1-6], accessible via Ctrl-Alt-F[1-6]); I want to permanently change the appearance of my cursor from the apparent default, a blinking underline, to a blinking box. I can change it temporarily, but it is consistently resetting when certain applications are run. [...]
(me: good explanation in the "accepted answer"; quoted excerpt from tmux(1) man page provided the only command that worked to fix tmux after neovim left the terminal in a "garbage-writing" state: printf '\033[0 q')
2016  forumthread  stackexchange  textui  terminal  configuration  issue  workaround  links  unix  linux  xterm  tmux  neovim  tips  example  debian  ubuntu  mint 
12 weeks ago by ezequiel
tmux status-bar corrupted after catting a binary file, how to reset? - Unix & Linux Stack Exchange
Q: I accidentally screw up my tmux terminal after cating a binary file. Now my tmux is messed up. Detaching and re-attaching doesn't help, nor does a redraw (C-b r). Running reset only redraws the active pane, not the rest [...]
2012  tmux  issue  workaround  terminal  tips  forumthread  stackexchange  linux  unix  xterm  textui 
12 weeks ago by ezequiel
Terminal front-end component written in JavaScript that works in the browser.
js  library  shell  terminal  browser  xterm  javascript 
august 2018 by mAAdhaTTah
Enable Alt Key in Xterm - Pratik Sinha
XTerm*metaSendsEscape: true
XTerm*eightBitInput: false

needs to be added to ~/.Xresources not ~/.Xdefaults
Linux  xterm  alt  weechat  Computers  slackware64 
august 2018 by themanjay
Xterm.js is a terminal front-end component written in JavaScript that works in the browser.
xterm  xtermjs  javascript  browser  component  library  terminal  emulation  programming 
august 2018 by vicchow

« earlier    

related tags

\033  14.2  2012  2013  2016  256  alt  alternativeto  ansi  arch  around  ascii  auth  bash  bashrc  blogpost  bracketed  braille  browser  bsd  c  camstasia  characters  chart  cli  color  colors  colorscheme  colour  commandline  compendium  component  computer  computers  config  configuration  configure  console  control  control_code  control_sequence  cterm  d  debian  dlang  documentation  dotfiles  drawing  electron  emacs  emulation  emulator  esc  escape  example  extra  fd  files  find  fluxbox  font  fonts  forumthread  freebsd  front-end  gis  github  gnome  gotty  gterminal  gtk  gtk3  gvim  hosted  howto  html  html5  image  in  ioc  issue  iterm2  javascript  jenkins  js  key  keyboard  keyboards  keys  library  license.mit  links  linux  linux_terminal  mac  macosx  make  map  mint  mode  mutt  neovim  newbie  node.js  nvi  openbsd  opengl  opensource  osx  parcellite  paste  pasted  pipeline  plugin  programming  promptstring  pythonanywhere  rec  record  recorder  reference  rendering  rust  screenshots  script  scripts  self  sequence  sequences  shell  slackware  slackware64  snippet  software  specification  ssh  stackexchange  string  sysadmin:x11  technical-writing  term  terminal  terminalemulator  terminator  terminus  textui  themes  tile  tilix  tips  tmux  tools  ubuntu  unicode  unix  urxvt  vector  vi  via-irc  via-robacarp  vim  vt100  web  webapp  webbased  webdev  weechat  wetty  windows  work  workaround  wsl  x  x11  xorg  xresources  xtermjs  yunohost 

Copy this bookmark: