• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What are these: .javaFileName.java.swp ?

 
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm participating in the "Java Classroom" using Linux RedHat 5.2 to do the homework.
An interesting thing is happening whenever I use vi to edit my files, and use another xterm window to run my apps. When ever I'm in vi, a file called ".javaFileName.java.swp" appears in my directory (replace "javaFileName" with the file I'm editing). The "." in front of the name is a common UNIX/Linux item indicating it's a hidden file. When I leave vi, the file disappears!
Is this a Linux thing (what I think it is, having to do with swap space), or a java thing?
[This message has been edited by Matt Midcap (edited February 14, 1999).]
 
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are definetly using VI iMproved as your default VI editor. The .swp file is VIM feature for storing the temporary autosave. If your box shutdowns spontaneously, you'll be able to recover the file using vi -r command.
Type :help recover to vi to learn more about recovering feature of vim.
Anyway, this is not JAVA relative topic.
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Pawel.
reply
    Bookmark Topic Watch Topic
  • New Topic