summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/cash/cash.1 (renamed from bin/cash/sh.1)47
1 files changed, 32 insertions, 15 deletions
diff --git a/bin/cash/sh.1 b/bin/cash/cash.1
index 8df7d033..ae8e7d00 100644
--- a/bin/cash/sh.1
+++ b/bin/cash/cash.1
@@ -32,12 +32,12 @@
 .\"	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 July 19, 2018
-.Dt SH 1
+.Dd January 10, 2019
+.Dt CASH 1
 .Os
 .Sh NAME
-.Nm sh
-.Nd command interpreter (shell)
+.Nm cash
+.Nd the Causal Agency shell
 .Sh SYNOPSIS
 .Nm
 .Op Fl /+abCEefhIimnPpTuVvx
@@ -62,7 +62,7 @@
 .Sh DESCRIPTION
 The
 .Nm
-utility is the standard command interpreter for the system.
+utility is a command interpreter.
 The current version of
 .Nm
 is close to the
@@ -137,10 +137,10 @@ variable to some file by placing the following line in the file
 .Pa .profile
 in the home directory,
 substituting for
-.Pa .shrc
+.Pa .cashrc
 the filename desired:
 .Pp
-.Dl "ENV=$HOME/.shrc; export ENV"
+.Dl "ENV=$HOME/.cashrc; export ENV"
 .Pp
 The first non-option argument specified on the command line
 will be treated as the
@@ -153,7 +153,7 @@ Otherwise, the shell reads commands
 from its standard input.
 .Pp
 Unlike older versions of
-.Nm
+.Xr sh 1
 the
 .Ev ENV
 script is only sourced on invocation of interactive shells.
@@ -314,7 +314,7 @@ The surrounding shell may kill the child
 or it may just return control to the tty and leave the child alone,
 like this:
 .Bd -literal -offset indent
-sh -T -c "trap 'exit 1' 2 ; some-blocking-program"
+cash -T -c "trap 'exit 1' 2 ; some-blocking-program"
 .Ed
 .It Fl u Li nounset
 Write a message to standard error when attempting
@@ -2847,25 +2847,42 @@ will return the argument.
 .Xr shells 5
 .Sh HISTORY
 A
-.Nm
+.Xr sh 1
 command, the Thompson shell, appeared in
 .At v1 .
 It was superseded in
 .At v7
 by the Bourne shell, which inherited the name
-.Nm .
+.Xr sh 1 .
 .Pp
-This version of
-.Nm
+The
+.Fx
+version of
+.Xr sh 1
 was rewritten in 1989 under the
 .Bx
 license after the Bourne shell from
 .At V.4 .
-.Sh AUTHORS
-This version of
+.Pp
+The
 .Nm
+utility is based on
+.Xr sh 1
+from
+.Fx 12.0 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Fx
+version of
+.Xr sh 1
 was originally written by
 .An Kenneth Almquist .
+.Pp
+The
+.Nm
+utility is developed by
+.An June McEnroe Aq Mt june@causal.agency .
 .Sh BUGS
 The
 .Nm
andle.c?h=2.2a&id=36d37bbf677768f2c55e46f50127bb228c6cdd62&follow=1'>Handle PART and QUIT without messagesJune McEnroe 2018-08-07Make safe filling the who bufferJune McEnroe 2018-08-07Add reverse and reset IRC formatting codesJune McEnroe 2018-08-06Rewrite line editing again, add formattingJune McEnroe 2018-08-06Fix allocation size in vaswprintfJune McEnroe This is so embarrassing. It only started crashing once it had strings that were long enough, and then it took me so long to notice this mistake. I was worried I was still doing va_list wrong somehow. 2018-08-06Implement word wrappingJune McEnroe 2018-08-06Use wchar_t strings for all of UIJune McEnroe vaswprintf is a nightmare. 2018-08-06Rename line editing functionsJune McEnroe 2018-08-05Initialize all possible color pairsJune McEnroe This is actually possible with use_default_colors! 2018-08-05Refactor color initializationJune McEnroe 2018-08-05Add ^L redrawJune McEnroe 2018-08-05Use 16 colors if availableJune McEnroe Fall back to using bold if there are only 8 colors. This also allowed bright background colors in 16-color terminals. I must port this system to torus. I'll be able to remove the awful termcap patch hack. 2018-08-05Limit parsed colors to number of mIRC colorsJune McEnroe Oh boy that's embarrassing. 2018-08-04Show source link on exitJune McEnroe 2018-08-04Implement line editing, scrollingJune McEnroe Don't really have a way to implement the M-* keys, and currently missing C-w. 2018-08-04Handle /topicJune McEnroe