• R/O
  • SSH

yash: List of commits

Rev. Time Author
r3842 2018-07-16 12:51:00 magicant

configure: Test ctags with correct operands

Exuberant Ctags 5.8 fails with the '-f /dev/null' option. Use regular
files for more stable test results.

r3841 2018-06-19 22:00:18 magicant

Don't pass invalid path to git-ls-tree

In recent versions of Git, the git-ls-tree command rejects the empty
path argument. We need to pass "." instead.

r3840 2018-06-15 23:35:04 magicant

Reset traps for job stopping signals

On some systems, some job stopping signals are by default ignored when
the shell is invoked. This ruins job control.

r3839 2018-05-02 22:39:23 magicant

doc: State $TERM has to be exported

r3838 2018-04-30 14:08:31 magicant

Use '\a' for fsl (#38240)

Background: In the default yashrc file, we use the tsl and fsl terminal
capabilities to modify the status line (or the window title) of the
terminal. Terminfo databases often lack those capabilities, so we have
been providing default values for common terminals depending on $TERM.
The default fsl for xterm had been '\033\\', which is defined as STRING

Problem: Some terminal emulators like Konsole do not support '\033\\' as
fsl and still pretend to be xterm with a false $TERM value. Our default
fsl results in a garbage shown in such terminals.

Solution: Many existing terminals support '\a' as fsl, which is now
considered a de facto standard. This should work on more terminals.

r3837 2018-04-10 23:45:10 magicant

Version 2.47

r3836 2018-04-10 20:01:50 magicant

Up version to 2.47

r3835 2018-04-09 00:08:04 magicant

Minimize command name comparison in typeset built-in

The command name can be identified by looking only at the first

r3834 2018-04-09 00:08:03 magicant

Print global variables with "set" in function (#38181)

r3833 2018-04-01 00:00:08 magicant

sample yashrc: direnv support

r3832 2018-03-16 00:33:31 magicant

enqueue.sh: Discontinue if interrupted

r3831 2018-03-16 00:33:30 magicant

enqueue.sh: Ensure to kill itself if interrupted

The trap should be reset before the shell re-sends the interrupting
signal to itself so that the shell is intrinsically killed by the

The "exit 1" is just in case.

r3830 2018-03-10 22:57:46 magicant

Open no-clobber redirection atomically

The previous implementation of the ">" redirection with the no-clobber
option was unreliable. After the is_irregular_file call, if another
process replaced the irregular file with a regular file, the shell was
clobbering the regular file.

To open the irregular file safely, the shell needs to open without the
O_CREAT or O_TRUNC flag and then check if it is really irregular.

r3829 2018-03-09 23:40:17 magicant

Split signal-y.tst

Massive signal sending in signal-y.tst is slow on some environments.
This commit splits signal-y.tst into two files so that they can be run
in parallel (if supported by make). Note that only signal1-y.tst
requires sequential execution.

r3828 2018-03-05 00:25:50 magicant

Split kill-p.tst

Massive signal sending in kill-p.tst is slow on some environments.
This commit splits kill-p.tst into four files so that they can be run
in parallel (if supported by make). Note that only kill4-p.tst requires
sequential execution.

r3827 2018-03-04 23:13:03 magicant

Remove duplicate tests

r3826 2018-03-04 13:06:13 magicant

Restore positional parameters on dot built-in error

The dot built-in was forgetting to close the temporary variable
environment on a file-not-found error.

r3825 2018-03-04 12:02:33 magicant

Don't use errexit in completion

The errexit option is ignored while completion functions are executed.
The errreturn option should be used instead.

r3824 2018-03-04 12:02:33 magicant

Disable err-return while completion

The err-return option breaks existing completion functions that were
written before the option was introduced. For compatibility, the option
has to be disabled while completion functions are executed.

r3823 2018-03-04 12:02:32 magicant

Add errreturn option

r3822 2018-01-13 17:52:46 magicant

Suppress Valgrind false positives

for testing on Fedora 27.

r3821 2018-01-13 17:52:45 magicant

Quote xtrace

The trace is now printed in a format suitable for re-parsing as a simple
command that would result in the same expansion.

r3820 2018-01-13 17:52:44 magicant

Don't quote printed words too redundantly

This commit replaces the `quote_sq' function with the new
`quote_as_word` function, which does not quote if the argument is a
portable filename. It would render a better quoting results when used
for xtrace.

r3819 2018-01-13 12:39:01 magicant

Wrong function description

r3818 2017-11-11 15:32:24 magicant

doc: More on command substitution

r3817 2017-10-28 23:13:27 magicant

Version 2.46

r3816 2017-10-28 13:09:43 magicant

ja.po: Translate missing messages

r3815 2017-10-28 13:09:42 magicant

Update po files

r3814 2017-10-28 13:09:41 magicant

Up version to 2.46

r3813 2017-10-13 00:22:28 magicant

Test shell grammar rule 6

Shell grammar rule 6 requires that only the "in" and "do" reserved words
be recognized. Other reserved words like "for" are simply regarded as
normal words in this context. That means those words are subject to
alias substitution if they follow another substitution that ends with a

Show on old repository browser