Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-09-2003, 07:43 PM
|
#1
|
Member
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163
Rep:
|
VI text editor in command line
Ok, how do I save a file using the VI editor at command line level?
I tried ctrl + s, but the file froze, and I had to hit ctrl + alt + F1 to enter a new session and send the halt signal 
|
|
|
07-09-2003, 07:45 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
<esc>
:wq
Try man vi before you run it again ;)
Cheers,
Tink
|
|
|
07-09-2003, 07:48 PM
|
#3
|
Member
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163
Original Poster
Rep:
|
Heh, thanks.
I hit esc then type :wq ehy?
Ok.... hope I can get back into my graphical desktop now!
|
|
|
07-09-2003, 08:19 PM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
<esc> to get from any special mode
(like editing :D) into command mode,
so you can enter :(start a command)
w(write) q(quit) ... what always gets me
is that VI-users say emacs is crytpic ;)
just because it uses DIFFERENT funny
keystrokes ;)
Cheers,
Tink
|
|
|
07-09-2003, 09:04 PM
|
#5
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
Ctrl-s is a scroll lock key sequence. Ctrl-q will unlock. . .
Unless something tells the OS to pass that ^s, it will always be a scroll lock, and the same for ^q.
|
|
|
All times are GMT -5. The time now is 03:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|