Jump to content
IGNORED

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


wgscott
 Share

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/MoOde > 2Qute+MCRU psu; Gyrodec/SME V/Ortofon 2M Black/EAT E-Glo Petit/Magnum Dynalab FT101A) > Glow Amp One > Klipsch RP-600M

System (ii): iUSB3.0 Nano/Allo USB Signature/MoOde > Bel Canto uLink+AQVOX psu > Chord Hugo > (Tandy LX5; JBL LSR305 ; Audeze LCD-3)

Link to comment
Share on other sites

tcsh at least isn't as big a mess as csh.

 

Here is my prompt, fwiw:

 

zsh-%

Tcsh is basically csh with command line editing and history. Makes it somewhat palatable for interactive use but it still sucks.

Link to comment
Share on other sites

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
Share on other sites

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
Share on other sites

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
 Share



×
×
  • Create New...