File: sted.1

package info (click to toggle)
sted 0.3.0-4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 188 kB
  • ctags: 60
  • sloc: ansic: 1,359; makefile: 61; sh: 8
file content (104 lines) | stat: -rw-r--r-- 1,861 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
.\" Process this file with
.\" groff -man -Tascii sted.1
.\"
.TH STED 1 "July 1998" Linux "User Manuals"
.SH NAME
sted \- a small and simple text editor
.SH SYNOPSIS
.B sted [
.I -p
.B ] [ 
.I file
.B ]
.SH DESCRIPTION
.B sted
means Simple (or Stupid, or Small) Text Editor.
It's a very simple text editor. It lets you load
a file by specifying it on the command line,
or by pressing
.BR F11 ,
while in the program. Save by pressing
.B F12
and quit by pressing
.BR F9 .
You can move around with the cursor keys, and
the
.BR PageUp ,
.BR PageDown ,
.BR Home , 
.BR End ,
.BR Shift-Left ,
.BR Shift-Right ,
.B Shift-Home
and
.B Shift-End
keys if your terminal has them.
.B Shift-Del
deletes line and
.B Shift-Ins
inserts deleted line.
You can use some
.BR vi (1)
keys if you press
.BR Control-O .
.B F1
or
.B Help key
lists all keys.
.B Control-L
or
.B Clear key
redraws the screen.
The
.B -p
parameter starts
.B sted
in psychedelic mode.
.P
You can edit
.BR Unicode (7)
text in
.BR utf\-8 (7)
format on
.B Linux
console if you have defined a proper keymap.
See
.B lt.map
in
.B kbd
keymaps directory as example.
You should set terminal to
.BR utf\-8 (7)
mode using
.BR unicode_start
from
.B kbd
or better use special
.BR terminfo (3ncurses)
entry such as
.B linux+utf8
from
.BR 2UTF (1).
If odd 8-bit characters above 0xA0 are found in the file they are assumed to
be from
.BR latin1 (7)
char-set and are converted.
.SH BUGS
.P
Ncurces outputs too much spaces for lines with multi-byte characters.
.P
.B DEC
private mode escape sequences are used to set terminal to nowrap mode.
On exit wrap mode is set.
.P
Control characters may not display properly.
.P
There are probably a lot more of them. If there
aren't any, it must be because the program
is so very small and simple. 
.SH AUTHOR
.P
Linus Akerlund <uxm165t@tninet.se>
.P
Ricardas Cepas <rch@WriteMe.Com>