tcsh is a Unix command shell based on the C shell (csh)

learn more… | top users | synonyms

1
vote
5answers
5k views

linux text editor for windows

can somebody recommend a good Linux text editor for Windows (if it exists), I wrote scripts for C-Shell using txt editor of windows but I have problem, it doesn't run because windows is not UNIX, what ...
1
vote
0answers
147 views

Why my $PATH is not inhereted by the invocked bash? [closed]

I work on an AIX system where I have no administrator privileges. It has several shells installed, default being tcsh. I am not allowed to change the login shell. Usualy I start my session from exec ...
2
votes
0answers
83 views

Something is changing the OSX default shell to tcsh

On one of the mac machines I'm somewhat responsible for (Snow Leopard), something periodically changes the default login shell from bash to tcsh. This seems like it's probably suspicious, but not ...
2
votes
2answers
393 views

How to get linux to stop asking “There are # rows, list them anyway? [n/y]” for auto-completing

How do I get tcsh to stop asking if I want to list files in a directory that may have a lot of auto-completes? For example, if I do: xemacs ../"TAB" to get the list of files it asks: There are ...
4
votes
2answers
1k views

Setting up tab-completion of paths in bash or zsh to resemble tcsh

I’m a long time tcsh user, but all the cool kids seem to be using either bash or zsh nowadays (that is, completion patterns for git or stuff are available for bash and zsh, rarely for tcsh). My ...
2
votes
2answers
6k views

c shell environment variable error: “Bad : modifier in $”

I am using tcsh and define an environmental variable as follows: setenv mycomp myusername@my.computer.com so that when I need to copy files from the remote my.computer.com, I type the following: ...
1
vote
1answer
523 views

command limits when pasting into tcsh (mac OS X)

I encountered a 1024 character limit problem when pasting commands into the terminal application (max OS X 10.5.8) running the TC shell (/bin/tcsh). This can consistently be reproduced by pasting the ...
0
votes
2answers
1k views

How do I set an environment variable in tcsh that dynamically references other env vars?

I'm using tcsh here, and am trying to get an environment variable that references another one dynamically... I want to be able to do the following, and I'm sure I've seen it done before elsewhere: $ ...
2
votes
1answer
868 views

How to set PATH to run programs outside of default path?

I'm working on a project on my school's linux servers. I have a program deep in a directory, we'll say it's ...
1
vote
1answer
873 views

In tcsh, how do I disable spelling correction of my command?

Recently, when we updated our OS, we got a new tcsh feature enabled by default. Whenever I type a command that tcsh doesn't recognize, I get an annoying spelling correction like: % cats ...
0
votes
3answers
1k views

run tcsh but bash started instead

I tried to start a tcsh on my Fedora 7 (default shell is bash) [ss@ssvm ~]$ tcsh [ss@ssvm ~]$ echo $SHELL /bin/bash As you see, another bash shell started. I looked at the tcsh file: [ss@ssvm ~]$ ...
4
votes
1answer
4k views

In tcsh, how can I fork multiple shell commands, wait until they all complete, and then do another command?

I want to do the following from the tcsh command line, preferably in 1 line: build_cmd1 & build_cmd2 & build_cmd3 & wait until all parallel build commands finish regression_cmd That is, ...
2
votes
1answer
3k views

cshell for windows

Where can I find cshell for windows xp?
0
votes
1answer
408 views

tcsh `cd` always issues a printout of `$PWD`. How do I disable this?

Someone in IT thought it would be a good idea to modify the default behavior of the command cd in our tcsh environment. As of Monday the "upgraded" version of cd always prints out $PWD after it ...
1
vote
4answers
2k views

Using regular expressions and tail to execute a command

Similar to this question, in Linux tcsh I want to tail a log file and when I match a regular expression I want to execute an arbitrary command. How can I do this?
3
votes
1answer
467 views

In tcsh, how can I silence the output of an already running background process?

If I've launched a job into the background how can I redirect its output to /dev/null or in some way silence its output? I didn't start the job like: CMD >& /dev/null & I started it ...
-1
votes
3answers
252 views

what does tail + number does? What about head

I just called this command ls -l | tail +3. Firstly, ls -s, produces 3 lines, adding piping strips first line and then prints each file names on a separate line. How does it do that? It doesn't make ...
1
vote
1answer
192 views

history file grows indefinitely

I believe I get the same problem as this guy. I'm on AIX, with tcsh 6.12.00 After (probably) a bad logout, the history file exponentially grown, until the quota stopped it (and when the quota was ...
0
votes
3answers
3k views

Space in Directory Path in $path Variable in Linux

I am using Red Hat Enterprise 5.3, and I'm trying to add a directory to my $path variable, but it has spaces in it. The $path variable is space delimited, so how do I differentiate a space in a ...
5
votes
2answers
4k views

After-the-fact remote nohup with tcsh

I have a tcsh instance in an xterm that is running a long-term (weeks?) process. The Xvnc server it's running under went out in the weeds; it's consuming 100% CPU and is unresponsive. (This is a ...