I did an update to Mojave and now when I go to the terminal is says:
csarson:~ janet$
it never had the csarson:~ part before. I checked and there is no user with this name. Is it something I should be concerned with? Does anyone know if it a bash profile of some kind?
Thanks in advance,
Janet
I believe that is the name of your computer. The terminal prompt format is:
Computer-Name:{working-directory} {username}$
So in this case csarson is your computer's name. See the image below for how it looks on my MacBook Pro, also running Mojave.
Related
I have 2 apps that issue an EnableSecureEventInput when they are launched, but they do not issue a DisableSecureEventInput when quit, this stops me from using some shortcut apps like Typinator.
I realise that I could just re-boot my Mac, but that's pretty inconvenient every time I use one of these apps, so I would like to know how to do this via terminal if it is possible.
I have searched everywhere that I can think of, but have just drawn a complete blank so far, and I've contacted the developer about the issue, but I'm not too hopeful for a response.
Thank you in advance for any assistance.
MacOS Catalina version 10.15.7
I've since found out that this isn't possible. DisableSecureEventInput has to be issued by the app that issued the EnableSecureEventInput. This is a security requirement, and thinking about it now, that makes sense.
I have update my mac book pro 2017 15 inches to catalina. I wanted to customize my terminal window default prompt some thing like this
Praveen > Training > Java >
Where Praveen is the user name, Java is the sub folder under Training folder. I did this in Mojave . But I am not able to do in Catalina. Request you to help me to change my terminal prompt like that.
Thanks in Advance.
Apple switched the default shell from bash to zsh. If your old prompt is written for bash, it will not work in zsh. zsh provide more rich functionality then batch. You can check this link to learn more about that.
https://www.howtogeek.com/362409/what-is-zsh-and-why-should-you-use-it-instead-of-bash/
If you are using zsh, I suggest you try theme p10k. It is highly configurable and it is really fast. I am pretty sure it will satisfy your needs.
https://github.com/romkatv/powerlevel10k
I got in a bit over my head and probably entered some wrong commands into terminal. Now I can't get my local webpages to work display. I'd like to start from scratch.
Find the config file and delete it. As for the location, you can Google it.
I have a weird problem with launching and running a C program in XCode. I create a command-line C program (the program just prints "Hello, World!\n"). The program is complied with no problem. How it does not print any output in the Debugger Console window when I run it (using the Run item in the Run menu).
I run XCode under my admin account, so there should not be problems with admin rights required to run XCode Debugger under non-admin accounts. The weird thing is that if I log in to another admin account (created for testing), then I have no problem running the program from within XCode: I see the line "Hello, World." as well as GDB's output.
I suspect that there's something wrong with my account (not the one created for testing), as I changed my account's shortname before. I would greatly appreciate it if someone here can give a glimpse of the problem and/or a possible fix.
Solutions that I have tried: using Disk Utility to repair permissions; using dscl to add me to the _developer group (but I don't think it actually helped as my account is admin); and reinstalling XCode.
My laptop is running OS X 10.6.8, and the version of my XCode is 3.2.6.
The reason that XCode Debugger hangs on my machine is that there is .gdbinit in my home directory that points to a GDB version different from that in XCode. I remove .gdbinit and the Debugger works again.
I think my question is pretty stupid, but here it goes:
I am using Aquamacs, and I want to install the WhizzyTeX mode. The website for WhizzyTeX says that "it is designed for Unix platforms".
I read that Mac OS X is unix certified, but does that mean I can install WhizzyTeX on my mac? If yes, can I install and use it with Aquamacs or do I have to use the Emacs running from the terminal?
PS: I don't know whether this question should be posted here or on SuperUser, but as Emacs users seem to hang out here more often, this is the place I chose.
EDIT: There are some websites saying I can use WhizzyTeX with Carbon Emacs on mac os x, but some places say I cannot (see for example this pdf document, page 27, which says that "* whizzytex: http://cristal.inria.fr/whizzytex/ mode in latex with ocaml good fo linux, should also work in cygwin, doe not work on osx"). So I am really confused...
If anyone is interested, I managed to make it. It is a bit slow and I think some files have issues, but in any case, it works!
The trick is to do what is explained here except for step 4. What I did instead was put the whizzytex.sty file in the same place as whizzytex.el and whizzytex (see step 5 in the article) and then I opened the file whizzytex (the one without extension), and where it says:
name (or full path) of the dump latex2e package file (without the extension)
PACKAGE=whizzytex.sty
I changed it to the path where I put whizzytex.sty. In my case I have:
PACKAGE=/Users/viviannevilar/.emacs.d/packages/whizzytex.sty
I hope this is useful for someone :)
You can install with the software distribution system Macports:
sudo port install tex-whizzytex
You only have to set up your emacs configuration files afterwards.
Have fun!
According to this site (scrolled about 3/4's the way down) it says that it can be installed on Mac OS. It pretty much just says:
make
sudo make install