 |
 |
What's the save command in pico?
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2002
Location: Hilton Head, SC
Status:
Offline
|
|
control.... i? Can't remember thx...
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Nov 2000
Status:
Offline
|
|
Originally posted by Tyler McAdams:
control.... i? Can't remember thx...
Control-O is for a plain save. (WriteOut on the screen)
Control-X is for exit, which gives you the option to save.
If you look at the list at the bottom of the screen it gives you all the options...
- proton
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2002
Location: Hilton Head, SC
Status:
Offline
|
|
Originally posted by proton:
Control-O is for a plain save. (WriteOut on the screen)
Control-X is for exit, which gives you the option to save.
If you look at the list at the bottom of the screen it gives you all the options...
- proton
Thanks... I did not see the control-o... thx
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2002
Status:
Offline
|
|
One further useful bit of information: If in some moment of insanity, you think that ctrl-s might save, you will need to type ctrl-q to resume your terminal.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2002
Location: Hilton Head, SC
Status:
Offline
|
|
Originally posted by Richard Edgar:
One further useful bit of information: If in some moment of insanity, you think that ctrl-s might save, you will need to type ctrl-q to resume your terminal.
what is then control-s? command mode or something?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status:
Offline
|
|
Originally posted by Tyler McAdams:
what is then control-s? command mode or something?
If you look in the pico help, neither ctrl-s nor ctrl-q does anything. Also, typing them in pico merely prints a message "Unknown Command: ^S".
Tried in tcsh/bash (from ssh, not Terminal.app) in Mac OS X.2 AND Redhat Linux 9 using pico 2.4 (Mac OS X) and 4.2 (Linux).
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2002
Status:
Offline
|
|
Ctrl+s is conventionally "suspend terminal".
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status:
Offline
|
|
Originally posted by Richard Edgar:
Ctrl+s is conventionally "suspend terminal".
But there are a LOT of places where that does not occur: Pico, emacs and vi are some examples. You also cannot ctrl-c to abort pico, vi or emacs.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2002
Status:
Offline
|
|
But there are a LOT of places where that does not occur: Pico, emacs and vi are some examples. You also cannot ctrl-c to abort pico, vi or emacs
I can't speak for OSX, but IME, ctrl-s suspends pico under Solaris and some versions of Linux.
|
|
|
| |
|
|
|
 |
|
 |
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
|
|
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status:
Offline
|
|
Originally posted by Richard Edgar:
I can't speak for OSX, but IME, ctrl-s suspends pico under Solaris and some versions of Linux.
Well, this is an OS X forum so that would be the target platform. Also, as I said, RedHat does not do this (and I haven't experienced this behavior under any Linux for some time).
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2002
Status:
Offline
|
|
It was a response very much couched in terms of my experience. Look on it as a useful piece of information to bear in mind if xterms stop working in future.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2002
Location: Hilton Head, SC
Status:
Offline
|
|
Yes and remember hope is only a call away too.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2002
Status:
Offline
|
|
It really depends on the version of pico you
are using. I used to have the same problem
with vi but that was on Solaris ages ago.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|