aboutsummaryrefslogtreecommitdiff
path: root/contrib/tcsh
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused GPL files from tcsh.David E. O'Brien2011-04-2833-736/+1
| | | | Notes: svn path=/head/; revision=221170
* Fix tcsh losing history when tcsh terminates because the pty beneath itRoman Divacky2009-10-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is closed. Diagnosed by Ted Anderson: New signal queuing logic was introduced in 6.15 and allows the signal handlers to be run explicitly by calling handle_pending_signals, instead of immediately when the signal is delivered. This function is called at various places, typically when receiving a EINTR from a slow system call such as read or write. In the pty exit case, it was called from xwrite, called from flush, while printing the "exit" message after receiving EOF when reading from the pty (note that the read did not return EINTR but zero bytes, indicating EOF). The SIGHUP handler, phup(), called rechist, which opened the history file and began writing the merged history to it. This process invoked flush recursively to actually write the data. In this case, however, the flush noticed it was being called recursively and decided fail by calling stderror. My conclusion was that the signal was being handled at a bad time. But whether to fix flush not to care about the recursive call, or to handle the signal some other time and when to handle it, was unclear to me. However, by adding an extra call to handle_pending_signals, just after process() returns to main(), I was able to avoid the truncated history after network outages and similar failures. I verified this fix in version 6.17. Approved by: ed (mentor) MFC after: 1 week Notes: svn path=/head/; revision=197812
* Update to tcsh 6.17.00.Mark Peek2009-07-1155-4809/+6174
|\ | | | | | | | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=195609
| * Flatten vendor/tcsh/dist.Mark Peek2009-07-10475-96309/+0
| | | | | | | | Notes: svn path=/vendor/tcsh/dist/; revision=195587
* | Usermode portion of the support for swap allocation accounting:Konstantin Belousov2009-06-232-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - update for getrlimit(2) manpage; - support for setting RLIMIT_SWAP in login class; - addition to the limits(1) and sh and csh limit-setting builtins; - tuning(7) documentation on the sysctls controlling overcommit. In collaboration with: pho Reviewed by: alc Approved by: re (kensmith) Notes: svn path=/head/; revision=194767
* | Actually fix pty detection for autologout setting.Ruslan Ermilov2008-10-202-2/+2
| | | | | | | | | | | | | | (The fix has been submitted upstream.) Notes: svn path=/head/; revision=184072
* | tcsh: fix abort in cleanup_until(), caused by internal xgetpass()Giorgos Keramidas2008-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The xgetpass() function pushes a cleanup entry for &osa, but then attempts to flush the stack until an entry matching &sa. The two object pointers do not match, so the stack is popped too much, and then cleanup_until calls abort() when it unexpectedly hits the bottom of the cleanup stack. Reported by: Paul B. Mahol, onemda at gmail.com, Pietro Cerutti, gahr at gahr.ch PR: bin/124191 Reviewed by: mp, kris MFC after: 2 days Notes: svn path=/head/; revision=180637
* | This commit was generated by cvs2svn to compensate for changes in r177128,Xin LI2008-03-121-1/+2
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=177129
| * Reapply a bugfix that was done as sh.lex.c,v 1.1.1.8vendor/tcsh/6.15bXin LI2008-03-121-1/+2
| | | | | | | | | | Notes: svn path=/vendor/tcsh/dist/; revision=177128 svn path=/vendor/tcsh/6.15b/; revision=177130; tag=vendor/tcsh/6.15b
* | This commit was generated by cvs2svn to compensate for changes in r172668,Mark Peek2007-10-151-2/+1
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=172669
| * Import two vendor fixes from tcsh-6.15.01 for MFC to 7.0. The fixes are:Mark Peek2007-10-151-2/+1
| | | | | | | | | | | | | | | | | | | | - Fix pty detection for autologout setting - kill `foo` got stuck because sigchld was disabled too soon Requested by: re Notes: svn path=/vendor/tcsh/dist/; revision=172668
* | This commit was generated by cvs2svn to compensate for changes in r172665,Mark Peek2007-10-153-10/+9
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=172666
| * Import two vendor fixes from tcsh-6.15.01 for MFC to 7.0. The fixes are:Mark Peek2007-10-153-10/+9
| | | | | | | | | | | | | | | | | | | | - Fix pty detection for autologout setting - kill `foo` got stuck because sigchld was disabled too soon Requested by: re Notes: svn path=/vendor/tcsh/dist/; revision=172665
* | This commit was generated by cvs2svn to compensate for changes in r168305,Mark Peek2007-04-031-1/+2
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=168306
| * Import vendor patch to fix postcmd regression in tcsh-6.15.00.Mark Peek2007-04-031-1/+2
| | | | | | | | Notes: svn path=/vendor/tcsh/dist/; revision=168305
* | Build updates for tcsh-6.15.00 import.Mark Peek2007-03-112-3/+4
| | | | | | | | | | | | | | | | | | Reviewed by: ume Reminded by: Divacky Roman MFC after: 1 week Notes: svn path=/head/; revision=167469
* | This commit was generated by cvs2svn to compensate for changes in r167465,Mark Peek2007-03-11446-12180/+10718
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=167466
| * Import of tcsh-6.15.00Mark Peek2007-03-11446-12180/+10718
| | | | | | | | Notes: svn path=/vendor/tcsh/dist/; revision=167465
* | Remove the nls/*/charset files to the exclude list. These filesHajimu UMEMOTO2006-03-161-1/+0
| | | | | | | | | | | | | | are required for NLS catalog support. Notes: svn path=/head/; revision=156761
* | This commit was generated by cvs2svn to compensate for changes in r155832,Hajimu UMEMOTO2006-02-1912-0/+36
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=155833
| * Import required files to enable use of libiconv from tcsh-6.14.00.Hajimu UMEMOTO2006-02-1912-0/+36
| | | | | | | | | | | | | | Reviewed by: arch (no objection) Notes: svn path=/vendor/tcsh/dist/; revision=155832
* | This commit was generated by cvs2svn to compensate for changes in r145479,Mark Peek2005-04-2490-4169/+9586
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=145480
| * Import of tcsh-6.14.00Mark Peek2005-04-2490-4169/+9586
| | | | | | | | Notes: svn path=/vendor/tcsh/dist/; revision=145479
* | Add the nls/*/charset files to the exclude list. These files are not neededMark Peek2004-07-111-0/+1
| | | | | | | | | | | | | | and only provide comments in the text NLS files. Notes: svn path=/head/; revision=131965
* | This commit was generated by cvs2svn to compensate for changes in r131962,Mark Peek2004-07-1167-1489/+4975
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=131963
| * Import of tcsh-6.13.00Mark Peek2004-07-1167-1489/+4975
| | | | | | | | Notes: svn path=/vendor/tcsh/dist/; revision=131962
* | Document upgrade procedure.Mark Peek2002-07-242-0/+21
| | | | | | | | Notes: svn path=/head/; revision=100619
* | This commit was generated by cvs2svn to compensate for changes in r100616,Mark Peek2002-07-24151-1871/+2531
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=100617
| * Import of tcsh-6.12.00Mark Peek2002-07-24151-1871/+2531
| | | | | | | | Notes: svn path=/vendor/tcsh/dist/; revision=100616
* | This commit was generated by cvs2svn to compensate for changes in r90446,Mark Peek2002-02-102-7/+27
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=90447
| * - Add support for autodetection of *.euc?? and *.EUC locales.Mark Peek2002-02-102-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - ja_JP.eucJP, ja_JP.EUC - ko_KR.eucKR, ko_KR.EUC - zn_CN.eucCN, zn_CN.EUC - Add support for zh_TW.Big5 - Add ja_JP.Shift_JIS alias for ja_JP.SJIS Submitted by: phantom Approved by: Christos Zoulas <cristos@zoulas.com> - TCSH maintainer Notes: svn path=/vendor/tcsh/dist/; revision=90446
* | This commit was generated by cvs2svn to compensate for changes in r83098,Mark Peek2001-09-05153-983/+4219
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=83099
| * Import tcsh-6.11Mark Peek2001-09-05153-983/+4219
| | | | | | | | Notes: svn path=/vendor/tcsh/dist/; revision=83098
* | This commit was generated by cvs2svn to compensate for changes in r73393,Kris Kennaway2001-03-032-16/+35
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=73394
| * Import vendor fix for buffer overflow in HOME environment variableKris Kennaway2001-03-032-16/+35
| | | | | | | | Notes: svn path=/vendor/tcsh/dist/; revision=73393
* | This file not present in 6.10Andrey A. Chernov2000-11-301-32/+0
|/ | | | Notes: svn path=/head/; revision=69412
* Initial import of slightly trimmed tcsh 6.10Andrey A. Chernov2000-11-3096-758/+6229
| | | | Notes: svn path=/vendor/tcsh/dist/; revision=69408
* Import vendor fix for insecure temporary filename creation with theKris Kennaway2000-11-041-7/+19
| | | | | | | '<<' operator, reported on bugtraq by proton <proton@ENERGYMECH.NET> Notes: svn path=/vendor/tcsh/dist/; revision=68332
* Offical fixes to allow longer lines in the history and tweak expand_lex()vendor/tcsh/6.09.01-20000610David E. O'Brien2000-06-104-23/+30
| | | | | | | | useage. Notes: svn path=/vendor/tcsh/dist/; revision=61524 svn path=/vendor/tcsh/6.09.01-20000610/; revision=61526; tag=vendor/tcsh/6.09.01-20000610
* Offical fixes to quiet compiler warnings.David E. O'Brien2000-06-102-5/+7
| | | | Notes: svn path=/vendor/tcsh/dist/; revision=61521
* Offical fixes to the history and I18N bugs ache found.David E. O'Brien2000-06-102-7/+19
| | | | Notes: svn path=/vendor/tcsh/dist/; revision=61519
* Offical fixes to the history and I18N bugs ache found.David E. O'Brien2000-06-108-52/+131
| | | | Notes: svn path=/vendor/tcsh/dist/; revision=61515
* history fixDavid E. O'Brien2000-05-021-2/+2
| | | | | | | Submitted by: ache (forwarded to Christos Zoulas where fix was agreed to) Notes: svn path=/vendor/tcsh/dist/; revision=59901
* This fix from christos@zoulas.com (Christos Zoulas) based on ache'sDavid E. O'Brien2000-04-201-17/+28
| | | | | | | | ports/shells/tcsh/patches/patch-ac fixes the problem with 8-bit characters not highlighting properly. Notes: svn path=/vendor/tcsh/dist/; revision=59419
* 6.09.01 vendor update.vendor/tcsh/6.09.01David E. O'Brien2000-04-2058-450/+1388
| | | | | Notes: svn path=/vendor/tcsh/dist/; revision=59415 svn path=/vendor/tcsh/6.09.01/; revision=59417; tag=vendor/tcsh/6.09.01
* Import the latest version of the 44BSD C-shell -- tcsh-6.09.vendor/tcsh/6.09David E. O'Brien2000-04-15299-0/+78108
Notes: svn path=/vendor/tcsh/dist/; revision=59243 svn path=/vendor/tcsh/6.09/; revision=59245; tag=vendor/tcsh/6.09