Commit graph

338 commits

Author SHA1 Message Date
jschauma
7cb38bc887 On some systems (for example IRIX 5.3 with the IDO compilers), none of the
#ifdefs after this label leads to any code, so insert a no-op, just in case.

Based on emails from Georg Schwarz to wiz, also noted in
http://mail.gnu.org/archive/html/bug-bash/2003-04/msg00002.html.
2004-05-12 20:56:14 +00:00
jmmv
59eee8e144 Add and enable posh. 2004-05-07 10:11:46 +00:00
jmmv
6f532435cc Initial import of posh, version 0.3:
posh is a stripped-down version of pdksh that aims for compliance with
Debian's policy, and also has a few extra features.
2004-05-07 10:11:13 +00:00
cube
5ae8c7a8ea Enable pkgviews installation. 2004-05-06 22:29:36 +00:00
minskim
f5fa431514 Update osh to 040216 and enable pkgviews installation.
This closes PR pkg/25314.

Changes:
	* Made various changes to hopefully improve the clarity.
	  Added COMPATIBILITY, HISTORY, and NOTES sections.
	* Made changes to how the shell handles terminating `\' characters
	  w/ the `-c' and `-t' flags.  This is a simple extension of the
	  same behaviour exhibited when the shell is interactive or when it
	  executes a command file, the only difference being that where a
	  terminating `\' character causes the shell to read the next line
	  of input in an interactive shell or command file, w/ the `-c' and
	  `-t' flags the shell terminates w/o executing the command line.
	* Allow parameter substitution w/ the `-c' and `-t' flags.  This
	  feature is not documented.  For example, invoking the shell as
	  follows allows parameter substitution to take place:
	  % osh -t one two three
	  echo $0 $1 $2 $3
	  -t one two three
	* The shell now ignores SIGINT and SIGQUIT when the `-c' or `-t' flag
	  is used.  Thus, asynchronous commands invoked in this way ignore
	  interrupts as they should.
	* Ignore SIGINT and SIGQUIT for all commands started from asynchronous
	  subshells.  For example, `( sleep 300; some_command ) >outfile&' now
	  ignores `^C' and `^\' as it should.
	* Don't ignore SIGINT and SIGQUIT for asynchronous commands started
	  in command files.  If a command file is terminated by one of these
	  signals, the asynchronous commands should also terminate.
	* Reverted a change made to termination reporting in osh-040216 that
	  was not actually compatible w/ the V6 shell.
	* Always terminate the shell when read(2) fails.
	  This fixes a possible infinite loop.
	* Fixed a bug in the parser that caused syntactically incorrect
	  subshell commands not to be detected as such when preceded by
	  redirection arguments (e.g., `<infile >outfile ( | )').
	  This bug was introduced in osh-040216.
	* Fixed possible buffer overflows in substparm(); added a new error
	  message, "Too many characters", and made other changes necessary to
	  properly deal w/ the new error condition.  This problem had been
	  present since at least osh-020214.
	* Made some changes to how globbing is handled by the shell.
	  Specifically, glob(3) should only be called when an argument contains
	  unquoted occurrences of any of the glob characters `*', `?', or `['.
	  Previously, it was being called for every argument of an external
	  command.  This change improves run-time performance slightly as
	  judged by time(1) and information returned by getrusage(2).
	* The above-mentioned change also allows the following compatibility
	  feature.  Added globbing compatibility when the shell is compiled
	  w/ -DCLONE so that when no matches are found a diagnostic,
	  "No match", is printed.
2004-04-25 15:49:57 +00:00
dillo
2db4992ed1 update to 0.6.6 (bugfixes and improvments) 2004-04-21 12:08:09 +00:00
snj
64b64af3bb Convert to buildlink3. 2004-04-18 04:41:12 +00:00
snj
c4d0058d07 Convert to buildlink3. 2004-04-18 04:27:20 +00:00
snj
99d22ef38c This doesn't need buildlink2. 2004-04-18 04:26:01 +00:00
minskim
d00e9f9a6a Add a missing file to PLIST. Noted by Kouichirou Hiratsuka in PR pkg/24976.
Bump PKGREVISION.
2004-03-30 16:09:56 +00:00
recht
27034c090f Add missing patch-ae.
Note by Geoff Wing
2004-03-28 18:35:45 +00:00
uebayasi
0bab467629 Remove zsh-current. 2004-03-28 14:27:57 +00:00
uebayasi
b161181726 Now that the cutting-edge 4.2.0 release goes in shells/zsh. No need
to catch up with the development releases any more.
2004-03-28 14:27:29 +00:00
recht
ea1e8f68b5 Update to 4.2.0
Patch provided by Geoff C. Wing in PR 24918
ok'd by uebayasi@

New features between zsh versions 4.0 and 4.2
Configuration:

* upgraded to use autoconf post-2.50
* improved compatibility with other shells through shell options, builtin
  arguments and improved builtin option parsing

Syntax and builtins:

* new printf builtin
* `+=' to append to parameters which works for scalars, arrays and (with
  pairs) associative arrays.
