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;
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
add a comment
|
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
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
add a comment
|
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
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
vim c
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
add a comment
|
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
add a comment
|
1 Answer
1
active
oldest
votes
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.
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment
|
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.
add a comment
|
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.
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.
answered Jul 17 at 18:53
PenguinoPenguino
865 bronze badges
865 bronze badges
add a comment
|
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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