Delay for tcsh scriptsFlexible vector construction in tcshNo csh or tcsh?Ubuntu 14.04 and tcshSourcing a sh file is illegal in tcshHow do I turn off autolist in tcsh terminalexporting an environment variable from a bash script to a tcsh shellRemove an initial part of a string in tcshtcsh and bashrc conflictWhat is the analog of '$()' in tcsh?wget in shell script using a pattern
Are there mythical creatures in the world of Game of Thrones?
Working in the USA for living expenses only; allowed on VWP?
What's the most polite way to tell a manager "shut up and let me work"?
The qvolume of an integer
Why is Colorado so different politically from nearby states?
Slide Partition from Rowstore to Columnstore
Is it possible to kill all life on Earth?
Is the world in Game of Thrones spherical or flat?
Have powerful mythological heroes ever run away or been deeply afraid?
If a problem only occurs randomly once in every N times on average, how many tests do I have to perform to be certain that it's now fixed?
Does Peach's float negate shorthop knockback multipliers?
Estimate related to the Möbius function
Setting extra bits in a bool makes it true and false at the same time
Is there a term for this?
Asking bank to reduce APR instead of increasing credit limit
Singlequote and backslash
What caused the tendency for conservatives to not support climate change regulations?
Why use water tanks from a retired Space Shuttle?
How to detach yourself from a character you're going to kill?
Bringing Food from Hometown for Out-of-Town Interview?
Looking after a wayward brother in mother's will
Solving symbolic equation for fraction of variables
Relativistic resistance transformation
What does it mean by "d-ism of Leibniz" and "dotage of Newton" in simple English?
Delay for tcsh scripts
Flexible vector construction in tcshNo csh or tcsh?Ubuntu 14.04 and tcshSourcing a sh file is illegal in tcshHow do I turn off autolist in tcsh terminalexporting an environment variable from a bash script to a tcsh shellRemove an initial part of a string in tcshtcsh and bashrc conflictWhat is the analog of '$()' in tcsh?wget in shell script using a pattern
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm running Ubuntu 18.04. My login shell is tcsh. Whenever I run
a script in this shell, there is about a half-second delay before
it executes. Suppose I make an empty file, tmp, in my home
directory, and make it executable (other scripts are similar).
If I enter "tmp" or "./tmp" or "/bin/tcsh tmp" or "/bin/tcsh
./tmp" or "/usr/bin/tcsh tmp", I get the delay. But if I enter
"/bin/bash tmp" or "source tmp" I don't. Making the file tmp
with only the line "#!/bin/tcsh" doesn't change anything.
But if tmp consists of the line "#!/bin/bash", then I don't
get the delay, even if I run "/bin/tcsh tmp". There must be a
simple solution, but I cannot, for the life of me, figure it out.
Any help appreciated.
tcsh
add a comment |
I'm running Ubuntu 18.04. My login shell is tcsh. Whenever I run
a script in this shell, there is about a half-second delay before
it executes. Suppose I make an empty file, tmp, in my home
directory, and make it executable (other scripts are similar).
If I enter "tmp" or "./tmp" or "/bin/tcsh tmp" or "/bin/tcsh
./tmp" or "/usr/bin/tcsh tmp", I get the delay. But if I enter
"/bin/bash tmp" or "source tmp" I don't. Making the file tmp
with only the line "#!/bin/tcsh" doesn't change anything.
But if tmp consists of the line "#!/bin/bash", then I don't
get the delay, even if I run "/bin/tcsh tmp". There must be a
simple solution, but I cannot, for the life of me, figure it out.
Any help appreciated.
tcsh
1
What's in/etc/csh.cshrc
and~/.tcshrc
or~/.cshrc
?
– waltinator
Apr 14 at 19:35
There is no file ~/.trcshrc, and ~/.cshrc contains about 10 aliases (Ls, Cp, etc), and some setting of the variable PATH. The file /etc/csh.cshrc is copied below: # /etc/csh.cshrc: system-wide .cshrc file for csh(1) and tcsh(1) if ($?tcsh && $?prompt) then bindkey "e[1~" beginning-of-line # Home bindkey "e[7~" beginning-of-line # Home rxvt bindkey "e[2~" overwrite-mode # Ins bindkey "e[3~" delete-char # Delete bindkey "e[4~" end-of-line # End bindkey "e[8~" end-of-line # End rxvt set autoexpand set autolist set prompt = " " endif
– Geroch
Apr 14 at 19:41
Ahhhh . . . if I move .cshrc to x.cshrc (to tcsh doesn't find it), then all the delays disappear! So, it is something in that file. I can now go through, removing stuff, until I find out what it is. Thanks, waltinator. I knew it had to be simple! :)
– Geroch
Apr 14 at 19:48
add a comment |
I'm running Ubuntu 18.04. My login shell is tcsh. Whenever I run
a script in this shell, there is about a half-second delay before
it executes. Suppose I make an empty file, tmp, in my home
directory, and make it executable (other scripts are similar).
If I enter "tmp" or "./tmp" or "/bin/tcsh tmp" or "/bin/tcsh
./tmp" or "/usr/bin/tcsh tmp", I get the delay. But if I enter
"/bin/bash tmp" or "source tmp" I don't. Making the file tmp
with only the line "#!/bin/tcsh" doesn't change anything.
But if tmp consists of the line "#!/bin/bash", then I don't
get the delay, even if I run "/bin/tcsh tmp". There must be a
simple solution, but I cannot, for the life of me, figure it out.
Any help appreciated.
tcsh
I'm running Ubuntu 18.04. My login shell is tcsh. Whenever I run
a script in this shell, there is about a half-second delay before
it executes. Suppose I make an empty file, tmp, in my home
directory, and make it executable (other scripts are similar).
If I enter "tmp" or "./tmp" or "/bin/tcsh tmp" or "/bin/tcsh
./tmp" or "/usr/bin/tcsh tmp", I get the delay. But if I enter
"/bin/bash tmp" or "source tmp" I don't. Making the file tmp
with only the line "#!/bin/tcsh" doesn't change anything.
But if tmp consists of the line "#!/bin/bash", then I don't
get the delay, even if I run "/bin/tcsh tmp". There must be a
simple solution, but I cannot, for the life of me, figure it out.
Any help appreciated.
tcsh
tcsh
asked Apr 14 at 18:14
GerochGeroch
1
1
1
What's in/etc/csh.cshrc
and~/.tcshrc
or~/.cshrc
?
– waltinator
Apr 14 at 19:35
There is no file ~/.trcshrc, and ~/.cshrc contains about 10 aliases (Ls, Cp, etc), and some setting of the variable PATH. The file /etc/csh.cshrc is copied below: # /etc/csh.cshrc: system-wide .cshrc file for csh(1) and tcsh(1) if ($?tcsh && $?prompt) then bindkey "e[1~" beginning-of-line # Home bindkey "e[7~" beginning-of-line # Home rxvt bindkey "e[2~" overwrite-mode # Ins bindkey "e[3~" delete-char # Delete bindkey "e[4~" end-of-line # End bindkey "e[8~" end-of-line # End rxvt set autoexpand set autolist set prompt = " " endif
– Geroch
Apr 14 at 19:41
Ahhhh . . . if I move .cshrc to x.cshrc (to tcsh doesn't find it), then all the delays disappear! So, it is something in that file. I can now go through, removing stuff, until I find out what it is. Thanks, waltinator. I knew it had to be simple! :)
– Geroch
Apr 14 at 19:48
add a comment |
1
What's in/etc/csh.cshrc
and~/.tcshrc
or~/.cshrc
?
– waltinator
Apr 14 at 19:35
There is no file ~/.trcshrc, and ~/.cshrc contains about 10 aliases (Ls, Cp, etc), and some setting of the variable PATH. The file /etc/csh.cshrc is copied below: # /etc/csh.cshrc: system-wide .cshrc file for csh(1) and tcsh(1) if ($?tcsh && $?prompt) then bindkey "e[1~" beginning-of-line # Home bindkey "e[7~" beginning-of-line # Home rxvt bindkey "e[2~" overwrite-mode # Ins bindkey "e[3~" delete-char # Delete bindkey "e[4~" end-of-line # End bindkey "e[8~" end-of-line # End rxvt set autoexpand set autolist set prompt = " " endif
– Geroch
Apr 14 at 19:41
Ahhhh . . . if I move .cshrc to x.cshrc (to tcsh doesn't find it), then all the delays disappear! So, it is something in that file. I can now go through, removing stuff, until I find out what it is. Thanks, waltinator. I knew it had to be simple! :)
– Geroch
Apr 14 at 19:48
1
1
What's in
/etc/csh.cshrc
and ~/.tcshrc
or ~/.cshrc
?– waltinator
Apr 14 at 19:35
What's in
/etc/csh.cshrc
and ~/.tcshrc
or ~/.cshrc
?– waltinator
Apr 14 at 19:35
There is no file ~/.trcshrc, and ~/.cshrc contains about 10 aliases (Ls, Cp, etc), and some setting of the variable PATH. The file /etc/csh.cshrc is copied below: # /etc/csh.cshrc: system-wide .cshrc file for csh(1) and tcsh(1) if ($?tcsh && $?prompt) then bindkey "e[1~" beginning-of-line # Home bindkey "e[7~" beginning-of-line # Home rxvt bindkey "e[2~" overwrite-mode # Ins bindkey "e[3~" delete-char # Delete bindkey "e[4~" end-of-line # End bindkey "e[8~" end-of-line # End rxvt set autoexpand set autolist set prompt = " " endif
– Geroch
Apr 14 at 19:41
There is no file ~/.trcshrc, and ~/.cshrc contains about 10 aliases (Ls, Cp, etc), and some setting of the variable PATH. The file /etc/csh.cshrc is copied below: # /etc/csh.cshrc: system-wide .cshrc file for csh(1) and tcsh(1) if ($?tcsh && $?prompt) then bindkey "e[1~" beginning-of-line # Home bindkey "e[7~" beginning-of-line # Home rxvt bindkey "e[2~" overwrite-mode # Ins bindkey "e[3~" delete-char # Delete bindkey "e[4~" end-of-line # End bindkey "e[8~" end-of-line # End rxvt set autoexpand set autolist set prompt = " " endif
– Geroch
Apr 14 at 19:41
Ahhhh . . . if I move .cshrc to x.cshrc (to tcsh doesn't find it), then all the delays disappear! So, it is something in that file. I can now go through, removing stuff, until I find out what it is. Thanks, waltinator. I knew it had to be simple! :)
– Geroch
Apr 14 at 19:48
Ahhhh . . . if I move .cshrc to x.cshrc (to tcsh doesn't find it), then all the delays disappear! So, it is something in that file. I can now go through, removing stuff, until I find out what it is. Thanks, waltinator. I knew it had to be simple! :)
– Geroch
Apr 14 at 19:48
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133871%2fdelay-for-tcsh-scripts%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133871%2fdelay-for-tcsh-scripts%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What's in
/etc/csh.cshrc
and~/.tcshrc
or~/.cshrc
?– waltinator
Apr 14 at 19:35
There is no file ~/.trcshrc, and ~/.cshrc contains about 10 aliases (Ls, Cp, etc), and some setting of the variable PATH. The file /etc/csh.cshrc is copied below: # /etc/csh.cshrc: system-wide .cshrc file for csh(1) and tcsh(1) if ($?tcsh && $?prompt) then bindkey "e[1~" beginning-of-line # Home bindkey "e[7~" beginning-of-line # Home rxvt bindkey "e[2~" overwrite-mode # Ins bindkey "e[3~" delete-char # Delete bindkey "e[4~" end-of-line # End bindkey "e[8~" end-of-line # End rxvt set autoexpand set autolist set prompt = " " endif
– Geroch
Apr 14 at 19:41
Ahhhh . . . if I move .cshrc to x.cshrc (to tcsh doesn't find it), then all the delays disappear! So, it is something in that file. I can now go through, removing stuff, until I find out what it is. Thanks, waltinator. I knew it had to be simple! :)
– Geroch
Apr 14 at 19:48