WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCSH Shell  (Read 2972 times)

Offline mocallins

  • Newbie
  • *
  • Posts: 11
TCSH Shell
« on: November 08, 2020, 03:18:06 PM »
Any chance we can reincorporate TCSH shell in the current distro's
I'm a huge fan of tcsh, and found the files from back in release 2.0

Got it to work, except in TinyCore64   :(


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15319
Re: TCSH Shell
« Reply #1 on: November 09, 2020, 04:53:06 AM »
tcsh added to CorePure64-11.x repo

You'll need to pm Core tcsh extension maintainer @hiro and request it to be recompiled against ncursesw - see: http://tinycorelinux.net/11.x/x86_64/tcz/src/tcsh/compile_tcsh

Offline mocallins

  • Newbie
  • *
  • Posts: 11
Re: TCSH Shell
« Reply #2 on: November 11, 2020, 05:04:57 PM »
A bit of a typo here, but i sorta guessed it out, lol

Code: [Select]
LIBS="-lncursesw" CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure -prefix=/usr/local --localstatedir=/var
Compiled, installed, and is running for me.
Thanks

    [EDIT]: Added code tags.  Rich
« Last Edit: November 11, 2020, 05:10:40 PM by Rich »

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12312
Re: TCSH Shell
« Reply #3 on: November 11, 2020, 05:12:52 PM »
Hi mocallins
Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:

Quote
[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]

It will appear like this in your post:
Code: [Select]
[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly.

Offline gadget42

  • Hero Member
  • *****
  • Posts: 987
Re: TCSH Shell
« Reply #4 on: Today at 02:34:33 AM »
i came across this previous forum post(snippet quoted below):
...
1. Never ever use a bash header for portable shell scripts without explicit bashisms.

2. Never ever use #!/usr/local/bin/bash as header for bash scripts, but always #!/usr/bin/env bash.
which led to several search results, and this was just one:
https://stackoverflow.com/questions/10591086/shell-script-headers-bin-sh-vs-bin-csh

which referenced this written by Bruce Barnett regarding the C and TCSH shells:
https://www.grymoire.com/Unix/CshTop10.txt

and Bruce references Tom Christiansen's essay about the C shell:
http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/

interesting reading when you've got the time(and/or the interest of course)
** WARNING: connection is not using a post-quantum kex exchange algorithm.
** This session may be vulnerable to "store now, decrypt later" attacks.
** The server may need to be upgraded. See https://openssh.com/pq.html
** Also see: post quantum internet 2025 - https://blog.cloudflare.com/pq-2025/

Offline gadget42

  • Hero Member
  • *****
  • Posts: 987
Re: TCSH Shell
« Reply #5 on: Today at 03:23:30 AM »
more Tom Christiansen about perl gotchas:

https://www.perl.com/doc/FMTEYEWTK/versus/perl.html/

edited to add: yes, i know the provided/referenced commentaries are _old_ nevertheless they are interesting and thought-provoking(to some, not all...granted)
« Last Edit: Today at 03:26:21 AM by gadget42 »
** WARNING: connection is not using a post-quantum kex exchange algorithm.
** This session may be vulnerable to "store now, decrypt later" attacks.
** The server may need to be upgraded. See https://openssh.com/pq.html
** Also see: post quantum internet 2025 - https://blog.cloudflare.com/pq-2025/