Repository navigation
New features:
- add support for wide characters, such as Chinese-Japanese-Korean (CJK), emoji etc. - closes issue #89 - technically, they are "fullwidth codepoints"
- add support for bracketed paste and enable it by default - closes issue #99
- Add OpenBSD support - largely by @dragonmaus
- Add NetBSD support
- add shell builtin
umaskto display or set the file creation mask - by @xofyarg - add parameter
(sh-login?)that returns#tif shell is a login shell - add macro
(parameterize*) - add functions
(linectx-history-filter-onsave)and(linectx-history-filter-onsave-set!)for choosing which history items are saved to disk at REPL exit - add functions
(vlines-string=?)and(vlines-string-hash), together they allow usingvlinesobjects as hash table keys - add functions for three-way comparison between objects, i.e. less-than, equal or greater-than in a single call:
(boolean-compare)(char-compare)(fxcompare)(number-compare)(string-compare)(vlines-cell-count-compare)(vscreen-cell-count-compare) - add functions
(string-replace-left)(string->utf8b-length) - add functions
(string-quote?)(string-quote)and use them intable-writerto escape non-printable characters
Improvements:
- at startup, automatically eval file
~/.config/schemesh/init.ssif exists - even if not starting a REPL
at shutdown, automatically eval file~/.config/schemesh/quit.ssif exists - even if not starting a REPL
see #92 - improve REPL initialization and shutdown order:
file~/.config/schemesh/repl_init.ssis now evaluated immediately before repl inner loop, after everything else is initialized
file~/.config/schemesh/repl_quit.ssis now evaluated immediately after repl inner loop, before everything else is shut down
this allows using(repl-args-linectx)(repl-history)and all other repl-related functions from such files - several improvements to history handling
- enable reproducible build on Chez Scheme > 10.4.1, see cisco/ChezScheme#585
- update doc/schemesh_on_termux.md instructing to download latest Chez Scheme from github.com, because it adds several Android-related fixes compared to Chez Scheme 10.4.0
- allow omitting argument
initial-parserfrom all functions(sh-eval-...)and(sh-read-...)when it's the last argument - allow omitting argument
job-or-idin most functions(sh-env...) - rename
priority->nicein typeprocess-entrybecause that's what most people are familiar with
Bug fixes:
- fix macOS compile errors
- fix issue #90: shell redirection
>&-did not close file descriptor - fix issue #95: pipeline inside
``or$[...]did not capture pipeline output - fix issue #102:
(sh-pipe job1 job2 ...)no longer raises exception - fix issue #105: history navigation now skips history items equal to current input
- fix visual glitch when redrawing a line that ends exactly at the terminal right edge
- fix a race condition in
(call-with-foreground-job) - fix a job control bug when starting again a
sh-jobobject after it has finished - fix incorrect usage of
(bytevector-truncate!)and(string-truncate!) - fix
(file-stat)to correctly fillinodefield. by @dragonmaus in #100 - fix missing parameter in a call to
(gbuffer-insert-at!). by @dragonmaus in #109 - fix infinite recursion in
(to-table)when called with 4 arguments - fix
(span-sort-by!)and(subvector-sort-by!)to correctly detect and coalesce connected components i.e. sets of mutually comparable elements