* enhanced multiple parameter `for' loops: for key value in key1 value1 key2
  value2 ... maintaining full compatibility with POSIX syntax.
* Suffix aliases allow the shell to run a command on a file by suffix, e.g
  `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'. Supplied function
  zsh-mime-setup uses existing mailcap and mime.types files to set up suitable
  aliases. Supplied function pick-web-browser is suitable for finding a browser
  to show .html etc. files by suffix alias.
* new option `no_case_glob' for case-insensitive globbing.

Add-on modules and functions:

* zsh/datetime modules makes date formatting and seconds since EPOCH available
  inside the shell.
* zsh/net/tcp module provides builtin interface to TCP through ztcp builtin.
  Function suite for interactive and script use with expect-style pattern
  matching.
* zsh/net/socket module provides zsocket builtin.
* zcalc calculator function with full line editing.
* builtin interface to pcre library
* zsh/zselect module provides zselect builtin as interface to select system call

Completion system:

* general improvements to command and context support, low-level functions,
  display code.
* in verbose mode, matches with the same description are grouped
* highly configurable completions for values of specific parameters, specific
  redirections for specific commands
* support for bash completion functions (typically zsh native functions are more
  powerful where available)
* New completions provided for (some of these may be in later 4.0 releases):
  valgrind, tidy, texinfo, infocmp, Java classes, larch, limit, locale
  parameters, netcat, mysqldiff, mt, lsof, elinks, ant, debchange (dch), email
  addresses, file system types, Perforce, xsltproc. Plus many others.

Line editor:

* special parameters $PREDISPLAY, $POSTDISPLAY available in function widgets
  to configure uneditable text (for narrowing)
* recursive editing
* supplied widgets read-from-minibuffer, replace-string use these features
  (more  intuitive prompting and argument reading than 4.0)
* access to killed text via $CUTBUFFER and $killring
* supplied highly configurable word widgets forward-word-match etc., can set
  what constitutes a word interactively or in startup script (implement
  bash-style behaviour, replacing previous bash-* word widgets)
* interface to incremental search via $LASTSEARCH
* better handling of keymaps in zle and widgets
* better support for output from user-defined widgets while zle is active
* tetris game which runs entirely in zle
* several other contributed widgets

Local internal improvements:

* disowned jobs are automatically restarted
* \u and \U print escapes for Unicode
* read -d allows a custom line ending.
* read -t .
* line numbers in error messages and $PS4 output are more consistent
* `=prog' expands only paths, no longer aliases for consistency
* job display in prompts; `jobs' command output can be piped
* prompts: new $RPROMPT2, %^, %j, %y, enhanced %{, %}, %_.
* rand48() function in zsh/mathfunc for better randomness in arithmetic
  (if the corresponding math library function is present)
* $SECONDS parameter can be made floating point via `typeset -F SECONDS'
  for better timing accuracy
* improvements to command line history mechanism
* job table is dynamically sized, preventing overflow (typically seen
  previously in complex completions).
* many bugfixes
2004-03-28 10:30:13 +00:00
seb
b01e3dedd7 Remove info files entries from PLIST. 2004-03-10 01:08:35 +00:00
seb
4a35b8cc80 Remove info files entries from PLIST. 2004-03-10 01:06:02 +00:00
seb
31c3e475ec Remove info files entries from PLIST. 2004-03-10 00:58:44 +00:00
uebayasi
1afdcbf819 Fix build on Linux. From Roland Illig. 2004-02-26 09:34:43 +00:00
uebayasi
0662efce74 Split patch into pieces. Requested by Roland Illig. 2004-02-26 07:47:48 +00:00
xtraeme
445013e6e3 Upgrade shells/osh to 040216, this closes PR pkg/24501.
Too many changes to copy here, previous package was 2 years old, please
review the Changelog file.
2004-02-23 01:58:41 +00:00
jlam
0ee68ead27 The zsh build process inspects the generated config.status file for the
presence of some strings to decide how to build zsh.  This is, of course,
a stupid thing to do, but we must not override config.status to "fix"
this build.  This fixes PR 24483.
2004-02-19 06:37:27 +00:00
jlam
4547c184e2 We no longer need to set CONFIG_STATUS_OVERRIDE to an empty value as
bsd.pkg.mk no longer overrides the ability of config.status to generate
new files.
2004-02-16 20:24:25 +00:00
jlam
48bb5272c4 The build process for zsh runs a shell script "Src/mkmakemod.sh" that
explicitly calls config.status to generate some Makefiles in certain
directories.  This particular package has a need for executing the real
config.status, so we need to avoid overriding it automatically.
2004-02-16 09:07:23 +00:00
grant
52f1b46a37 remove unneeded CONFIG_{GUESS,SUB}_OVERRIDE, as bsd.pkg.mk does this
automatically now.
2004-02-14 00:54:44 +00:00
jlam
435108aef7 bl3ify 2004-02-09 18:32:02 +00:00
uebayasi
8a9abd255f patch-ab is no longer needed. 2004-02-02 09:24:52 +00:00
uebayasi
406146460c Update zsh to 4.0.9. From Min Sik Kim <minskim at bawi dot org> in PR
pkg/24297.

