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

  • Home
  • SEARCH
  • 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 8508399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:09:03+00:00 2026-06-11T03:09:03+00:00

Relative Emacs newbie here, just trying to adapt my programming workflow to fit with

  • 0

Relative Emacs newbie here, just trying to adapt my programming workflow to fit with emacs. So far I’ve discovered shell-pop and I’m quite enjoying on-demand terminals that pop up when needed for banging out the odd commands.

What I understand so far about Emacs is that shell is a “dumb” terminal that doesn’t support any ansi control codes, and that makes it incompatible with things like ncurses that attempt to draw complex UI’s on a terminal emulator. This is why you can’t use less or top or similar in shell-mode.

However, I seem to be having trouble with ansi-term, it’s not the be-all, end-all that it’s cracked up to be. Sure, it has no problems running less or git log or even nano, but there are a few things that can’t quite seem to display properly when they’re running in an ansi-term, such as apt-get and nosetests. I’m not sure quite what the name is for it, but apt-get‘s output is characterised by live-updating what is displayed on the very last line, and then having unchanging lines of text scroll out above that line. It seems to be halfway between something like less and something dumber, like cat. Somehow ansi-term doesn’t like this at all, and I get very garbled output, where it seems to output everything on one line only or just generally lose it’s place and output things all over, randomly. In the case of nosetests, it starts off ok, but if any libraries spew out any STDERR, the output all goes to hell in a similar way.

With some fiddling it seems possible to fix this by mashing C-l and RET, but it’s not always reliable.

Does anybody know what’s going on here? Is there some way to fix ansi-term so that it can display everything properly? Or is there perhaps some other mode that I don’t know about that is way better? Ideally I’d like something that “just works” as effortlessly as, eg, Gnome Terminal, which can run all of the above mentioned programs without a single hiccup.

Thanks!

  • 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-06-11T03:09:04+00:00Added an answer on June 11, 2026 at 3:09 am

    I resolved this issue by commenting out my entire .emacs.el and then uncommenting and restarting emacs for every single line in the file. I discovered that the following line alone was responsible for the issue:

       '(fringe-mode 0 nil (fringe))
    

    (this line disables the fringes from inside custom-set-variables).

    I guess this is a bug in Emacs, that disabling the fringe causes term-mode to garble it’s output really badly whenever any output line exceeds $COLUMN columns.

    Anyway, I don’t really like the fringes much at all, and it seems I was able to at least disable the left fringe without triggering this issue:

    (set-fringe-mode (cons 0 8))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Relative JS newbie here trying to understand the difference between two ways of defining
I'm a relative rails newbie, just getting started on learning how to DRY my
I'm a relative newbie to Java and am building an application for my programming
Relative CSS/bootstrap newbie. I've spent a while trying to get a background image to
With relative newness to AJAX, and now just starting to learn PDO, the added
Scheme relative URLs (network-path references) are something that I've just found out about -
I'm a relative newbie to thinking in OOP terms, and haven't yet found my
I am trying to make shortcuts for portable emacs linking to a portable LaTeX
Relative newbie to php, running into an issue with namespaces. Inside my own class
here ,i know that relative source use as getting value with respect to the

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.