Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7077005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:22:09+00:00 2026-05-28T06:22:09+00:00

When using the terminal in emacs (M-x term) under MacOS for some reason it

  • 0

When using the terminal in emacs (M-x term) under MacOS for some reason it always posts the characters 4m before every line in zsh and always prints 2 lines containing the user info such as

4m--(jesus@laptop:/dir)----
4m--(jesus@laptop:/dir)----
prompt>

It’s more of an annoyance than anything but I was just wondering if there’s a way to fix this. I also seem to have issues in Zsh in Mac OS emacs terminal mode when a lot of output is written to it it seems to reduce it all to one line and constantly overwrite the same line (may be related as the 4m is possibly just a special character that emacs is treating differently which can affect formatting).

If need be I can post my .zshrc and .emacs files.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:22:10+00:00Added an answer on May 28, 2026 at 6:22 am

    You don’t have eterm-color terminfo.
    First, you try to add following S-exp in your configuration file and evaluate.

    ;; Use Emacs terminfo, not system terminfo
    (setq system-uses-terminfo nil)
    

    If problem is not resolved previous setting, you should create eterm-color terminfo
    by using following command. (terminfo path may different from your system)

    # If you use Cocoa Emacs or Carbon Emacs
    tic -o ~/.terminfo /Applications/Emacs.app/Contents/Resources/etc/e/eterm-color.ti
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using emacs on MacOS 10.6 with Terminal. I have a white background.
When running terminal mode in Emacs using M-x term using C-x C-o I cannot
Is there a way to launch a gnome-terminal from the command line (i.e., using
Using elisp (not interactive key-chords), how can I run a command in emacs terminal
C-h is correctly interpreted has 'help' in Carbon Emacs.app and using /usr/bin/emacs in Terminal.app.
I am using ubuntu 9.04 and GNU Emacs 22.2.1 I am using the terminal
I am using emacs 22.2.1 on Ubuntu 9.04. Every time I open a file
I am using Mac OS and emacs -nw (the terminal mode). I don't know
Using Emacs 23.2.1 on Ubuntu Lucid, any mode based on Comint inserts occasional line
I'm using Terminal.app on Mac OS10.6.3, with gnu screen and zsh. What I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.