Jump to content
IGNORED

Getting a more involving, analogue CA system: It starts on the command-line


Recommended Posts

Yeah, and the effect would be much more convincing if the login shell was csh.

 

I have this prompt in my ~/.bashrc file for C shell nostalgia reasons:

 

PS1='\h \u \!% '

 

Giving a prompt with a retro '%' like this:

 

x220 rdale 308%

System (i): Stack Audio Link > Denafrips Iris 12th/Ares 12th-1; Gyrodec/SME V/Hana SL/EAT E-Glo Petit/Magnum Dynalab FT101A) > PrimaLuna Evo 100 amp > Klipsch RP-600M/REL T5x subs

System (ii): Allo USB Signature > Bel Canto uLink+AQVOX psu > Chord Hugo > APPJ EL34 > Tandy LX5/REL Tzero v3 subs

System (iii) KEF LS50W/KEF R400b subs

System (iv) Technics 1210GR > Leak 230 > Tannoy Cheviot

Link to comment

I've actually known a few people who prefer to write shell scripts with it. I understand why people might use it for a command-line experience, but to use it for shell programming??? It doesn't even have functions.

 

I think there used to be some huge bugs in csh, that prompted adoption of tcsh.

Link to comment
I've actually known a few people who prefer to write shell scripts with it. I understand why people might use it for a command-line experience, but to use it for shell programming??? It doesn't even have functions.

 

I think there used to be some huge bugs in csh, that prompted adoption of tcsh.

That rings a bell now that you mention it. Can't remember the details.

 

POSIX shell can be quite annoying too. Ever tried writing a recursive function without local variables? Turns out it's possible through creative use of 'eval' but it ain't pretty.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...