'fmt' -w,--width no longer includes '\n' in the width of a line.
I.e., the specified width is interpreted to be an _inclusive_ maximum.
+ 'ls --hyperlink' now uses more standard format hyperlinks.
+ 'ESC\' (ST) is now used as a delimiter, instead of '\a' (BEL).
+
'ptx' -t is no longer a no-op, and now sets the default width to 100 columns.
'timeout' now honors ignored signals and will not propagate them. E.g.,
For example since ls is outputting a dense block of URIs
it would be best to not underline by default, and only
do so upon hover etc. */
- printf ("\033]8;;file://%s%s%s\a", h, *n == '/' ? "" : "/", n);
+ printf ("\033]8;;file://%s%s%s\033\\", h, *n == '/' ? "" : "/", n);
free (h);
free (n);
}
if (absolute_name)
{
- fputs ("\033]8;;\a", stdout);
+ fputs ("\033]8;;\033\\", stdout);
if (skip_quotes)
putchar (*(buf + len - 1));
}
ls_encoded() {
ef=$(encode "$1")
echo "$ef" | grep 'dir$' >/dev/null && dir=: || dir=''
- printf '\033]8;;file:///%s\a%s\033]8;;\a%s\n' \
+ printf '\033]8;;file:///%s\033\\%s\033]8;;\033\\%s\n' \
"$ef" "$1" "$dir"
}
done
)
ln -s testdir testdirl || framework_failure_
-(cat exp.t && printf '\n' && sed 's/[^\/]testdir/&l/' exp.t) > exp \
+(cat exp.t && printf '\n' && sed 's|[^/]testdir|&l|' exp.t) > exp \
|| framework_failure_
ls --hyper testdir testdirl >out.t || fail=1
strip_host_and_path <out.t >out || framework_failure_