Questions tagged [iterm]

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

64 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
275 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
769 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/...
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
110 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=...
4
votes
0answers
2k 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
263 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
2k 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
403 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
282 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
322 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
425 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
236 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
79 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
105 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
98 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
61 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
694 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
330 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
25 views

How to open the Apple URL protocol x-man-page:// in iTerm and not Terminal (default)

Apple has some custom URLs defined and one of them is x-man-page. If you open a particular man page with it, it displays it in a nice yellow window (a provided profile for Terminal) with black text. ...
1
vote
0answers
44 views

zsh (brew) and oh-my-zsh: Insecure completion-dependent directories detected (as root user)

When I run sudo -s I get those errors: [oh-my-zsh] Insecure completion-dependent directories detected: drwxr-xr-x 19 myusername MYDOMAIN\Domain Users 608 Feb 10 07:08 /Users/myusername/.oh-my-...
1
vote
0answers
99 views

iterm2 issue : create new tab with same path of previous current tab BUT 2 tabs are clones and not indepedent

You can see the bounty launched on StackOverflow (Bounty started about ìTerm2 problem) about this issue described below. I have switched from default terminal on MacOSs Mojave to iterm2. I have an ...
1
vote
0answers
12 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
0answers
57 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
17 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
221 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
172 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
325 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
41 views

iTerm2 intermittently gets stuck on pasting old clipboard contents

As described in the title: sometimes iTerm2 does not realize that the clipboard has been updated. I have verified the problem were specific to iTerm2 by pasting the newer clipboard contents into ...
1
vote
0answers
35 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
312 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
246 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
646 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
323 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
967 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
895 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
482 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
321 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
296 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
367 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
649 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
11 views

How to delay restore of iTerm until after sparse bundle has mounted?

I use a sparse bundle disk image to hold all my git repositories to work around the problem of case sensitivity in different operating systems when working with collaborators c.f. https://...
0
votes
0answers
9 views

iTerm2 as a slide out gets hidden

I read from here how to setup iTerm2 as a slide out terminal like "guake" console. It is working fine for me except for one thing. When I click outside the opened terminal, the terminal gets hidden. ...
0
votes
0answers
11 views

iTerm move cursor up or down a line (that is very long and wrapped around)

Since option + click in iTerm only supports moving the cursor in the same line, what would be a good way to move the cursor up or down a line (that is very long and wrapped around)?
0
votes
0answers
9 views

Get iTerm notification when remote SSH session command is completed

I'm trying to make iTerm give me a notification whenever a command I run in an SSH session completes. To do this, I set marks whenever I run a command which notifies me whenever the command completes. ...