From 7d8fb588d2aad351803ae56aedc5405e80de1a69 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 15 Jan 2008 13:41:47 +0000 Subject: [PATCH] Vendor import of tcsh 6.15.00 --- contrib/tcsh-6/Copyright | 32 + contrib/tcsh-6/README | 207 ++ contrib/tcsh-6/complete.tcsh | 1196 +++++++ contrib/tcsh-6/config/bsd4.4 | 108 + contrib/tcsh-6/config_f.h | 225 ++ contrib/tcsh-6/ed.chared.c | 3870 ++++++++++++++++++++ contrib/tcsh-6/ed.decls.h | 280 ++ contrib/tcsh-6/ed.defns.c | 1984 +++++++++++ contrib/tcsh-6/ed.h | 250 ++ contrib/tcsh-6/ed.init.c | 708 ++++ contrib/tcsh-6/ed.inputl.c | 947 +++++ contrib/tcsh-6/ed.refresh.c | 1330 +++++++ contrib/tcsh-6/ed.screen.c | 1661 +++++++++ contrib/tcsh-6/ed.term.c | 1140 ++++++ contrib/tcsh-6/ed.term.h | 522 +++ contrib/tcsh-6/ed.xmap.c | 760 ++++ contrib/tcsh-6/gethost.c | 329 ++ contrib/tcsh-6/glob.c | 717 ++++ contrib/tcsh-6/glob.h | 91 + contrib/tcsh-6/mi.termios.c | 393 +++ contrib/tcsh-6/nls/et/set1 | 140 + contrib/tcsh-6/nls/et/set10 | 8 + contrib/tcsh-6/nls/et/set11 | 10 + contrib/tcsh-6/nls/et/set12 | 4 + contrib/tcsh-6/nls/et/set13 | 13 + contrib/tcsh-6/nls/et/set14 | 6 + contrib/tcsh-6/nls/et/set15 | 7 + contrib/tcsh-6/nls/et/set16 | 13 + contrib/tcsh-6/nls/et/set17 | 17 + contrib/tcsh-6/nls/et/set18 | 4 + contrib/tcsh-6/nls/et/set19 | 15 + contrib/tcsh-6/nls/et/set2 | 111 + contrib/tcsh-6/nls/et/set20 | 41 + contrib/tcsh-6/nls/et/set21 | 5 + contrib/tcsh-6/nls/et/set22 | 17 + contrib/tcsh-6/nls/et/set23 | 34 + contrib/tcsh-6/nls/et/set24 | 4 + contrib/tcsh-6/nls/et/set25 | 6 + contrib/tcsh-6/nls/et/set26 | 15 + contrib/tcsh-6/nls/et/set27 | 8 + contrib/tcsh-6/nls/et/set29 | 4 + contrib/tcsh-6/nls/et/set3 | 124 + contrib/tcsh-6/nls/et/set30 | 16 + contrib/tcsh-6/nls/et/set31 | 7 + contrib/tcsh-6/nls/et/set4 | 45 + contrib/tcsh-6/nls/et/set5 | 4 + contrib/tcsh-6/nls/et/set6 | 11 + contrib/tcsh-6/nls/et/set7 | 30 + contrib/tcsh-6/nls/et/set8 | 5 + contrib/tcsh-6/nls/et/set9 | 12 + contrib/tcsh-6/nls/finnish/set1 | 140 + contrib/tcsh-6/nls/finnish/set10 | 8 + contrib/tcsh-6/nls/finnish/set11 | 10 + contrib/tcsh-6/nls/finnish/set12 | 4 + contrib/tcsh-6/nls/finnish/set13 | 13 + contrib/tcsh-6/nls/finnish/set14 | 6 + contrib/tcsh-6/nls/finnish/set15 | 7 + contrib/tcsh-6/nls/finnish/set16 | 13 + contrib/tcsh-6/nls/finnish/set17 | 17 + contrib/tcsh-6/nls/finnish/set18 | 4 + contrib/tcsh-6/nls/finnish/set19 | 15 + contrib/tcsh-6/nls/finnish/set2 | 94 + contrib/tcsh-6/nls/finnish/set20 | 41 + contrib/tcsh-6/nls/finnish/set21 | 5 + contrib/tcsh-6/nls/finnish/set22 | 17 + contrib/tcsh-6/nls/finnish/set23 | 34 + contrib/tcsh-6/nls/finnish/set24 | 4 + contrib/tcsh-6/nls/finnish/set25 | 6 + contrib/tcsh-6/nls/finnish/set26 | 15 + contrib/tcsh-6/nls/finnish/set27 | 8 + contrib/tcsh-6/nls/finnish/set29 | 4 + contrib/tcsh-6/nls/finnish/set3 | 124 + contrib/tcsh-6/nls/finnish/set30 | 16 + contrib/tcsh-6/nls/finnish/set31 | 7 + contrib/tcsh-6/nls/finnish/set4 | 45 + contrib/tcsh-6/nls/finnish/set5 | 4 + contrib/tcsh-6/nls/finnish/set6 | 11 + contrib/tcsh-6/nls/finnish/set7 | 30 + contrib/tcsh-6/nls/finnish/set8 | 5 + contrib/tcsh-6/nls/finnish/set9 | 12 + contrib/tcsh-6/nls/french/set1 | 140 + contrib/tcsh-6/nls/french/set10 | 8 + contrib/tcsh-6/nls/french/set11 | 10 + contrib/tcsh-6/nls/french/set12 | 4 + contrib/tcsh-6/nls/french/set13 | 13 + contrib/tcsh-6/nls/french/set14 | 6 + contrib/tcsh-6/nls/french/set15 | 7 + contrib/tcsh-6/nls/french/set16 | 13 + contrib/tcsh-6/nls/french/set17 | 17 + contrib/tcsh-6/nls/french/set18 | 4 + contrib/tcsh-6/nls/french/set19 | 15 + contrib/tcsh-6/nls/french/set2 | 94 + contrib/tcsh-6/nls/french/set20 | 41 + contrib/tcsh-6/nls/french/set21 | 5 + contrib/tcsh-6/nls/french/set22 | 17 + contrib/tcsh-6/nls/french/set23 | 34 + contrib/tcsh-6/nls/french/set24 | 4 + contrib/tcsh-6/nls/french/set25 | 6 + contrib/tcsh-6/nls/french/set26 | 15 + contrib/tcsh-6/nls/french/set27 | 8 + contrib/tcsh-6/nls/french/set29 | 4 + contrib/tcsh-6/nls/french/set3 | 124 + contrib/tcsh-6/nls/french/set30 | 16 + contrib/tcsh-6/nls/french/set31 | 7 + contrib/tcsh-6/nls/french/set4 | 45 + contrib/tcsh-6/nls/french/set5 | 4 + contrib/tcsh-6/nls/french/set6 | 11 + contrib/tcsh-6/nls/french/set7 | 30 + contrib/tcsh-6/nls/french/set8 | 5 + contrib/tcsh-6/nls/french/set9 | 12 + contrib/tcsh-6/nls/german/set1 | 140 + contrib/tcsh-6/nls/german/set10 | 8 + contrib/tcsh-6/nls/german/set11 | 10 + contrib/tcsh-6/nls/german/set12 | 4 + contrib/tcsh-6/nls/german/set13 | 13 + contrib/tcsh-6/nls/german/set14 | 6 + contrib/tcsh-6/nls/german/set15 | 7 + contrib/tcsh-6/nls/german/set16 | 13 + contrib/tcsh-6/nls/german/set17 | 17 + contrib/tcsh-6/nls/german/set18 | 4 + contrib/tcsh-6/nls/german/set19 | 15 + contrib/tcsh-6/nls/german/set2 | 94 + contrib/tcsh-6/nls/german/set20 | 41 + contrib/tcsh-6/nls/german/set21 | 5 + contrib/tcsh-6/nls/german/set22 | 17 + contrib/tcsh-6/nls/german/set23 | 34 + contrib/tcsh-6/nls/german/set24 | 4 + contrib/tcsh-6/nls/german/set25 | 6 + contrib/tcsh-6/nls/german/set26 | 15 + contrib/tcsh-6/nls/german/set27 | 8 + contrib/tcsh-6/nls/german/set29 | 4 + contrib/tcsh-6/nls/german/set3 | 124 + contrib/tcsh-6/nls/german/set30 | 16 + contrib/tcsh-6/nls/german/set31 | 7 + contrib/tcsh-6/nls/german/set4 | 45 + contrib/tcsh-6/nls/german/set5 | 4 + contrib/tcsh-6/nls/german/set6 | 11 + contrib/tcsh-6/nls/german/set7 | 30 + contrib/tcsh-6/nls/german/set8 | 5 + contrib/tcsh-6/nls/german/set9 | 12 + contrib/tcsh-6/nls/greek/set1 | 140 + contrib/tcsh-6/nls/greek/set10 | 8 + contrib/tcsh-6/nls/greek/set11 | 10 + contrib/tcsh-6/nls/greek/set12 | 4 + contrib/tcsh-6/nls/greek/set13 | 13 + contrib/tcsh-6/nls/greek/set14 | 6 + contrib/tcsh-6/nls/greek/set15 | 7 + contrib/tcsh-6/nls/greek/set16 | 13 + contrib/tcsh-6/nls/greek/set17 | 17 + contrib/tcsh-6/nls/greek/set18 | 4 + contrib/tcsh-6/nls/greek/set19 | 15 + contrib/tcsh-6/nls/greek/set2 | 94 + contrib/tcsh-6/nls/greek/set20 | 41 + contrib/tcsh-6/nls/greek/set21 | 5 + contrib/tcsh-6/nls/greek/set22 | 18 + contrib/tcsh-6/nls/greek/set23 | 31 + contrib/tcsh-6/nls/greek/set24 | 4 + contrib/tcsh-6/nls/greek/set25 | 6 + contrib/tcsh-6/nls/greek/set26 | 15 + contrib/tcsh-6/nls/greek/set27 | 8 + contrib/tcsh-6/nls/greek/set29 | 4 + contrib/tcsh-6/nls/greek/set3 | 124 + contrib/tcsh-6/nls/greek/set30 | 16 + contrib/tcsh-6/nls/greek/set31 | 7 + contrib/tcsh-6/nls/greek/set4 | 45 + contrib/tcsh-6/nls/greek/set5 | 4 + contrib/tcsh-6/nls/greek/set6 | 11 + contrib/tcsh-6/nls/greek/set7 | 30 + contrib/tcsh-6/nls/greek/set8 | 5 + contrib/tcsh-6/nls/greek/set9 | 12 + contrib/tcsh-6/nls/italian/set1 | 140 + contrib/tcsh-6/nls/italian/set10 | 8 + contrib/tcsh-6/nls/italian/set11 | 10 + contrib/tcsh-6/nls/italian/set12 | 4 + contrib/tcsh-6/nls/italian/set13 | 13 + contrib/tcsh-6/nls/italian/set14 | 6 + contrib/tcsh-6/nls/italian/set15 | 7 + contrib/tcsh-6/nls/italian/set16 | 13 + contrib/tcsh-6/nls/italian/set17 | 17 + contrib/tcsh-6/nls/italian/set18 | 4 + contrib/tcsh-6/nls/italian/set19 | 15 + contrib/tcsh-6/nls/italian/set2 | 94 + contrib/tcsh-6/nls/italian/set20 | 41 + contrib/tcsh-6/nls/italian/set21 | 5 + contrib/tcsh-6/nls/italian/set22 | 17 + contrib/tcsh-6/nls/italian/set23 | 34 + contrib/tcsh-6/nls/italian/set24 | 4 + contrib/tcsh-6/nls/italian/set25 | 6 + contrib/tcsh-6/nls/italian/set26 | 15 + contrib/tcsh-6/nls/italian/set27 | 8 + contrib/tcsh-6/nls/italian/set29 | 4 + contrib/tcsh-6/nls/italian/set3 | 124 + contrib/tcsh-6/nls/italian/set30 | 16 + contrib/tcsh-6/nls/italian/set31 | 7 + contrib/tcsh-6/nls/italian/set4 | 45 + contrib/tcsh-6/nls/italian/set5 | 4 + contrib/tcsh-6/nls/italian/set6 | 11 + contrib/tcsh-6/nls/italian/set7 | 30 + contrib/tcsh-6/nls/italian/set8 | 5 + contrib/tcsh-6/nls/italian/set9 | 12 + contrib/tcsh-6/nls/ja/set1 | 140 + contrib/tcsh-6/nls/ja/set10 | 8 + contrib/tcsh-6/nls/ja/set11 | 10 + contrib/tcsh-6/nls/ja/set12 | 4 + contrib/tcsh-6/nls/ja/set13 | 12 + contrib/tcsh-6/nls/ja/set15 | 7 + contrib/tcsh-6/nls/ja/set16 | 13 + contrib/tcsh-6/nls/ja/set17 | 16 + contrib/tcsh-6/nls/ja/set18 | 4 + contrib/tcsh-6/nls/ja/set2 | 94 + contrib/tcsh-6/nls/ja/set21 | 5 + contrib/tcsh-6/nls/ja/set24 | 4 + contrib/tcsh-6/nls/ja/set29 | 4 + contrib/tcsh-6/nls/ja/set3 | 124 + contrib/tcsh-6/nls/ja/set30 | 16 + contrib/tcsh-6/nls/ja/set4 | 45 + contrib/tcsh-6/nls/ja/set5 | 4 + contrib/tcsh-6/nls/ja/set6 | 11 + contrib/tcsh-6/nls/ja/set7 | 30 + contrib/tcsh-6/nls/ja/set8 | 5 + contrib/tcsh-6/nls/russian/set1 | 140 + contrib/tcsh-6/nls/russian/set10 | 8 + contrib/tcsh-6/nls/russian/set11 | 10 + contrib/tcsh-6/nls/russian/set12 | 4 + contrib/tcsh-6/nls/russian/set13 | 13 + contrib/tcsh-6/nls/russian/set14 | 6 + contrib/tcsh-6/nls/russian/set15 | 7 + contrib/tcsh-6/nls/russian/set16 | 13 + contrib/tcsh-6/nls/russian/set17 | 17 + contrib/tcsh-6/nls/russian/set18 | 4 + contrib/tcsh-6/nls/russian/set19 | 15 + contrib/tcsh-6/nls/russian/set2 | 111 + contrib/tcsh-6/nls/russian/set20 | 41 + contrib/tcsh-6/nls/russian/set21 | 5 + contrib/tcsh-6/nls/russian/set22 | 17 + contrib/tcsh-6/nls/russian/set23 | 34 + contrib/tcsh-6/nls/russian/set24 | 4 + contrib/tcsh-6/nls/russian/set25 | 6 + contrib/tcsh-6/nls/russian/set26 | 15 + contrib/tcsh-6/nls/russian/set27 | 8 + contrib/tcsh-6/nls/russian/set29 | 4 + contrib/tcsh-6/nls/russian/set3 | 117 + contrib/tcsh-6/nls/russian/set30 | 16 + contrib/tcsh-6/nls/russian/set31 | 7 + contrib/tcsh-6/nls/russian/set4 | 45 + contrib/tcsh-6/nls/russian/set5 | 4 + contrib/tcsh-6/nls/russian/set6 | 11 + contrib/tcsh-6/nls/russian/set7 | 30 + contrib/tcsh-6/nls/russian/set8 | 5 + contrib/tcsh-6/nls/russian/set9 | 12 + contrib/tcsh-6/nls/spanish/set1 | 140 + contrib/tcsh-6/nls/spanish/set10 | 8 + contrib/tcsh-6/nls/spanish/set11 | 10 + contrib/tcsh-6/nls/spanish/set12 | 4 + contrib/tcsh-6/nls/spanish/set13 | 13 + contrib/tcsh-6/nls/spanish/set14 | 6 + contrib/tcsh-6/nls/spanish/set15 | 7 + contrib/tcsh-6/nls/spanish/set16 | 13 + contrib/tcsh-6/nls/spanish/set17 | 17 + contrib/tcsh-6/nls/spanish/set18 | 4 + contrib/tcsh-6/nls/spanish/set19 | 15 + contrib/tcsh-6/nls/spanish/set2 | 92 + contrib/tcsh-6/nls/spanish/set20 | 41 + contrib/tcsh-6/nls/spanish/set21 | 5 + contrib/tcsh-6/nls/spanish/set22 | 17 + contrib/tcsh-6/nls/spanish/set23 | 34 + contrib/tcsh-6/nls/spanish/set24 | 4 + contrib/tcsh-6/nls/spanish/set25 | 6 + contrib/tcsh-6/nls/spanish/set26 | 15 + contrib/tcsh-6/nls/spanish/set27 | 8 + contrib/tcsh-6/nls/spanish/set29 | 4 + contrib/tcsh-6/nls/spanish/set3 | 124 + contrib/tcsh-6/nls/spanish/set30 | 16 + contrib/tcsh-6/nls/spanish/set31 | 7 + contrib/tcsh-6/nls/spanish/set4 | 45 + contrib/tcsh-6/nls/spanish/set5 | 4 + contrib/tcsh-6/nls/spanish/set6 | 11 + contrib/tcsh-6/nls/spanish/set7 | 30 + contrib/tcsh-6/nls/spanish/set8 | 5 + contrib/tcsh-6/nls/spanish/set9 | 12 + contrib/tcsh-6/nls/ukrainian/set1 | 140 + contrib/tcsh-6/nls/ukrainian/set10 | 8 + contrib/tcsh-6/nls/ukrainian/set11 | 10 + contrib/tcsh-6/nls/ukrainian/set12 | 4 + contrib/tcsh-6/nls/ukrainian/set13 | 13 + contrib/tcsh-6/nls/ukrainian/set14 | 6 + contrib/tcsh-6/nls/ukrainian/set15 | 7 + contrib/tcsh-6/nls/ukrainian/set16 | 13 + contrib/tcsh-6/nls/ukrainian/set17 | 17 + contrib/tcsh-6/nls/ukrainian/set18 | 4 + contrib/tcsh-6/nls/ukrainian/set19 | 15 + contrib/tcsh-6/nls/ukrainian/set2 | 111 + contrib/tcsh-6/nls/ukrainian/set20 | 41 + contrib/tcsh-6/nls/ukrainian/set21 | 5 + contrib/tcsh-6/nls/ukrainian/set22 | 17 + contrib/tcsh-6/nls/ukrainian/set23 | 34 + contrib/tcsh-6/nls/ukrainian/set24 | 4 + contrib/tcsh-6/nls/ukrainian/set25 | 6 + contrib/tcsh-6/nls/ukrainian/set26 | 15 + contrib/tcsh-6/nls/ukrainian/set27 | 8 + contrib/tcsh-6/nls/ukrainian/set29 | 4 + contrib/tcsh-6/nls/ukrainian/set3 | 124 + contrib/tcsh-6/nls/ukrainian/set30 | 16 + contrib/tcsh-6/nls/ukrainian/set31 | 7 + contrib/tcsh-6/nls/ukrainian/set4 | 45 + contrib/tcsh-6/nls/ukrainian/set5 | 4 + contrib/tcsh-6/nls/ukrainian/set6 | 11 + contrib/tcsh-6/nls/ukrainian/set7 | 30 + contrib/tcsh-6/nls/ukrainian/set8 | 5 + contrib/tcsh-6/nls/ukrainian/set9 | 12 + contrib/tcsh-6/patchlevel.h | 14 + contrib/tcsh-6/pathnames.h | 165 + contrib/tcsh-6/sh.c | 2364 +++++++++++++ contrib/tcsh-6/sh.char.c | 1368 ++++++++ contrib/tcsh-6/sh.char.h | 275 ++ contrib/tcsh-6/sh.decls.h | 432 +++ contrib/tcsh-6/sh.dir.c | 1410 ++++++++ contrib/tcsh-6/sh.dir.h | 57 + contrib/tcsh-6/sh.dol.c | 1094 ++++++ contrib/tcsh-6/sh.err.c | 647 ++++ contrib/tcsh-6/sh.exec.c | 1171 +++++++ contrib/tcsh-6/sh.exp.c | 1005 ++++++ contrib/tcsh-6/sh.file.c | 763 ++++ contrib/tcsh-6/sh.func.c | 2457 +++++++++++++ contrib/tcsh-6/sh.glob.c | 1024 ++++++ contrib/tcsh-6/sh.h | 1264 +++++++ contrib/tcsh-6/sh.hist.c | 458 +++ contrib/tcsh-6/sh.init.c | 1073 ++++++ contrib/tcsh-6/sh.lex.c | 1835 ++++++++++ contrib/tcsh-6/sh.misc.c | 666 ++++ contrib/tcsh-6/sh.parse.c | 690 ++++ contrib/tcsh-6/sh.print.c | 298 ++ contrib/tcsh-6/sh.proc.c | 1991 +++++++++++ contrib/tcsh-6/sh.proc.h | 128 + contrib/tcsh-6/sh.sem.c | 954 +++++ contrib/tcsh-6/sh.set.c | 1253 +++++++ contrib/tcsh-6/sh.time.c | 739 ++++ contrib/tcsh-6/sh.types.h | 397 +++ contrib/tcsh-6/tc.alloc.c | 611 ++++ contrib/tcsh-6/tc.bind.c | 536 +++ contrib/tcsh-6/tc.const.c | 500 +++ contrib/tcsh-6/tc.decls.h | 339 ++ contrib/tcsh-6/tc.disc.c | 196 ++ contrib/tcsh-6/tc.func.c | 2088 +++++++++++ contrib/tcsh-6/tc.h | 80 + contrib/tcsh-6/tc.nls.c | 119 + contrib/tcsh-6/tc.nls.h | 60 + contrib/tcsh-6/tc.os.c | 1586 +++++++++ contrib/tcsh-6/tc.os.h | 597 ++++ contrib/tcsh-6/tc.printf.c | 452 +++ contrib/tcsh-6/tc.prompt.c | 649 ++++ contrib/tcsh-6/tc.sched.c | 258 ++ contrib/tcsh-6/tc.sig.c | 139 + contrib/tcsh-6/tc.sig.h | 173 + contrib/tcsh-6/tc.str.c | 599 ++++ contrib/tcsh-6/tc.vers.c | 175 + contrib/tcsh-6/tc.wait.h | 155 + contrib/tcsh-6/tc.who.c | 703 ++++ contrib/tcsh-6/tcsh.man | 5255 ++++++++++++++++++++++++++++ contrib/tcsh-6/tw.color.c | 346 ++ contrib/tcsh-6/tw.comp.c | 640 ++++ contrib/tcsh-6/tw.decls.h | 130 + contrib/tcsh-6/tw.h | 110 + contrib/tcsh-6/tw.help.c | 209 ++ contrib/tcsh-6/tw.init.c | 1026 ++++++ contrib/tcsh-6/tw.parse.c | 2325 ++++++++++++ contrib/tcsh-6/tw.spell.c | 162 + 367 files changed, 70027 insertions(+) create mode 100644 contrib/tcsh-6/Copyright create mode 100644 contrib/tcsh-6/README create mode 100644 contrib/tcsh-6/complete.tcsh create mode 100644 contrib/tcsh-6/config/bsd4.4 create mode 100644 contrib/tcsh-6/config_f.h create mode 100644 contrib/tcsh-6/ed.chared.c create mode 100644 contrib/tcsh-6/ed.decls.h create mode 100644 contrib/tcsh-6/ed.defns.c create mode 100644 contrib/tcsh-6/ed.h create mode 100644 contrib/tcsh-6/ed.init.c create mode 100644 contrib/tcsh-6/ed.inputl.c create mode 100644 contrib/tcsh-6/ed.refresh.c create mode 100644 contrib/tcsh-6/ed.screen.c create mode 100644 contrib/tcsh-6/ed.term.c create mode 100644 contrib/tcsh-6/ed.term.h create mode 100644 contrib/tcsh-6/ed.xmap.c create mode 100644 contrib/tcsh-6/gethost.c create mode 100644 contrib/tcsh-6/glob.c create mode 100644 contrib/tcsh-6/glob.h create mode 100644 contrib/tcsh-6/mi.termios.c create mode 100644 contrib/tcsh-6/nls/et/set1 create mode 100644 contrib/tcsh-6/nls/et/set10 create mode 100644 contrib/tcsh-6/nls/et/set11 create mode 100644 contrib/tcsh-6/nls/et/set12 create mode 100644 contrib/tcsh-6/nls/et/set13 create mode 100644 contrib/tcsh-6/nls/et/set14 create mode 100644 contrib/tcsh-6/nls/et/set15 create mode 100644 contrib/tcsh-6/nls/et/set16 create mode 100644 contrib/tcsh-6/nls/et/set17 create mode 100644 contrib/tcsh-6/nls/et/set18 create mode 100644 contrib/tcsh-6/nls/et/set19 create mode 100644 contrib/tcsh-6/nls/et/set2 create mode 100644 contrib/tcsh-6/nls/et/set20 create mode 100644 contrib/tcsh-6/nls/et/set21 create mode 100644 contrib/tcsh-6/nls/et/set22 create mode 100644 contrib/tcsh-6/nls/et/set23 create mode 100644 contrib/tcsh-6/nls/et/set24 create mode 100644 contrib/tcsh-6/nls/et/set25 create mode 100644 contrib/tcsh-6/nls/et/set26 create mode 100644 contrib/tcsh-6/nls/et/set27 create mode 100644 contrib/tcsh-6/nls/et/set29 create mode 100644 contrib/tcsh-6/nls/et/set3 create mode 100644 contrib/tcsh-6/nls/et/set30 create mode 100644 contrib/tcsh-6/nls/et/set31 create mode 100644 contrib/tcsh-6/nls/et/set4 create mode 100644 contrib/tcsh-6/nls/et/set5 create mode 100644 contrib/tcsh-6/nls/et/set6 create mode 100644 contrib/tcsh-6/nls/et/set7 create mode 100644 contrib/tcsh-6/nls/et/set8 create mode 100644 contrib/tcsh-6/nls/et/set9 create mode 100644 contrib/tcsh-6/nls/finnish/set1 create mode 100644 contrib/tcsh-6/nls/finnish/set10 create mode 100644 contrib/tcsh-6/nls/finnish/set11 create mode 100644 contrib/tcsh-6/nls/finnish/set12 create mode 100644 contrib/tcsh-6/nls/finnish/set13 create mode 100644 contrib/tcsh-6/nls/finnish/set14 create mode 100644 contrib/tcsh-6/nls/finnish/set15 create mode 100644 contrib/tcsh-6/nls/finnish/set16 create mode 100644 contrib/tcsh-6/nls/finnish/set17 create mode 100644 contrib/tcsh-6/nls/finnish/set18 create mode 100644 contrib/tcsh-6/nls/finnish/set19 create mode 100644 contrib/tcsh-6/nls/finnish/set2 create mode 100644 contrib/tcsh-6/nls/finnish/set20 create mode 100644 contrib/tcsh-6/nls/finnish/set21 create mode 100644 contrib/tcsh-6/nls/finnish/set22 create mode 100644 contrib/tcsh-6/nls/finnish/set23 create mode 100644 contrib/tcsh-6/nls/finnish/set24 create mode 100644 contrib/tcsh-6/nls/finnish/set25 create mode 100644 contrib/tcsh-6/nls/finnish/set26 create mode 100644 contrib/tcsh-6/nls/finnish/set27 create mode 100644 contrib/tcsh-6/nls/finnish/set29 create mode 100644 contrib/tcsh-6/nls/finnish/set3 create mode 100644 contrib/tcsh-6/nls/finnish/set30 create mode 100644 contrib/tcsh-6/nls/finnish/set31 create mode 100644 contrib/tcsh-6/nls/finnish/set4 create mode 100644 contrib/tcsh-6/nls/finnish/set5 create mode 100644 contrib/tcsh-6/nls/finnish/set6 create mode 100644 contrib/tcsh-6/nls/finnish/set7 create mode 100644 contrib/tcsh-6/nls/finnish/set8 create mode 100644 contrib/tcsh-6/nls/finnish/set9 create mode 100644 contrib/tcsh-6/nls/french/set1 create mode 100644 contrib/tcsh-6/nls/french/set10 create mode 100644 contrib/tcsh-6/nls/french/set11 create mode 100644 contrib/tcsh-6/nls/french/set12 create mode 100644 contrib/tcsh-6/nls/french/set13 create mode 100644 contrib/tcsh-6/nls/french/set14 create mode 100644 contrib/tcsh-6/nls/french/set15 create mode 100644 contrib/tcsh-6/nls/french/set16 create mode 100644 contrib/tcsh-6/nls/french/set17 create mode 100644 contrib/tcsh-6/nls/french/set18 create mode 100644 contrib/tcsh-6/nls/french/set19 create mode 100644 contrib/tcsh-6/nls/french/set2 create mode 100644 contrib/tcsh-6/nls/french/set20 create mode 100644 contrib/tcsh-6/nls/french/set21 create mode 100644 contrib/tcsh-6/nls/french/set22 create mode 100644 contrib/tcsh-6/nls/french/set23 create mode 100644 contrib/tcsh-6/nls/french/set24 create mode 100644 contrib/tcsh-6/nls/french/set25 create mode 100644 contrib/tcsh-6/nls/french/set26 create mode 100644 contrib/tcsh-6/nls/french/set27 create mode 100644 contrib/tcsh-6/nls/french/set29 create mode 100644 contrib/tcsh-6/nls/french/set3 create mode 100644 contrib/tcsh-6/nls/french/set30 create mode 100644 contrib/tcsh-6/nls/french/set31 create mode 100644 contrib/tcsh-6/nls/french/set4 create mode 100644 contrib/tcsh-6/nls/french/set5 create mode 100644 contrib/tcsh-6/nls/french/set6 create mode 100644 contrib/tcsh-6/nls/french/set7 create mode 100644 contrib/tcsh-6/nls/french/set8 create mode 100644 contrib/tcsh-6/nls/french/set9 create mode 100644 contrib/tcsh-6/nls/german/set1 create mode 100644 contrib/tcsh-6/nls/german/set10 create mode 100644 contrib/tcsh-6/nls/german/set11 create mode 100644 contrib/tcsh-6/nls/german/set12 create mode 100644 contrib/tcsh-6/nls/german/set13 create mode 100644 contrib/tcsh-6/nls/german/set14 create mode 100644 contrib/tcsh-6/nls/german/set15 create mode 100644 contrib/tcsh-6/nls/german/set16 create mode 100644 contrib/tcsh-6/nls/german/set17 create mode 100644 contrib/tcsh-6/nls/german/set18 create mode 100644 contrib/tcsh-6/nls/german/set19 create mode 100644 contrib/tcsh-6/nls/german/set2 create mode 100644 contrib/tcsh-6/nls/german/set20 create mode 100644 contrib/tcsh-6/nls/german/set21 create mode 100644 contrib/tcsh-6/nls/german/set22 create mode 100644 contrib/tcsh-6/nls/german/set23 create mode 100644 contrib/tcsh-6/nls/german/set24 create mode 100644 contrib/tcsh-6/nls/german/set25 create mode 100644 contrib/tcsh-6/nls/german/set26 create mode 100644 contrib/tcsh-6/nls/german/set27 create mode 100644 contrib/tcsh-6/nls/german/set29 create mode 100644 contrib/tcsh-6/nls/german/set3 create mode 100644 contrib/tcsh-6/nls/german/set30 create mode 100644 contrib/tcsh-6/nls/german/set31 create mode 100644 contrib/tcsh-6/nls/german/set4 create mode 100644 contrib/tcsh-6/nls/german/set5 create mode 100644 contrib/tcsh-6/nls/german/set6 create mode 100644 contrib/tcsh-6/nls/german/set7 create mode 100644 contrib/tcsh-6/nls/german/set8 create mode 100644 contrib/tcsh-6/nls/german/set9 create mode 100644 contrib/tcsh-6/nls/greek/set1 create mode 100644 contrib/tcsh-6/nls/greek/set10 create mode 100644 contrib/tcsh-6/nls/greek/set11 create mode 100644 contrib/tcsh-6/nls/greek/set12 create mode 100644 contrib/tcsh-6/nls/greek/set13 create mode 100644 contrib/tcsh-6/nls/greek/set14 create mode 100644 contrib/tcsh-6/nls/greek/set15 create mode 100644 contrib/tcsh-6/nls/greek/set16 create mode 100644 contrib/tcsh-6/nls/greek/set17 create mode 100644 contrib/tcsh-6/nls/greek/set18 create mode 100644 contrib/tcsh-6/nls/greek/set19 create mode 100644 contrib/tcsh-6/nls/greek/set2 create mode 100644 contrib/tcsh-6/nls/greek/set20 create mode 100644 contrib/tcsh-6/nls/greek/set21 create mode 100644 contrib/tcsh-6/nls/greek/set22 create mode 100644 contrib/tcsh-6/nls/greek/set23 create mode 100644 contrib/tcsh-6/nls/greek/set24 create mode 100644 contrib/tcsh-6/nls/greek/set25 create mode 100644 contrib/tcsh-6/nls/greek/set26 create mode 100644 contrib/tcsh-6/nls/greek/set27 create mode 100644 contrib/tcsh-6/nls/greek/set29 create mode 100644 contrib/tcsh-6/nls/greek/set3 create mode 100644 contrib/tcsh-6/nls/greek/set30 create mode 100644 contrib/tcsh-6/nls/greek/set31 create mode 100644 contrib/tcsh-6/nls/greek/set4 create mode 100644 contrib/tcsh-6/nls/greek/set5 create mode 100644 contrib/tcsh-6/nls/greek/set6 create mode 100644 contrib/tcsh-6/nls/greek/set7 create mode 100644 contrib/tcsh-6/nls/greek/set8 create mode 100644 contrib/tcsh-6/nls/greek/set9 create mode 100644 contrib/tcsh-6/nls/italian/set1 create mode 100644 contrib/tcsh-6/nls/italian/set10 create mode 100644 contrib/tcsh-6/nls/italian/set11 create mode 100644 contrib/tcsh-6/nls/italian/set12 create mode 100644 contrib/tcsh-6/nls/italian/set13 create mode 100644 contrib/tcsh-6/nls/italian/set14 create mode 100644 contrib/tcsh-6/nls/italian/set15 create mode 100644 contrib/tcsh-6/nls/italian/set16 create mode 100644 contrib/tcsh-6/nls/italian/set17 create mode 100644 contrib/tcsh-6/nls/italian/set18 create mode 100644 contrib/tcsh-6/nls/italian/set19 create mode 100644 contrib/tcsh-6/nls/italian/set2 create mode 100644 contrib/tcsh-6/nls/italian/set20 create mode 100644 contrib/tcsh-6/nls/italian/set21 create mode 100644 contrib/tcsh-6/nls/italian/set22 create mode 100644 contrib/tcsh-6/nls/italian/set23 create mode 100644 contrib/tcsh-6/nls/italian/set24 create mode 100644 contrib/tcsh-6/nls/italian/set25 create mode 100644 contrib/tcsh-6/nls/italian/set26 create mode 100644 contrib/tcsh-6/nls/italian/set27 create mode 100644 contrib/tcsh-6/nls/italian/set29 create mode 100644 contrib/tcsh-6/nls/italian/set3 create mode 100644 contrib/tcsh-6/nls/italian/set30 create mode 100644 contrib/tcsh-6/nls/italian/set31 create mode 100644 contrib/tcsh-6/nls/italian/set4 create mode 100644 contrib/tcsh-6/nls/italian/set5 create mode 100644 contrib/tcsh-6/nls/italian/set6 create mode 100644 contrib/tcsh-6/nls/italian/set7 create mode 100644 contrib/tcsh-6/nls/italian/set8 create mode 100644 contrib/tcsh-6/nls/italian/set9 create mode 100644 contrib/tcsh-6/nls/ja/set1 create mode 100644 contrib/tcsh-6/nls/ja/set10 create mode 100644 contrib/tcsh-6/nls/ja/set11 create mode 100644 contrib/tcsh-6/nls/ja/set12 create mode 100644 contrib/tcsh-6/nls/ja/set13 create mode 100644 contrib/tcsh-6/nls/ja/set15 create mode 100644 contrib/tcsh-6/nls/ja/set16 create mode 100644 contrib/tcsh-6/nls/ja/set17 create mode 100644 contrib/tcsh-6/nls/ja/set18 create mode 100644 contrib/tcsh-6/nls/ja/set2 create mode 100644 contrib/tcsh-6/nls/ja/set21 create mode 100644 contrib/tcsh-6/nls/ja/set24 create mode 100644 contrib/tcsh-6/nls/ja/set29 create mode 100644 contrib/tcsh-6/nls/ja/set3 create mode 100644 contrib/tcsh-6/nls/ja/set30 create mode 100644 contrib/tcsh-6/nls/ja/set4 create mode 100644 contrib/tcsh-6/nls/ja/set5 create mode 100644 contrib/tcsh-6/nls/ja/set6 create mode 100644 contrib/tcsh-6/nls/ja/set7 create mode 100644 contrib/tcsh-6/nls/ja/set8 create mode 100644 contrib/tcsh-6/nls/russian/set1 create mode 100644 contrib/tcsh-6/nls/russian/set10 create mode 100644 contrib/tcsh-6/nls/russian/set11 create mode 100644 contrib/tcsh-6/nls/russian/set12 create mode 100644 contrib/tcsh-6/nls/russian/set13 create mode 100644 contrib/tcsh-6/nls/russian/set14 create mode 100644 contrib/tcsh-6/nls/russian/set15 create mode 100644 contrib/tcsh-6/nls/russian/set16 create mode 100644 contrib/tcsh-6/nls/russian/set17 create mode 100644 contrib/tcsh-6/nls/russian/set18 create mode 100644 contrib/tcsh-6/nls/russian/set19 create mode 100644 contrib/tcsh-6/nls/russian/set2 create mode 100644 contrib/tcsh-6/nls/russian/set20 create mode 100644 contrib/tcsh-6/nls/russian/set21 create mode 100644 contrib/tcsh-6/nls/russian/set22 create mode 100644 contrib/tcsh-6/nls/russian/set23 create mode 100644 contrib/tcsh-6/nls/russian/set24 create mode 100644 contrib/tcsh-6/nls/russian/set25 create mode 100644 contrib/tcsh-6/nls/russian/set26 create mode 100644 contrib/tcsh-6/nls/russian/set27 create mode 100644 contrib/tcsh-6/nls/russian/set29 create mode 100644 contrib/tcsh-6/nls/russian/set3 create mode 100644 contrib/tcsh-6/nls/russian/set30 create mode 100644 contrib/tcsh-6/nls/russian/set31 create mode 100644 contrib/tcsh-6/nls/russian/set4 create mode 100644 contrib/tcsh-6/nls/russian/set5 create mode 100644 contrib/tcsh-6/nls/russian/set6 create mode 100644 contrib/tcsh-6/nls/russian/set7 create mode 100644 contrib/tcsh-6/nls/russian/set8 create mode 100644 contrib/tcsh-6/nls/russian/set9 create mode 100644 contrib/tcsh-6/nls/spanish/set1 create mode 100644 contrib/tcsh-6/nls/spanish/set10 create mode 100644 contrib/tcsh-6/nls/spanish/set11 create mode 100644 contrib/tcsh-6/nls/spanish/set12 create mode 100644 contrib/tcsh-6/nls/spanish/set13 create mode 100644 contrib/tcsh-6/nls/spanish/set14 create mode 100644 contrib/tcsh-6/nls/spanish/set15 create mode 100644 contrib/tcsh-6/nls/spanish/set16 create mode 100644 contrib/tcsh-6/nls/spanish/set17 create mode 100644 contrib/tcsh-6/nls/spanish/set18 create mode 100644 contrib/tcsh-6/nls/spanish/set19 create mode 100644 contrib/tcsh-6/nls/spanish/set2 create mode 100644 contrib/tcsh-6/nls/spanish/set20 create mode 100644 contrib/tcsh-6/nls/spanish/set21 create mode 100644 contrib/tcsh-6/nls/spanish/set22 create mode 100644 contrib/tcsh-6/nls/spanish/set23 create mode 100644 contrib/tcsh-6/nls/spanish/set24 create mode 100644 contrib/tcsh-6/nls/spanish/set25 create mode 100644 contrib/tcsh-6/nls/spanish/set26 create mode 100644 contrib/tcsh-6/nls/spanish/set27 create mode 100644 contrib/tcsh-6/nls/spanish/set29 create mode 100644 contrib/tcsh-6/nls/spanish/set3 create mode 100644 contrib/tcsh-6/nls/spanish/set30 create mode 100644 contrib/tcsh-6/nls/spanish/set31 create mode 100644 contrib/tcsh-6/nls/spanish/set4 create mode 100644 contrib/tcsh-6/nls/spanish/set5 create mode 100644 contrib/tcsh-6/nls/spanish/set6 create mode 100644 contrib/tcsh-6/nls/spanish/set7 create mode 100644 contrib/tcsh-6/nls/spanish/set8 create mode 100644 contrib/tcsh-6/nls/spanish/set9 create mode 100644 contrib/tcsh-6/nls/ukrainian/set1 create mode 100644 contrib/tcsh-6/nls/ukrainian/set10 create mode 100644 contrib/tcsh-6/nls/ukrainian/set11 create mode 100644 contrib/tcsh-6/nls/ukrainian/set12 create mode 100644 contrib/tcsh-6/nls/ukrainian/set13 create mode 100644 contrib/tcsh-6/nls/ukrainian/set14 create mode 100644 contrib/tcsh-6/nls/ukrainian/set15 create mode 100644 contrib/tcsh-6/nls/ukrainian/set16 create mode 100644 contrib/tcsh-6/nls/ukrainian/set17 create mode 100644 contrib/tcsh-6/nls/ukrainian/set18 create mode 100644 contrib/tcsh-6/nls/ukrainian/set19 create mode 100644 contrib/tcsh-6/nls/ukrainian/set2 create mode 100644 contrib/tcsh-6/nls/ukrainian/set20 create mode 100644 contrib/tcsh-6/nls/ukrainian/set21 create mode 100644 contrib/tcsh-6/nls/ukrainian/set22 create mode 100644 contrib/tcsh-6/nls/ukrainian/set23 create mode 100644 contrib/tcsh-6/nls/ukrainian/set24 create mode 100644 contrib/tcsh-6/nls/ukrainian/set25 create mode 100644 contrib/tcsh-6/nls/ukrainian/set26 create mode 100644 contrib/tcsh-6/nls/ukrainian/set27 create mode 100644 contrib/tcsh-6/nls/ukrainian/set29 create mode 100644 contrib/tcsh-6/nls/ukrainian/set3 create mode 100644 contrib/tcsh-6/nls/ukrainian/set30 create mode 100644 contrib/tcsh-6/nls/ukrainian/set31 create mode 100644 contrib/tcsh-6/nls/ukrainian/set4 create mode 100644 contrib/tcsh-6/nls/ukrainian/set5 create mode 100644 contrib/tcsh-6/nls/ukrainian/set6 create mode 100644 contrib/tcsh-6/nls/ukrainian/set7 create mode 100644 contrib/tcsh-6/nls/ukrainian/set8 create mode 100644 contrib/tcsh-6/nls/ukrainian/set9 create mode 100644 contrib/tcsh-6/patchlevel.h create mode 100644 contrib/tcsh-6/pathnames.h create mode 100644 contrib/tcsh-6/sh.c create mode 100644 contrib/tcsh-6/sh.char.c create mode 100644 contrib/tcsh-6/sh.char.h create mode 100644 contrib/tcsh-6/sh.decls.h create mode 100644 contrib/tcsh-6/sh.dir.c create mode 100644 contrib/tcsh-6/sh.dir.h create mode 100644 contrib/tcsh-6/sh.dol.c create mode 100644 contrib/tcsh-6/sh.err.c create mode 100644 contrib/tcsh-6/sh.exec.c create mode 100644 contrib/tcsh-6/sh.exp.c create mode 100644 contrib/tcsh-6/sh.file.c create mode 100644 contrib/tcsh-6/sh.func.c create mode 100644 contrib/tcsh-6/sh.glob.c create mode 100644 contrib/tcsh-6/sh.h create mode 100644 contrib/tcsh-6/sh.hist.c create mode 100644 contrib/tcsh-6/sh.init.c create mode 100644 contrib/tcsh-6/sh.lex.c create mode 100644 contrib/tcsh-6/sh.misc.c create mode 100644 contrib/tcsh-6/sh.parse.c create mode 100644 contrib/tcsh-6/sh.print.c create mode 100644 contrib/tcsh-6/sh.proc.c create mode 100644 contrib/tcsh-6/sh.proc.h create mode 100644 contrib/tcsh-6/sh.sem.c create mode 100644 contrib/tcsh-6/sh.set.c create mode 100644 contrib/tcsh-6/sh.time.c create mode 100644 contrib/tcsh-6/sh.types.h create mode 100644 contrib/tcsh-6/tc.alloc.c create mode 100644 contrib/tcsh-6/tc.bind.c create mode 100644 contrib/tcsh-6/tc.const.c create mode 100644 contrib/tcsh-6/tc.decls.h create mode 100644 contrib/tcsh-6/tc.disc.c create mode 100644 contrib/tcsh-6/tc.func.c create mode 100644 contrib/tcsh-6/tc.h create mode 100644 contrib/tcsh-6/tc.nls.c create mode 100644 contrib/tcsh-6/tc.nls.h create mode 100644 contrib/tcsh-6/tc.os.c create mode 100644 contrib/tcsh-6/tc.os.h create mode 100644 contrib/tcsh-6/tc.printf.c create mode 100644 contrib/tcsh-6/tc.prompt.c create mode 100644 contrib/tcsh-6/tc.sched.c create mode 100644 contrib/tcsh-6/tc.sig.c create mode 100644 contrib/tcsh-6/tc.sig.h create mode 100644 contrib/tcsh-6/tc.str.c create mode 100644 contrib/tcsh-6/tc.vers.c create mode 100644 contrib/tcsh-6/tc.wait.h create mode 100644 contrib/tcsh-6/tc.who.c create mode 100644 contrib/tcsh-6/tcsh.man create mode 100644 contrib/tcsh-6/tw.color.c create mode 100644 contrib/tcsh-6/tw.comp.c create mode 100644 contrib/tcsh-6/tw.decls.h create mode 100644 contrib/tcsh-6/tw.h create mode 100644 contrib/tcsh-6/tw.help.c create mode 100644 contrib/tcsh-6/tw.init.c create mode 100644 contrib/tcsh-6/tw.parse.c create mode 100644 contrib/tcsh-6/tw.spell.c diff --git a/contrib/tcsh-6/Copyright b/contrib/tcsh-6/Copyright new file mode 100644 index 0000000000..6ba10c49aa --- /dev/null +++ b/contrib/tcsh-6/Copyright @@ -0,0 +1,32 @@ +/*- + * Copyright (c) 1980, 1991 The Regents of the University of California. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ diff --git a/contrib/tcsh-6/README b/contrib/tcsh-6/README new file mode 100644 index 0000000000..9648c27871 --- /dev/null +++ b/contrib/tcsh-6/README @@ -0,0 +1,207 @@ +This is tcsh version 6.15. Tcsh is a version of the Berkeley +C-Shell, with the addition of: a command line editor, command and file +name completion, listing, etc. and a bunch of small additions to the +shell itself. + +Tcsh has been ported to most unix variants, and can be tinkered to work +in unix systems that it has not ported yet. See the Ported file for +a more complete list of ported systems and in the config directory for +a configuration file that matches your system. +Tcsh also runs under VMS/POSIX and OS/2+emx; the OS/2 port is not +complete yet. + +Feel free to use it. These changes to csh may only be included in a +commercial product if the inclusion or exclusion does not change the +purchase price, level of support, etc. Please respect the individual +authors by giving credit where credit is due (in other words, don't +claim that you wrote portions that you haven't, and don't delete the +names of the authors from the source code or documentation). + +To install tcsh: + +0) Try running "./configure". If that doesn't work, goto step 1. + Run "./configure --help" to see possible options. After running + configure, goto step 3. + +1) Otherwise copy Makefile.std to Makefile. Look at the Makefile and + make sure that you are using the right compilation flags. + +2) Copy the appropriate for your machine and OS config file from the + config subdirectory into config.h. Consult the file "Ported" for + settings known to work on various machines. If you are trying to + compile tcsh on a machine for which there is no config file yet, + you will need to create a config file using as a template one of + the supplied ones. If you get tcsh working on a new machine, I'd + appreciate a copy of the config file plus additional information + about the architecture/OS. If you are creating a new config file, + look very hard at BSDJOBS and BSDTIMES if you are running + a non-BSD machine. For vanila SysV, these would all be #undef-ed, + but others may vary (such as A/UX or HPUX). On a pyramid, compile + in the UCB universe even if you are running under the ATT universe + usually; it will work anyway, and you get job control for free. + +3) Look at config_f.h, and enable or disable any features you want. + It is configured the way I like it, but you may disagree. + +4) Look at host.defs to make sure that you have the right defines to set + the environment variables "HOSTTYPE", "MACHTYPE", "OSTYPE" and + "VENDOR" correctly. If you need to make changes, PLEASE SEND THEM + BACK TO ME. + +5) You may want to adjust the DESTBIN and DESTMAN entries in + the Makefile. These are the directories that tcsh, and the tcsh.1 + man entry will be placed in when you do a "make install" and "make + install.man" respectively. If you decide to install tcsh somewhere + other than in /usr/local/bin/tcsh, you should #define _PATH_TCSHELL + "/your/installation/directory/tcsh" in pathnames.h. + +6) make + +7) Read the documentation while you are waiting. The file tcsh.man + is in standard [nt]roff -man format. If you like, you can run the + tcsh.man2html script (requires Perl) to generate an HTML version of + the manpage which you can read with Mosaic, lynx or other HTML browser. + +8) Test tcsh by typing ./tcsh to see that it has compiled correctly. + The history command should give a time stamp on every entry. + Typing normal characters should echo each exactly once. Control-A + should put the cursor at the beginning of the input line, but after + the prompt. Typing characters after that should insert them into + the line. If you have job control make sure that stopping and + restarting jobs works. Make sure you can ^C in the middle of the + input line. Also make sure that pipelines work correctly and there + are no races. Try 'echo | cat | cat | cat | cat | more' a couple of + times. If you have job control, try this command in the background + and bring it in the foreground when it stops for tty output. Also + make sure that the ioctl() modes are preserved. Get into vi, enter + and exit input mode and suspend it, background it and foreground it + again. After all that, lastly make sure that the tty process group + manipulation is happening correctly. Try ftp to some host. If your + passwd appears on the screen, you have lost /dev/tty. Otherwise + everything is fine. + +9) Once satisfied that tcsh is working correctly, complete the installation + by typing "make install" to install the binary, and "make install.man" to + install the documentation. Don't forget to look at complete.tcsh for + useful completions... + +10) Enjoy. + +12) PLEASE file any bug reports (and fixes), code for new features at: + + http://bugs.gw.com/ + + Comments, questions, etc. (even flames) are welcome via email to: + + The tcsh bugs mailing list + tcsh-bugs@mx.gw.com + +Various: + +*************************************************************************** + +On sysv versions < 3.0 (not hpux) Doug Gwyn's public domain directory +manipulation library has to be installed. This library is available +for anonymous ftp from prep.ai.mit.edu:/pub/gnu/dirent.tar.Z +If the network is not installed, then there is a gethostname() +routine is tc.os.c + +*************************************************************************** + +On BSDreno, in ttyname() closedir() is called twice and so the same +pointer gets free'd twice. tcsh's malloc is picky and it prints an +error message to that effect. If you don't like the message: + +1. Apply the following patch: + +*** /usr/src/lib/libc/gen/ttyname.c.orig Fri Jun 1 17:17:15 1990 +--- /usr/src/lib/libc/gen/ttyname.c Tue Oct 29 16:33:12 1991 +*************** +*** 51,57 **** + if (stat(buf, &sb2) < 0 || sb1.st_dev != sb2.st_dev || + sb1.st_ino != sb2.st_ino) + continue; +- closedir(dp); + rval = buf; + break; + } +--- 51,56 ---- + +Or: Comment the error printing out in tc.alloc.c +Or: Compile -DSYSMALLOC + + +*************************************************************************** + +From: Scott Krotz + +Tcsh has been ported to minix by Scott Krotz (krotz@honey.rtsg.mot.com). +Unfortunately the minix sed is broken, so you'll have to find a way to +make tc.const.h, sh.err.h, ed.defns.h which are automatically generated. +The easiest way to create them is to make a copy from unix, copying +minix to config.h, and then 'make sh.err.h tc.const.h ed.defns.h' + +The OS/dependent files are in mi.termios.h, mi.wait.h, mi.varargs.h + +You will get some warnings, but dont worry about them, just ignore +them. After tcsh has compiled and the gcc binary is converted to a +minix binary, remember to chmem it to give it more memory - it will +need it! How much you need depends on how many aliases you have, etc.. +Add at least 50000 to it. + +One last thing. You might have to make some links for include files so +that they are in the directories that tcsh is expecting while compiling. +I forget if I had to do this or not, but it should be fairly easy to sort +out. If it cant find any include files this is probably the reason. + +If you have any problems, please tell me. I can be contacted through +e-mail at: + +krotz@honey.rtsg.mot.com + +I also read comp.os.minix on a regular basis, so a note there will get +my attention also. + +Have fun! + +ps. The termios functions are provided by Magnus Doell and Bruce Evans. + Thanks, guys! + + +From: Bob Byrnes + +This is for minix 1.5 (straight out of the box from P-H) plus the i386 +patches from Bruce Evans. + +I cross-compiled on a Sun using gcc 2.1 with a target of i386-bsd +(using the minix include files instead of the bsd versions), and then +linked the resulting object files with similarly compiled crtso.o and +libc.a on vax (little endian) using a hacked version of ld which I put +together to generate minix executables instead of bsd a.out format. +What a kludge ... + +I compiled with -O2 -Wall ... So far I haven't noticed any problems +with the optimizer. + +In case anyone is contemplating compiling tcsh with bcc (Bruce Evan's +i386 compiler that comes with the minix386 upgrade package), don't bother. +It is some serious bugs that kill tcsh when compiled for 16-bit characters. +I can provide more details of bugs that I noticed for brave souls who want +to try, but it would be hard (and why bother if you can get gcc?). + +I can make the binary available to anyone who wants it (for example people +who can't get access to a cross-compiling environment, and who don't yet +have gcc running under minix). + + +*************************************************************************** + +If your compiler cannot handle long symbol names, add + +#include "snames.h" + +to your config.h file + + -- Christos Zoulas + christos@zoulas.com + diff --git a/contrib/tcsh-6/complete.tcsh b/contrib/tcsh-6/complete.tcsh new file mode 100644 index 0000000000..42edcbd620 --- /dev/null +++ b/contrib/tcsh-6/complete.tcsh @@ -0,0 +1,1196 @@ +# +# $tcsh: complete.tcsh,v 1.47 2006/03/02 18:46:44 christos Exp $ +# example file using the new completion code +# +# Debian GNU/Linux +# /usr/share/doc/tcsh/examples/complete.gz +# +# This file may be read from user's ~/.cshrc or ~/.tcshrc file by +# decompressing it into the home directory as ~/.complete and +# then adding the line "source ~/.complete" and maybe defining +# some of the shell variables described below. +# +# Added two Debian-specific completions: dpkg and dpkg-deb (who +# wrote them?). Changed completions of several commands. The ones +# are evaluated if the `traditional_complete' shell variable is +# defined. +# +# Debian enhancements by Vadim Vygonets . +# Bugfixes and apt completions by Miklos Quartus . +# Cleanup by Martin A. Godisch . + +onintr - +if (! $?prompt) goto end + +if ($?tcsh) then + if ($tcsh != 1) then + set rev=$tcsh:r + set rel=$rev:e + set pat=$tcsh:e + set rev=$rev:r + endif + if ($rev > 5 && $rel > 1) then + set _complete=1 + endif + unset rev rel pat +endif + +if ($?_complete) then + set noglob + if ( ! $?hosts ) set hosts + foreach f ($HOME/.hosts /usr/local/etc/csh.hosts $HOME/.rhosts /etc/hosts.equiv) + if ( -r $f ) then + set hosts = ($hosts `grep -v "+" $f | grep -E -v "^#" | tr -s " " " " | cut -f 1`) + endif + end + if ( -r $HOME/.netrc ) then + set f=`awk '/machine/ { print $2 }' < $HOME/.netrc` >& /dev/null + set hosts=($hosts $f) + endif + if ( -r $HOME/.ssh/known_hosts ) then + set f=`cat $HOME/.ssh/known_hosts | cut -f 1 -d \ ` >& /dev/null + set f=`cat $HOME/.ssh/known_hosts | cut -f 1 -d \ | sed -e 's/,/ /g'` >& /dev/null + set hosts=($hosts $f) + endif + unset f + if ( ! $?hosts ) then + set hosts=(hyperion.ee.cornell.edu phaeton.ee.cornell.edu \ + guillemin.ee.cornell.edu vangogh.cs.berkeley.edu \ + ftp.uu.net prep.ai.mit.edu export.lcs.mit.edu \ + labrea.stanford.edu sumex-aim.stanford.edu \ + tut.cis.ohio-state.edu) + endif + + complete ywho n/*/\$hosts/ # argument from list in $hosts + complete rsh p/1/\$hosts/ c/-/"(l n)"/ n/-l/u/ N/-l/c/ n/-/c/ p/2/c/ p/*/f/ + complete ssh p/1/\$hosts/ c/-/"(l n)"/ n/-l/u/ N/-l/c/ n/-/c/ p/2/c/ p/*/f/ + complete xrsh p/1/\$hosts/ c/-/"(l 8 e)"/ n/-l/u/ N/-l/c/ n/-/c/ p/2/c/ p/*/f/ + complete rlogin p/1/\$hosts/ c/-/"(l 8 e)"/ n/-l/u/ + complete telnet p/1/\$hosts/ p/2/x:''/ n/*/n/ + + complete cd p/1/d/ # Directories only + complete chdir p/1/d/ + complete pushd p/1/d/ + complete popd p/1/d/ + complete pu p/1/d/ + complete po p/1/d/ + complete complete p/1/X/ # Completions only + complete uncomplete n/*/X/ + complete exec p/1/c/ # Commands only + complete trace p/1/c/ + complete strace p/1/c/ + complete which n/*/c/ + complete where n/*/c/ + complete skill p/1/c/ + complete dde p/1/c/ + complete adb c/-I/d/ n/-/c/ N/-/"(core)"/ p/1/c/ p/2/"(core)"/ + complete sdb p/1/c/ + complete dbx c/-I/d/ n/-/c/ N/-/"(core)"/ p/1/c/ p/2/"(core)"/ + complete xdb p/1/c/ + complete gdb n/-d/d/ n/*/c/ + complete ups p/1/c/ + complete set 'c/*=/f/' 'p/1/s/=' 'n/=/f/' + complete unset n/*/s/ + complete alias p/1/a/ # only aliases are valid + complete unalias n/*/a/ + complete xdvi n/*/f:*.dvi/ # Only files that match *.dvi + complete dvips n/*/f:*.dvi/ + if ($?traditional_complete) then + complete tex n/*/f:*.tex/ # Only files that match *.tex + else + complete tex n/*/f:*.{tex,texi}/ # Files that match *.tex and *.texi + endif + complete latex n/*/f:*.{tex,ltx}/ + complete su c/--/"(login fast preserve-environment command shell \ + help version)"/ c/-/"(f l m p c s -)"/ \ + n/{-c,--command}/c/ \ + n@{-s,--shell}@'`cat /etc/shells`'@ n/*/u/ + complete cc c/-[IL]/d/ \ + c@-l@'`\ls -1 /usr/lib/lib*.a | sed s%^.\*/lib%%\;s%\\.a\$%%`'@ \ + c/-/"(o l c g L I D U)"/ n/*/f:*.[coasi]/ + complete acc c/-[IL]/d/ \ + c@-l@'`\ls -1 /usr/lang/SC1.0/lib*.a | sed s%^.\*/lib%%\;s%\\.a\$%%`'@ \ + c/-/"(o l c g L I D U)"/ n/*/f:*.[coasi]/ + complete gcc c/-[IL]/d/ \ + c/-f/"(caller-saves cse-follow-jumps delayed-branch \ + elide-constructors expensive-optimizations \ + float-store force-addr force-mem inline \ + inline-functions keep-inline-functions \ + memoize-lookups no-default-inline \ + no-defer-pop no-function-cse omit-frame-pointer \ + rerun-cse-after-loop schedule-insns \ + schedule-insns2 strength-reduce \ + thread-jumps unroll-all-loops \ + unroll-loops syntax-only all-virtual \ + cond-mismatch dollars-in-identifiers \ + enum-int-equiv no-asm no-builtin \ + no-strict-prototype signed-bitfields \ + signed-char this-is-variable unsigned-bitfields \ + unsigned-char writable-strings call-saved-reg \ + call-used-reg fixed-reg no-common \ + no-gnu-binutils nonnull-objects \ + pcc-struct-return pic PIC shared-data \ + short-enums short-double volatile)"/ \ + c/-W/"(all aggregate-return cast-align cast-qual \ + comment conversion enum-clash error format \ + id-clash-len implicit missing-prototypes \ + no-parentheses pointer-arith return-type shadow \ + strict-prototypes switch uninitialized unused \ + write-strings)"/ \ + c/-m/"(68000 68020 68881 bitfield fpa nobitfield rtd \ + short c68000 c68020 soft-float g gnu unix fpu \ + no-epilogue)"/ \ + c/-d/"(D M N)"/ \ + c/-/"(f W vspec v vpath ansi traditional \ + traditional-cpp trigraphs pedantic x o l c g L \ + I D U O O2 C E H B b V M MD MM i dynamic \ + nodtdlib static nostdinc undef)"/ \ + c/-l/f:*.a/ \ + n/*/f:*.{c,C,cc,o,a,s,i}/ + complete g++ n/*/f:*.{C,cc,o,s,i}/ + complete CC n/*/f:*.{C,cc,cpp,o,s,i}/ + complete rm c/--/"(directory force interactive verbose \ + recursive help version)"/ c/-/"(d f i v r R -)"/ \ + n/*/f:^*.{c,cc,C,h,in}/ # Protect precious files + complete vi n/*/f:^*.[oa]/ + complete bindkey N/-a/b/ N/-c/c/ n/-[ascr]/'x:'/ \ + n/-[svedlr]/n/ c/-[vedl]/n/ c/-/"(a s k c v e d l r)"/\ + n/-k/"(left right up down)"/ p/2-/b/ \ + p/1/'x:'/ + + complete find n/-fstype/"(nfs 4.2)"/ n/-name/f/ \ + n/-type/"(c b d f p l s)"/ n/-user/u/ n/-group/g/ \ + n/-exec/c/ n/-ok/c/ n/-cpio/f/ n/-ncpio/f/ n/-newer/f/ \ + c/-/"(fstype name perm prune type user nouser \ + group nogroup size inum atime mtime ctime exec \ + ok print ls cpio ncpio newer xdev depth \ + daystart follow maxdepth mindepth noleaf version \ + anewer cnewer amin cmin mmin true false uid gid \ + ilname iname ipath iregex links lname empty path \ + regex used xtype fprint fprint0 fprintf \ + print0 printf not a and o or)"/ \ + n/*/d/ + + complete -%* c/%/j/ # fill in the jobs builtin + complete {fg,bg,stop} c/%/j/ p/1/"(%)"// + + complete limit c/-/"(h)"/ n/*/l/ + complete unlimit c/-/"(h)"/ n/*/l/ + + complete -co* p/0/"(compress)"/ # make compress completion + # not ambiguous + if ($?traditional_complete) then + complete zcat n/*/f:*.Z/ + else + # "zcat" may be linked to "compress" or "gzip" + if (-X zcat) then + zcat --version >& /dev/null + if ($status != 0) then + complete zcat n/*/f:*.Z/ + else + complete zcat c/--/"(force help license quiet version)"/ \ + c/-/"(f h L q V -)"/ n/*/f:*.{gz,Z,z,zip}/ + endif + endif + endif + + complete finger c/*@/\$hosts/ n/*/u/@ + complete ping p/1/\$hosts/ + complete traceroute p/1/\$hosts/ + + complete {talk,ntalk,phone} p/1/'`users | tr " " "\012" | uniq`'/ \ + n/*/\`who\ \|\ grep\ \$:1\ \|\ awk\ \'\{\ print\ \$2\ \}\'\`/ + + complete ftp c/-/"(d i g n v)"/ n/-/\$hosts/ p/1/\$hosts/ n/*/n/ + + # this one is simple... + #complete rcp c/*:/f/ C@[./\$~]*@f@ n/*/\$hosts/: + # From Michael Schroeder + # This one will rsh to the file to fetch the list of files! + complete rcp 'c%*@*:%`set q=$:-0;set q="$q:s/@/ /";set q="$q:s/:/ /";set q=($q " ");rsh $q[2] -l $q[1] ls -dp $q[3]\*`%' 'c%*:%`set q=$:-0;set q="$q:s/:/ /";set q=($q " ");rsh $q[1] ls -dp $q[2]\*`%' 'c%*@%$hosts%:' 'C@[./$~]*@f@' 'n/*/$hosts/:' + + complete dd c/--/"(help version)"/ c/[io]f=/f/ \ + c/conv=*,/"(ascii ebcdic ibm block unblock \ + lcase notrunc ucase swab noerror sync)"/,\ + c/conv=/"(ascii ebcdic ibm block unblock \ + lcase notrunc ucase swab noerror sync)"/,\ + c/*=/x:''/ \ + n/*/"(if of conv ibs obs bs cbs files skip file seek count)"/= + + complete nslookup p/1/x:''/ p/2/\$hosts/ + + complete ar c/[dmpqrtx]/"(c l o u v a b i)"/ p/1/"(d m p q r t x)"// \ + p/2/f:*.a/ p/*/f:*.o/ + + # these should be merged with the MH completion hacks below - jgotts + complete {refile,sprev,snext,scan,pick,rmm,inc,folder,show} \ + c@+@F:$HOME/Mail/@ + + # these and interrupt handling from Jaap Vermeulen + complete {rexec,rxexec,rxterm,rmterm} \ + 'p/1/$hosts/' 'c/-/(l L E)/' 'n/-l/u/' 'n/-L/f/' \ + 'n/-E/e/' 'n/*/c/' + complete kill 'c/-/S/' 'c/%/j/' \ + 'n/*/`ps -u $LOGNAME | awk '"'"'{print $1}'"'"'`/' + + # these from Marc Horowitz + complete attach 'n/-mountpoint/d/' 'n/-m/d/' 'n/-type/(afs nfs rvd ufs)/' \ + 'n/-t/(afs nfs rvd ufs)/' 'n/-user/u/' 'n/-U/u/' \ + 'c/-/(verbose quiet force printpath lookup debug map \ + nomap remap zephyr nozephyr readonly write \ + mountpoint noexplicit explicit type mountoptions \ + nosetuid setuid override skipfsck lock user host)/' \ + 'n/-e/f/' 'n/*/()/' + complete hesinfo 'p/1/u/' \ + 'p/2/(passwd group uid grplist pcap pobox cluster \ + filsys sloc service)/' + + # these from E. Jay Berkenbilt + # = isn't always followed by a filename or a path anymore - jgotts + if ($?traditional_complete) then + complete ./configure \ + 'c/--*=/f/' 'c/--{cache-file,prefix,exec-prefix,\ + bindir,sbindir,libexecdir,datadir,\ + sysconfdir,sharedstatedir,localstatedir,\ + libdir,includedir,oldincludedir,infodir,\ + mandir,srcdir}/(=)//' \ + 'c/--/(cache-file verbose prefix exec-prefix bindir \ + sbindir libexecdir datadir sysconfdir \ + sharedstatedir localstatedir libdir \ + includedir oldincludedir infodir mandir \ + srcdir)//' + else + complete ./configure \ + 'c@--{prefix,exec-prefix,bindir,sbindir,libexecdir,datadir,sysconfdir,sharedstatedir,localstatedir,infodir,mandir,srcdir,x-includes,x-libraries}=*@x:'@ \ + 'c/--cachefile=*/x:/' \ + 'c/--{enable,disable,with}-*/x://' \ + 'c/--*=/x://' \ + 'c/--/(prefix= exec-prefix= bindir= \ + sbindir= libexecdir= datadir= sysconfdir= \ + sharedstatedir= localstatedir= infodir= \ + mandir= srcdir= x-includes= x-libraries= cachefile= \ + enable- disable- with- \ + help no-create quiet silent version verbose )//' + endif + complete gs 'c/-sDEVICE=/(x11 cdjmono cdj550 epson eps9high epsonc \ + dfaxhigh dfaxlow laserjet ljet4 sparc pbm \ + pbmraw pgm pgmraw ppm ppmraw bit)/' \ + 'c/-sOutputFile=/f/' 'c/-s/(DEVICE OutputFile)/=' \ + 'c/-d/(NODISPLAY NOPLATFONTS NOPAUSE)/' 'n/*/f/' + complete perl 'n/-S/c/' + complete printenv 'n/*/e/' + complete sccs p/1/"(admin cdc check clean comb deledit delget \ + delta diffs edit enter fix get help info \ + print prs prt rmdel sccsdiff tell unedit \ + unget val what)"/ + complete setenv 'p/1/e/' 'c/*:/f/' + + # these and method of setting hosts from Kimmo Suominen + if ( -f $HOME/.mh_profile && -x "`which folders`" ) then + + if ( ! $?FOLDERS ) setenv FOLDERS "`folders -fast -recurse`" + if ( ! $?MHA ) setenv MHA "`ali | sed -e '/^ /d' -e 's/:.*//'`" + + set folders = ( $FOLDERS ) + set mha = ( $MHA ) + + complete ali \ + 'c/-/(alias nolist list nonormalize normalize nouser user help)/' \ + 'n,-alias,f,' + + complete anno \ + 'c/-/(component noinplace inplace nodate date text help)/' \ + 'c,+,$folders,' \ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete burst \ + 'c/-/(noinplace inplace noquiet quiet noverbose verbose help)/' \ + 'c,+,$folders,' \ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete comp \ + 'c/-/(draftfolder draftmessage nodraftfolder editor noedit file form nouse use whatnowproc nowhatnowproc help)/' \ + 'c,+,$folders,' \ + 'n,-whatnowproc,c,' \ + 'n,-file,f,'\ + 'n,-form,f,'\ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete dist \ + 'c/-/(noannotate annotate draftfolder draftmessage nodraftfolder editor noedit form noinplace inplace whatnowproc nowhatnowproc help)/' \ + 'c,+,$folders,' \ + 'n,-whatnowproc,c,' \ + 'n,-form,f,'\ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete folder \ + 'c/-/(all nofast fast noheader header nopack pack noverbose verbose norecurse recurse nototal total noprint print nolist list push pop help)/' \ + 'c,+,$folders,' \ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete folders \ + 'c/-/(all nofast fast noheader header nopack pack noverbose verbose norecurse recurse nototal total noprint print nolist list push pop help)/' \ + 'c,+,$folders,' \ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete forw \ + 'c/-/(noannotate annotate draftfolder draftmessage nodraftfolder editor noedit filter form noformat format noinplace inplace digest issue volume whatnowproc nowhatnowproc help)/' \ + 'c,+,$folders,' \ + 'n,-whatnowproc,c,' \ + 'n,-filter,f,'\ + 'n,-form,f,'\ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete inc \ + 'c/-/(audit file noaudit nochangecur changecur file form format nosilent silent notruncate truncate width help)/' \ + 'c,+,$folders,' \ + 'n,-audit,f,'\ + 'n,-form,f,' + + complete mark \ + 'c/-/(add delete list sequence nopublic public nozero zero help)/' \ + 'c,+,$folders,' \ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete mhmail \ + 'c/-/(body cc from subject help)/' \ + 'n,-cc,$mha,' \ + 'n,-from,$mha,' \ + 'n/*/$mha/' + + complete mhpath \ + 'c/-/(help)/' \ + 'c,+,$folders,' \ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete msgchk \ + 'c/-/(nodate date nonotify notify help)/' + + complete msh \ + 'c/-/(prompt noscan scan notopcur topcur help)/' + + complete next \ + 'c/-/(draft form moreproc nomoreproc length width showproc noshowproc header noheader help)/' \ + 'c,+,$folders,' \ + 'n,-moreproc,c,' \ + 'n,-showproc,c,' \ + 'n,-form,f,' + + complete packf \ + 'c/-/(file help)/' \ + 'c,+,$folders,' \ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete pick \ + 'c/-/(and or not lbrace rbrace cc date from search subject to othercomponent after before datefield sequence nopublic public nozero zero nolist list help)/' \ + 'c,+,$folders,' \ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete prev \ + 'c/-/(draft form moreproc nomoreproc length width showproc noshowproc header noheader help)/' \ + 'c,+,$folders,' \ + 'n,-moreproc,c,' \ + 'n,-showproc,c,' \ + 'n,-form,f,' + + complete prompter \ + 'c/-/(erase kill noprepend prepend norapid rapid nodoteof doteof help)/' + + complete refile \ + 'c/-/(draft nolink link nopreserve preserve src file help)/' \ + 'c,+,$folders,' \ + 'n,-file,f,'\ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete rmf \ + 'c/-/(nointeractive interactive help)/' \ + 'c,+,$folders,' + + complete rmm \ + 'c/-/(help)/' \ + 'c,+,$folders,' \ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete scan \ + 'c/-/(noclear clear form format noheader header width noreverse reverse file help)/' \ + 'c,+,$folders,' \ + 'n,-form,f,'\ + 'n,-file,f,'\ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete send \ + 'c/-/(alias draft draftfolder draftmessage nodraftfolder filter nofilter noformat format noforward forward nomsgid msgid nopush push noverbose verbose nowatch watch width help)/' \ + 'n,-alias,f,'\ + 'n,-filter,f,' + + complete show \ + 'c/-/(draft form moreproc nomoreproc length width showproc noshowproc header noheader help)/' \ + 'c,+,$folders,' \ + 'n,-moreproc,c,' \ + 'n,-showproc,c,' \ + 'n,-form,f,'\ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete sortm \ + 'c/-/(datefield textfield notextfield limit nolimit noverbose verbose help)/' \ + 'c,+,$folders,' \ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete vmh \ + 'c/-/(prompt vmhproc novmhproc help)/' \ + 'n,-vmhproc,c,' + + complete whatnow \ + 'c/-/(draftfolder draftmessage nodraftfolder editor noedit prompt help)/' + + complete whom \ + 'c/-/(alias nocheck check draft draftfolder draftmessage nodraftfolder help)/' \ + 'n,-alias,f,' + + complete plum \ + 'c/-/()/' \ + 'c,+,$folders,' \ + 'n,*,`(mark | sed "s/:.*//";echo next cur prev first last)|tr " " "\12" | sort -u`,' + + complete mail \ + 'c/-/()/' \ + 'n/*/$mha/' + + endif + + #from Dan Nicolaescu + if ( $?MODULESHOME ) then + alias Compl_module 'find ${MODULEPATH:as/:/ /} -name .version -o -name .modulea\* -prune -o -print | sed `echo "-e s@${MODULEPATH:as%:%/\*@@g -e s@%}/\*@@g"`' + complete module 'p%1%(add load unload switch display avail use unuse update purge list clear help initadd initrm initswitch initlist initclear)%' \ + 'n%{unl*,sw*,inits*}%`echo "$LOADEDMODULES:as/:/ /"`%' \ + 'n%{lo*,di*,he*,inita*,initr*}%`eval Compl_module`%' \ + 'N%{sw*,initsw*}%`eval Compl_module`%' 'C%-%(-append)%' 'n%{use,unu*,av*}%d%' 'n%-append%d%' \ + 'C%[^-]*%`eval Compl_module`%' + endif + + # from George Cox + complete acroread 'p/*/f:*.{pdf,PDF}/' + complete apachectl 'c/*/(start stop restart fullstatus status graceful \ + configtest help)/' + complete appletviewer 'p/*/f:*.class/' + complete bison 'c/--/(debug defines file-prefix= fixed-output-files \ + help name-prefix= no-lines no-parser output= \ + token-table verbose version yacc)/' \ + 'c/-/(b d h k l n o p t v y V)/' 'n/-b/f/' 'n/-o/f/' \ + 'n/-p/f/' + complete bzcat c/--/"(help test quiet verbose license version)"/ \ + c/-/"(h t L V -)"/ n/*/f:*.{bz2,tbz}/ + complete bunzip2 c/--/"(help keep force test stdout quiet verbose \ + license version)"/ c/-/"(h k f t c q v L V -)"/ \ + n/*/f:*.{bz2,tbz}/ + complete bzip2 c/--/"(help decompress compress keep force test \ + stdout quiet verbose license version small)"/ \ + c/-/"(h d z k f t c q v L V s 1 2 3 4 5 6 7 8 9 -)"/ \ + n/{-d,--decompress}/f:*.{bz2,tbz}/ \ + N/{-d,--decompress}/f:*.{bz2,tbz}/ n/*/f:^*.{bz2,tbz}/ + complete c++ 'p/*/f:*.{c++,cxx,c,cc,C,cpp}/' + complete co 'p@1@`\ls -1a RCS | sed -e "s/\(.*\),v/\1/"`@' + complete crontab 'n/-u/u/' + complete camcontrol 'p/1/(cmd debug defects devlist eject inquiry \ + modepage negotiate periphlist rescan reset start \ + stop tags tur)/' + complete ctlinnd 'p/1/(addhist allow begin cancel changegroup \ + checkfile drop feedinfo flush flushlogs go hangup \ + logmode mode name newgroup param pause readers refile \ + reject reload renumber reserve rmgroup send shutdown \ + kill throttle trace xabort xexec)/' + complete cvs 'c/--/(help help-commands help-synonyms)/' \ + 'p/1/(add admin annotate checkout commit diff \ + edit editors export history import init log login \ + logout rdiff release remove rtag status tag unedit \ + update watch watchers)/' 'n/-a/(edit unedit commit \ + all none)/' 'n/watch/(on off add remove)/' + complete cxx 'p/*/f:*.{c++,cxx,c,cc,C,cpp}/' + complete detex 'p/*/f:*.tex/' + complete edquota 'n/*/u/' + complete exec 'p/1/c/' + complete ghostview 'p/*/f:*.ps/' + complete gv 'p/*/f:*.ps/' + complete ifconfig 'p@1@`ifconfig -l`@' 'n/*/(range phase link netmask \ + mtu vlandev vlan metric mediaopt down delete \ + broadcast arp debug)/' + complete imake 'c/-I/d/' + complete ipfw 'p/1/(flush add delete list show zero)/' \ + 'n/add/(allow permit accept pass deny drop reject \ + reset count skipto num divert port tee port)/' + complete javac 'p/*/f:*.java/' + complete ldif2ldbm 'n/-i/f:*.ldif/' + complete libtool 'c/--mode=/(compile execute finish install link \ + uninstall)/' 'c/--/(config debug dry-run features \ + finish help quiet silent version mode=)/' + complete libtoolize 'c/--/(automake copy debug dry-run force help ltdl \ + ltdl-tar version)/' + complete links 'c/-/(assume-codepage async-dns download-dir \ + format-cache-size ftp-proxy help http-proxy \ + max-connections max-connections-to-host \ + memory-cache-size receive-timeout retries \ + unrestartable-receive-timeout version)/' + complete natd c/-/'(alias_address config deny_incoming dynamic \ + inport interface log log_denied log_facility \ + outport outport port pptpalias proxy_only \ + proxy_rule redirect_address redirect_port \ + reverse same_ports unregistered_only use_sockets \ + verbose)'/ 'n@-interface@`ifconfig -l`@' + complete netstat 'n@-I@`ifconfig -l`@' + complete objdump 'c/--/(adjust-vma= all-headers architecture= \ + archive-headers debugging demangle disassemble \ + disassemble-all disassemble-zeroes dynamic-reloc \ + dynamic-syms endian= file-headers full-contents \ + headers help info line-numbers no-show-raw-insn \ + prefix-addresses private-headers reloc section-headers \ + section=source stabs start-address= stop-address= \ + syms target= version wide)/' \ + 'c/-/(a h i f C d D p r R t T x s S l w)/' + complete xmodmap 'c/-/(display help grammar verbose quiet n e pm pk \ + pke pp)/' + complete lynx 'c/-/(accept_all_cookies anonymous assume_charset= \ + assume_local_charset= assume_unrec_charset= auth= base \ + book buried_news cache= case cfg= child cookie_file= \ + cookies core crawl debug_partial display= dump editor= \ + emacskeys enable_scrollback error_file= force_html \ + force_secure forms_options from ftp get_data head help \ + hiddenlinks= historical homepage= image_links index= \ + ismap link= localhost mime_header minimal \ + newschunksize= newsmaxchunk= nobrowse nocc nocolor \ + nofilereferer nolist nolog nopause noprint noredir \ + noreferer nostatus number_links partial partial_thres \ + pauth= popup post_data preparsed print pseudo_inlines \ + raw realm reload restrictions= resubmit_posts rlogin \ + selective show_cursor soft_dquotes source stack_dump \ + startfile_ok tagsoup telnet term= tlog trace traversal \ + underscore useragent= validate verbose version vikeys \ + width=)/' 'c/(http|ftp)/$URLS/' + complete gmake 'c/{--directory=,--include-dir=}/d/' \ + 'c/{--assume-new,--assume-old,--makefile,--new-file,--what-if,--file}/f/' \ + 'c/--/(assume-new= assume-old= debug directory= \ + dry-run environment-overrides file= help \ + ignore-errors include-dir= jobs[=N] just-print \ + keep-going load-average[=N] makefile= max-load[=N] \ + new-file= no-builtin-rules no-keep-going \ + no-print-directory old-file= print-data-base \ + print-directory question quiet recon silent stop \ + touch version warn-undefined-variables what-if=)/' \ + 'n@*@`cat -s GNUMakefile Makefile makefile |& sed -n -e "/No such file/d" -e "s/^\([A-Za-z0-9-]*\):.*/\1/p"`@' \ + 'n/=/f/' 'n/-f/f/' + complete mixer p/1/'(vol bass treble synth pcm speaker mic cd mix \ + pcm2 rec igain ogain line1 line2 line3)'/ \ + p@2@'`mixer $:-1 | awk \{\ print\ \$7\ \}`'@ + + complete mpg123 'c/--/(2to1 4to1 8bit aggressive au audiodevice \ + auth buffer cdr check doublespeed equalizer frames \ + gain halfspeed headphones left lineout list mix mono \ + proxy quiet random rate reopen resync right scale \ + shuffle single0 single1 skip speaker stdout stereo \ + test verbose wav)/' + complete mysqladmin 'n/*/(create drop extended-status flush-hosts \ + flush-logs flush-status flush-tables flush-privileges \ + kill password ping processlist reload refresh \ + shutdown status variables version)/' + complete mutt c@-f=@F:${HOME}/Mail/@ \ + n/-a/f/ \ + n/-F/f/ n/-H/f/ \ + n/-s/x:''/ \ + n/-e/x:''/ \ + n@-b@'`cat ${HOME}/.muttrc-alias | awk '"'"'{print $2 }'"'"\`@ \ + n@-c@'`cat ${HOME}/.muttrc-alias | awk '"'"'{print $2 }'"'"\`@ \ + n@*@'`cat ${HOME}/.muttrc-alias | awk '"'"'{print $2 }'"'"\`@ + complete ndc 'n/*/(status dumpdb reload stats trace notrace \ + querylog start stop restart )/' + if ($?traditional_complete) then + complete nm \ + 'c/--/(debug-syms defined-only demangle dynamic \ + extern-only format= help line-numbers no-demangle \ + no-sort numeric-sort portability print-armap \ + print-file-name reverse-sort size-sort undefined-only \ + version)/' 'p/*/f:^*.{h,C,c,cc}/' + else + complete nm \ + 'c/--radix=/x:/' \ + 'c/--target=/x:/' \ + 'c/--format=/(bsd sysv posix)/n/' \ + 'c/--/(debugsyms extern-only demangle dynamic print-armap \ + print-file-name numeric-sort no-sort reverse-sort \ + size-sort undefined-only portability target= radix= \ + format= defined-only\ line-numbers no-demangle version \ + help)//' \ + 'n/*/f:^*.{h,c,cc,s,S}/' + endif + complete nmap 'n@-e@`ifconfig -l`@' 'p/*/$hostnames/' + complete perldoc 'n@*@`\ls -1 /usr/libdata/perl/5.*/pod | sed s%\\.pod.\*\$%%`@' + complete postfix 'n/*/(start stop reload abort flush check)/' + complete postmap 'n/1/(hash: regexp:)' 'c/hash:/f/' 'c/regexp:/f/' + complete rcsdiff 'p@1@`\ls -1a RCS | sed -e "s/\(.*\),v/\1/"`@' + complete X 'c/-/(I a ac allowMouseOpenFail allowNonLocalModInDev \ + allowNonLocalXvidtune ar1 ar2 audit auth bestRefresh \ + bgamma bpp broadcast bs c cc class co core deferglyphs \ + disableModInDev disableVidMode displayID dpi dpms f fc \ + flipPixels fn fp gamma ggamma help indirect kb keeptty \ + ld lf logo ls nolisten string noloadxkb nolock nopn \ + once p pn port probeonly query quiet r rgamma s \ + showconfig sp su t terminate to tst v verbose version \ + weight wm x xkbdb xkbmap)/' + complete users 'c/--/(help version)/' 'p/1/x:""/' + complete vidcontrol 'p/1/(132x25 132x30 132x43 132x50 132x60 40x25 80x25 \ + 80x30 80x43 80x50 80x60 EGA_80x25 EGA_80x43 \ + VESA_132x25 VESA_132x30 VESA_132x43 VESA_132x50 \ + VESA_132x60 VESA_800x600 VGA_320x200 VGA_40x25 \ + VGA_80x25 VGA_80x30 VGA_80x50 VGA_80x60)/' + complete vim 'n/*/f:^*.[oa]/' + complete where 'n/*/c/' + complete which 'n/*/c/' + complete wmsetbg 'c/-/(display D S a b c d e m p s t u w)/' \ + 'c/--/(back-color center colors dither help match \ + maxscale parse scale smooth tile update-domain \ + update-wmaker version workspace)/' + complete xdb 'p/1/c/' + complete xdvi 'c/-/(allowshell debug display expert gamma hushchars \ + hushchecksums hushspecials install interpreter keep \ + margins nogrey noinstall nomakepk noscan paper safer \ + shrinkbuttonn thorough topmargin underlink version)/' \ + 'n/-paper/(a4 a4r a5 a5r)/' 'p/*/f:*.dvi/' + complete xlock 'c/-/(allowaccess allowroot debug description \ + echokeys enablesaver grabmouse grabserver hide inroot \ + install inwindow mono mousemotion nolock remote \ + resetsaver sound timeelapsed use3d usefirst verbose \ + wireframe background batchcount bg bitmap both3d \ + count cycles delay delta3d display dpmsoff \ + dpmsstandby dpmssuspend endCmd erasedelay erasemode \ + erasetime fg font foreground geometry help \ + icongeometry info invalid left3d lockdelay logoutCmd \ + mailCmd mailIcon message messagefile messagefont \ + messagesfile mode name ncolors nice nomailIcon none3d \ + parent password planfont program resources right3d \ + saturation size startCmd timeout username validate \ + version visual)/' 'n/-mode/(ant atlantis ball bat \ + blot bouboule bounce braid bubble bubble3d bug cage \ + cartoon clock coral crystal daisy dclock decay deco \ + demon dilemma discrete drift eyes fadeplot flag flame \ + flow forest galaxy gears goop grav helix hop hyper \ + ico ifs image invert julia kaleid kumppa lament laser \ + life life1d life3d lightning lisa lissie loop lyapunov \ + mandelbrot marquee matrix maze moebius morph3d \ + mountain munch nose pacman penrose petal pipes puzzle \ + pyro qix roll rotor rubik shape sierpinski slip sphere \ + spiral spline sproingies stairs star starfish strange \ + superquadrics swarm swirl tetris thornbird triangle \ + tube turtle vines voters wator wire world worm xjack \ + blank bomb random)/' + complete xfig 'c/-/(display)/' 'p/*/f:*.fig/' + complete wget c/--/"(accept= append-output= background cache= \ + continue convert-links cut-dirs= debug \ + delete-after directory-prefix= domains= \ + dont-remove-listing dot-style= exclude-directories= \ + exclude-domains= execute= follow-ftp \ + force-directories force-html glob= header= help \ + http-passwd= http-user= ignore-length \ + include-directories= input-file= level= mirror \ + no-clobber no-directories no-host-directories \ + no-host-lookup no-parent non-verbose \ + output-document= output-file= passive-ftp \ + proxy-passwd= proxy-user= proxy= quiet quota= \ + recursive reject= relative retr-symlinks save-headers \ + server-response span-hosts spider timeout= \ + timestamping tries= user-agent= verbose version wait=)"/ + + # these from Tom Warzeka + + # this one works but is slow and doesn't descend into subdirectories + # complete cd C@[./\$~]*@d@ \ + # p@1@'`\ls -1F . $cdpath | grep /\$ | sort -u`'@ n@*@n@ + + if ( -r /etc/shells ) then + complete setenv p@1@e@ n@DISPLAY@\$hosts@: n@SHELL@'`cat /etc/shells`'@ + else + complete setenv p@1@e@ n@DISPLAY@\$hosts@: + endif + complete unsetenv n/*/e/ + + set _maildir = /var/mail + if (-r $HOME/.mailrc) then + complete mail c/-/"(e i f n s u v)"/ c/*@/\$hosts/ \ + c@+@F:$HOME/Mail@ C@[./\$~]@f@ n/-s/x:''/ \ + n@-u@T:$_maildir@ n/-f/f/ \ + n@*@'`sed -n s/alias//p $HOME/.mailrc | tr -s " " " " | cut -f 2`'@ + else + complete mail c/-/"(e i f n s u v)"/ c/*@/\$hosts/ \ + c@+@F:$HOME/Mail@ C@[./\$~]@f@ n/-s/x:''/ \ + n@-u@T:$_maildir@ n/-f/f/ n/*/u/ + endif + unset _maildir + + if (! $?MANPATH) then + if (-r /usr/share/man) then + setenv MANPATH /usr/share/man: + else + setenv MANPATH /usr/man: + endif + endif + + if ($?traditional_complete) then + # use of $MANPATH from Dan Nicolaescu + # use of 'find' adapted from Lubomir Host + complete man \ + 'n@1@`set q = "$MANPATH:as%:%/man1 %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.1.\*\$%%`@'\ + 'n@2@`set q = "$MANPATH:as%:%/man2 %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.2.\*\$%%`@'\ + 'n@3@`set q = "$MANPATH:as%:%/man3 %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.3.\*\$%%`@'\ + 'n@4@`set q = "$MANPATH:as%:%/man4 %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.4.\*\$%%`@'\ + 'n@5@`set q = "$MANPATH:as%:%/man5 %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.5.\*\$%%`@'\ + 'n@6@`set q = "$MANPATH:as%:%/man6 %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.6.\*\$%%`@'\ + 'n@7@`set q = "$MANPATH:as%:%/man7 %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.7.\*\$%%`@'\ + 'n@8@`set q = "$MANPATH:as%:%/man8 %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.8.\*\$%%`@'\ + 'n@9@`set q = "$MANPATH:as%:%/man9 %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.9.\*\$%%`@'\ + 'n@0@`set q = "$MANPATH:as%:%/man0 %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.0.\*\$%%`@'\ + 'n@n@`set q = "$MANPATH:as%:%/mann %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.n.\*\$%%`@'\ + 'n@o@`set q = "$MANPATH:as%:%/mano %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.o.\*\$%%`@'\ + 'n@l@`set q = "$MANPATH:as%:%/manl %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.l.\*\$%%`@'\ + 'n@p@`set q = "$MANPATH:as%:%/manp %" ; \ls -1 $q |& sed -e s%^.\*:.\*\$%% -e s%\\.p.\*\$%%`@'\ + c@-@"(- f k M P s S t)"@ n@-f@c@ n@-k@x:''@ n@-[MP]@d@ \ + 'N@-[MP]@`\ls -1 $:-1/man? |& sed -n s%\\..\\+\$%%p`@' \ + 'n@-[sS]@`\ls -1 $MANPATH:as%:% % |& sed -n s%^man%%p | sort -u`@'\ + 'n@*@`find $MANPATH:as%:% % \( -type f -o -type l \) -printf "%f " |& sed -e "s%find: .*: No such file or directory%%" -e "s%\([^\.]\+\)\.\([^ ]*\) %\1 %g"`@' + #n@*@c@ # old way -- commands only + else + complete man n@1@'`\ls -1 /usr/man/man1 | sed s%\\.1.\*\$%%`'@ \ + n@2@'`\ls -1 /usr/man/man2 | sed s%\\.2.\*\$%%`'@ \ + n@3@'`\ls -1 /usr/man/man3 | sed s%\\.3.\*\$%%`'@ \ + n@4@'`\ls -1 /usr/man/man4 | sed s%\\.4.\*\$%%`'@ \ + n@5@'`\ls -1 /usr/man/man5 | sed s%\\.5.\*\$%%`'@ \ + n@6@'`\ls -1 /usr/man/man6 | sed s%\\.6.\*\$%%`'@ \ + n@7@'`\ls -1 /usr/man/man7 | sed s%\\.7.\*\$%%`'@ \ + n@8@'`\ls -1 /usr/man/man8 | sed s%\\.8.\*\$%%`'@ \ + n@9@'`[ -r /usr/man/man9 ] && \ls -1 /usr/man/man9 | sed s%\\.9.\*\$%%`'@ \ + n@0@'`[ -r /usr/man/man0 ] && \ls -1 /usr/man/man0 | sed s%\\.0.\*\$%%`'@ \ + n@new@'`[ -r /usr/man/mann ] && \ls -1 /usr/man/mann | sed s%\\.n.\*\$%%`'@ \ + n@old@'`[ -r /usr/man/mano ] && \ls -1 /usr/man/mano | sed s%\\.o.\*\$%%`'@ \ +n@local@'`[ -r /usr/man/manl ] && \ls -1 /usr/man/manl | sed s%\\.l.\*\$%%`'@ \ +n@public@'`[ -r /usr/man/manp ]&& \ls -1 /usr/man/manp | sed s%\\.p.\*\$%%`'@ \ + c/-/"(- f k P s t)"/ n/-f/c/ n/-k/x:''/ n/-P/d/ \ + N@-P@'`\ls -1 $:-1/man? | sed s%\\..\*\$%%`'@ n/*/c/ + endif + + complete ps c/-t/x:''/ c/-/"(a c C e g k l S t u v w x)"/ \ + n/-k/x:''/ N/-k/x:''/ n/*/x:''/ + complete compress c/-/"(c f v b)"/ n/-b/x:''/ n/*/f:^*.Z/ + complete uncompress c/-/"(c f v)"/ n/*/f:*.Z/ + + complete uuencode p/1/f/ p/2/x:''/ n/*/n/ + complete uudecode c/-/"(f)"/ n/-f/f:*.{uu,UU}/ p/1/f:*.{uu,UU}/ n/*/n/ + + complete xhost c/[+-]/\$hosts/ n/*/\$hosts/ + complete xpdf c/-/"(z g remote raise quit cmap rgb papercolor \ + eucjp t1lib freetype ps paperw paperh level1 \ + upw fullscreen cmd q v h help)"/ \ + n/-z/x:''/ \ + n/-g/x:''/ n/-remote/x:''/ \ + n/-rgb/x:''/ n/-papercolor/x:''/ \ + n/-{t1lib,freetype}/x:''/ \ + n/-ps/x:''/ n/-paperw/x:''/ \ + n/-paperh/x:''/ n/-upw/x:''/ \ + n/-/f:*.{pdf,PDF}/ \ + N/-{z,g,remote,rgb,papercolor,t1lib,freetype,ps,paperw,paperh,upw}/f:*.{pdf,PDF}/ \ + N/-/x:''/ p/1/f:*.{pdf,PDF}/ p/2/x:''/ + + complete tcsh c/-D*=/'x:'/ c/-D/'x:'/ \ + c/-/"(b c d D e f F i l m n q s t v V x X -version)"/ \ + n/-c/c/ n/{-l,--version}/n/ n/*/'f:*.{,t}csh'/ + + complete rpm c/--/"(query verify nodeps nofiles nomd5 noscripts \ + nogpg nopgp install upgrade freshen erase allmatches \ + notriggers repackage test rebuild recompile initdb \ + rebuilddb addsign resign querytags showrc setperms \ + setugids all file group package querybynumber qf \ + triggeredby whatprovides whatrequires changelog \ + configfiles docfiles dump filesbypkg info last list \ + provides queryformat requires scripts state triggers \ + triggerscripts allfiles badreloc excludepath checksig \ + excludedocs force hash ignoresize ignorearch ignoreos \ + includedocs justdb noorder oldpackage percent prefix \ + relocate replace-files replacepkgs buildroot clean \ + nobuild rmsource rmspec short-circuit sign target \ + help version quiet rcfile pipe dbpath root specfile)"/\ + c/-/"(q V K i U F e ba bb bp bc bi bl bs ta tb tp tc \ + ti tl ts a f g p c d l R s h ? v vv -)"/ \ + n/{-f,--file}/f/ n/{-g,--group}/g/ n/--pipe/c/ n/--dbpath/d/ \ + n/--querybynumber/x:''/ n/--triggeredby/x:''/\ + n/--what{provides,requires}/x:''/ n/--root/d/ \ + n/--{qf,queryformat}/x:''/ n/--buildroot/d/ \ + n/--excludepath/x:''/ n/--prefix/x:''/ \ + n/--relocate/x:''/ n/--target/x:''/\ + n/--rcfile/x:''/ n/--specfile/x:''/ \ + n/{-[iUFep],--{install,upgrade,freshen,erase,package}}/f:*.rpm/ + + # these conform to the latest GNU versions available at press time ... + # updates by John Gotts + if (-X emacs) then + # TW note: if your version of GNU Emacs supports the "--version" option, + # uncomment this line and comment the next to automatically + # detect the version, else set "_emacs_ver" to your version. + #set _emacs_ver=`emacs --version | sed -e 's%GNU Emacs %%' -e q | cut -d . -f1-2` + set _emacs_ver=21.3 + set _emacs_dir=`which emacs | sed s%/bin/emacs%%` + complete emacs c/--/"(batch terminal display no-windows no-init-file \ + user debug-init unibyte multibyte version help \ + no-site-file funcall load eval insert kill)"/ \ + c/-/"(t d nw q u f l -)"/ c/+/x:''/ \ + n/{-t,--terminal}/x:''/ n/{-d,--display}/x:''/ \ + n/{-u,--user}/u/ n/{-f,--funcall}/x:''/ \ + n@{-l,--load}@F:$_emacs_dir/share/emacs/$_emacs_ver/lisp@ \ + n/--eval/x:''/ n/--insert/f/ n/*/f:^*[\#~]/ + unset _emacs_ver _emacs_dir + endif + + complete gzcat c/--/"(force help license quiet version)"/ \ + c/-/"(f h L q V -)"/ n/*/f:*.{gz,Z,z,zip}/ + complete gzip c/--/"(stdout to-stdout decompress uncompress \ + force help list license no-name quiet recurse \ + suffix test verbose version fast best)"/ \ + c/-/"(c d f h l L n q r S t v V 1 2 3 4 5 6 7 8 9 -)"/\ + n/{-S,--suffix}/x:''/ \ + n/{-d,--{de,un}compress}/f:*.{gz,Z,z,zip,taz,tgz}/ \ + N/{-d,--{de,un}compress}/f:*.{gz,Z,z,zip,taz,tgz}/ \ + n/*/f:^*.{gz,Z,z,zip,taz,tgz}/ + complete {gunzip,ungzip} c/--/"(stdout to-stdout force help list license \ + no-name quiet recurse suffix test verbose version)"/ \ + c/-/"(c f h l L n q r S t v V -)"/ \ + n/{-S,--suffix}/x:''/ \ + n/*/f:*.{gz,Z,z,zip,taz,tgz}/ + complete zgrep c/-*A/x:'<#_lines_after>'/ c/-*B/x:'<#_lines_before>'/\ + c/-/"(A b B c C e f h i l n s v V w x)"/ \ + p/1/x:''/ N/-*e/f/ \ + n/-*e/x:''/ n/-*f/f/ n/*/f/ + complete zegrep c/-*A/x:'<#_lines_after>'/ c/-*B/x:'<#_lines_before>'/\ + c/-/"(A b B c C e f h i l n s v V w x)"/ \ + p/1/x:''/ N/-*e/f/ \ + n/-*e/x:''/ n/-*f/f/ n/*/f/ + complete zfgrep c/-*A/x:'<#_lines_after>'/ c/-*B/x:'<#_lines_before>'/\ + c/-/"(A b B c C e f h i l n s v V w x)"/ \ + p/1/x:''/ N/-*e/f/ \ + n/-*e/x:''/ n/-*f/f/ n/*/f/ + complete znew c/-/"(f t v 9 P K)"/ n/*/f:*.Z/ + complete zmore n/*/f:*.{gz,Z,z,zip}/ + complete zfile n/*/f:*.{gz,Z,z,zip,taz,tgz}/ + complete ztouch n/*/f:*.{gz,Z,z,zip,taz,tgz}/ + complete zforce n/*/f:^*.{gz,tgz}/ + + complete dcop 'p/1/`$:0`/ /' \ + 'p/2/`$:0 $:1 | awk \{print\ \$1\}`/ /' \ + 'p/3/`$:0 $:1 $:2 | sed "s%.* \(.*\)(.*%\1%"`/ /' + + + complete grep c/-*A/x:'<#_lines_after>'/ c/-*B/x:'<#_lines_before>'/\ + c/--/"(extended-regexp fixed-regexp basic-regexp \ + regexp file ignore-case word-regexp line-regexp \ + no-messages revert-match version help byte-offset \ + line-number with-filename no-filename quiet silent \ + text directories recursive files-without-match \ + files-with-matches count before-context after-context \ + context binary unix-byte-offsets)"/ \ + c/-/"(A a B b C c d E e F f G H h i L l n q r s U u V \ + v w x)"/ \ + p/1/x:''/ N/-*e/f/ \ + n/-*e/x:''/ n/-*f/f/ n/*/f/ + complete egrep c/-*A/x:'<#_lines_after>'/ c/-*B/x:'<#_lines_before>'/\ + c/--/"(extended-regexp fixed-regexp basic-regexp \ + regexp file ignore-case word-regexp line-regexp \ + no-messages revert-match version help byte-offset \ + line-number with-filename no-filename quiet silent \ + text directories recursive files-without-match \ + files-with-matches count before-context after-context \ + context binary unix-byte-offsets)"/ \ + c/-/"(A a B b C c d E e F f G H h i L l n q r s U u V \ + v w x)"/ \ + p/1/x:''/ N/-*e/f/ \ + n/-*e/x:''/ n/-*f/f/ n/*/f/ + complete fgrep c/-*A/x:'<#_lines_after>'/ c/-*B/x:'<#_lines_before>'/\ + c/--/"(extended-regexp fixed-regexp basic-regexp \ + regexp file ignore-case word-regexp line-regexp \ + no-messages revert-match version help byte-offset \ + line-number with-filename no-filename quiet silent \ + text directories recursive files-without-match \ + files-with-matches count before-context after-context \ + context binary unix-byte-offsets)"/ \ + c/-/"(A a B b C c d E e F f G H h i L l n q r s U u V \ + v w x)"/ \ + p/1/x:''/ N/-*e/f/ \ + n/-*e/x:''/ n/-*f/f/ n/*/f/ + + complete sed c/--/"(quiet silent version help expression file)"/ \ + c/-/"(n V e f -)"/ n/{-e,--expression}/x:'