0% found this document useful (0 votes)
21 views2 pages

Part Ad

nano editor book four

Uploaded by

fazin barin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views2 pages

Part Ad

nano editor book four

Uploaded by

fazin barin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

buffer, and will write to the pipe when the user saves the

"file". This way n#na#an#no#o can be used as an editor in


combination
with for instance g#gp#pg#g without having to write sensitive data to
disk first.

-#-o#o _#d_#i_#r_#e_#c_#t_#o_#r_#y, -#--#-


o#op#pe#er#ra#at#ti#in#ng#gd#di#ir#r=#=_#d_#i_#r_#e_#c_#t_#o_#r_#y
Set the operating directory. This makes n#na#an#no#o set up
something
similar to a chroot.

-#-p#p, -#--#-p#pr#re#es#se#er#rv#ve#e
Preserve the XON and XOFF sequences (^#^Q#Q and ^#^S#S) so they will
be
caught by the terminal. Note that option -#-/#/ (-#--#-
m#mo#od#de#er#rn#nb#bi#in#nd#di#in#ng#gs#s)
overrides this.

-#-q#q, -#--#-i#in#nd#di#ic#ca#at#to#or#r
Display a "scrollbar" on the righthand side of the edit window.
It shows the position of the viewport in the buffer and how much
of the buffer is covered by the viewport.

-#-r#r _#n_#u_#m_#b_#e_#r, -#--#-f#fi#il#ll#l=#=_#n_#u_#m_#b_#e_#r


Set the target width for justifying and automatic hard-wrapping
at this _#n_#u_#m_#b_#e_#r of columns. If the value is 0 or less,
wrapping
will occur at the width of the screen minus _#n_#u_#m_#b_#e_#r
columns,
allowing the wrap point to vary along with the width of the
screen if the screen is resized. The default value is -#-8#8.

-#-s#s "#"_#p_#r_#o_#g_#r_#a_#m [_#a_#r_#g_#u_#m_#e_#n_#t ...]"#", -#--#-


s#sp#pe#el#ll#le#er#r=#="#"_#p_#r_#o_#g_#r_#a_#m [_#a_#r_#g_#u_#m_#e_#n_#t ...]"#"
Use this command to perform spell checking and correcting,
instead of using the built-in corrector that calls
h#hu#un#ns#sp#pe#el#ll#l(1)
or s#sp#pe#el#ll#l(1).

-#-t#t, -#--#-s#sa#av#ve#eo#on#ne#ex#xi#it#t
Save a changed buffer without prompting (when exiting with ^#^X#X).

-#-u#u, -#--#-u#un#ni#ix#x
Save a file by default in Unix format. This overrides nano's
default behavior of saving a file in the format that it had.
(This option has no effect when you also use -#--#-
n#no#oc#co#on#nv#ve#er#rt#t.)

-#-v#v, -#--#-v#vi#ie#ew#w
Just view the file and disallow editing: read-only mode. This
mode allows the user to open also other files for viewing,
unless -#--#-r#re#es#st#tr#ri#ic#ct#te#ed#d is given too.

-#-w#w, -#--#-n#no#ow#wr#ra#ap#p
Do not automatically hard-wrap the current line when it becomes
overlong. This is the default. (This option is the opposite of
-#-b#b (-#--#-b#br#re#ea#ak#kl#lo#on#ng#gl#li#in#ne#es#s) -- the last
one given takes effect.)
-#-x#x, -#--#-n#no#oh#he#el#lp#p
Don't show the two help lines at the bottom of the screen.

-#-y#y, -#--#-a#af#ft#te#er#re#en#nd#ds#s
Make Ctrl+Right and Ctrl+Delete stop at word ends instead of
beginnings.

-#-!#!, -#--#-m#ma#ag#gi#ic#c
When neither the file's name nor its first line give a clue, try
using libmagic to determine the applicable syntax.

-#-%#%, -#--#-s#st#ta#at#te#ef#fl#la#ag#gs#s
Use the top-right corner of the screen for showing some state
flags: I#I when auto-indenting, M#M when the mark is on, L#L when
hard-wrapping (breaking long lines), R#R when recording a macro,
and S#S when soft-wrapping. When the buffer is modified, a star
(*#*) is shown after the filename in the center of the title bar.

-#-_#_, -#--#-m#mi#in#ni#ib#ba#ar#r
Suppress the title bar and instead show information about the
current buffer at the bottom of the screen, in the space for the
status bar. In this "mini bar" the filename is shown on the
left, followed by an asterisk if the buffer has been modified.
On the right are displayed the current line and column number,
the code of the character under the cursor (in Unicode format:
U+xxxx), the same flags as are shown by -#--#-
s#st#ta#at#te#ef#fl#la#ag#gs#s, and a
percentage that expresses how far the cursor is into the file
(linewise). When a file is loaded or saved, and also when
switching between buffers, the number of lines in the buffer is
displayed after the filename. This number is cleared upon the
next keystroke, or replaced with an [i/n] counter when multiple
buffers are open. The line plus column numbers and the
character code are displayed only when -#--#-
c#co#on#ns#st#ta#an#nt#ts#sh#ho#ow#w is used,
and can be toggled on and off with M#M-#-C#C. The state flags are
displayed only when -#--#-s#st#ta#at#te#ef#fl#la#ag#gs#s is used.

-#-0#0, -#--#-z#ze#er#ro#o
Hide all elements of the inter

You might also like