summaryrefslogtreecommitdiff
path: root/shells
AgeCommit message (Collapse)AuthorFilesLines
2010-03-26Apply the patch from pkg/40683, which did not make it into the 6.17hauke3-2/+18
update of the package.
2010-03-14Changes 6.17.00:adam3-18/+27
I am pleased to announce that tcsh-6.17 is now available; this is a mainly a bug fix release with the exception of these three feature additions: 10. always save the whole command, not just the first 80 chars of it. 4. Add autoexpand=onlyhistory (Don Estabrook, m66) 3. Add history in loops (Laurence Darby, m48) Please consult the Fixes files for a complete list of changes.
2010-03-10Fix patches to pull in curses.h when needed.roy3-65/+27
Fixes PR pkg/42877.
2010-02-27Update to 4.3.10.snj3-7/+36
Some highlighted changes (for full details, see the ChangeLog): The command "emulate <mode> -c ..." evaluates an expression in a given emulation. The emulation is sticky for functions defined within the expression. The variable CORRECT_IGNORE gives a pattern that can be ignored in spelling correction. CORRECT_IGNORE='_*' ignores completion functions. The option POSIX_ALIASES improves compatibility of aliases with other shells. The variable ZSH_PATCHLEVEL can be used to test for unreleased versions of the shell; it is present but less useful in released versions. The variables ZLE_REMOVE_SUFFIX_CHARS and ZLE_SPACE_SUFFIX_CHARS allow more control over the way automatically removed suffixes are treated in completion.
2010-02-26Reset maintainer for developers who gave back their commit bit.wiz1-2/+2
2010-02-23Add $NetBSD$roy3-3/+7
2010-02-15Remove bash3, use bash4 instead.wiz8-191/+1
bash2 stays for a little while longer, for A/UX and AIX 4 (requested by Tim Larson).
2010-02-12DESTDIR supportjoerg7-24/+38
2010-02-10Bump revision for PYTHON_VERSION_DEFAULT change.joerg1-1/+2
2010-02-09Add patch fixing build on DragonFly provided by Steve O'Hara-Smithwiz2-1/+34
in PR 42666.
2010-02-09update master_siteszafer1-2/+1
2010-02-08USE > IS for builtins.roy1-2/+2
2010-02-08Remove curses.so from PLIST, fixes pkg/42761.roy1-2/+1
2010-02-07Add patches to fix building on NetBSD with terminfo, fixes PR pkg/42761.roy3-1/+67
2010-02-07Fix compile on NetBSD with terminfo, pkg/42762.roy4-12/+90
2010-02-07Change HOMEPAGE to sourceforge's one (old one had been retired).obache1-2/+2
2010-02-04destdir supportdholland4-2/+46
2010-01-27DESTDIR supportjoerg2-5/+9
2010-01-16Update to 4.1:wiz4-120/+12
This document details the changes between this version, bash-4.1-rc, and the previous version, bash-4.1-beta. 1. Changes to Bash a. Fixed a bug that caused printf to not return a partial value when it encountered an error while converting an integer argument. b. Fixed a bug that caused setting one of the compatNN options to not turn off the others. c. The (undocumented) --wordexp option is no longer included by default. d. Fixed a bug in conditional command execution that caused it to not correctly ignore the exit status under certain circumstances. e. Added a configure-time check for correctly-working asprintf/snprintf. f. Fixed some problems with line number calculation and display when sourcing a file in an interactive shell. g. Fixed a bug that caused the shell to crash when using `declare -A foo=bar'. h. Fixed a bug that caused an off-by-one error when calculating the directories to display with the PROMPT_DIRTRIM option. 2. Changes to Readline a. Fixed a bug that caused applications using the callback interface to not react to SIGINT (or other signals) until another character arrived. ------------------------------------------------------------------------------ This document details the changes between this version, bash-4.1-beta, and the previous version, bash-4.1-alpha. 1. Changes to Bash a. Fixed a bug in mapfile that caused the shell to crash if it was passed the name of an associative array. b. Fixed a bug that caused the shell to incorrectly split case patterns if they contained characters in $IFS. c. Fixed a bug that caused the shell to set $? to the wrong value when using a construct ending with a variable assignment with set -x enabled and PS4 containing a command substitution. d. Fixed a bug that caused the shell to read commands incorrectly if an expansion error occurred under certain conditions in a user-specified subshell. e. Fixed a bug that caused the shell to set $? incorrectly if a parse error occurred in an evaluation context ("eval", trap command, dot script, etc.) f. Fixed a bug that caused the shell to attempt command substitution completion within a single-quoted string. g. Fixed a bug that caused the shell to insert an extra single quote during word completion. h. Fixed a bug that caused the shell to crash if invoked with the environment variable EMACS having a null value. i. Fixed a bug that caused bash to incorrectly report the presence of new mail in a `maildir' environment. j. Fixed a bug that caused the shell to not recognize a here-document ending delimiter inside a command substitution. k. Fixed a bug that caused the shell to crash when a a dynamic array variable was assigned a scalar value. 2. Changes to Readline 3. New Features in Bash a. The mapfile/readarray builtin no longer stores the commands it invokes via callbacks in the history list. b. There is a new `compat40' shopt option. c. The < and > operators to [[ do string comparisons using the current locale only if the compatibility level is greater than 40 (set to 41 by default). 4. New Features in Readline ------------------------------------------------------------------------------ This document details the changes between this version, bash-4.1-alpha, and the previous version, bash-4.0-release. 1. Changes to Bash a. Fixed bugs in the parser involving new parsing of the commands contained in command substitution when the substitution is read. b. Fixed a bug that caused the shell to dump core when performing programmable completion using a shell function. c. Fixed a bug in `mapfile' that caused it to invoke callbacks at the wrong time. d. Fixed a bug that caused the shell to dump core when listing jobs in the `exit' builtin. e. Fixed several bugs encountered when reading subscripts in associative array assignments and expansions. f. Fixed a bug that under some circumstances caused an associative array to be converted to an indexed array. g. Fixed a bug that caused syntax errors and SIGINT interrupts to not set $? to a value > 128. h. Fixed a bug that caused the shell to remove FIFOs associated with process substitution inside shell functions. i. Fixed a bug that caused terminal attributes to not be reset when the `read' builtin timed out. j. Fixed a bug in brace expansion that caused unwanted zero padding of the expanded terms. k. Fixed a bug that prevented the |& construct from working as intended when used with a simple command with additional redirections. l. Fixed a bug with the case statment ;& terminator that caused the shell to dereference a NULL pointer. m. Fixed a bug that caused assignment statements or redirections preceding a simple command name to inhibit alias expansion. n. Fixed the behavior of `set -u' to conform to the latest Posix interpretation: every expansion of an unset variable except $@ and $* will cause the shell to exit. o. Fixed a bug that caused double-quoted expansions of $* inside word expansions like ${x#$*} to not expand properly when $IFS is empty. p. Fixed a bug that caused traps to set $LINENO to the wrong value when they execute. q. Fixed a bug that caused off-by-one errors when computing history lines in the `fc' builtin. r. Fixed a bug that caused some terminating signals to not exit the shell quickly enough, forcing the kernel to send the signal (e.g., SIGSEGV) multiple times. s. Fixed a bug that caused the shell to attempt to add empty lines to the history list when reading here documents. t. Made some internal changes that dramatically speeds up sequential indexed array access. u. Fixed a bug that caused the shell to write past the end of a string when completing a double-quoted string ending in a backslash. v. Fixed a bug that caused the shell to replace too many characters when a pattern match was null in a ${foo//bar} expansion. w. Fixed bugs in the expansion of ** that caused duplicate directory names and the contents of the current directory to be omitted. x. Fixed a bug that caused $? to not be set correctly when referencing an unset variable with set -u and set -e enabled. y. Fixed a bug caused by executing an external program from the DEBUG trap while a pipeline was running. The effect was to disturb the pipeline state, occasionally causing it to hang. z. Fixed a bug that caused the ** glob expansion to dump core if it encountered an unsearchable directory. aa. Fixed a bug that caused `command -v' and `command -V' to not honor the path set by the -p option. bb. Fixed a bug that caused brace expansion to take place too soon in some compound array assignments. cc. Fixed a bug that caused programmable completion functions' changes to READLINE_POINT to not be reflected back to readline. dd. Fixed a bug that caused the shell to dump core if a trap was executed during a shell assignment statement. ee. Fixed an off-by-one error when computing the number of positional parameters for the ${@:0:n} expansion. ff. Fixed a problem with setting COMP_CWORD for programmable completion functions that could leave it set to -1. gg. Fixed a bug that caused the ERR trap to be triggered in some cases where `set -e' would not have caused the shell to exit. hh. Fixed a bug that caused changes made by `compopt' to not persist past the completion function in which compopt was executed. ii. Fixed a bug that caused the list of hostname completions to not be cleared when HOSTNAME was unset. jj. Fixed a bug that caused variable expansion in here documents to look in any temporary environment. kk. Bash and readline can now convert file names between precomposed and decomposed Unicode on Mac OS X ("keyboard" and file system forms, respectively). This affects filename completion (using new rl_filename_rewrite_hook), globbing, and readline redisplay. ll. The ERR and EXIT traps now see a non-zero value for $? when a parser error after set -e has been enabled causes the shell to exit. mm. Fixed a bug that in brace expansion that caused zero-prefixed terms to not contain the correct number of digits. nn. Fixed a bug that caused the shell to free non-allocated memory when unsetting an associative array which had had a value implicitly assigned to index "0". oo. Fixed a memory leak in the ${!prefix@} expansion. pp. Fixed a bug that caused printf to not correctly report all write errors. qq. Fixed a bug that caused single and double quotes to act as delimiters when splitting a command line into words for programmable completion. rr. Fixed a bug that caused ** globbing that caused **/path/* to match every directory, not just those matching `path'. ss. Fixed a bug that caused the shell to dump core when running `help' without arguments if the terminal width was fewer than 7 characters. 2. Changes to Readline a. The SIGWINCH signal handler now avoids calling the redisplay code if one arrives while in the middle of redisplay. b. Changes to the timeout code to make sure that timeout values greater than one second are handled better. c. Fixed a bug in the redisplay code that was triggered by a prompt containing invisible characters exactly the width of the screen. d. Fixed a bug in the redisplay code encountered when running in horizontal scroll mode. e. Fixed a bug that prevented menu completion from properly completing filenames. f. Fixed a redisplay bug caused by a multibyte character causing a line to wrap. g. Fixed a bug that caused key sequences of two characters to not be recognized when a longer sequence identical in the first two characters was bound. h. Fixed a bug that caused history expansion to be attempted on $'...' single-quoted strings. i. Fixed a bug that caused incorrect redisplay when the prompt contained multibyte characters in an `invisible' sequence bracketed by \[ and \]. j. Fixed a bug that caused history expansion to short-circuit after encountering a multibyte character. 3. New Features in Bash a. Here-documents within $(...) command substitutions may once more be delimited by the closing right paren, instead of requiring a newline. b. Bash's file status checks (executable, readable, etc.) now take file system ACLs into account on file systems that support them. c. Bash now passes environment variables with names that are not valid shell variable names through into the environment passed to child processes. d. The `execute-unix-command' readline function now attempts to clear and reuse the current line rather than move to a new one after the command executes. e. `printf -v' can now assign values to array indices. f. New `complete -E' and `compopt -E' options that work on the "empty" completion: completion attempted on an empty command line. g. New complete/compgen/compopt -D option to define a `default' completion: a completion to be invoked on command for which no completion has been defined. If this function returns 124, programmable completion is attempted again, allowing a user to dynamically build a set of completions as completion is attempted by having the default completion function install individual completion functions each time it is invoked. h. When displaying associative arrays, subscripts are now quoted. i. Changes to dabbrev-expand to make it more `emacs-like': no space appended after matches, completions are not sorted, and most recent history entries are presented first. j. The [[ and (( commands are now subject to the setting of `set -e' and the ERR trap. k. The source/. builtin now removes NUL bytes from the file before attempting to parse commands. l. There is a new configuration option (in config-top.h) that forces bash to forward all history entries to syslog. m. A new variable $BASHOPTS to export shell options settable using `shopt' to child processes. n. There is a new confgure option that forces the extglob option to be enabled by default. o. New variable $BASH_XTRACEFD; when set to an integer bash will write xtrace output to that file descriptor. p. If the optional left-hand-side of a redirection is of the form {var}, the shell assigns the file descriptor used to $var or uses $var as the file descriptor to move or close, depending on the redirection operator. q. The < and > operators to the [[ conditional command now do string comparison according to the current locale. r. Programmable completion now uses the completion for `b' instead of `a' when completion is attempted on a line like: a $(b c. s. Force extglob on temporarily when parsing the pattern argument to the == and != operators to the [[ command, for compatibility. t. Changed the behavior of interrupting the wait builtin when a SIGCHLD is received and a trap on SIGCHLD is set to be Posix-mode only. u. The read builtin has a new `-N nchars' option, which reads exactly NCHARS characters, ignoring delimiters like newline. 4. New Features in Readline a. New bindable function: menu-complete-backward. b. In the vi insertion keymap, C-n is now bound to menu-complete by default, and C-p to menu-complete-backward. c. When in vi command mode, repeatedly hitting ESC now does nothing, even when ESC introduces a bound key sequence. This is closer to how historical vi behaves. d. New bindable function: skip-csi-sequence. Can be used as a default to consume key sequences generated by keys like Home and End without having to bind all keys. e. New application-settable function: rl_filename_rewrite_hook. Can be used to rewite or modify filenames read from the file system before they are compared to the word to be completed. f. New bindable variable: skip-completed-text, active when completing in the middle of a word. If enabled, it means that characters in the completion that match characters in the remainder of the word are "skipped" rather than inserted into the line. g. The pre-readline-6.0 version of menu completion is available as "old-menu-complete" for users who do not like the readline-6.0 version. h. New bindable variable: echo-control-characters. If enabled, and the tty ECHOCTL bit is set, controls the echoing of characters corresponding to keyboard-generated signals. i. New bindable variable: enable-meta-key. Controls whether or not readline sends the smm/rmm sequences if the terminal indicates it has a meta key that enables eight-bit characters.
2010-01-05Fix typo in previous.wiz1-2/+2
Update was ok'd by dillo@
2010-01-05Update to 20091218, provided by J.A.Neitzel in PR 42536. Set LICENSE.wiz2-6/+7
Changes: 1) This update fixes a compilation problem on AIX caused by not wrapping WCOREDUMP(s) with #ifdef WCOREDUMP ... #endif. 2) General code cleanup and rechecking w/ splint(1) reduces unnecessary code duplication and eases future maintenance. 3) This update adds the program name to osh diagnostics (e.g., "osh: syntax error") for the sake of user friendliness.
2009-12-05mksh R39 evolved into these through various means:ahoka2-6/+6
[tg] Shut up a bogus gcc warning during configuration process [tg] Spell AT&T consistently in the source code [tg] Tweak mksh(1) manual page, from wbx@ and «lewellyn:#ksh» [tg] dot.mkshrc: fix $@ vs. $* mix-up [tg] dot.mkshrc: add DJB cdb hash function [tg] Sync with oksh: fix Vi editing mode word erase handling, again [tg] Skip whitespace between POSIX style shell function name and its definition parenthesēs during detection if an alias of the same name already exists to be more robust (Debian Closes: #535970) [tg] Build system improvements for ACK and nwcc, both on Debian sid [tg] Fix spelling error in changelog discovered by Lintian [tg] Aligh “set -o nounset” / “set -u” behaviour with future POSIX standard, as discussed with GNU bash maintainers, David Korn from AT&T ksh93, and The Open Group; prompted by use in Debian; Closes: #539538 [tg] add an unsupported way to make printf(1) a builtin [tg] Build system and regression test code and comment improvements: better and more comments matching reality better; more reliability w.r.t. passed CPPFLAGS; more of the MKSH_SMALL changes may be overridden, all of them are now enumerated on the webpage; fixed some breakage; portability [tg] MKSH_NOPWNAM and MKSH_SMALL will now both disable the ~fac/ (homedir) expansion code wholly if defined, not just getpwnam(3) calls [tg] shells without job control no longer define the standard “stop” and “suspend” aliases (they are pointless anyway); regression tests know [tg] use system RCS ID macros on MirBSD if decent enough [tg] shut up bogus gcc 4.5/trunk warnings caused by over-optimisation [tg] restore ANSI C compilability broken in R38 (speed up, even) [tg] use memcpy(3) ipv strlcpy(3) if possible and safe and secure
2009-12-02Add a readline option (disabled by default), as requested in PR pkg/30559.snj2-2/+13
While here, fix a spelling error in DESCR.
2009-11-05Reset MAINTAINER per request in PR pkg/42272asau1-2/+2
2009-09-29Fix a bug reported by Mark Norman Francis on pkgsrc-users:wiz1-1/+3
BASH_COMPLETION_DIR was set incorrectly. Bump PKGREVISION.
2009-09-25Update to 1.0. Fix paths so that inclusion works without settingwiz5-43/+152
additional environment variables. Note to packagers: packages installing additional completion files should drop them into ${DESTDIR}${PREFIX}/share/bash-completion.d with the name of the package as file name. bash-completion (1.0) [ Guillaume Rousse ] * Make bibtex complete on .aux files * Add .xvid and .XVID to player completion * Added cowsay/cowthink completion * Added brctl completion * Added cpan2dist completion * Added qemu completion * Added net-tools (mii-tool and mii-diag) completions * Added minicom completion * Added quota-tools completion * Added rdesktop completion * Added tightvncviewer completion * Cleanup screen completion, and make it completes on options [ David Paleino ] * Added .kar to Timidity completion. * Fix killall completion, remove trailing ":" on certain process names * Fix man -l completing filenames (Debian: #497074) * (Partly) fixed java classes completion (Debian: #496828). Look for FIXME in source. * Dump to /dev/null error message from look(1) with no arguments (Debian: #495142) * Set ssh as default for rsync (was rsh) (Debian: #492328) * Added .oga, .ogv, .ogx to mplayer completion (Debian: #496162) * Added .epub to unzip|zipinfo completion (Debian: #492476) * Added ssh-copy-id completion (Debian: #491856) * Moved ssh completion to separate file (Debian: #360628) * Bogus completion when mounting subdirs fixed (Debian: #322238) * Fix `apt-cache showsrc` completing only on source package names (Debian: #361535) * Fixed bugs with gdb completion: - when an empty directory is in $PATH (thanks to Morita Sho) (Debian: #497597) - when a non-existing directory is in $PATH (Debian: #499780) * Fix missing completion for "-n" and "-e" (we were using echo, now using printf) (thanks to Morita Sho) (Debian: #498105) * Fixed gpg completion: - --@(export|@(?(l|nr|nrl)sign|edit)-key)) (Debian: #500316) - -@(r|-recipient)) * Fixed .cb[rz] completion for evince (Debian: #502885) * Added gksudo, gksu, kdesudo completion * Added apache2ctl completion * Added gpg2 completion (Debian: #489927) * Fixed mplayer -skin completion (Debian: #501473) * Fixed errors with POSIX enabled (Debian: #502804) * Fixed dpkg-source wrong exit() with return() (Debian: #) * Added --schedule-only to aptitude's completion (Debian: #502664) * Added build-dep to aptitude's completion (Debian: #495883) * Added support for `-F configfile' to _known_hosts(), ssh, scp and sftp, thanks to Freddy Vulto (Debian: #504141) * Fixed sed quoting bug in _known_hosts(), thanks to Freddy Vulto (Debian: #504650) * Allow `Host(Name)' in ssh config file to be indented * Allow `Host(Name)' in ssh config file to have trailing comment. * Allow for comments in known_hosts files (Debian: #511789) * Fixed perl -I/-x completion, thanks to Freddy Vulto (Debian: #504547) * README updated: explain how to use bash-completion correctly. (Debian: #506560) * TODO updated: the Alioth team is now upstream. * Added qdbus completion, thanks to Terence Simpson (Ubuntu: #257903) * Added monodevelop and mdtool completions. * Split subversion-related completions to contrib/_subversion (prefixed with _ to avoid file conflicts with upstream's one) * Fixed completion of environment variables, thanks to Morita Sho (Debian: #272660) * Fix dpkg completion bug: it listed only non-Essential packages (Debian: #511790) * Fixed _dpkg_source completion (Debian: #503317) * Added _parse_help() to try to parse options listed in $command --help * Fixed gzip completion to use _parse_help(), since the available options vary with distributions * Added to_review/ directory, where completions needing a review would go. After it gets accepted, the completion would go into contrib/. * Remove unused UNAME local variable in _info() (Debian: #501843) * AUTHORS added * Make _alias() use _get_cword * Added .zip to jar completions (Debian: #521041) * Merge from Gentoo: - fix 'find' completion so that it properly completes on -?(i)whilename. Patch by Ciaran McCreesh. - use make -qp to parse the Makefile for us, so we get proper completion on things like pattern rules. Patch by Mike Kelly <pioto@exherbo.org>. - complete on gkrellm2 as well. Patch by Aaron Walker. - fix CVS completion * Merge from Ubuntu: - consume error messages in configure completion (Ubuntu: #223882) (Mika Fischer) - quote $xspec in _filedir_xspec in case it is empty, which would cause errors if there was no match under failglob. (Ubuntu: #194419) (Mika Fischer) * debian/links fixed (Debian: #494292) * debian/control: - fixed typo in the long description - added Vcs-* fields * debian/install: - correctly install contrib/* under /etc/bash_completion.d/ * debian/copyright updated * extra/dh_bash-completion: - updated to support a list of files in debian/<package>.bash-completion (Debian: #512917) [ Ville Skyttä ] * Added JPEG 2000 files to display completion, thanks to Bastien Nocera (RedHat: #304771) * Improved rpm macro completion. * Added -E to rpm completion. * Improved rpm backup file avoidance. * Improved /var/log/rpmpkgs based rpm installed package completion. * Improved performance of rpm -qa based rpm installed package completion. * Improved features and performance of yum completion. * Added support for p (POSIX) and x (x.org) man sections. * Improved filename based man page completion. * Added minimal sqlite3 completion. * Improved getent completion (Ville Skyttä, Guillaume Rousse). * (Re)fix gzip and bzip2 options completion. * Improved svn filename completion (RedHat: #430059). * Add lzma completion (Per Øyvind Karlsen, Ville Skyttä). * Add .mp2 and .vdr to mplayer completion (RedHat: #444467). * Add .mkv, .mp2 and .vdr to *xine completion (RedHat: #444467). * Added lzop completion. * Fix scp metacharacter escaping. * Remove duplicate cpio completion, thanks to Freddy Vulto (Debian: #512823) * Fix awk error in "modprobe -r /" completion (Debian: #512556). * Expand ~foo to dir name more eagerly to avoid quoting issues. * Fix -sourcepath handling in javadoc packages completion. * Extract process name completion from _killall to _pnames, make it work for others than Linux and FreeBSD. * Fix process name completion with relative paths (RedHat: #484578). * Use improved process name completion in pgrep in addition to killall. * Enable pgrep and pkill completion if the commands are available, not just on Linux and FreeBSD. * Drop hg completion, an improved version is shipped with Mercurial (contrib/bash_completion in the tarball). * Make okular complete on same files as evince, thanks to Mary Ellen Foster (RedHat: #486998). * Apply ps2pdf completion to ps2pdf{12,13,14,wr} too. * Simplify bash_completion.sh, return earlier in non-applicable environments. * Remove obsolete --buildarch and --buildos rpm(build) completions. * Add rpmbuild --target completion. * Use "-profile help" to get mplayer and friends -profile completions. * Fix local array initialization under bash 3.0, prevents "()" occurring in file and dir name completions. [ Freddy Vulto ] * Restored `_display()' completion for `display' by removing completion-by-extension for `display' (Alioth#311429) * Removed duplicate completion option `-borderwidth' for `display' * Prevent completion dir from being sourced twice if BASH_COMPLETION_DIR and BASH_COMPLETION_COMPAT_DIR are equal (Alioth#311433) * Make `_mii-tool()' and `_mii-diag()' POSIX-compliant * Fix _isql completion waiting for grep input if $ODBCINI not set; handle whitespace in $ODBCINI. * Split vncviewer completion in _tightvncviewer() and _xvnc4viewer() Added _realcommand() global function. [ Jakob Unterwurzacher ] * ps2pdf can run on .pdf files as well. (Debian: #516614, Ubuntu: #316943) [ Santiago M. Mola ] * Add .ape to mplayer supported extensions (Alioth#311510). -- David Paleino <d.paleino@gmail.com> Wed, 25 Mar 2009 23:18:24 +0100 bash-completion (20080705) unstable; urgency=low [ David Paleino ] * Added more completions to imagemagick (thanks to Nelson A. de Oliveira) (Debian: #487786) * Added xrandr completion (thanks to Anton Khirnov) (Debian: #487825) * Improving _gdb completion: - $filenames to $default (Debian: #463969) - also show directory names (i.e. compgen -d) in COMPREPLY. - added . to $PATH, to allow debugging "local" executables. - do not complete Bash's builtins (thanks to Morita Sho) [ Luk Claes ] * Remove use of ucf for /etc/bash-completion (Debian: #488171). -- Luk Claes <luk@debian.org> Sat, 05 Jul 2008 16:14:15 +0200 bash-completion (20080617.5) unstable; urgency=medium * Revert way of setting environment variables (Debian: #487774). * Add equals sign to _get_cword for mutt_aliases (Debian: #482635). * Enhance mlayer completion (Debian: #487826, #487838). -- Luk Claes <luk@debian.org> Tue, 24 Jun 2008 19:50:57 +0200 bash-completion (20080617.4) experimental; urgency=low [ David Paleino ] * Merged Ubuntu changes: - added quote(), quote_readline(), dequote() helper functions. - added _remove_word() - fixed _get_cword() - refactored _filedir using quote_readline() - refactored _filedir_xspec using quote_readline() - fixed COMPREPLY's in _iwconfig - fixed _cvs() - _known_hosts(): use files from UserKnownHostsFile options in addition to standard ones. - fixed _command() to correctly prune the command line - disabled completion of PostgreSQL users and databases - fixed _java_packages() - fixed _muttquery() - added flv/FLV completion to mplayer - added --installed to apt-cache - only complete on filenames for aspell - fixed code for exclusions compspecs - added code to gracefully handle debug options (set +/-v) -- Luk Claes <luk@debian.org> Mon, 23 Jun 2008 19:25:25 +0200 bash-completion (20080617.3) unstable; urgency=low [ David Paleino ] * Fixed IFS for filedir_xspec - Thanks to Stefan Lippers-Hollmann (Debian: #487571) [ Luk Claes ] * Install dh-bash-completion to ease installation of completions. -- Luk Claes <luk@debian.org> Mon, 23 Jun 2008 07:24:21 +0200 bash-completion (20080617.2) unstable; urgency=low [ David Paleino ] * New upstream release - provide a manpage for extra/dh_bash-completion - fix semi-serious problem with _filedir() (Debian: #487449) * debian/rules: - added rule to generate dh_bash-completion's manpage * debian/install, debian/dirs: - installing dh_bash-completion into /usr/bin * debian/control: - new package dh-bash-completion [ Luk Claes ] * Comment new package to make sure current fix gets in the archive first. * Add compression completion for vi(m). -- Luk Claes <luk@debian.org> Sun, 22 Jun 2008 19:47:23 +0200 bash-completion (20080617.1) unstable; urgency=medium [ David Paleino ] * Urgency set to medium because the package is currently unusable. * New upstream sub-release - fixed some typos here and there which prevented bash completions at all (Debian: #487441). - really closing Debian bug #455510. -- Luk Claes <luk@debian.org> Sun, 22 Jun 2008 00:22:53 +0200 bash-completion (20080617) unstable; urgency=low [ David Paleino ] * New upstream release - add more completions to aptitude (Debian: #432289) - fixed UTF-8 problem with _get_cword(), thanks to Andrei Paskevich (Debian: #472132) - fixed autoremove completion, thanks to Flavio Visentin (Debian: #474974) - cmf and CMF added to playmidi completion (Debian: #365658) - added rrdtool completion, thanks to Justin Pryzby (Debian: #428641) - added OpenDocument completion for unzip/zipinfo (.od{f,g,p,s,t}) (Debian: #472940) - fixed escaping problems with job control (i.e. disown, jobs, bg, fg): the argument is now surrounded by "" (Debian: #347316) - make mkdir complete also on filenames (Debian: #376433) - {bz,z}{cat,cmp,diff,egrep,fgrep,grep,less,more} now should complete on all filenames, not just compressed archives (just commented out) (Debian: #455510) - fixes Perl completion (Debian: #470742) - fixes get_cword -> _get_cword typo (Debian: #478596) - fixes _get_cword() function to properly handle filenames with whitespaces (Debian: #394636, #468254, #474094) - added .pdf.bz2 completion to evince (Debian: #424736) - added .svg completion to display (Debian: #441017) - added .m2ts completion to mplayer (Debian: #480879) - added extra/dh_bash-completion to ease future rewrite of bc. * debian/copyright - now in a fancier machine-parsable format. * debian/control: - added myself to Uploaders - debhelper Build-Depends updated to >= 6. * debian/watch: - improved current watch line regex - added (commented out) probable future watch line * debian/compat bumped to 6 * debian/dirs, debian/install and debian/links added * debian/rules: - refactored to make use of debian/{dirs,install,links} [ Steve Kemp ] * Applied patch to fix completion of umount command. (Debian: #470539) * Fixed the completion of Perl manpages. (Debian: #404976) * Added 'aif' to the filenames offed for completion for mplayer. (Debian: #474517) * Allow tsocks completion. (Debian: #409423) * Update mutt completion to handle local usernames. (Debian: #416655) * Update apt-get completion to include the flag "--no-install-recommends" (Debian: #475242) -- Luk Claes <luk@debian.org> Sat, 21 Jun 2008 21:59:43 +0200 bash-completion (20060301-4) unstable; urgency=low * Add some fixes from Ubuntu: * Fix completion of filenames with spaces (Debian: #468254). * Fix parsing of SSH config files (Debian: #435117). * Change priority to standard (Debian: #471666). * Add some more completions for xine (Debian: #452083, #471249). * Fix completion of gzip (Debian: #351913). * Also use $HOSTFILE in hostname completion (Debian: #400380). -- Luk Claes <luk@debian.org> Sat, 22 Mar 2008 23:10:30 +0000 bash-completion (20060301-3) unstable; urgency=low * Fix kpdf completion (Debian: #468163, #413374). * Fix completion of - or -- with _command (Debian: #415276). * Add sux to the complete -u list (Debian: #466089). * Add dvipdfm to the list of dvi programs (Debian: #396644). * Add --purge-unused option completion for aptitude (Debian: #438471). * Add divx extension completion for mplayer (Debian: #444294). * Add pdf.gz completion for evince (Debian: #456887). * Add --remove-all completion for update-alternatives (Debian: #269173). -- Luk Claes <luk@debian.org> Wed, 05 Mar 2008 22:57:27 +0100 bash-completion (20060301-2) unstable; urgency=low * Take over the package. -- Luk Claes <luk@debian.org> Wed, 27 Feb 2008 19:22:03 +0100 bash-completion (20060301-1) unstable; urgency=low * Upload to unstable. -- Matthias Klose <doko@debian.org> Sat, 09 Feb 2008 23:18:20 +0100 bash-completion (20060301-0ubuntu2) hardy; urgency=low * Replace bash (<< 3.1dfsg-9), handle upgrade in preinst. * Exclude hashed hostnames from ssh host completion results. Debian: #428085. * Fix: ifup/down don't really complete. Debian: #463756. * Allow perl completion to complete filenames, complete -I and -x arguments. Debian: #443394. * Add find -wholename completion. Debian: #431220. * Handle whitespaces in $HOME for _known_hosts() completion. Debian: #414821. * dpkg -L: complete for removed-but-not-purged packages. Debian: #372156. * Complete for apt-get autoremove. Debian: #433542, #443816, #445332. * Update completion for mplayer (mka/flac). Debian: #340452. * Add ping6/fping6 completion. Debian: #413170. * Handle whitespace in paths for mount/umount completion. Debian: #367957. * apt-get: Support --auto-remove. Ubuntu: #60666. -- Matthias Klose <doko@ubuntu.com> Sat, 09 Feb 2008 23:11:32 +0100 bash-completion (20060301-0ubuntu1) hardy; urgency=low * Initial release, split out from the bash package. The software currently is unsupported upstream. * Don't try to set a readonly variable. Ubuntu: #149527. * Support purge in apt-get auto completion (Mathias Gug). Ubuntu: #151677. * evince: Autocomplete on cbr/cbz/djvu files. Ubuntu: #156200, #175220. Debian: #400678. * kdvi: complete .*\.dvi\.(gz|bz2). Ubuntu: #128234. * kpdf: Complete postscript files. Ubuntu: #162319. * Make completion working in the middle of a word (Adam Simpkins). Ubuntu: #139666. -- Matthias Klose <doko@ubuntu.com> Fri, 08 Feb 2008 16:46:34 +0100
2009-09-04Remove code that triggers parsing bugs in older gccs (e.g. onwiz2-1/+21
NetBSD-3.1/amd64). Reported by Michael Lambert and David A. Holland.
2009-09-04Set LICENSE.wiz1-1/+2
2009-08-27Add dash to /etc/shells. From PR 41949 by Tim Larson.wiz1-1/+3
2009-08-15remove ftp.gw.com from master_sites. service suspended.zafer1-2/+1
2009-08-06Update to 4.0.28. Bugfixes.hasso2-4/+17
2009-07-26Added dash.rillig1-1/+2
2009-07-26Imported dash from pkgsrc-wip.rillig4-0/+26
Debian Almquist shell. A small POSIX-compliant shell that is faster than bash. Packaged by christtrekker@users.sourceforge.net.
2009-07-19needs termcap (uses tputs(3))tnn1-1/+2
2009-07-14Make it build on DragonFly.hasso2-1/+25
2009-06-27Fix build on HP-UX.ahoka1-1/+7
pdksh is so messy.
2009-06-14Use @pkgdir.joerg2-4/+4
2009-06-14Remove @dirrm entries from PLISTsjoerg13-66/+13
2009-06-14mksh R38c contains the following fixes:ahoka2-7/+7
* [tg] Fix regression tests on OSes insisting on a shebang (Cygwin) * [Sean Boudreau] QNX 6.4.2 ed(1) is said to have the bugs fixed * [tg] Build.sh bugfixes: -DMKSH_BINSHREDUCED can also be given without -DMKSH_SMALL; allow HAVE_REALPATH=x and HAVE_REVOKE=x in the environment to re-enable these even if -DMKSH_SMALL disables them by default, like mknod already did * [tg] -DMKSH_ASSUME_UTF8=0 skips the environment checks, like -DMKSH_ASSUME_UTF8=1, but disables the utf8-mode * [tg] Apply some more KNF – style(9) – to the source; clean it up and further optimise for small size * [OpenBSD] Fix segfaults caused by missing check for end of input in the tokeniser on “let --” and other input * [OpenBSD] Make Vi editing mode ^W behave like Emacs mode’s * [tg] If no killpg(3) is avaiable, use kill(2) and hope it works * [tg] -DMKSH_NO_LIMITS skips trying to build the ulimit code
2009-06-12Removed redundant .gz suffix for man pages.rillig1-3/+3
2009-06-10Updated from 0.2.6 to 0.9.4.imil2-6/+6
0.9.4 . Log file name is now configurable using 'logfilename' variable inside the configuration file . Corrected aliases in lshell.conf to work with *BSD 0.9.3 . corrected major bug (alias related) 0.9.2 . added Force SCP directory feature . added command alias feature 0.9.1 . loglevel can now be defined on global, group or user level . corrected sftp support (broken since in 0.9.0) 0.9.0 . version jump to 0.9.0 . corrected bug in case PATH does not exist and allowed set to 'all' . added support for UNIX groups in configuration file . corrected major security bug . corrected path completion . added escape code handling . added flexible +/- possibilities in configuration file . now supports completion after '|', ';' and '&' . Command test are also done after '|', ';' and '&' . Doesn't list hidden directories by default . 4 logging levels . added 'strict' behaviour
2009-06-05update master sites. remove www.research.att.com. requires authorization.zafer1-5/+3
2009-06-05Update to 4.0.24. Following bugs were fixed since 4.0.10:hasso2-4/+48
When using the ** globbing operator, bash will incorrectly add an extra directory name when the preceding directory name ends with `*' or an empty string when there is no preceding directory name. If the prompt length exactly matches the screen width, and the prompt ends with invisible characters, readline positions the cursor incorrectly. When parsing case statements in command substitutions, the shell did not note that a newline is a shell metacharacter and can legally be followed by a reserved word (e.g., `esac'). When not in a locale supporting multibyte characters, readline will occasionally not erase characters between the cursor position and the end of the line when killing text backwards. If a SIGWINCH arrives while bash is performing redisplay, multi-line prompts are displayed incorrectly due to the display code being called recursively. Using an external command as part of the DEBUG trap when job control is enabled causes pipelines to misbehave. The problem has to do with process groups assigned to the pipeline and terminal. A missing include file results in an empty function definition and a no-op when checking whether or not the window size has changed. Adding a null line to a here-document (e.g., by hitting EOF) causes the shell to dump core attempting to dereference the NULL pointer. There are several problems with the handling of $LINENO in an ERR trap. Deferring handling of signals which should cause the shell to terminate until it is "safe" to run the handler functions does not work for some terminating signals. When the fc builtin is run in a command substitution from a shell with history enabled, it does not correctly calculate the command on which to operate. Though references to $@ when there are no positional parameters will now cause the shell to exit if the `errexit' option has been enabled, constructs such as ${@:-foo} should not cause an exit. A case statement using the ;& pattern terminator followed immediately by "esac" caused a core dump due to a null pointer dereference. When using the new |& operator following a simple command with a redirection, the redirection of stderr through the pipe was not performed under certain circumstances.
2009-06-03Update to mksh R38b:ahoka2-6/+7
mksh R38b fixes the following problems: * [André Wösten] Add __NO_EXT_QNX to avoid picking up the wrong waitfor() from <libutil.h> in (while porting to) QNX 6.4 * [tg] Plug memory corruption issue introduced in R38 * [tg] Amend dot.mkshrc with a base64 en-/decoder in shell * [tg] Import a manpage fix via OpenBSD from Alan R. S. Bueno mksh R38 comes with these changes and fixes applied: * [tg] Improve regression test output debugging * [tg] Fix <libutil.h> prerequisites on MidnightBSD in mirtoconf * [tg] Mention that RedHat BZ#496791 cannot currently be fixed in the manpage by discouraging use of apostrophes in comments in comsubs; add appropriate (expected-fail) regression tests * [tg] Sync with OpenBSD ksh (mostly a no-op) * [James Butler] Add search-history-up and search-history-down keybindings (tcsh-like) to the Emacs command line editing mode * [tg] Bind new search-history-{up,down} to ANSI PgUp and PgDn keys * [tg] Document ANSI default keybindings (↑↓←→ Home End Del PgUp PgDn) in the mksh(1) manual page as well * [tg] Optimise internal UTF-8 handling code for size and reusability * [tg] Incompatible change: ${foo:1:2} and ${#foo} now operate on characters, not on bytes. Characters are octets (set +U) or (utf8-mode) MirOS OPTU-8 multibyte characters (set -U) * [tg] Improve regression tests relating to ${foo:1:2} and ${#foo} and let wc=1#x and utf8-mode * [tg] Use per-file copyright notices, move global text to manpage * [tg] Expose new MKSH_MIDNIGHTBSD01ASH_COMPAT ifdef; change it to only trigger if FPOSIX (or MKSH_BINSHREDUCED and /bin/sh) * [tg] Remove already-dead “#if 0” style debugging code * [tg] Change some code into a more portable fashion, optimise * [tg] Allow [[ $foo ]] (ksh93 extension) mentioned by pgas * [tg] Clean up mksh and the contributed arc4random.c for some conversion, enum and other warnings for gcc-snapshot trunk r147610 * [tg] Ensure no function uses more than 768 bytes of stack either * [tg, wbx] Add extension to make “!string” lines work like in GNU bash
2009-05-30Update osh to 20090527, per maintainer update request by PR#41509.obache3-8/+8
Upstream changes between osh-20081213 and osh-20090527 follow: osh bug fixes: 1) This release fixes an `echo' bug that causes `echo ""' to print an unnecessary diagnostic. 2) It also fixes a `sigign' bug that can cause incorrect signal ignoring behavior for subshells. New osh features: 1) This release adds `cd' as a synonym for the `chdir' special command. 2) It also adds $m as a special parameter for the value of the MANPATH environment variable.
2009-05-21update master site.zafer1-2/+2
2009-05-20Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlibwiz3-4/+6
major change. Reported by Robert Elz in PR 41345.
2009-04-13mksh R37c provides these follow-up fixes:ahoka3-11/+16
.[tg] Improve præprocessor detection/work in Build.sh .[tg] Decouple MKSH_CONSERVATIVE_FDS from MKSH_SMALL .[tg] Enable MKSH_CONSERVATIVE_FDS by default on Minix 3 .[tg] Work around the (in-)famous ACK "const" bug .[tg] Optimise structure alignment and padding; Closes: #522778 .[tg] Retain LOCPATH (for glibc locale) in check.pl .[tg] Document, simplify and clean up the code better .[tg] Use mirbsd.org eMail addresses consistently mksh R37b comes with the following fixes on top: .[tg] Clean up build system and dot.mkshrc some more .[tg] Add getrusage(2) implementation using times(3) if none found .[tg] Add jobless mode (for Minix 3, Plan 9, .) .[tg] Detect the Amsterdam Compiler Kit in the build system .[tg] If no RLIM_INFINITY don.t try to do ulimit .[tg] Work around gcc4 strict warnings vs. broken system headers .[tg] Work around systems with mmap(2) but no munmap(2) .[tg] Fix (disallow) bind key macro recursion (instead of beeping and going into an endless loop), allow multi-line bind key macros (mostly from Alexander Hall), remove dead code (the beeping) and optimise .[tg] Add (commented out, undesired, standards compliance breaking) compatibility code to MidnightBSD 0.1 /bin/sh for ctriv .[tg] Clarify the mksh(1) manual page even more .[tg] Port to Minix 3 + GCC mksh R37 has major standards compliance improvements: .[tg] Rename -o utf8-hack to -o utf8-mode .[tg] Fix spacing mode error (pasto) in the mdoc(7) format manpage .[tg] Implement $((#.)) unsigned arithmetic calculation, needed for arc4random_uniform(3)-in-korn-shell implementation .[tg] Really preserve LD_LIBRARY_PATH in check.pl .[tg] New Build.sh option .-combine. for building mksh(1) at once with .-fwhole-program --combine. (gcc4, llvm-gcc4) if available .[tg] Always set COLUMNS and LINES trying as hard as we can, using TIOCGWINSZ even if used without FTALKING, and with the sane 80x24 default if the ioctl(2) fails .[tg] Handle _POSIX_VDISABLE being undefined (e.g. Linux/klibc) .[tg] <sys/file.h> is only required for flock(2) .[tg] Fix multi-column output routine for the corner case if the screen is less wide than one output column; 10x Gábor Gergely .[tg] Fix ${foo/@(%)/\\x} in UTF-8 mode (utf_widthadj for control characters U+0080.U+009F is slightly broken; this fix shifts the brokenness into the command line editing mode only) .[tg] Introduce mksh_ari_t and mksh_uari_t internal types to limit arithmetics to 32 bit on all systems; currently depending on the already-used standard int32_t and uint32_t types. Future expansion to 64 bit possible. Document that shell integer variables use this type. .[tg] The variables PGRP, PPID, RANDOM and USER_ID are now unsigned .[tg] Fix two off-by-ones breaking PS1 ending with a newline; bug reported by Matthias Diener .[tg] Just pass through C1 control characters for now .[tg] Code and internal interfaces cleanup .[tg] Regression test fixes for Cygwin env(1) being unsorted .[tg] Replace the memory allocator by something equally simple and homegrown but optimised for use with mksh and free checking .[tg] Import a couple of minor fixes (e.g. spelling) from oksh .[tg] Fix problems with "set -e" for real; from oksh, Closes: #518359 .[tg] In "set -o posix" mode, have limited echo(1) to improve standards compliance; the exact feature set is open for discussion, e.g. with pkgsrc® people; for now, only -n as first arg .[tg] Make test builtin operator precedence consistent; from oksh .[tg] Revamp and fold and enhance the regression tests .[tg] Document somewhat surprising behaviour in mksh(1) better; here: [ x -eq y ]; for gps23 from #ksh .[tg] Reduce memory consumption by allocator simplification .[tg] Fix bugs spotted by DEC ucode cc (ULTRIX) and gcc 1.42 (BSD/OS) .[laffer1] Make mksh the default /bin/sh in MidnightBSD
2009-04-09Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.joerg1-2/+1
2009-04-08Remove the remaining NO_MTREE definitions, it has been a nop for ajoerg1-3/+1
while.