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 6325065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:49:30+00:00 2026-05-24T16:49:30+00:00

I have two different servers each running a Ubuntu installation. On both of them,

  • 0

I have two different servers each running a Ubuntu installation. On both of them, I have set env LESS=-FerX which makes sure that git log output is displayed nicely. Also, line wrapping is turned on.

On one of the servers, if I run git log and there are dynamically-wrapped lines, the topmost lines disappear.

For example:

log --pretty='format:%C(3)[%h] %Cgreen%an%Creset%n %cd %s %Cred%d%Creset' --graph

Output on Server 1:

* [1234457] John Doe
| Date fooooo bar baz fooooo bar baz fooooo bar baz fooooo bar baz fooooo bar baz
fooooo bar baz fooooo bar baz fooooo bar baz fooooo bar baz fooooo bar baz fooooo
bar baz
* [4567890] Richard Miles
| Date fooooo bar baz
:

Output on Server 2:

fooooo bar baz fooooo bar baz fooooo bar baz fooooo bar baz fooooo bar baz fooooo
bar baz
* [4567890] Richard Miles
| Date fooooo bar baz
* [0815123] Mary Major
| Date fooooo bar baz fooooo bar baz fooooo bar baz
:

Any idea how to fix this?

  • 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-24T16:49:31+00:00Added an answer on May 24, 2026 at 4:49 pm

    Again, I find the answer to my own question only minutes after asking.

    Turns out the problem was the -r parameter to less. It should have been a -R instead.

    From the manpage:

    -R or --RAW-CONTROL-CHARS
              Like  -r,  but  only ANSI "color" escape sequences are output in "raw" form.
              Unlike -r, the screen appearance is  maintained  correctly  in  most  cases.
    

    For some reson not known to me, the lower-case -r works fine on of the other server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The set up I have websphere 6.1 running two application servers. Each running the
I have the exact same html sitting on two different servers. Both pages call
I have two different buttons on my page. I want them both to be
I have two tables in two different SQL Server databases on different servers. Each
I have two websites on two different servers. When I print the following on
I have apache httpd that I want to proxy to two different tomcat servers.
I have two different libGL libraries on the same Ubuntu 11.04 machine. One library
I have two different web applications running on two different instances of tomcat. I
I've got a situation where I have two different webapps running on a single
I have two machines , each one contains SQL Server + different instance/database +

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.