nano error: Error opening terminal: xterm-256color
On Red Hat this worked for me: export TERM=xterm further info here: http://www.cloudfarm.it/fix-error-opening-terminal-xterm-256color-unknown-terminal-type/
On Red Hat this worked for me: export TERM=xterm further info here: http://www.cloudfarm.it/fix-error-opening-terminal-xterm-256color-unknown-terminal-type/
I had to add setenv(“GNUTERM”,”X11″) to OCTAVE_HOME/share/octave/site/m/startup/octaverc (OCTAVE_HOME usually is /usr/local) to make it work permanently. Solution found and more details on: http://www.mac-forums.com/forums/os-x-apps-games/242997-plots-octave-dont-work.html
It’s not immediately obvious in the iTerm2 documentation on how to change it. open the iTerm2 preferences ⌘ + , select the Profiles tab then select the Terminal subtab Beware, changes to the Scrollback lines value take effect immediately so check Unlimited scrollback now if you don’t want to delete your current buffer(s) change the … Read more
You can actually modify your user settings and edit each colour individually by adding the following to the user settings. Open user settings (Ctrl+,) Search for workbench and select Edit in settings.json under Color Customizations “workbench.colorCustomizations” : { “terminal.foreground” : “#00FD61”, “terminal.background” : “#383737” } For more on what colors you can edit you can … Read more
One approach could be using find: for directories find /desired_location -type d -print0 | xargs -0 chmod 0755 for files find /desired_location -type f -print0 | xargs -0 chmod 0644
This same question has been plaguing me for quite some time. Here’s the best I’ve come up with. Put this into your .tmux.conf file: bind -n C-k clear-history This binds ctrl-k to the tmux clear-history command. The -n after bind makes it so you don’t have to issue the tmux command prefix (ctrl-b by default). … Read more
If you’re using oh-my-zsh Type omz update in the terminal Note: upgrade_oh_my_zsh is deprecated
From the documentation: Cmd] and Cmd[ navigates among split panes in order of use.
tput cols tells you the number of columns. tput lines tells you the number of rows.