Getting inappropriate output in terminalcontrol keys produce ascii output in Vi insert modeWhat is the command in the terminal to update VIM on ubuntu?Changing background colour of selected search in vim in gnome terminalGetting <ctrl> + <backspace> to delete words in gnome-terminal and vim insert modeTerminator 1.91 terminal emulator overwrites existing output in Ubuntu 18.04

NDSolve will try solving the system as differential-algebraic equations but it didn't get the solution

"Cобака на сене" - is this expression still in use or is it dated?

HR trying to sabotage my wife's work because we're married

If the Feign Death spell is cast on a creature, do they register as magical if the Detect Magic spell is cast to inspect them?

How to get out of the Ice Palace in Zelda A link to the Past?

Who did the Trump-Zelinsky phone call whistleblower give his report to?

What is a good way to challenge a Warlock with the Agonizing Blast invocation?

Can you cast Animate Dead on someone under effect of Feign Death?

Easiest way to get 36 -12V sources?

Bash to check if directory exist. If not create with an array

Fantasy story about a knife that can cut holes to other dimensions

Does a motor suffer damage when resistance to the intended motion is met?

Which fallacy: "If white privilege exists, why did Elizabeth Warren pretend to be an Indian?"

Safety Cover for Decommissioned (Empty) Swimming Pool

How should I approach an employer after reneging on an accepted job offer with them?

Did Abraham and Noah know of each other?

Are banter blitz players who draw arrows on the board during the game breaking the FIDE Laws of Chess?

ssh login using public keys for users that do not (yet) exist

Are there "fewer independent theaters than ever"?

Explanatory vs Non-explanatory Proofs

Does spacetime structure in GR break time symmetry?

MS in Mathematics, having trouble finding work outside teaching algebra

Will a nuclear country use nuclear weapons if attacked by conventional means by another nuclear country?

What would make the internet go away?



Getting inappropriate output in terminal


control keys produce ascii output in Vi insert modeWhat is the command in the terminal to update VIM on ubuntu?Changing background colour of selected search in vim in gnome terminalGetting <ctrl> + <backspace> to delete words in gnome-terminal and vim insert modeTerminator 1.91 terminal emulator overwrites existing output in Ubuntu 18.04






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















I have written a C program in Vim and trying to open the file by command vim filename.c I am getting this output.



E325: ATTENTION
Found a swap file by the name ".linklist.c.swp"
owned by: atharva dated: Wed Jul 17 22:29:18 2019
file name: ~atharva/linklist.c
modified: YES
user name: atharva host name: atharva-HP-Notebook
process ID: 8235
While opening file "linklist.c"
dated: Wed Jul 17 22:56:38 2019
NEWER than swap file!

