Questions tagged [iterm]

iTerm is a third party replacement for the built-in Terminal application.

60 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
247 views

Stop iTerm2 from using disk (disk cannot be ejected)

How can stop iTerm2 from using the mounted disk I cd'd into? Sometimes, even when i cd out, it's still blocking the disk. I have to ⌘-Q the entire program which is very irritating. It's just idling ...
5
votes
0answers
1k views

iTerm2: Split pane - coloured title bar instead of dimming

In iTerm2 it is possible, to split panes. Thus, I have parallel multiple terminals instead (or in addition) to tabs. This is very similar to the i3 Window Manager or Terminator Terminal Emulator. ...
4
votes
0answers
667 views

Writing to routing socket: not in table, Why?

▶ netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.100.1 UGScI 15 0 en0 10.9.4/...
4
votes
0answers
1k views

How to sent the Ctrl+Alt+Del key combination via iTerm2?

We use the Apple "Pro Keyboard", which is a USB keyboard with model number M7803, and iTerm2 build 1.0.0 with "ipmitool sol activate" running. Our goal is to sent the Control+Alt+Delete key ...
3
votes
0answers
233 views

iTerm2 keeps switching desktops using dropdown

I'm using multiple iTerm2 windows on different desktops on my El Capitan and It's irritating how it keeps switching desktops when using Quake-like drop-down termina. Steps to reproduce: 1) open ...
3
votes
0answers
1k views

Iterm2 - Export a single profile's settings for distribution to others

I've been getting used to working with Iterm2 over the past few weeks. I have a very specific profile configuration requirement for a legacy business application. The configuration for the profile ...
3
votes
0answers
156 views

de-grouping iTerm2 windows

Activating iTerm2's "hotkey window" (i.e. drop-down console) also brings to front all other iTerm2 windows. Is there a way to avoid this, making OS X treat each window as a separate application rather ...
2
votes
0answers
60 views

Separate zsh histories after restart (iTerm2)

I am running iTerm2 (v 3.2.9) and zsh (v 5.7.1). I normally have 3-4 iTerm tabs opened at the same time and each tab has its own history thanks to the following settings in my .zshrc file SAVEHIST=...
2
votes
0answers
334 views

Difference in font rendering between iTerm and Terminal.app

I've just installed iTerm 3.2.0. I'm using default settings and noticed that fonts look slightly different, compared to Terminal.app. A bit thinner, and glyph heights (or maybe distances between lines)...
2
votes
0answers
238 views

Can I modify iTerm window titles for some but not all running commands?

I was looking for a solution to auto set custom title in the terminal based on what command is being run on the current terminal. So, rather than java showing in many tabs - I'd love to have it pick ...
2
votes
0answers
270 views

bash in iTerm2: how to log variables like $TERM_SESSION_ID into command history

To help with recovering history across restarts etc I would like to get some key data, like $TERM_SESSION_ID, stored in my command history. This would be preserved when the command response output in ...
2
votes
0answers
396 views

Display single double width chars in iterm3

I have a battery-emoji in my prompt when the laptop is on battery power. Because this is a double width char and iterm has issues with it, my prompt is broken. One char after the prompt sign is ...
2
votes
0answers
212 views

Why does fish shell create a hidden process in iTerm2

I've moved from bash to fish shell in iTerm2. However, whenever I start iTerm2, I receive the following error message: A session ended very soon after starting. Check that the command in profile ...
2
votes
0answers
74 views

Character Mode settings in macOSTerminal?

