diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/fs.md | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -407,10 +407,12 @@ no pane anywhere can give them. **`name`** reads the file name (a terminal's directory); a write renames the buffer (relative to the pane's directory) and marks nothing dirty; `Save` -then writes under the new name. A name is one line; refused (EINVAL) are a -second line, a blank at either end, control bytes and non-UTF-8 (`bad -character in file name: a blank at its start`, ...). Up to 255 bytes a -component. A directory (`/`, `~`, `foo/`) is no file name: refused, EISDIR +then writes under the new name. A name takes any byte a file name can +hold, blanks, control bytes and bytes not UTF-8 included, so what `name` +reads writes back as it was; refused (EINVAL) are only a second line and a +NUL (`bad character in file name: a NUL`). Up to 255 bytes a component. +The ctl word `name x` takes all after its one blank; a second blank there +is refused rather than read as the name's first byte. A directory (`/`, `~`, `foo/`) is no file name: refused, EISDIR (`name: /home/u is a directory, not a file`). **`body`** reads the text; a write appends; `>` (OTRUNC) replaces it all. |