(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r linklist.c"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".linklist.c.swp"
to avoid this message.

Swap file ".linklist.c.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:









share|improve this question




























  • Could you please formulate this as a question? What are you trying to get the system to do or not do? What steps have you taken so far to accomplish that?

    – Penguino
    Jul 17 at 17:51











  • I am trying to open my file.c file in VIM using command vim file.c, but when i have run command (vim file.c) i am getting some unknown output.....

    – Atharva
    Jul 17 at 18:32











  • @Penguino I am trying to open my linklist.c file in VIM using command vim file.c, but when i have run command (vim linklist.c) i am getting some unknown output.....I want to know why it saying like (Swap file ".linklist.c.swp" already exists! [O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: ) And what is linklist.c.swap file.

    – Atharva
    Jul 17 at 18:40

















0

















I have written a C program in Vim and trying to open the file by command vim filename.c I am getting this output.



E325: ATTENTION
Found a swap file by the name ".linklist.c.swp"
owned by: atharva dated: Wed Jul 17 22:29:18 2019
file name: ~atharva/linklist.c
modified: YES
user name: atharva host name: atharva-HP-Notebook
process ID: 8235
While opening file "linklist.c"
dated: Wed Jul 17 22:56:38 2019
NEWER than swap file!

(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r linklist.c"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".linklist.c.swp"
to avoid this message.

Swap file ".linklist.c.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:









share|improve this question




























  • Could you please formulate this as a question? What are you trying to get the system to do or not do? What steps have you taken so far to accomplish that?

    – Penguino
    Jul 17 at 17:51











  • I am trying to open my file.c file in VIM using command vim file.c, but when i have run command (vim file.c) i am getting some unknown output.....

    – Atharva
    Jul 17 at 18:32











  • @Penguino I am trying to open my linklist.c file in VIM using command vim file.c, but when i have run command (vim linklist.c) i am getting some unknown output.....I want to know why it saying like (Swap file ".linklist.c.swp" already exists! [O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: ) And what is linklist.c.swap file.

    – Atharva
    Jul 17 at 18:40













0












0








0








I have written a C program in Vim and trying to open the file by command vim filename.c I am getting this output.



E325: ATTENTION
Found a swap file by the name ".linklist.c.swp"
owned by: atharva dated: Wed Jul 17 22:29:18 2019
file name: ~atharva/linklist.c
modified: YES
user name: atharva host name: atharva-HP-Notebook
process ID: 8235
While opening file "linklist.c"
dated: Wed Jul 17 22:56:38 2019
NEWER than swap file!

(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r linklist.c"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".linklist.c.swp"
to avoid this message.

Swap file ".linklist.c.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:









share|improve this question

















I have written a C program in Vim and trying to open the file by command vim filename.c I am getting this output.



E325: ATTENTION
Found a swap file by the name ".linklist.c.swp"
owned by: atharva dated: Wed Jul 17 22:29:18 2019
file name: ~atharva/linklist.c
modified: YES
user name: atharva host name: atharva-HP-Notebook
process ID: 8235
While opening file "linklist.c"
dated: Wed Jul 17 22:56:38 2019
NEWER than swap file!

(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r linklist.c"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".linklist.c.swp"
to avoid this message.

Swap file ".linklist.c.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:






vim c






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited Jul 17 at 18:51









Kulfy

8,50811 gold badges34 silver badges60 bronze badges




8,50811 gold badges34 silver badges60 bronze badges










asked Jul 17 at 17:36









AtharvaAtharva

31 bronze badge




31 bronze badge















  • Could you please formulate this as a question? What are you trying to get the system to do or not do? What steps have you taken so far to accomplish that?

    – Penguino
    Jul 17 at 17:51











  • I am trying to open my file.c file in VIM using command vim file.c, but when i have run command (vim file.c) i am getting some unknown output.....

    – Atharva
    Jul 17 at 18:32











  • @Penguino I am trying to open my linklist.c file in VIM using command vim file.c, but when i have run command (vim linklist.c) i am getting some unknown output.....I want to know why it saying like (Swap file ".linklist.c.swp" already exists! [O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: ) And what is linklist.c.swap file.

    – Atharva
    Jul 17 at 18:40

















  • Could you please formulate this as a question? What are you trying to get the system to do or not do? What steps have you taken so far to accomplish that?

    – Penguino
    Jul 17 at 17:51











  • I am trying to open my file.c file in VIM using command vim file.c, but when i have run command (vim file.c) i am getting some unknown output.....

    – Atharva
    Jul 17 at 18:32











  • @Penguino I am trying to open my linklist.c file in VIM using command vim file.c, but when i have run command (vim linklist.c) i am getting some unknown output.....I want to know why it saying like (Swap file ".linklist.c.swp" already exists! [O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: ) And what is linklist.c.swap file.

    – Atharva
    Jul 17 at 18:40
















Could you please formulate this as a question? What are you trying to get the system to do or not do? What steps have you taken so far to accomplish that?

– Penguino
Jul 17 at 17:51





Could you please formulate this as a question? What are you trying to get the system to do or not do? What steps have you taken so far to accomplish that?

– Penguino
Jul 17 at 17:51













I am trying to open my file.c file in VIM using command vim file.c, but when i have run command (vim file.c) i am getting some unknown output.....

– Atharva
Jul 17 at 18:32





I am trying to open my file.c file in VIM using command vim file.c, but when i have run command (vim file.c) i am getting some unknown output.....

– Atharva
Jul 17 at 18:32













@Penguino I am trying to open my linklist.c file in VIM using command vim file.c, but when i have run command (vim linklist.c) i am getting some unknown output.....I want to know why it saying like (Swap file ".linklist.c.swp" already exists! [O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: ) And what is linklist.c.swap file.

– Atharva
Jul 17 at 18:40





@Penguino I am trying to open my linklist.c file in VIM using command vim file.c, but when i have run command (vim linklist.c) i am getting some unknown output.....I want to know why it saying like (Swap file ".linklist.c.swp" already exists! [O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: ) And what is linklist.c.swap file.

– Atharva
Jul 17 at 18:40










1 Answer
1






active

oldest

votes


















0


















The computer is asking you to choose what to do by pressing a key appropriate for what you're trying to do O,E,R,D,Q,A for the corresponding choice that fits your situation.



The issue here is that when you open your file with two different programs the computer essentially creates two separate working copies of the file in a (swap file)--and it needs to know what to do about the copies, and which one it will store as the permanent copy to the hard-disk when you're done.



The *.swap file is the temporary copy where the file lives. You're going to need to choose what to do based on what is appropriate in your situation.






share|improve this answer



























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1159030%2fgetting-inappropriate-output-in-terminal%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown


























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0


















    The computer is asking you to choose what to do by pressing a key appropriate for what you're trying to do O,E,R,D,Q,A for the corresponding choice that fits your situation.



    The issue here is that when you open your file with two different programs the computer essentially creates two separate working copies of the file in a (swap file)--and it needs to know what to do about the copies, and which one it will store as the permanent copy to the hard-disk when you're done.



    The *.swap file is the temporary copy where the file lives. You're going to need to choose what to do based on what is appropriate in your situation.






    share|improve this answer






























      0


















      The computer is asking you to choose what to do by pressing a key appropriate for what you're trying to do O,E,R,D,Q,A for the corresponding choice that fits your situation.



      The issue here is that when you open your file with two different programs the computer essentially creates two separate working copies of the file in a (swap file)--and it needs to know what to do about the copies, and which one it will store as the permanent copy to the hard-disk when you're done.



      The *.swap file is the temporary copy where the file lives. You're going to need to choose what to do based on what is appropriate in your situation.






      share|improve this answer




























        0














        0










        0









        The computer is asking you to choose what to do by pressing a key appropriate for what you're trying to do O,E,R,D,Q,A for the corresponding choice that fits your situation.



        The issue here is that when you open your file with two different programs the computer essentially creates two separate working copies of the file in a (swap file)--and it needs to know what to do about the copies, and which one it will store as the permanent copy to the hard-disk when you're done.



        The *.swap file is the temporary copy where the file lives. You're going to need to choose what to do based on what is appropriate in your situation.






        share|improve this answer














        The computer is asking you to choose what to do by pressing a key appropriate for what you're trying to do O,E,R,D,Q,A for the corresponding choice that fits your situation.



        The issue here is that when you open your file with two different programs the computer essentially creates two separate working copies of the file in a (swap file)--and it needs to know what to do about the copies, and which one it will store as the permanent copy to the hard-disk when you're done.



        The *.swap file is the temporary copy where the file lives. You're going to need to choose what to do based on what is appropriate in your situation.







        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Jul 17 at 18:53









        PenguinoPenguino

        865 bronze badges




        865 bronze badges































            draft saved

            draft discarded















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1159030%2fgetting-inappropriate-output-in-terminal%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown









            Popular posts from this blog

            Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

            How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

            Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü