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 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 tried to search the answer from docs, but couldn't find.. How can I
I tried to search SO but couldn't find close answers. What I have is
Before asking, I tried to search the answer for my question, buf I couldn't
I've tried to search around for the answer to this question, but can't seem
Hi i tried to search an answer in google but i didnt find even
I have tried to search for an answer in google, and this site, but
I've tried to search online, but haven't found a clear answer for my issue
I know this might be a common question but I have tried to search
all. I search the sites but can not find my answer, so I post

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.