I have an old-school text-based Citadel BBS running in DOSBox on a Raspberry Pi Zero, accessible via telnet at anthropocene.sytes.net:13000. It runs smoothly for callers using PuTTY (with line editing ...
2
votes
0answers
100 views

iTerm white bar showing over tabs

Since upgrading to Sierra on my new 2017 MBP i've got a very annoying bug that I can't seem to find a solution for. I've got a white bar showing over my iTerm window every time iTerm is the front-...
2
votes
0answers
92 views

iTerm2: Select Text keybinding disappeared

I seem to have inadvertently removed the ability to select text using the keyboard: e.g. Shift+←. I've scrolled through the default key bindings in both Preferences > Keys and Preferences > Profiles >...
2
votes
0answers
58 views

Service shortcut does not work in Finder?

I've added a service through Automator, which opens iTerm2 in the current folder. It works when I click in service menu. However when I try to assign a shortcut for it, it won't trigger. Tried ...
2
votes
0answers
36 views

Automatic Software Update reboots are almost always canceled

Apple's Automatic Software Updates require a reboot from time to time which is scheduled when the computer is not in use. In my case these reboots almost always fail because some non-Apple program ...
2
votes
0answers
2k views

Making the iTerm2 color tab labels on activity more useful

In using iTerm2, I frequently see tabs turning a different color, and just assumed that this was because of new output in that window. The help was no good, as I couldn't find a decent word to search ...
2
votes
0answers
679 views

Get iTerm session by tty name

I want to run a command within an iTerm2 session like this: tell application "iTerm" tell session id "/dev/ttys020" exec command "ls" end end But I get the following error (with and without '...
2
votes
0answers
97 views

How to prevent OS X's 'screen' command from resizing the terminal upon entry?

I usually run my terminal sessions in 132 character wide mode in iTerm. However, when I start the 'screen' command, it re-sizes the terminal back to 80 characters. Is there a way to prevent this?
2
votes
0answers
325 views

Tmux wihtin iTerm2: Unable to bind some keyboard combinations

I have the following bind-key definitions in my .tmux.conf file: bind-key -n M-I select-pane -U bind-key -n M-K select-pane -D bind-key -n M-J select-pane -L bind-key -n M-L select-pane -R However, ...
2
votes
0answers
94 views

why does less seem to think my terminal has more lines than it does?

Don't know if this is really an OS X question, but: less seems to insist that my terminal (whether I'm using the builtin Terminal or iTerm2) has more lines than are actually displayed, and so the top ...
1
vote
0answers
9 views

How to display the marked position at the very top when jumping to previous mark in iTerm?

When you jump to a previous mark in iTerm, the marked position will be displayed in (vertically) the middle of the terminal window. But instead of displaying it in the middle, I want it to be ...
1
vote
1answer
58 views

How to make Powerline fonts work with iTerm2

I have a problem with using Powerline fonts in the iTerm2. I followed the tutorial for installation and I have chosen Hack font in the profile settings (Non-ASCII is set just to make sure). My .zshrc ...
1
vote
0answers
39 views

How to disable iterm2 rectangular selection?

In MacOS iterm2 Option + Cmd: Make a rectangular selection. how to disable this shortcut? many thanks!
1
vote
0answers
10 views

Is there a way to update an existing window arrangement in iTerm2?

I have saved window arrangements which work great. However I sometime want to update an existing one and I cant find a way to do it without having to save a new one and delete the previous?
1
vote
0answers
136 views

iTerm2 still opens old shell after Bash upgrade

I tried upgrading my MacOS Bash from 3.2 to the latest version as in this article. It involves installing the latest Bash with Homebrew and then setting the default shell with chsh. However, chsh ...
1
vote
0answers
139 views

iTerm2 no longer putting SSH host in tab title

I recently updated iTerm2 to 3.3.0beta1. I used to see the name of the host I SSH'd to in the tab title. Now all it says is ssh. Any idea how get the previous behavior back?
1
vote
0answers
224 views

Running a command with access to “System Events.app” granted

I am updating applications installed via Homebrew from command line. iTerm2 requires access to "System Events.app" to be correctly updated, which ends up in a process that is not fully automated and ...
1
vote
0answers
32 views

How to get rid of a beep in iterm2 on `backward-word`

I'm using zsh in iterm2. I've set: bindkey "[D" backward-word for option+left to skip a word back. While it works, I also get a terminal beep every time I do it and I'm not sure where is it coming ...
1
vote
0answers
17 views

iTerm How to auto focus REPL?

I'm running on the latest version of iTerm and I'm using a vim plugin (https://github.com/noahfrederick/vim-laravel) that fires up a REPL with the command: :Console However, I have to focus the new ...
1
vote
0answers
61 views

iTerm2 - Split vertically with same command history

Is it possible to have same history of commands when I split window vertically in iTerm2 with Command + D as in current window? For example history command shows different list of commands, looks ...
1
vote
0answers
116 views

Iterm2 Window goes to back when switching desktops

When a non-fullscreen iterm window is opened and the desktop is switched, the iterm window goes to the back, behind any open windows in the screen. Is there a way to keep the iterm window on top when ...
1
vote
0answers
257 views

Terminal command and Broken Pipe

I use the iTerm terminal a lot and occasionally I'll run a script with an "exit" in it. When that statement executes I get 2 orange horizontal lines drawn the width of my iTerm window with the message ...
1
vote
0answers
119 views

iterm2 first tab transparency differs from default

I set up iTerm2 colours/backgrounds, however the first tab is always "lighter" (i.e. more transparent) than all the other tabs. When I set transparency in the profiles, I can see every tab except the ...
1
vote
0answers
199 views

Using i2cssh with highSierra

I have the latest i2cssh installed dmanna-a01:Downloads dmanna$ brew info i2cssh i2cssh: stable 1.3, HEAD https://github.com/djui/i2cssh /usr/local/Cellar/i2cssh/1.3 (5 files, 6.5KB) * Built from ...
1
vote
0answers
613 views

ANSI Colours not showing in iTerm2

I've tried following answers in this link but I still can't get the ANSI colours in custom themes to show for me in iTerm. Did anyone find any other fixes? https://superuser.com/questions/399594/...
1
vote
0answers
306 views

Left Alt key does not work properly on QWERTZ keyboard and iTerm2

I am using the QWERTZ keyboard and I can't get the "@" (commercial at symbol) in iTerm2. As long as I'm using the left Alt key I'm only getting a question mark. Using the same setup at my work ...
1
vote
0answers
911 views

Is it possible to have iTerm2 restore the session history?

Currently when re-launching iTerm2 I'll get my window setup back, but they all share a common history. I.e. whatever is in ~/.bash_history. Can I get it to restore my sessions with the actual session ...
1
vote
0answers
856 views

Text selection in terminal without mouse - moving cursor using arrow keys

I recently moved from a well-configured Ubuntu to Mac. I used Emacs for many years but I am too lazy to re-install it (and re-configure it). One of the useful features in Emacs shell is that you can ...
1
vote
0answers
474 views

How do SSH sessions work with iTerm?

When I use PuTTY on Windows, if I SSH to some server and launch a script there, closing the PuTTY window stops the script. (so I typically use screen to avoid that) When I use iTerm on Mac OS X, if I ...
1
vote
0answers
307 views

Is it possible to assign system wide hotkey to show/hide app?

I'm trying to mimic iTerm2 feature. It has a feature to show/hide iTerm2 by a hotkey (eg. option + space). When I press the hotkey, the app was shown. Is it possible to do the same to another app? I ...
1
vote
0answers
275 views

Running “irb” changes my zsh to bash on iTerm2

I'm running OSX 10.9.4, and my default shell is set to z shell. I was just working out my installation of Ruby and RVM and playing around with irb when I suddenly notice that my window title says "...
1
vote
0answers
351 views

iTerm2 wrong color output

The command ls when using iTerm is behaving strange. It outputs colors but they change at some point and I don't think this is the normal behavior. I have the following alias for ls alias ls='ls -FGlh'...
1
vote
0answers
39 views

In iterm I can't put directly some characters like ~ or "

When I try to put characters like " or ~ in iterm it gets underscores and waits for next one to be finally put, how I can stop it?
1
vote
1answer
635 views

Seamless title bar and terminal background?

How can I make the title (and tab) bar of iTerm 2 exactly the same color as the terminal background so that it's impossible to tell where one starts and the other begins? How it is at the moment: ...
0
votes
0answers
29 views

how can my iterm2 not to paste into one line when I copy multiple lines from other place?

I copy multiple lines from sublime editor like following: aaa bbb ccc however, when I paste then into item2, it become: but I want it keep it as mutiple lines in iterm2, anyone knows how to fix it?
0
votes
0answers
38 views

tmux + iTerm2 - no permission to edit crontab

I am running macOS 10.14.5, iTerm2 build 3.2.8, tmux 2.9a (tmux -V). I've granted both iTerm2.app and Terminal.app (file permission: .r-xr-xr-x) Full Disk Access (FDP) in Sys prefs > Security and ...
0
votes
0answers
19 views

Open last link on iterm2 console

When using git, I often follow git push origin with CMD-Clicking the link displayed to create a pull request. Is there a way to do this with a keyboard shortcut instead?