Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Мазмұны
Кіріспе
Unix shell tcsh (/tiːˈsiːʃ/ “tee see shell”, /tiːʃ/ “tee shell”, немесе “tee see ess aitch”, tcsh) – C shell (csh) негізінде құрылған және оған кері үйлесімді Unix shell.
Unix shell based on and compatible with the C shell
tcsh (,/t//iː/'/s//iː//ʃ//ɛ//l/ “tee see shell”, '/t//iː//ʃ//ɛ//l/ “tee shell”, or as “tee see ess aitch”, tcsh) is a Unix shell based on and backward compatible with the C shell (csh).
Қабықша
Бұл негізінен C қабықшасы, бағдарламаланатын командалық жолды толықтыру, командалық жолды өңдеу және басқа да бірнеше мүмкіндіктері бар. Басқа кең таралған қабықшалардан айырмашылығы, tcsh скриптінде функцияларды анықтау мүмкін емес, пайдаланушы псевдонимдерді (csh-тегідей) пайдалануы керек. Бұл кейбір BSD негізделген жүйелер үшін, соның ішінде FreeBSD 13 және одан бұрынғылары үшін түбірлік қабықша болып табылады. (FreeBSD 14 әдепкі root қабығын sh деп өзгертіп, әдепкі пайдаланушы қабығымен үйлесімді етті, ал OpenBSD root және қалыпты пайдаланушылар үшін Korn қабығы ksh-ты пайдаланады.) tcsh файл атауын және команданы толықтыру, сондай-ақ TENEX операциялық жүйесінен алынған командалық жолды өңдеу мүмкіндіктерін қосты, осы жүйе "t" әрпінің бастапқы көзі болып табылады. Ол тек жаңа мүмкіндіктерді қосып, ескі функционалдықты өзгертпегендіктен, tcsh бастапқы C қабықшасымен кері үйлесімділігін сақтап қалды. Бұл бастапқыда Bill Joy жасаған csh бастапқы кодын тармақтап өскенмен, қазір tcsh дамудың негізгі тармағы болып табылады. tcsh өте тұрақты, бірақ жаңа нұсқалары жылына шамамен бір рет шығады, көбінесе ұсақ қателерді жоюға арналған. macOS және Red Hat Linux сияқты көптеген жүйелерде csh іс жүзінде tcsh болып табылады. Көбінесе екі файлдың бірі екіншісіне сілтеме болып табылады (қатты немесе символдық сілтеме), сондықтан екі атаудың бірі де C қабықшасының жетілдірілген нұсқасына сілтеме жасайды (бірақ қолданылған атауға байланысты мінез-құлқы өзгеруі мүмкін). Debian және оның туындыларында (Ubuntu сияқты) екі түрлі пакет бар: csh және tcsh. Біріншісі csh-тің бастапқы BSD нұсқасына, ал екіншісі tcsh-тің жетілдірілген нұсқасына негізделген.
It is essentially the C shell with programmable command line completion, command line editing, and a few other features. Unlike the other common shells, functions cannot be defined in a tcsh script and the user must use aliases instead (as in csh). It is the native root shell for some BSD based systems, including FreeBSD 13 and earlier. (FreeBSD 14 changed the default root shell to sh to match the default user shell whereas OpenBSD uses the Korn shell ksh for both root and regular users.) tcsh added filename and command completion and command line editing concepts borrowed from the TENEX operating system, which is the source of the “t”. Because it only added functionality and did not change what was there, tcsh remained backward compatible with the original C shell. Though it started as a side branch from the original csh source tree that Bill Joy had created, tcsh is now the main branch for ongoing development. tcsh is very stable but new releases continue to appear roughly once a year, consisting mostly of minor bug fixes. On many systems, such as macOS and Red Hat Linux, csh is actually tcsh. Often one of the two files is either a hard link or a symbolic link to the other, so that either name refers to the same improved version of the C shell (although behavior may be altered depending on which name is used). On Debian and some derivatives (including Ubuntu), there are two different packages: csh and tcsh. The former is based on the original BSD version of csh and the latter is the improved tcsh.
Тарих
tcsh-дегі "t" әрпі TENEX операциялық жүйесіндегі "T" әрпінен алынған, бұл жүйе tcsh авторы Кен Грирді командаларды автоматты түрде толықтыру мүмкіндігімен шабыттандырды. Грир 1975 жылдың қыркүйегінде Tenex стиліндегі файл атауларын толықтыруды іске асыру үшін бағдарламалық кодын жазуға кірісті және 1981 жылдың желтоқсанында оны C қабығына қосты. Сондай-ақ, DragonFly BSD және DesktopBSD сияқты одан тараған жүйелерге де әсер етті.
The “t” in tcsh comes from the “T” in TENEX, an operating system which inspired Ken Greer at Carnegie Mellon University, the author of tcsh, with its command completion feature. Greer began working on his code to implement Tenex style file name completion in September 1975, finally merging it into the C shell in December 1981. and its descendants like DragonFly BSD and DesktopBSD.