summaryrefslogtreecommitdiff
path: root/shells
AgeCommit message (Collapse)AuthorFilesLines
2004-12-03Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.wiz2-4/+4
Suggested by Roland Illig, ok'd by various.
2004-11-29PKGREVISION bump for previous (since a binpkg already exists for thetv1-2/+2
afflicted platform).
2004-11-29Add glob workaround from <hiramatu@boreas.dti.ne.jp> in PR pkg/25908.tv1-1/+3
2004-11-25Add TEXINF_REQD to 4.0 to work on NetBSD 1.5.3.taca1-1/+2
Reported by mochida at Netside.
2004-11-12Wrapper scripts break when passed an argument that contains a newlinejlam2-1/+17
character, so remove it from the ast-ksh make.probe.
2004-10-23Add multibyte option to allow to disable multibyte support explicitly.minskim1-2/+12
2004-10-23Append options to PKG_DEFAULT_OPTIONS instead of ${PKG_OPTIONS_VER},minskim1-12/+6
following the semantic change of PKG_DEFAULT_OPTIONS.
2004-10-23Enable multibyte support in default. It will be disabled by configureminskim7-10/+150
if wctype_t is not available. Bump PKGREVISION.
2004-10-22Convert to use bsd.options.mk and add a new option, multibyte, tominskim1-4/+21
enable/disable multibyte support. Ok'ed by wiz@.
2004-10-22Make this work on NetBSD 1.6.2 (pkg/27330). Patch from Juan RP, minormartti1-4/+9
fixes by me.
2004-10-21Remove readline dependency, it's not needed really... because bashxtraeme1-4/+1
uses its own, and there isn't any test in the configure script. Pointed out by wiz@.
2004-10-21Added bash-3.0.xtraeme1-1/+2
2004-10-21Initial import of bash-3.0. It's imported as bash (not bash3) becausextraeme4-0/+91
our existing bash package already is called bash2. If you want to see the new features, please take a look at the NEWS file.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-2/+2
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-09-08Fix build with gcc2.jmmv2-1/+24
2004-08-29update to posh-0.3.9recht2-5/+5
patch provided by pancake at phreaker.net in PR 26777 changes (from Debian changelog): posh (0.3.9) unstable; urgency=medium * trap builtin now errors when no signals are specified. closes: #265103. * Move trap-related regression tests to their own file, and add one to check for error on "trap 0". posh (0.3.8) unstable; urgency=high * Fix tilde expansion thinko introduced in 0.3.4. posh (0.3.7) unstable; urgency=low * Remove some cruft left around from ksh functions. posh (0.3.6) unstable; urgency=low * Add a better regression test for umask. * Drop support of ksh88 ":[#%]+"-type trimming. * Adjust regression tests to make sure ${blah:#blah} gives an error. posh (0.3.5) unstable; urgency=low * Clean unused variables left after 0.3.4. * Add prebuild target to debian/rules. * Drop qsort altogether. posh (0.3.4) unstable; urgency=low * Fix most of the signedness comparison warnings. * Remove homedir caching code. * Switch specials, keywords, aliases, builtins, vars, and funs hashes to use libc tsearch() and friends. * Remove old table hash routines. posh (0.3.3) unstable; urgency=low * Rename custom table functions to prevent conflicts with b-tree functions when search.h is included. * Remove vestigial tracked alias code. posh (0.3.2) unstable; urgency=low * Make getn() use strtol(). * Mark unused function parameters to avoid gcc warnings. posh (0.3.1) unstable; urgency=low * Use libc's instead of internal qsort. * Add -W to CFLAGS.
2004-08-27Look for libncurses also.kim2-1/+15
2004-08-27Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,jlam1-2/+2
which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-22Make this build and install under Linux and IRIX, using ideas fromjschauma2-2/+14
Roland Illig in PR pkg/26604.
2004-08-22Change the way that legacy USE_* and FOO_USE_* options are convertedjlam1-8/+3
into the bsd.options.mk framework. Instead of appending to ${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS. This causes the default options to be the union of PKG_DEFAULT_OPTIONS and any old USE_* and FOO_USE_* settings. This fixes PR pkg/26590.
2004-08-20Set "BUILDLINK_PASSTHRU_RPATHDIRS" to stop buildlink3 from removing "/lib"tron1-5/+8
from the run time shared library path instead of trying to defeat its option parser.
2004-08-20Improve handling of "ZSH_STATIC" again:tron1-2/+15
1.) Only create a dynamically linked "zsh" binary if "MKDYNAMICROOT" is defined and set to "yes". This way people who still use statically linked binaries on their root filesystem will get a static binary. 2.) Link the "zsh" binary so that it use "/libexec/ld.elf_so" and shared libraries from "/lib". It now works without the "/usr" filesystem being mounted.
2004-08-20Don't create a statically linked "zsh" binary on NetBSD system which havetron1-1/+4
dynamic library support on the root partition (e.g. 2.0 and newer). It is enough that the "zsh" binary does *not* depend on its own shared libraries which won't be on the root partition and we get a shell with proper I18N support this way. Approved by Masao Uebayashi.
2004-08-16update to zsh-4.2.1recht7-25/+32
Changes since zsh version 4.2.0 ------------------------------- - The autoload and related builtins take options -k and -z to indicate ksh or zsh autoloading style for given functions, making it possible to mix and match. - Assignments to associative arrays can use the i and r index flags. For example, assoc[(i)alpha*]=bravo sets the value for the element whose key matches the pattern `alpha*'; assoc[(r)activ*]=passive sets the value for the element whose current value matches the pattern `activ*'. - The glob qualifier F indicates a non-empty directory. Hence *(F) indicates all subdirectories with entries, *(/^F) means all subdirectories with no entries. - fc -p and fc -P provide push/pop for the status of the shell's history (both internal and using the history file). With automatic scoping (fc -ap) it becomes easy to use a temporary history in a function. This has been added to the calculator function zcalc to make its internal history work more seamlessly. - A new `try block' and `always block' syntax has been introduced to make it easier to ensure the shell runs important tidy-up code in the event of an error. It also runs after a break, continue, or return, including a return forced by the ERR_RETURN option (but not an exit, which is immediate). The syntax is: `{' try-block-list `}' `always' `{' always-block-list `}' where no newline or semicolon may appear between `}' and `always'. This is compatible with all previous valid zsh syntax as an `always' at that point used to be a syntax error. For example, { echo Code run in current shell } always { echo Tidy-up code } - A new zle widget reset-prompt has been added to re-expand the current prompt. Changes to the variable in use as well as changes in its expanions are both taken into account. The same effect is now forced by a job change notification, making the %j prompt escape and %(j..) ternary expression more useful. - The zftp module supports ports following the hostname in the normal suffix notation, `host:port'. This requires IPv6 colon-style addresses to be specified in suitably quoted square brackets, for example: zftp open '[f000::baaa]' zftp open '[f000::baaa]:ftp' (the two are equivalent). - Special traps, those that don't correspond to signals, i.e. ZERR, DEBUG and EXIT are no longer executed inside other traps. This caused unnecessary confusion if, for example, both DEBUG and EXIT traps were set. The new behaviour is more compatible with other shells. - New option TRAPS_ASYNC which if set allows traps to run while the shell is waiting for a child process. This is the traditional zsh behaviour; POSIX requires the option to be unset. In sh/ksh compatibility mode the option is turned off by default and the option letter -T turns it on, for compatibility with FreeBSD sh.
2004-08-13This can be built on Linux. No longer restricted only for NetBSD.uebayasi1-4/+1
Reported by Roland Illig, PR26623.
2004-08-07Convert bash2 to use bsd.options.mk.minskim1-3/+17
2004-08-04Make this package build on Interix. Patches provided by Hiramatsu Yoshifumiminskim3-1/+47
in PR pkg/25946.
2004-07-11Add {BA,Z}SH_STATIC to BUILD_DEFS.salo3-10/+16
Addresses request on tech-pkg@ by Georg Schwarz.
2004-06-22Disable multibyte support only when wctype_t is not available. Theminskim8-12/+129
previous patches disabled it on NetBSD unconditionally. Bump PKGREVISION. Pointed out by Kibum Han. Thanks to junyoung@ for testing. OK'ed by schmonz@ and wiz@.
2004-06-11lintcjep1-2/+2
2004-05-29Added xsh-1.8.2.xtraeme1-1/+2
2004-05-29Initial import of xsh-1.8.2 from pkgsrc-wip, packaged by pancake withxtraeme4-0/+40
minor changes by me. XSH is a fast and powerful command-line XML editor. It may be used to query and modify XML documents. XSH may be used either interactivelly or for off-line processing (like bash). XPath expressions are used to select parts of XML document to be processed. Both system shell and perl are accessible from XSH in a very natural way. XSH itself is written in Perl and uses XML::LibXML bindings of gnome-xml2 library in the background level.
2004-05-19Upgrade to tcsh-6.13.00:kim7-93/+20
36. V6.13.00 - 20040519 35. V6.12.03 - 20040322 34. turn on kanji and dspmbyte by default; add check for utf8 locales, and turn parsing of that automatically based on $LANG. 33. Fix compilation issue under Windows/NT and charset incorrect patch (Yoshiyuki Sakakibara) 32. completion additions (Tom Warzeka) 31. compilation fix (Martin Kraemer) 30. V6.12.02 - 20040221 29. Glob completion listing addition (Tom Warzeka) 28. BS2000 bs2cmd builtin. (Martin Kraemer) 27. Fix interrupt resetting code when /etc startup scripts have syntax errors (Mark A. Grondona) 26. Clarification of kill-ring commands (Per Hedeland) 25. Debian completion additions (Martin Godisch) 24. Japanese character set fixes (Juehiro-san) from debian 23. NLS charset fixes; disabled since they only work with gnu gencat (Martin Godisch) 22. Fix HPUX >= 11 resource (Jack Cummings) 21. Handle breaksw that jumps out of loops. 20. Revert #16. It causes worse problems. 19. Avoid using execl() because the last NULL does not always promoted to a pointer because the function is variadic (Harti Brandt) 18. revert ignoreeof to the 6.11.00 behavior and document it (Martin Godisch) 17. do a case insensitive comparison for the multibyte vars (Martin Godisch) 16. don't sigsuspend() for an already exited job 15. glob all arguments in source (Martin Godisch) 14. various debian fixes (Martin Godisch) 13. setenv syntax check revert (Satoshi I. Nozawa) 12. EAGAIN typo (dan harkless) 11. filec compilation issue on hpux (beebe) 10. win32 compilation fixes for O_LARGEFILE (amol) 9. Don't go into an infinite loop when tcgetpgrp() returns an error. 8. Cygwin fixes (Corinna Vinschen) 7. NLS catclose() bug avoidance (KAJIMOTO Masato) 6. V6.12.01 - 20030208 5. Misc NT cleanup. No more GPL code (amol) 4. use strtol() to detect errors in builtin kill (Peter Jeremy) 3. Recognize linux systems on mips* (Maciej W. Rozycki) 2. Enable complete=igncase on unix (Stephen Krauth) 1. Eliminate maxitems (Todd Miller)
2004-05-17The Makefile for builtins is not using CFLAGS, but we do need CFLAGSjschauma2-1/+15
(for example under IRIX64 using gcc, where it otherwise will produce 32bit object files). Patch that.
2004-05-12On some systems (for example IRIX 5.3 with the IDO compilers), none of thejschauma2-1/+15
#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-07Add and enable posh.jmmv1-1/+2
2004-05-07Initial import of posh, version 0.3:jmmv4-0/+40
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-06Enable pkgviews installation.cube1-1/+3
2004-04-25Update osh to 040216 and enable pkgviews installation.minskim2-5/+7
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-21update to 0.6.6 (bugfixes and improvments)dillo6-48/+58
2004-04-18Convert to buildlink3.snj1-2/+2
2004-04-18Convert to buildlink3.snj5-11/+11
2004-04-18This doesn't need buildlink2.snj1-2/+1
2004-03-30Add a missing file to PLIST. Noted by Kouichirou Hiratsuka in PR pkg/24976.minskim2-2/+4
Bump PKGREVISION.
2004-03-28Add missing patch-ae.recht1-0/+14
Note by Geoff Wing
2004-03-28Remove zsh-current.uebayasi1-2/+1
2004-03-28Now that the cutting-edge 4.2.0 release goes in shells/zsh. No needuebayasi10-625/+0
to catch up with the development releases any more.
2004-03-28Update to 4.2.0recht7-54/+93
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-10Remove info files entries from PLIST.seb1-2/+1
2004-03-10Remove info files entries from PLIST.seb1-2/+1