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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:11:24+00:00 2026-05-22T00:11:24+00:00

I tried to search the answer, but maybe I’m phrasing the question wrong, I

  • 0

I tried to search the answer, but maybe I’m phrasing the question wrong, I couldn’t find it.

So, in my own Linux environment, when I exit “vi”, the content of the editing window stays in the shell window. I cannot just scroll up to see the previous commands I typed before entering “vi”. I’ve been in some environment (as a different user) where once I exit “vi”, the vi command just shows as one regular command line following all the earlier commands I typed. I tried to look for the setting for that behavior, which I liked, but I couldn’t. Can someone please help me?

  • 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-22T00:11:25+00:00Added an answer on May 22, 2026 at 12:11 am

    It isn’t a vi setting per se; it is in the terminfo entry you use ($TERM). Check on what your other user has set for $TERM, and compare that with what you have set. Then, either change your TERM value, or modify the terminal entry you do use. infocmp decompiles terminal entries; tic compiles them. You can create your own directory to hold the entry if you can’t modify the system one (or while you are testing your modifications):

    mkdir $HOME/terminfo
    export TERMINFO=$HOME/terminfo
    tic -o $TERMINFO new.terminfo.src
    

    Etc.

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

Sidebar

Related Questions

I tried to search an answer for this but couldn't find one. My iPhone
i've used search but i didn't find answer satisfying me... so.. this is chunk
I tried searching, but I couldn't really figure out the best search terms to
all. I search the sites but can not find my answer, so I post
Question 828421 asked similar question, but received only one real answer (update rubygems) and
This feels like a really basic question, but I haven't been able to find
This sounds like a simple question, but I don't know how to search for
i have asked this question before but no answer was there. so asking again.
I tried enough to find in google & android this question. Also did several
I am sure this is a basic answer, but my search powers are not

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.