From ae49ab76619a175d6b28bfd330936e5c2913a93b Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 24 Jun 2019 18:41:11 -0400 Subject: Consolidate catsh history documentation --- bin/catsh/catsh.1 | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) (limited to 'bin/catsh/catsh.1') diff --git a/bin/catsh/catsh.1 b/bin/catsh/catsh.1 index 59f22a3e..1bae0acb 100644 --- a/bin/catsh/catsh.1 +++ b/bin/catsh/catsh.1 @@ -32,7 +32,7 @@ .\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95 .\" $FreeBSD: releng/12.0/bin/sh/sh.1 336483 2018-07-19 13:09:29Z 0mp $ . -.Dd January 10, 2019 +.Dd June 24, 2019 .Dt CATSH 1 .Os . @@ -3205,10 +3205,34 @@ license after the Bourne shell from .Pp The .Nm -utility is based on -.Xr sh 1 -from -.Fx 12.0 . +sources were imported from +.Fx 12.0 +.Xr sh 1 . +Bundled +.Xr editline 3 +sources were imported from +.Nx 8.0 . +. +.Ss Differences from sh +.Bl -bullet -compact +.It +.Va ENV +has a default value. +.It +Further prompt customization with +.Va PS0 , +.Va RPS1 , +.Va RPS2 , +.Va PSlit . +.It +.Va HOME +is shortened to +.Sq ~ +in prompt expansion. +.It +.Ic fc Fl s Ar = Ns Ar new +prefixes commands. +.El . .Sh AUTHORS .An -nosplit -- cgit 1.4.1