Changes since 4.0.7:
  - Many bug fixes.
  - Local improvements to various completion functions.
2004-02-02 08:48:40 +00:00
grant
b0a99bbfbf define PATCHDIR before the inclusion of bsd.prefs.mk. fixes implicit
gpatch build dependency.
2004-01-29 10:03:08 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
grant
0d5985e4b3 move the various static shell packages back to their previous names. 2004-01-11 23:06:54 +00:00
cjep
bda845ba15 +nologinmsg 2004-01-10 17:06:37 +00:00
cjep
fefd0d387e Initial import of nologinmsg 1.0 as shells/nologinmsg.
Nologinmsg is a slightly more functional replacement for /sbin/nologin.
It adds per-user messages, and group messages (of a form).

From the FreeBSD ports collection.

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from: FreeBSD ports collection
MFC after:
2004-01-10 17:05:44 +00:00
grant
0f2ffa3712 use ${PKGBASE} in PKGNAME. 2004-01-10 07:09:26 +00:00
grant
ada98e39d9 rename static-bash to bash-static. the convention in pkgsrc is
for mutations of packages to be named <pkg>-<mutation>.

add a CONFLICT on static-bash for obvious reasons.
2004-01-10 07:06:44 +00:00
grant
2a77c2bb84 rename static-ast-ksh to ast-ksh-static. the convention in pkgsrc is
for mutations of packages to be named <pkg>-<mutation>.

add a CONFLICT on static-ast-ksh for obvious reasons.
2004-01-10 07:04:02 +00:00
grant
826e119b6d rename standalone-tcsh to tcsh-standalone. the convention in pkgsrc is
for mutations of packages to be named <pkg>-<mutation>.

add a CONFLICT on standalone-tcsh for obvious reasons.
2004-01-10 06:56:15 +00:00
grant
f7839fa488 rename static-tcsh to tcsh-static. the convention in pkgsrc is for
mutations of packages to be named <pkg>-<mutation>.

add a CONFLICT on static-tcsh for obvious reasons.
2004-01-10 06:53:45 +00:00
jlam
49b57e1360 bl3ify 2004-01-05 12:36:41 +00:00
jmmv
f8a2024623 AFAICT from logs, uebayasi@ is the maintainer, so set ZSH_MAINTAINER
accordingly.
2003-12-21 10:22:26 +00:00
reed
aa42f1c5ce Capitalize first letter of COMMENT. 2003-12-09 00:54:29 +00:00
jlam
df094066fa pdksh is no longer used to bootstrap buildlink2. 2003-10-04 10:23:16 +00:00
jmmv
cc2b1c9657 Use the right install program for correctness and to fix problems under SunOS.
From PR pkg/22898 by Jonathan Perkin.
2003-09-22 20:57:12 +00:00
grant
9448e87060 override PREFIX, not LOCALBASE.
noted by abs on tech-pkg@.
2003-09-18 22:59:38 +00:00
kristerw
9ba443237d Update ast-ksh (and static-ast-ksh) to version 20030724.
Changes since 20030621:
* A bug in which could cause memory corruption when a posix
  function invoked another one has been fixed.
* A bug in which a file descriptor>2 could be closed before
  executing a script has been fixed.
* A parsing error for <() and >() process subsitituions inside
  command substitution has been fixed.
* A parsing error for patterns of the form {...}(...) when
  used inside ${...} has been fixed.
* An error in which expanding an indexed array inside a compound
  variable could cause a core dump has been fixed.
* A bug in which under on rare ocassions a job completion interrupt
  could cause to core dump has been fixed.
* A bug in which process substitution embeded within command
  substitution would generate a syntax error has been fixed.

This update does also fix the build problems on NetBSD-current reported
by Steven M. Bellovin in PR pkg/22422.
2003-08-12 23:28:58 +00:00
wiz
4fc5371add Replace inclusion of a file that just contains
.include "../../mk/bsd.pkg.mk"
with that line instead.
2003-08-11 17:27:55 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +00:00
seb
c8e9844964 Convert to USE_NEW_TEXINFO. 2003-08-05 13:44:09 +00:00
seb
29aeeba7a6 Convert to USE_NEW_TEXINFO.
Use INSTALL_TARGET to install info files: this gives a proper
environment for USE_NEW_TEXINFO framework to work.

Fix makeinfo invocation for zsh-current via patch file so that
only _one_ info file is generated as PLIST seems to want it.
2003-08-05 13:37:51 +00:00
seb
3c829a6a41 Convert to USE_NEW_TEXINFO. 2003-08-05 11:43:17 +00:00
jmmv
12a10361a1 Set USE_PKGINSTALL instead of directly including bsd.pkg.install.mk. 2003-07-30 10:41:22 +00:00