Options for csh shell


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Options for csh shell
# 1  
Old 05-21-2002
Question Options for csh shell

Hello,

It's possible to change/put some options of the C-shell, like bold-text, date, etc?

I can't found a web site that have a explanation.

Thanks.
# 2  
Old 05-22-2002
luiz,

What you want to make?


witt
witt
# 3  
Old 05-22-2002
Witt,

I want to change the prompt colors or change the fonts to bold, just as we can do with BASH in Linux.

Thanks
# 4  
Old 05-22-2002
Complementing ...

I want to use the command "set prompt=..."
# 5  
Old 05-22-2002
Sorry, I have no idea what we can do to solve this...

somebody knows?


witt
witt
# 6  
Old 05-22-2002
I'm not sure, but i think that csh is the same as tcsh in freebsd, in such case, try man tcsh, you'll find some useful information regarding this problem there. If you're running linux, csh is a symlink to bash. I this case you have to customize bash.
# 7  
Old 05-23-2002
Quote:
If you're running linux, csh is a symlink to bash
Huh? What Linux variant are you using?
Bash is a superset of sh - csh is typically linked to tcsh on every Linux system I've ever used...

Code:
$ cd /bin; ls -li *sh|sort
 652806 lrwxrwxrwx   1 root     root            4 Apr  5  2001 sh -> bash*
 652807 -rwxr-xr-x   1 root     bin        477692 Mar 21  2000 bash*
 652860 -rwxr-xr-x   1 root     bin        306453 Apr  7  2000 tcsh*
 652861 lrwxrwxrwx   1 root     root            4 Apr  5  2001 csh -> tcsh*
 652879 -rwxr-xr-x   1 root     bin         59628 Aug  3  1999 ash*
 652882 -rwxr-xr-x   1 root     bin        338536 Jun 14  2000 zsh*
 653126 -rwxr-xr-x   1 root     root           30 Oct  4  2001 rbash*
$ uname
Linux

 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Pass C shell array to another C shell script(csh) and shell(sh)

Dear Friends, Please help me on this my script name is send.csh In this i have written the statement like this set args = ( city state country price ) I want to pass this array to another c shell called receiver.csh. and i want to use it in this c shell or how to pass to... (2 Replies)
Discussion started by: SA_Palani
2 Replies

2. Shell Programming and Scripting

Regarding c-shell (csh) scripting

Hi, I'm reading a csh setup script, and came across these lines: ################################ if (! $?PROJECT_ROOT) then setenv PROJECT_ROOT /proj/proj_123 endif ################################ Does the if endif command means, "if there is no variable named "PROJECT_ROOT",... (3 Replies)
Discussion started by: mar85
3 Replies

3. Shell Programming and Scripting

Write a shell script with options

Hi All I am little bit confused to write a script. This script needs the options like unix commands i.e. –S to start process. –C to check process. -u : user -p : password like. script should run like this ./script.sh -u username -p ***** -S processname there may... (5 Replies)
Discussion started by: atul9806
5 Replies

4. Shell Programming and Scripting

shell script options

one thing i was trying to figure out is if you can give people the option to choose what they want to do in a shell script. for example, let's just say that you have a simple shell script to install a couple of programs, can you make it to where you can press a certain key to install a certain... (1 Reply)
Discussion started by: hotshot247
1 Replies

5. Shell Programming and Scripting

Filenames in CSH shell

Hi, I am running into a bit of a problem. I am trying to write a script that will run an interactive (fortran) program repeatedly to dump data across 36 data channels... anyway. I have gotten this far... #!/bin/csh set i=0 while ($i<2) fitsfilter $1<<EOF $i 0 9 1 1 g 2 1250 -100... (5 Replies)
Discussion started by: madtowneast
5 Replies

6. Shell Programming and Scripting

Shell script to invoke options automatically

i have a script which has 2 options. a b And a has 6 sub options. i want to write a script which will call the parent script and give options automatically. examle: linasplg11:/opt/ss/kk/01.00/bin # startup.sh /opt/ss/rdm/01.00 Please select the component to... (2 Replies)
Discussion started by: Aditya.Gurgaon
2 Replies

7. Shell Programming and Scripting

Adding options to a shell script

I want to add options to my shell script but having problems, my code so far is; #!/bin/bash lflag= iflag= while getopts 'l:i:' OPTION do case $OPTION in l) lflag=1 lval="$OPTARG" ;;... (1 Reply)
Discussion started by: paulobrad
1 Replies

8. Shell Programming and Scripting

different shell csh bash

I'm always having to work in the cshell, but occasionally want to run a command using bash. is that possible? I know I could write a shell script and call bash at the begining with #!/usr/bin/bash and then my command, is there another way? (1 Reply)
Discussion started by: ajp7701
1 Replies

9. Shell Programming and Scripting

Adding -options to shell scripts

I'm sure this is something simple I am overlooking somehow. I'd like the ability to pass -options into my shell scripts. For example my file called "input.sh" I can do the following: root# ./input.sh 1 and it will result: root#./input.sh 1 You passed me a 1 Just like an init script, etc.... (4 Replies)
Discussion started by: sysera
4 Replies
Login or Register to Ask a Question