Quizzer
view release on metacpan or search on metacpan
exercises/compile-tcsh/tcsh-6.10.00/FAQ view on Meta::CPAN
8. Where do I get the public domain directory library?
Anonymous ftp to prep.ai.mit.edu:/pub/gnu/dirent.tar.Z
9. I compiled tcsh using gcc, and when I start up it says:
tcsh: Warning no access to tty (Invalid Argument).
Thus no job control in this shell
Your <sys/ioctl.h> file is not ansi compliant. You have one of 3 choices:
a. Run fixincludes from the gcc distribution.
b. Add -traditional to the gcc flags.
c. Compile with cc.
10. I compiled tcsh with the SunOS unbundled compiler and now things
get echo'ed twice.
It is a bug in the unbundled optimizer. Lower the optimization level.
11. How can I use the arrow keys with hpterm?
Hp terminals use the arrow keys internally. You can tell hpterm not
to do that, by sending it the termcap sequence smkx. Since this
has to be done all the time, the easiest thing is to put it as an
alias for precmd, or inside the prompt:
if ($term == "hp") then
set prompt="%{`echotc smkx`%}$prompt"
endif
Note that by doing that you cannot use pgup and pgdn to scroll...
Also if you are using termcap, replace "smkx" with "ks"...
12. On POSIX machines ^C and ^Z will do not work when tcsh is a login
shell?
Make sure that the interrupt character is set to ^C and suspend
is set to ^Z; 'stty -a' will show you the current stty settings;
'stty intr ^C susp ^Z' will set them to ^C and ^Z respectively.
13. I am trying to compile tcsh and I am getting compile errors that
look like:
>sh.c:???: `STR???' undeclared, outside of functions [gcc]
or
>"sh.c", line ???: STR??? undefined [cc]
You interrupted make, while it was making the automatically
generated headers. Type 'make clean; make'
14. On the cray, sometimes the CR/LF mapping gets screwed up.
You are probably logged in to the cray via telnet. Cray's
telnetd implements line mode selection the telnet client
you are using does not implement telnet line mode.
This cause the Cray's telnetd to try to use KLUDGELINEMODE.
You can turn off telnet line mode from the cray side by
doing a "stty -extproc", or you can get the Cray AIC to build
a telnetd without KLUDGELINEMODE, or you can compile
a new telnet client (from the BSD net2 tape), or at least
on the suns use: 'mode character'.
15. On AU/X, I made tcsh my startup shell, but the mac desktop is not
starting up (no X11 or Finder), and I only get console emulation.
This is another manifestation of item 5. Just add the pathname
to tcsh in /etc/shells and everything should work fine.
16. On machines that use YP (NIS) tilde expansion might end up in /dev/null
If this happens complain to your vendor, to get a new version of NIS.
You can fix that in tcsh by defining YPBUGS in config.h
17. Script on SGI 4.0.5 does not give us a tty, so we cannot have job
control. Their csh does not have job control either. Try:
% script
% cat > /dev/tty
18. I start tcsh and it takes a couple of minutes to get the prompt.
You have defined REMOTEHOST and your DNS is not responding. Either
undefine REMOTEHOST and recompile or fix your DNS.
19. If you need help generating your .cshrc file, check out:
http://www.imada.ou.dk/~blackie/dotfile/
20. On POSIX systems the kernel will send hup signals to all the processes
in the foreground process group if 'stty hupcl' is set. For example
./tcsh
echo $$
591
./tcsh
kill -6 591
Will kill everything, since hup will be sent to all tcsh processes.
To avoid that you can set stty -hupcl, but it is not recommended.
21. When I rsh the meta key stops working on the remote machine.
Try using rsh -8; this option is undocumented on some systems,
but it works. If that does not work, get and use ssh/sshd. You'll
be better off from a security point of view anyway.
22. Tcsh compiled under hp/ux-10.x does not pass resource limits correctly
when ran on hp/ux-11.x systems. This is a problem with lack of ABI
compatibility between the two systems. The only solution is to recompile.
christos
Everything else is a bug :-(
( run in 1.571 second using v1.01-cache-2.11-cpan-364913b4093 )