Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Terminal Title Bar?

I accidentally opened a file I did not mean to with the LESS command and now my terminal title bar shows as :


[username] - e??+??????a????5???\??/|G??v????4?S - bash.


With some other characters thrown in there that I do not recognize. I can change the title with a command similar to :


echo -n -e "\033]0;Terminal\007"


However when I close out my CLI and reopen it, the title reverts back to lengthy string of incoherency. It hasn't seemed to affect my CLI and how it functions. Im still able to navigate and create directories, view text files, run python scripts and any other task I would do, but Im curious if there is a way to reverse the change? Im almost positive the cause of this was an incident in which I accidentally opened an mp3 file in the Terminal due to a copy / paste error. (Boy did that one look interesting)


Any advice or insight on this matter would be appreciated.

MacBook Pro (15-inch Late 2011), OS X Yosemite (10.10.2)

Posted on Mar 27, 2015 8:03 PM

Reply
9 replies

Mar 28, 2015 7:54 AM in response to Linc Davis

caused no change. the only 2 that existed were .bash_profile and .bash_history i renamed both, and then tried moving them to a temporary directory inside my home directory. I only knew the files existed because the mv commands worked. Is there a command to show hidden files in my home directory so I can see if there is another file that might be causing the issue?


[EDIT]


figured that part out on my own... these are the hidden files in my home directory.. Could any of these be causing the problem?


.

..

.config .dropbox

.CFUserTextEncoding

.lesshst

.DS_Store

.subversion

.Rapp.history

.temp

.Trash

.viminfo

.bash_history

.bash_history1

.cache

Mar 28, 2015 8:20 AM in response to Breyno127

Please read this whole message before doing anything.

This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.

Step 1

The purpose of this step is to determine whether the problem is localized to your user account.

Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”

While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.

Test while logged in as Guest. Same problem?

After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.

*Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

Step 2

The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.

Please take this step regardless of the results of Step 1.

Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.

Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.

Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.

The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.

Test while in safe mode. Same problem?

After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

Terminal Title Bar?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.