Commit Graph

69 Commits

Author SHA1 Message Date
kristerw
b225d94754 Fix some typos noted by Soren Jacobsen in PR 20793. 2003-03-22 12:13:03 +00:00
dsl
2db0e4fba3 Make 'times' be a proper posix special builtin.
(change agreed by christos and mailed to Michael Rendell)
2003-01-20 08:49:00 +00:00
simonb
276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
wiz
617b132aac Spell output with two ts. 2003-01-04 23:43:02 +00:00
wiz
90c017d88f Fix typo. 2002-12-05 16:52:07 +00:00
jdolecek
0c1316b88d default to "$HOME/.kshrc" if ENV is not set 2002-11-11 19:03:57 +00:00
wiz
71c3607b93 Miscellaneous fixes by Martin Weber (ephaeton at that gmx net thingy). 2002-10-12 00:02:47 +00:00
provos
c603c2b26f enable meta key in emacs mode for 7-bit locales. approved thorpej. 2002-10-10 17:41:19 +00:00
wiz
06bd76cf9a parameter, not paramter. By Adrian Mrva. 2002-10-02 15:58:04 +00:00
provos
0d78fff152 complete file names including a ~ correctly. 2002-09-27 13:23:55 +00:00
wiz
6ab45c70b7 Begin new sentences on new lines. From Robert Elz (kre at munnari oz au). 2002-09-26 11:11:17 +00:00
provos
a94ce5a752 enable emacs mode, add tab key to do completion in emacs and vi mode.
from millert@openbsd.org.  approved by perry and thorpej.
2002-09-25 02:55:03 +00:00
provos
f9b44bb190 change complete-list to first complete and then print a list,
also complete after '=' (dd), and ':' (ssh) and ` (backtick)
improvements from camield@openbsd.org.  approved by perry and thorpej.
2002-09-25 02:41:11 +00:00
jschauma
9f40601644 comment out the (no longer) builtin newgrp 2002-09-20 20:57:58 +00:00
jschauma
b186175fa1 We don't have 'newgrp' -> ifdef the builtin alias. This prevents
the shell from unexpectedly dying if a user enters the (nonexistent)
'newgrp' command.  OK'd by perry.
As seen in OpenBSD.
2002-09-20 20:07:09 +00:00
wiz
7b9b4ac6f7 'environment', not 'enviroment' 2002-07-11 10:53:19 +00:00
wiz
1815854042 __STDC__ is always defined on NetBSD. 2002-05-25 23:29:16 +00:00
wiz
a57e2bc28e Fix bin/5205 (weird interaction between tbl and man macros). 2002-01-29 15:12:54 +00:00
sjg
84412e9292 Fix some aspects of globbing - in emacs mode at least.
echo ~<ESC><ESC> and $HOME<ESC><ESC> as well as ~/b<ESC><ESC> all
now expand correctly.
2002-01-25 23:40:51 +00:00
jwise
8ce003bad4 Fix a cross reference in man page. This should probably be mandoc-ified
if we are not going to use reachover makefiles for ksh (and given that
pdksh does not update very frequently (at all?  any more?  at the moment?),
it is probably reasonable not to).
2001-11-11 21:09:34 +00:00
lukem
94f08e9869 default to WARNS=1 if not set 2001-11-03 13:39:25 +00:00
wiz
3eaf37c5c9 Bring in pdksh-5.2.14-patches.2.
ChangeLog entry:
Mon Jan 29 10:12:31 NST 2001 Michael Rendell (michael@garfield.cs.mun.ca)
* c_exec.c(execute): added rv_prop flag to prevent if/while/for/...
  in the presence of "set -e" from causing the shell to exit.
Example:
	set -e
	(false && echo hi)
[exits shell though it shouldn't]
ChangeLog and example provided by pdksh maintainer, Michael Rendell.
2001-09-29 15:05:47 +00:00
wiz
456dff6cb8 Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
wiz
c52d355d71 "wierd" is weird. 2001-08-20 12:20:01 +00:00
wiz
1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
wiz
30b2bf87ed Various typos in comments (neccessary, sceme, choise, ...). 2001-07-26 15:05:07 +00:00
wiz
40ac848024 Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
simonb
4f7969814a Don't build ksh.1 if MKMAN == "no". 2001-05-15 23:50:36 +00:00
wiz
d753ffdad1 environ(7), not (5); add RCS Id; whitespace fixes. 2001-04-09 12:33:22 +00:00
christos
cba68cff4c remove duplicate declarations, and fix nested externs. 2001-02-04 19:26:04 +00:00
christos
621611e98a we do have dup2. 2001-02-04 19:25:43 +00:00
christos
d2765ed72b PR/11361:Matthias Buelow: Apply patch1 from pdksh site.
- set -x dumps core (shf.c);
    - output of "jobs" command is filled with ^A characters (jobs.c);
    - "typeset -r foo=bar" fails saying foo is readonly (var.c).
2000-11-02 01:10:08 +00:00
kleink
8bab1c8bba $(CPP) -> $(CC) -E 2000-06-26 06:18:07 +00:00
soren
f939de5a66 CLEANFILES+= siglist.out emacs.out 2000-06-22 05:42:22 +00:00
mycroft
f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
jdolecek
83a7edec11 remove debug printf accidentaly left in 1999-11-09 00:01:49 +00:00
jdolecek
3b4b01bddb in emacs mode, escape the contents of completed word appropriately even
in CT_COMPLIST case ("complete and then list (if non-exact)" mode)

Noticed by Soren S. Jorvang <soren@wheel.dk>.
1999-11-08 23:56:41 +00:00
jdolecek
7b61cc94ea Implement (somewhat enhanced) idea stealed from bash:
when completing the filename (either in vi mode with vi-tabcomplete on,
or in emacs mode after double esc), escape any shell special characters
and chars from $IFS with backslash - very handy especially when
dealing with filenames containing spaces

The patch has been sent to maintainer, but I haven't got any reply yet even
after about a month :(
1999-11-02 22:06:45 +00:00
hubertf
b556fc7b2a make this build with -Werror 1999-10-20 15:49:15 +00:00
hubertf
f3b71361e4 this is now generated automatically 1999-10-20 15:26:41 +00:00
hubertf
48ee8d1290 resolve conflicts 1999-10-20 15:09:58 +00:00
hubertf
07ba439fc9 Import pdksh V5.2.14.
Includes lots of bugfixes.
1999-10-20 14:27:32 +00:00
christos
1f3392af64 char->unsigned char casts for is*() 1998-11-04 18:27:20 +00:00
erh
2a1165d74d Initialize the correct fields when creating an empty command. Fixes bug where a function with no body ( e.g. "testfun () ;" ) would cause ksh to segfault when it was called. 1998-10-09 02:45:34 +00:00
erh
bc642404be getwd() -> getcwd(,MAXPATHLEN). 1998-10-09 02:42:28 +00:00
thorpej
45e5a86960 Add some braces to make egcs happy. 1998-08-19 01:43:22 +00:00
mycroft
9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
mycroft
86ff65dc4d Remove silly prototype. 1998-07-26 14:54:36 +00:00
fair
daa19e5898 change some /dev/tty to paths.h _PATH_TTY 1998-04-07 10:29:50 +00:00
mrg
2d5a1dd04f - change "register" variables into int's
- don't use char as an array index.
1998-03-29 04:39:03 +00:00