summaryrefslogtreecommitdiff
path: root/bin/csh
AgeCommit message (Collapse)Author
2022-09-15Fix the build for variants that do not define EDIT.martin
2022-09-14Update editing before prompt printing.christos
2022-09-14defer editing setup/cleanup to when we are interactive.christos
2022-08-28Change back various occurrences of \*[Le], \*[Ge] (less/greater equal)hgutch
and \*(ua (upwards arrow) to literal "<=", ">=" and "^" whenever appropriate (e.g., in code examples).
2022-07-09csh(1): fix punctuation at the end of an .Xr lineuwe
2022-04-08fix various typos, mainly in comments, but also log messages, docs, game text.andvar
2021-12-19s/backgound/background/andvar
2021-12-05s/commmand/command/ in comment.msaitoh
2021-09-16provide a way to reset setproctitle.christos
2021-09-11like zsh, have jobs -Z do setproctitlechristos
2021-08-15Turn on EL_SAFEREADchristos
2020-10-17Print real maxrss value like other shells.mlelstv
2020-10-02undo previous for 'r' and 'e' modifiers; they should no go further thanchristos
the last '/'.
2020-09-30Fixchristos
% set x='a/b c/d.e' % echo $x:q:h
2020-09-29s/occurence/occurrence/msaitoh
2020-08-09Use the right size for several calloc calls.dholland
When allocating for a Char **, it should use sizeof(Char *), not sizeof(Char **). This doesn't actually affect the results except on DS9000 though :-) (part 2, the instance in this file was as far as I can tell inexplicably missed by CVS on the first go...)
2020-08-09Clarify some comments.dholland
2020-08-09Use the right size for several calloc calls.dholland
When allocating for a Char **, it should use sizeof(Char *), not sizeof(Char **). This doesn't actually affect the results except on DS9000 though :-)
2020-08-09Don't cast the value returned from *malloc. No change to compiler output.dholland
2020-04-23Add '-t' option for tcsh-style time output.simonb
2020-04-03Don't depend on common declarations.joerg
2020-02-05bin/csh: Fix the -Wclobber warning.fox
Mark the variable as volatile as it can be clobbered when a vfork occurs. Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@
2020-01-12Add file completion.christos
2020-01-12remove unusedchristos
2020-01-12PR/54853: Greg Oster: unable to 'unset filec' or 'unset edit' in cshchristos
While here allow set edit=vi
2019-02-01compare pointers with NULL not '\0'.mrg
2019-01-06PR/53837: Michael Scholz: src/bin/csh/func.c from current has a superfluouschristos
fprintf
2019-01-05put back x in xreallocchristos
2019-01-05Welcome to the 21th century csh: retire "ptr_t" now that we have "void *"christos
2019-01-05Remove Free, s/xfree/free/.maya
Standard C says that free should be a no-op for a NULL pointer, so we don't need an extra function to do this. While here, add an XXX about a wrong sounding comment
2018-06-10use SUBDIR.roff suggested by uwe@christos
2017-07-15Add a variant that passes the format, so that time(1) can use it.christos
2017-07-03Remove workaround for ancient HTML generation code.wiz
2017-04-27switch to a backtracking instead of a recursive pattern matcher.christos
2016-08-10C Shell appeared in 2BSD, not 3BSDsevan
2016-03-16add Will Robinson comment.christos
2016-03-16Avoid gcc-5 conversion warning (|= expands to int)christos
2014-07-05remove .if make(install)dholland
these are seriously bad juju
2014-07-05Reorg docs, part 1:dholland
Move all the reference manuals to subdirs of /usr/share/doc/reference. We have subdirs ref1-ref9, corresponding to man page sections 1-9. Everything that's the reference manual for a program (sections 1, 6, 8), C interface (sections 2, 3), driver or file system (section 4), format or configuration (section 5), or kernel internal interface (section 9) belongs in here. Section 7 is a little less clear: some things that might go in section 7 if they were a man page aren't really reference manuals. So I'm only putting things in reference section 7 that are (to me) clearly reference material, rather than e.g. tutorials, guides, FAQs, etc. This obviously leaves some room for debate, especially without first editing the docs with this distinction in mind, but if people hate what I've done things can always be moved again. Note also that while roff macro man pages traditionally go in section 7, I have put all the roff documentation (macros, tools, etc.) in one place in reference/ref1/roff. This will make it easier to find and also easier to edit it into some kind of coherent form.
2014-07-05Rework /usr/share/doc.dholland
Update the <bsd.doc.mk> infrastructure, and update the docs to match the new infrastructure. - Build and install text, ps, pdf, and/or html, not roff sources. - Don't wire the chapter numbers into the build system, or use them in the installed pathnames. This didn't matter much when the docs were a museum, but now that we're theoretically going to start maintaining them again, we're going to add and remove documents periodically and having the chapter numbers baked in creates a lot of thrashing for no purpose. - Specify the document name explicitly, rather than implicitly in a path. Use this name (instead of other random strings) as the name of the installed files. - Specify the document section, which is the subdirectory of /usr/share/doc to install into. - Allow multiple subdocuments. (That is, multiple documents in one output directory.) - Enumerate the .png files groff emits along with html so they can be installed. - Remove assorted hand-rolled rules for running roff and roff widgetry and add enough variable settings to make these unnecessary. This includes support for - explicit use of soelim - refer - tbl - pic - eqn - Forcibly apply at least minimal amounts of sanity to certain autogenerated roff files. - Don't exclude USD.doc, SMM.doc, and PSD.doc directories from the build, as they now actually do stuff. Note: currently we can't generate pdf. This turns out to be a nontrivial problem with no immediate solution forthcoming. So for now, as a workaround, install compressed .ps as the printable form.
2014-06-13remove the build support for GCC 4.1, and any hacks i found for it.mrg
there could still be more -- i only looked for lines matching both "HAVE_GCC" and "4" as words (grep -w.)
2013-08-06CID 1060854: Wrong sizeof argument (SIZEOF_MISMATCH)christos
2013-07-16WARNS=6 [-Wconversion]christos
2013-04-03Make shifting variables reflect their environment counterparts. Makeschristos
"shift path" work as expected.
2013-01-25When using -ledit, also use -lterminfo, to allow static linking.he
2013-01-25Obey SMALLPROG and don't enable the editorchristos
2013-01-23make history kind of work :-), turn libedit support on.christos
2013-01-22fix compilation without -DEDITchristos
2013-01-22Bump date for previous.wiz
2013-01-22Add a little libedit front end. Could be used as someone's pet project tochristos
learn how to program. It is not enabled in the Makefile, and it states why there.