using x11 emacs in mountain lion - macos

I have been trying to use macport's installation by using sudo port install emacs +x11 on my laptop with mountain lion, but every time I open emacs in terminal, it opens in the terminal without any GUI. This also happens if I try to open emacs directly in an xquartz terminal session. Has anyone had any luck with installing the x11 version of emacs on mountain lion? And if so, how? Thank you!

Turns out apple cut the link between terminal and xquartz. If I open emacs in xterm, it will run just fine. I found this to be the case even when I was using terminal with an ssh server. Looks like apple's terminal isn't going to be all that helpful from here on out.
Edit; I'm not sure if it was an update to xQuartz, but the problem has been fixed. When I type in an x11 app into the normal terminal app, it will open xQuartz as normal.

Related

Installed iterm2, now both vscode and mac internal terminals are not working

I installed iterm2 and oh my zsh on my new macbook pro M1. Now I can not use the internal vscode terminal or mac terminal.
What I have tried:
I have updated my mac, vscode, iterm2, brew, and oh my zsh.
I am using zsh.
I checked my system preferences/users & groups/unlock/advanced options/login shell: /usr/local/bin/zsh. Which seems correct?
In iterm2 I checked echo $SHELL. (see image)
In iterm2 I checked echo $PATH. (see image)
I ran brew doctor. No issues there.
Checked that I had oh my zsh installed and updated.
iterm2-shell/path/brew/ohMyZsh
In vscode I have looked at code/preferences/settings/[typed]terminal
checked terminal>integrated>shell: Osx
checked that json file. I don't know what Im looking for there.
vscode-settings.json
Need Help With:
In vscode the terminal window does not open now and I get a error message.
vscode internal terminal error message
Now that I have iterm2, am I no longer able to use the internal mac terminal? When I go to open the internal mac terminal it is stuck on the following screen.
Internal mac terminal
Any help or guidance would be much appreciated. I am new to the terminal and command line.
Thanks in advance.

How to Install LLDB on Mac?

I'm new to Mac, I would like to know how to Install LLDB on MAC.
I'm running the OS X 10.11 El Capitan GM.
I need to debug one of my friends Application on iOS.
I would like to instead of using xcode, have only a Window that looks like terminal but is LLDB. Any idea on how to do that?
Thank you.
Without installing Xcode, Open terminal, put lldb and press return. you will be prompt to the installation.

mac open vim under tmux will casue vim Huaping

Computer:Mabbook Pro retina 2012 late
OS: OS X 10.9 and 10.10 all have this problem
terminal: iTerm and terminal all have this problem
vim version: Macvim 7.4.258
tmux version: stable 1.9a (bottled) HEAD
my dotfiles: .vimrc .zshrc .tmux.conf
when I open vim in terminal, everything is ok. But when I open vim in tmux, I met this problem in the following picture.look at screenshot
Once in a time the problem disappear, but after I "brew update" and "brew upgrade" It comes back. I really don't known what's wrong with them.
I can't code without tmux + vim , who can help me.
I have tried clear .tmux.conf, the problem still there. I tried to update the vim bundles, the problem still there.

Installing Inkscape on Mavericks

I have installed Inkscape 0.48.2 on my brand new mac mini running Mavericks but I can never get it to work as it crashes. It once asked me about the X11 server which I have installed but it never worked ever since. What should I do?
Make sure you installed Xquartz for the X server. http://xquartz.macosforge.org/
To see the logs you can try from the command line:
/Applications/Inkscape.app/Contents/MacOS/Inkscape

Mavericks - Trying to install XQuartz X11 for Inkscape, "image not found"

So I'm trying to install Inkscape onto my Mac, which is running on Mavericks. Upon trying to open, i'm told that I need to install X11 and am forwarded to this site http://xquartz.macosforge.org/trac/wiki/X112.7.5. Downloaded the file, when trying to open i'm told that the image can't be found. How can I get X11 + Inkscape running?! Thanks for your help in advance!
When Inkscape asks
Where is X11?
I had to go to Applications -> Utilities -> X11
The reason you think it did not work is because the first time Inkscape opens, it takes up to a minute and a half. It just seems to sit there, doing nothing, but it will open for sure. Once it opens, close it completely via XQuartz, then re-open it and it will open in 2-3 seconds. Use this direct link for the latest version of XQuartz 2.7.11.
https://www.xquartz.org
Works just fine for Mavericks 10.9.5, no worries. If not, update to OS X 10.9.5 via AppStore.
Install the X11 2.7.4 from here. I had to restart after this install, but it worked like a charm. MATLAB took forever to open the first round, but it eventually did and now everything seems OK.
For the record, I'm running 10.9.1 on a 2009 MacbookPro. Had the same problem after I upgraded to Mavricks and could not install X11, the 2.7.5 Package.

Resources