head	1.1;
branch	1.1.1;
access;
symbols
	RELENG_8_4:1.1.1.4.0.50
	RELENG_9_1_0_RELEASE:1.1.1.4
	RELENG_9_1:1.1.1.4.0.48
	RELENG_9_1_BP:1.1.1.4
	RELENG_8_3_0_RELEASE:1.1.1.4
	RELENG_8_3:1.1.1.4.0.46
	RELENG_8_3_BP:1.1.1.4
	RELENG_9_0_0_RELEASE:1.1.1.4
	RELENG_9_0:1.1.1.4.0.44
	RELENG_9_0_BP:1.1.1.4
	RELENG_9:1.1.1.4.0.42
	RELENG_9_BP:1.1.1.4
	RELENG_7_4_0_RELEASE:1.1.1.4
	RELENG_8_2_0_RELEASE:1.1.1.4
	RELENG_7_4:1.1.1.4.0.40
	RELENG_7_4_BP:1.1.1.4
	RELENG_8_2:1.1.1.4.0.38
	RELENG_8_2_BP:1.1.1.4
	RELENG_8_1_0_RELEASE:1.1.1.4
	RELENG_8_1:1.1.1.4.0.36
	RELENG_8_1_BP:1.1.1.4
	RELENG_7_3_0_RELEASE:1.1.1.4
	RELENG_7_3:1.1.1.4.0.34
	RELENG_7_3_BP:1.1.1.4
	RELENG_8_0_0_RELEASE:1.1.1.4
	RELENG_8_0:1.1.1.4.0.32
	RELENG_8_0_BP:1.1.1.4
	RELENG_8:1.1.1.4.0.30
	RELENG_8_BP:1.1.1.4
	RELENG_7_2_0_RELEASE:1.1.1.4
	RELENG_7_2:1.1.1.4.0.28
	RELENG_7_2_BP:1.1.1.4
	RELENG_7_1_0_RELEASE:1.1.1.4
	RELENG_6_4_0_RELEASE:1.1.1.4
	RELENG_7_1:1.1.1.4.0.26
	RELENG_7_1_BP:1.1.1.4
	RELENG_6_4:1.1.1.4.0.24
	RELENG_6_4_BP:1.1.1.4
	tcsh_6_15b:1.1.1.4
	RELENG_7_0_0_RELEASE:1.1.1.4
	RELENG_6_3_0_RELEASE:1.1.1.4
	RELENG_7_0:1.1.1.4.0.22
	RELENG_7_0_BP:1.1.1.4
	RELENG_6_3:1.1.1.4.0.20
	RELENG_6_3_BP:1.1.1.4
	tcsh_6_15a:1.1.1.4
	RELENG_7:1.1.1.4.0.18
	RELENG_7_BP:1.1.1.4
	tcsh_6_15:1.1.1.4
	RELENG_6_2_0_RELEASE:1.1.1.4
	RELENG_6_2:1.1.1.4.0.16
	RELENG_6_2_BP:1.1.1.4
	RELENG_5_5_0_RELEASE:1.1.1.4
	RELENG_5_5:1.1.1.4.0.14
	RELENG_5_5_BP:1.1.1.4
	RELENG_6_1_0_RELEASE:1.1.1.4
	RELENG_6_1:1.1.1.4.0.12
	RELENG_6_1_BP:1.1.1.4
	RELENG_6_0_0_RELEASE:1.1.1.4
	RELENG_6_0:1.1.1.4.0.10
	RELENG_6_0_BP:1.1.1.4
	RELENG_6:1.1.1.4.0.8
	RELENG_6_BP:1.1.1.4
	RELENG_5_4_0_RELEASE:1.1.1.4
	tcsh_6_14:1.1.1.4
	RELENG_5_4:1.1.1.4.0.6
	RELENG_5_4_BP:1.1.1.4
	RELENG_4_11_0_RELEASE:1.1.1.1.2.3
	RELENG_4_11:1.1.1.1.2.3.0.14
	RELENG_4_11_BP:1.1.1.1.2.3
	RELENG_5_3_0_RELEASE:1.1.1.4
	RELENG_5_3:1.1.1.4.0.4
	RELENG_5_3_BP:1.1.1.4
	RELENG_5:1.1.1.4.0.2
	RELENG_5_BP:1.1.1.4
	tcsh_6_13:1.1.1.4
	RELENG_4_10_0_RELEASE:1.1.1.1.2.3
	RELENG_4_10:1.1.1.1.2.3.0.12
	RELENG_4_10_BP:1.1.1.1.2.3
	RELENG_5_2_1_RELEASE:1.1.1.3
	RELENG_5_2_0_RELEASE:1.1.1.3
	RELENG_5_2:1.1.1.3.0.6
	RELENG_5_2_BP:1.1.1.3
	RELENG_4_9_0_RELEASE:1.1.1.1.2.3
	RELENG_4_9:1.1.1.1.2.3.0.10
	RELENG_4_9_BP:1.1.1.1.2.3
	RELENG_5_1_0_RELEASE:1.1.1.3
	RELENG_5_1:1.1.1.3.0.4
	RELENG_5_1_BP:1.1.1.3
	RELENG_4_8_0_RELEASE:1.1.1.1.2.3
	RELENG_4_8:1.1.1.1.2.3.0.8
	RELENG_4_8_BP:1.1.1.1.2.3
	RELENG_5_0_0_RELEASE:1.1.1.3
	RELENG_5_0:1.1.1.3.0.2
	RELENG_5_0_BP:1.1.1.3
	RELENG_4_7_0_RELEASE:1.1.1.1.2.3
	RELENG_4_7:1.1.1.1.2.3.0.6
	RELENG_4_7_BP:1.1.1.1.2.3
	RELENG_4_6_2_RELEASE:1.1.1.1.2.3
	tcsh_6_12:1.1.1.3
	RELENG_4_6_1_RELEASE:1.1.1.1.2.3
	RELENG_4_6_0_RELEASE:1.1.1.1.2.3
	RELENG_4_6:1.1.1.1.2.3.0.4
	RELENG_4_6_BP:1.1.1.1.2.3
	RELENG_4_5_0_RELEASE:1.1.1.1.2.3
	RELENG_4_5:1.1.1.1.2.3.0.2
	RELENG_4_5_BP:1.1.1.1.2.3
	RELENG_4_4_0_RELEASE:1.1.1.1.2.2
	RELENG_4_4:1.1.1.1.2.2.0.4
	RELENG_4_4_BP:1.1.1.1.2.2
	tcsh_6_11:1.1.1.3
	RELENG_4_3_0_RELEASE:1.1.1.1.2.2
	RELENG_4_3:1.1.1.1.2.2.0.2
	RELENG_4_3_BP:1.1.1.1.2.2
	tcsh_6_10:1.1.1.2
	RELENG_4_2_0_RELEASE:1.1.1.1.2.1
	RELENG_4_1_1_RELEASE:1.1.1.1.2.1
	PRE_SMPNG:1.1.1.1
	RELENG_4_1_0_RELEASE:1.1.1.1.2.1
	RELENG_4:1.1.1.1.0.2
	tcsh_6_09_01_cvs_20000610:1.1.1.1
	tcsh_6_09_01:1.1.1.1
	tcsh_6_09:1.1.1.1
	ZOULAS:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2000.04.15.04.41.10;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.04.15.04.41.10;	author obrien;	state Exp;
branches
	1.1.1.1.2.1;
next	1.1.1.2;

1.1.1.2
date	2000.11.30.21.05.13;	author ache;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2001.09.05.17.49.28;	author mp;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2004.07.11.02.17.39;	author mp;	state Exp;
branches
	1.1.1.4.50.1;
next	;

1.1.1.1.2.1
date	2000.06.10.22.25.55;	author obrien;	state Exp;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2001.03.05.05.50.05;	author obrien;	state Exp;
branches;
next	1.1.1.1.2.3;

1.1.1.1.2.3
date	2001.10.08.21.10.47;	author mp;	state Exp;
branches;
next	;

1.1.1.4.50.1
date	2004.07.11.02.17.39;	author svnexp;	state dead;
branches;
next	1.1.1.4.50.2;

1.1.1.4.50.2
date	2013.03.28.13.02.04;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@
Last Updated: 
Fri Mar 12 12:53:43 EST 1999

This is for people who do not read the manual!

So far people who don't read manuals don't read this either... I may
call it README.*PLEASE* in the future, but then the same people won't
be able to get ftp it... :-)

1.  Why is the meta key broken in tcsh-5.20 and up? 

    On some machines the tty is not set up to pass 8 bit characters by default.
    Tcsh 5.19 used to try to determine if pass8 should be set by looking at
    the terminal's meta key. Unfortunately there is no good way of determining
    if the terminal can really pass 8 characters or not. Consider if you are
    logged in through a modem line with 7 bits and parity and your terminal 
    has a meta key. Then tcsh 5.19 would set wrongly set pass8.

    If you did like the previous behavior you can add in /etc/csh.login, or
    in .login:

    if ( $?tcsh && $?prompt ) then
	if ( "`echotc meta`" == "yes" ) then
	     stty pass8
	endif
    endif

    If you don't have pass8, maybe something like

	stty -parity -evenp -oddp cs8 -istrip   (rs6000)
    or
	stty -parenb -istrip cs8 
    
    would work..

2.  I ran 'dbxtool &' and 'shelltool &' from tcsh, and they end up in cbreak 
    and no echo mode?

    These programs are broken. Background jobs should not try to look at the
    tty. What happens is that dbxtool looks in stderr to inherit the tty
    setups, but tcsh sets up the tty in cbreak and -echo modes, so that it
    can do line editing. This cannot be fixed because tcsh cannot give away
    the tty. A work-around is:

    dbxtool < /dev/null >& /dev/null &
    or
    /usr/etc/setsid dbxtool &

    If that does not work, for dbxtool at least you can add "sh stty sane"
    in your .dbxinit

3.  I tried to compile tcsh and it cannot find <locale.h>?

    Your system does not support NLS. Undefine NLS in config_f.h and it
    should work fine.

4.  Where can I get csh sources? 

    Csh sources are now available with the 4.4BSD networking distributions.
    You don't need csh sources to compile tcsh-6.0x.

5.  I just made tcsh my login shell, and I cannot ftp any more?

    Newer versions of the ftp daemon check for the validity of the
    user's shell before they allow logins. The list of valid login
    shells is either hardcoded or it is usually in a file called
    /etc/shells. If it is hard-coded, then you are out of luck and
    your best bet is to get a newer version of ftpd. Otherwise add
    tcsh to the list of shells. [For AIX this file is called 
    /etc/security/login.cfg]. Remember that the full path is required.
    If there is no /etc/shells, and you are creating one, remember to
    add /bin/csh, /bin/sh, and any other valid shells for your system,
    so that other people can ftp too :-)

6.  I am using SunView/OpenWindows and editing is screwed up. In 
    particular my arrow keys and backspace don't work right. What 
    am I doing wrong?

    Well, cmdtool tries to do its own command line editing and the
    effect you get is one of using an editor inside an editor. Both
    try to interpret the arrow key sequences and cmdtool wins since
    it gets them first. The solutions are in my order of preference:

	1 Don't use suntools
	2 Use shelltool instead of cmdtool.
	3 Unset edit in tcsh.

6b. On a SPARCstation running Solaris 2.x and OpenWindows 3.1,
    inside a cmdtool, the short-cut key sequence to clear log
    (i.e. Meta-e or Diamond-e) doesn't work: it just echos 'e'

6c. On a SPARCstation running Solaris 2.x and OpenWindows 3.1,
    maketool (within SPARCworks) doesn't work: it just does
    a `cd' to the working directory then stops.

    The workaround for 6b and 6c is doing "unset edit."
    Using shelltool instead of cmdtool doesn't fix 6c.

7.  I rlogin to another machine, and then no matter what I tell 'stty'
    I cannot get it to pass 8 bit characters?

    Maybe you need to use 'rlogin -8' to tell rlogin to pass 8 
    bit characters.

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 :-(
@


1.1.1.1
log
@Import the latest version of the 44BSD C-shell -- tcsh-6.09.
@
text
@@


1.1.1.2
log
@Initial import of slightly trimmed tcsh 6.10
@
text
@d3 1
a3 1
Fri Aug 25 13:27:45 EDT 2000
a35 4

    Finally, tcsh will bind all printable meta characters to the self
    insert command. If you don't want that to happen (i.e. use the printable
    meta characters for commands) setenv NOREBIND.
@


1.1.1.3
log
@Import tcsh-6.11
@
text
@d2 2
a3 1
                                  [Home] FAQ
d5 1
a5 2
   Home | RecentChanges | Preferences
     _________________________________________________________________
d7 12
a18 1
   This is for people who do not read the manual!
d20 2
a21 17
   So  far  people who don't read manuals don't read this either... I may
   call  it README.*PLEASE* in the future, but then the same people won't
   be able to get ftp it... :-)
     _________________________________________________________________

   1. Why is the meta key broken in tcsh-5.20 and up?

   On  some  machines  the  tty is not set up to pass 8 bit characters by
   default.  Tcsh 5.19 used to try to determine if pass8 should be set by
   looking at the terminal's meta key. Unfortunately there is no good way
   of  determining  if  the terminal can really pass 8 characters or not.
   Consider  if  you  are  logged in through a modem line with 7 bits and
   parity  and  your  terminal  has  a meta key. Then tcsh 5.19 would set
   wrongly set pass8.

   If  you  did like the previous behavior you can add in /etc/csh.login,
   or in .login:
d24 3
a26 3
        if ( "`echotc meta`" == "yes" ) then
             stty pass8
        endif
d29 1
a29 4
   If you don't have pass8, maybe one of these would work..

    stty -parity -evenp -oddp cs8 -istrip   (rs6000)
    stty -parenb -istrip cs8
d31 18
a48 13
   Finally,  tcsh  will  bind  all  printable meta characters to the self
   insert  command.  If  you  don't  want  that  to  happen (i.e. use the
   printable meta characters for commands) setenv NOREBIND.
     _________________________________________________________________

   2.  I  ran 'dbxtool &' and 'shelltool &' from tcsh, and they end up in
   cbreak and no echo mode?

   These  programs  are broken. Background jobs should not try to look at
   the  tty.  What happens is that dbxtool looks in stderr to inherit the
   tty  setups,  but  tcsh  sets up the tty in cbreak and -echo modes, so
   that  it can do line editing. This cannot be fixed because tcsh cannot
   give away the tty. Pick one of the following as a workaround:
d51 1
d54 2
a55 5
   If that does not work, for dbxtool at least you can add "sh stty sane"
   in your .dbxinit
     _________________________________________________________________

   3. I tried to compile tcsh and it cannot find <locale.h>?
d57 1
a57 3
   Your  system  does  not support NLS. Undefine NLS in config_f.h and it
   should work fine.
     _________________________________________________________________
d59 2
a60 1
   4. Where can I get csh sources?
d62 1
a62 3
   Csh   sources   are   now   available   with   the  4.4BSD  networking
   distributions. You don't need csh sources to compile tcsh-6.0x.
     _________________________________________________________________
d64 2
a65 1
   5. I just made tcsh my login shell, and I cannot ftp any more?
d67 1
a67 10
   Newer  versions of the ftp daemon check for the validity of the user's
   shell  before  they  allow  logins.  The list of valid login shells is
   either  hardcoded or it is usually in a file called /etc/shells. If it
   is  hard-coded, then you are out of luck and your best bet is to get a
   newer  version of ftpd. Otherwise add tcsh to the list of shells. [For
   AIX  this  file  is called /etc/security/login.cfg.] Remember that the
   full  path  is  required.  If  there  is  no  /etc/shells, and you are
   creating  one,  remember to add /bin/csh, /bin/sh, and any other valid
   shells for your system, so that other people can ftp too :-)
     _________________________________________________________________
d69 10
a78 3
   6.  I  am using SunView? or OpenWindows? and editing is screwed up. In
   particular  my  arrow  keys  and backspace don't work right. What am I
   doing wrong?
d80 3
a82 4
   Well,  cmdtool tries to do its own command line editing and the effect
   you  get  is  one  of  using  an  editor inside an editor. Both try to
   interpret  the arrow key sequences and cmdtool wins since it gets them
   first. The solutions are in my order of preference:
d84 4
a87 3
    1. Don't use suntools
    2. Use shelltool instead of cmdtool.
    3. Unset edit in tcsh.
d89 3
a91 3
   6b. On a SPARCstation running Solaris 2.x and OpenWindows? 3.1, inside
   a  cmdtool,  the  short-cut  key sequence to clear log (i.e. Meta-e or
   Diamond-e) doesn't work: it just echos 'e' 
d93 3
a95 3
   6c.  On  a  SPARCstation  running  Solaris  2.x  and OpenWindows? 3.1,
   maketool  (within SPARCworks) doesn't work: it just does a `cd' to the
   working directory then stops.
d97 3
a99 3
   The  workaround  for  6b and 6c is doing "unset edit." Using shelltool
   instead of cmdtool doesn't fix 6c.
     _________________________________________________________________
d101 2
a102 2
   7.  I rlogin to another machine, and then no matter what I tell 'stty'
   I cannot get it to pass 8 bit characters?
d104 2
a105 3
   Maybe  you  need  to  use  'rlogin  -8'  to  tell rlogin to pass 8 bit
   characters.
     _________________________________________________________________
d107 2
a108 1
   8. Where do I get the public domain directory library?
d110 3
a112 2
   Anonymous ftp to prep.ai.mit.edu:/pub/gnu/dirent.tar.Z
     _________________________________________________________________
d114 3
a116 3
   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
d118 4
a121 2
   Your  <sys/ioctl.h>  file  is  not  ansi  compliant. You have one of 3
   choices:
d123 2
a124 4
    1. Run fixincludes from the gcc distribution.
    2. Add -traditional to the gcc flags.
    3. Compile with cc.
     _________________________________________________________________
d126 1
a126 2
   10.  I compiled tcsh with the SunOS? unbundled compiler and now things
   get echo'ed twice.
d128 5
a132 9
   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:
d135 1
a135 1
        set prompt="%{`echotc smkx`%}$prompt"
d138 8
a145 11
   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.
     _________________________________________________________________
d147 2
a148 2
   13.  I  am trying to compile tcsh and I am getting compile errors that
   look like:
d151 1
d154 2
a155 25
   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
d157 1
a157 3
   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
     _________________________________________________________________
d159 29
a187 2
   17.  Script on SGI 4.0.5 does not give us a tty, so we cannot have job
   control.
d189 2
a190 21
   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
d192 2
d200 2
a201 17
   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.
     _________________________________________________________________
d203 1
a203 1
   23. Refreshing in command line editing can appear broken on some OS's
d205 3
a207 4
   This  is  because  the  termcap/terminfo  description  lies  about the
   ability  of  the  terminal  to  use tabs. At least on Compaq/DEC Alpha
   OSF/1 3.x and 4.x systems, stty -tabs will cause problems.
     _________________________________________________________________
d209 3
a211 1
   Everything else is a bug :-(
d213 1
a213 2
   Christos
     _________________________________________________________________
d215 1
a215 4
   Home | RecentChanges | Preferences
   Edit text of this page | View other revisions
   Last edited April 27, 2001 13:43 (diff)
   Search: ____________________
@


1.1.1.4
log
@Import of tcsh-6.13.00
@
text
@d14 1
a14 6
   1. Where can I find tcsh sources?

   See http://www.tcsh.org/MostRecentRelease for download locations.
     _________________________________________________________________

   2. Why is the meta key broken in tcsh-5.20 and up?
d43 1
a43 1
   3.  I  ran 'dbxtool &' and 'shelltool &' from tcsh, and they end up in
d59 1
a59 1
   4. I tried to compile tcsh and it cannot find <locale.h>?
d65 1
a65 1
   5. Where can I get csh sources?
d71 1
a71 1
   6. I just made tcsh my login shell, and I cannot ftp any more?
d84 1
a84 1
   7.  I  am  using  SunView or OpenWindows and editing is screwed up. In
a95 5
     _________________________________________________________________

   8. On a SPARCstation running Solaris 2.x and OpenWindows 3.1, inside a
   cmdtool,  the  short-cut  key  sequence  to  clear log (i.e. Meta-e or
   Diamond-e) doesn't work: it just echos 'e'; or 
d97 3
a99 2
   Unset edit in tcsh.
     _________________________________________________________________
d101 3
a103 3
   9. On a SPARCstation running Solaris 2.x and OpenWindows 3.1, maketool
   (within  SPARCworks)  doesn't work: it just does a `cd' to the working
   directory then stops.
d105 2
a106 2
   Unset  edit  in  tcsh. Using shelltool instead of cmdtool does not fix
   this.
d109 1
a109 1
   10. I rlogin to another machine, and then no matter what I tell 'stty'
d116 1
a116 1
   11. Where do I get the public domain directory library?
d121 1
a121 1
   12.  I  compiled  tcsh  using  gcc, and when I start up it says: tcsh:
d133 1
a133 1
   13.  I  compiled tcsh with the SunOS unbundled compiler and now things
d139 1
a139 1
   14. How can I use the arrow keys with hpterm?
d154 1
a154 1
   15.  On POSIX machines ^C and ^Z will do not work when tcsh is a login
d162 1
a162 1
   16.  I  am trying to compile tcsh and I am getting compile errors that
d172 1
a172 1
   17. On the cray, sometimes the CR/LF mapping gets screwed up.
d184 1
a184 1
   18.  On AU/X, I made tcsh my startup shell, but the mac desktop is not
d191 1
a191 1
   19.  On  machines  that  use  YP (NIS) tilde expansion might end up in
d198 1
a198 1
   20.  Script on SGI 4.0.5 does not give us a tty, so we cannot have job
d207 1
a207 1
   21. I start tcsh and it takes a couple of minutes to get the prompt.
d213 1
a213 1
   22. If you need help generating your .cshrc file, check out:
d215 1
a215 4
        http://www.imada.sdu.dk/~blackie/dotfile/

   or
        http://www.dotfiles.com
d218 1
a218 1
   23.  On  POSIX  systems  the  kernel  will send hup signals to all the
d233 1
a233 1
   24. When I rsh the meta key stops working on the remote machine.
d240 1
a240 1
   25.  Tcsh  compiled  under  hp/ux-10.x  does  not pass resource limits
d247 1
a247 1
   26. Refreshing in command line editing can appear broken on some OS's
a253 30
   27. Where can I learn the merits of tcsh vs. bash vs. csh vs. sh etc?

   You  can  read  the  manual page section titled [NEW FEATURES] listing
   features that tcsh adds to csh.

   You  can read Tom Christiansen's [Csh Programming Considered Harmful],
   a  document advocating that csh (and by extension, tcsh) should not be
   used for writing shell scripts.

   XXX:  Need  to  find something about [bash], but bash is sh-compatible
   and  has  many  of  the  same  interactive  features  of tcsh (command
   completion does not appear to be as flexible, though).

   [Curtains  up:  introducing  the Z shell] has a pretty good rundown on
   zsh.  Aside  from  the arguments about csh being evil, tcsh appears to
   compare  well  with zsh [zsh]. Zsh is sh and ksh compatible, with many
   of the interactive features of tcsh.
     _________________________________________________________________

   28.  Why  does  FreeBSD's  tcsh do history browsing differently than I
   expect?

   On    FreeBSD,    by    default,    the    up    arrow   is   set   to
   "history-search-backward",  rather than the default "up-history". As a
   result,  if  you  type (part of) a word and press up arrow, you'll see
   previous  commands  that  match  the  prefix. Pretty useful, actually,
   although  it  takes  some  getting used to. You can use bindkey to see
   your settings, and to rebind up & down differently if desired.
     _________________________________________________________________

d261 1
a261 1
   Last edited April 29, 2004 15:02 (diff)
@


1.1.1.4.50.1
log
@file FAQ was added on branch RELENG_8_4 on 2013-03-28 13:02:04 +0000
@
text
@d1 304
@


1.1.1.4.50.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 304

                                  [Home] FAQ

   Home | RecentChanges | Preferences
     _________________________________________________________________

   This is for people who do not read the manual!

   So  far  people who don't read manuals don't read this either... I may
   call  it README.*PLEASE* in the future, but then the same people won't
   be able to get ftp it... :-)
     _________________________________________________________________

   1. Where can I find tcsh sources?

   See http://www.tcsh.org/MostRecentRelease for download locations.
     _________________________________________________________________

   2. Why is the meta key broken in tcsh-5.20 and up?

   On  some  machines  the  tty is not set up to pass 8 bit characters by
   default.  Tcsh 5.19 used to try to determine if pass8 should be set by
   looking at the terminal's meta key. Unfortunately there is no good way
   of  determining  if  the terminal can really pass 8 characters or not.
   Consider  if  you  are  logged in through a modem line with 7 bits and
   parity  and  your  terminal  has  a meta key. Then tcsh 5.19 would set
   wrongly set pass8.

   If  you  did like the previous behavior you can add in /etc/csh.login,
   or in .login:

    if ( $?tcsh && $?prompt ) then
        if ( "`echotc meta`" == "yes" ) then
             stty pass8
        endif
    endif

   If you don't have pass8, maybe one of these would work..

    stty -parity -evenp -oddp cs8 -istrip   (rs6000)
    stty -parenb -istrip cs8

   Finally,  tcsh  will  bind  all  printable meta characters to the self
   insert  command.  If  you  don't  want  that  to  happen (i.e. use the
   printable meta characters for commands) setenv NOREBIND.
     _________________________________________________________________

   3.  I  ran 'dbxtool &' and 'shelltool &' from tcsh, and they end up in
   cbreak and no echo mode?

   These  programs  are broken. Background jobs should not try to look at
   the  tty.  What happens is that dbxtool looks in stderr to inherit the
   tty  setups,  but  tcsh  sets up the tty in cbreak and -echo modes, so
   that  it can do line editing. This cannot be fixed because tcsh cannot
   give away the tty. Pick one of the following as a workaround:

    dbxtool < /dev/null >& /dev/null &
    /usr/etc/setsid dbxtool &

   If that does not work, for dbxtool at least you can add "sh stty sane"
   in your .dbxinit
     _________________________________________________________________

   4. I tried to compile tcsh and it cannot find <locale.h>?

   Your  system  does  not support NLS. Undefine NLS in config_f.h and it
   should work fine.
     _________________________________________________________________

   5. Where can I get csh sources?

   Csh   sources   are   now   available   with   the  4.4BSD  networking
   distributions. You don't need csh sources to compile tcsh-6.0x.
     _________________________________________________________________

   6. I just made tcsh my login shell, and I cannot ftp any more?

   Newer  versions of the ftp daemon check for the validity of the user's
   shell  before  they  allow  logins.  The list of valid login shells is
   either  hardcoded or it is usually in a file called /etc/shells. If it
   is  hard-coded, then you are out of luck and your best bet is to get a
   newer  version of ftpd. Otherwise add tcsh to the list of shells. [For
   AIX  this  file  is called /etc/security/login.cfg.] Remember that the
   full  path  is  required.  If  there  is  no  /etc/shells, and you are
   creating  one,  remember to add /bin/csh, /bin/sh, and any other valid
   shells for your system, so that other people can ftp too :-)
     _________________________________________________________________

   7.  I  am  using  SunView or OpenWindows and editing is screwed up. In
   particular  my  arrow  keys  and backspace don't work right. What am I
   doing wrong?

   Well,  cmdtool tries to do its own command line editing and the effect
   you  get  is  one  of  using  an  editor inside an editor. Both try to
   interpret  the arrow key sequences and cmdtool wins since it gets them
   first. The solutions are in my order of preference:

    1. Don't use suntools
    2. Use shelltool instead of cmdtool.
    3. Unset edit in tcsh.
     _________________________________________________________________

   8. On a SPARCstation running Solaris 2.x and OpenWindows 3.1, inside a
   cmdtool,  the  short-cut  key  sequence  to  clear log (i.e. Meta-e or
   Diamond-e) doesn't work: it just echos 'e'; or 

   Unset edit in tcsh.
     _________________________________________________________________

   9. On a SPARCstation running Solaris 2.x and OpenWindows 3.1, maketool
   (within  SPARCworks)  doesn't work: it just does a `cd' to the working
   directory then stops.

   Unset  edit  in  tcsh. Using shelltool instead of cmdtool does not fix
   this.
     _________________________________________________________________

   10. I rlogin to another machine, and then no matter what I tell 'stty'
   I cannot get it to pass 8 bit characters?

   Maybe  you  need  to  use  'rlogin  -8'  to  tell rlogin to pass 8 bit
   characters.
     _________________________________________________________________

   11. Where do I get the public domain directory library?

   Anonymous ftp to prep.ai.mit.edu:/pub/gnu/dirent.tar.Z
     _________________________________________________________________

   12.  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:

    1. Run fixincludes from the gcc distribution.
    2. Add -traditional to the gcc flags.
    3. Compile with cc.
     _________________________________________________________________

   13.  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.
     _________________________________________________________________

   14. 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"...
     _________________________________________________________________

   15.  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.
     _________________________________________________________________

   16.  I  am trying to compile tcsh and I am getting compile errors that
   look like:

    >sh.c:???: `STR???' undeclared, outside of functions [gcc]
    >"sh.c", line ???: STR??? undefined [cc]

   You  interrupted make, while it was making the automatically generated
   headers. Type 'make clean; make'
     _________________________________________________________________

   17. 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'.
     _________________________________________________________________

   18.  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.
     _________________________________________________________________

   19.  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
     _________________________________________________________________

   20.  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
     _________________________________________________________________

   21. 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.
     _________________________________________________________________

   22. If you need help generating your .cshrc file, check out:

        http://www.imada.sdu.dk/~blackie/dotfile/

   or
        http://www.dotfiles.com
     _________________________________________________________________

   23.  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.
     _________________________________________________________________

   24. 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.
     _________________________________________________________________

   25.  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.
     _________________________________________________________________

   26. Refreshing in command line editing can appear broken on some OS's

   This  is  because  the  termcap/terminfo  description  lies  about the
   ability  of  the  terminal  to  use tabs. At least on Compaq/DEC Alpha
   OSF/1 3.x and 4.x systems, stty -tabs will cause problems.
     _________________________________________________________________

   27. Where can I learn the merits of tcsh vs. bash vs. csh vs. sh etc?

   You  can  read  the  manual page section titled [NEW FEATURES] listing
   features that tcsh adds to csh.

   You  can read Tom Christiansen's [Csh Programming Considered Harmful],
   a  document advocating that csh (and by extension, tcsh) should not be
   used for writing shell scripts.

   XXX:  Need  to  find something about [bash], but bash is sh-compatible
   and  has  many  of  the  same  interactive  features  of tcsh (command
   completion does not appear to be as flexible, though).

   [Curtains  up:  introducing  the Z shell] has a pretty good rundown on
   zsh.  Aside  from  the arguments about csh being evil, tcsh appears to
   compare  well  with zsh [zsh]. Zsh is sh and ksh compatible, with many
   of the interactive features of tcsh.
     _________________________________________________________________

   28.  Why  does  FreeBSD's  tcsh do history browsing differently than I
   expect?

   On    FreeBSD,    by    default,    the    up    arrow   is   set   to
   "history-search-backward",  rather than the default "up-history". As a
   result,  if  you  type (part of) a word and press up arrow, you'll see
   previous  commands  that  match  the  prefix. Pretty useful, actually,
   although  it  takes  some  getting used to. You can use bindkey to see
   your settings, and to rebind up & down differently if desired.
     _________________________________________________________________

   Everything else is a bug :-(

   Christos
     _________________________________________________________________

   Home | RecentChanges | Preferences
   Edit text of this page | View other revisions
   Last edited April 29, 2004 15:02 (diff)
   Search: ____________________
@


1.1.1.1.2.1
log
@MFC: begin the upgrade of /bin/csh for 4.1-R.
@
text
@@


1.1.1.1.2.2
log
@MFC: update to version 6.10
@
text
@d3 1
a3 1
Fri Aug 25 13:27:45 EDT 2000
a35 4

    Finally, tcsh will bind all printable meta characters to the self
    insert command. If you don't want that to happen (i.e. use the printable
    meta characters for commands) setenv NOREBIND.
@


1.1.1.1.2.3
log
@MFC: update to version 6.11
@
text
@d2 2
a3 1
                                  [Home] FAQ
d5 1
a5 2
   Home | RecentChanges | Preferences
     _________________________________________________________________
d7 12
a18 1
   This is for people who do not read the manual!
d20 2
a21 17
   So  far  people who don't read manuals don't read this either... I may
   call  it README.*PLEASE* in the future, but then the same people won't
   be able to get ftp it... :-)
     _________________________________________________________________

   1. Why is the meta key broken in tcsh-5.20 and up?

   On  some  machines  the  tty is not set up to pass 8 bit characters by
   default.  Tcsh 5.19 used to try to determine if pass8 should be set by
   looking at the terminal's meta key. Unfortunately there is no good way
   of  determining  if  the terminal can really pass 8 characters or not.
   Consider  if  you  are  logged in through a modem line with 7 bits and
   parity  and  your  terminal  has  a meta key. Then tcsh 5.19 would set
   wrongly set pass8.

   If  you  did like the previous behavior you can add in /etc/csh.login,
   or in .login:
d24 3
a26 3
        if ( "`echotc meta`" == "yes" ) then
             stty pass8
        endif
d29 1
a29 4
   If you don't have pass8, maybe one of these would work..

    stty -parity -evenp -oddp cs8 -istrip   (rs6000)
    stty -parenb -istrip cs8
d31 18
a48 13
   Finally,  tcsh  will  bind  all  printable meta characters to the self
   insert  command.  If  you  don't  want  that  to  happen (i.e. use the
   printable meta characters for commands) setenv NOREBIND.
     _________________________________________________________________

   2.  I  ran 'dbxtool &' and 'shelltool &' from tcsh, and they end up in
   cbreak and no echo mode?

   These  programs  are broken. Background jobs should not try to look at
   the  tty.  What happens is that dbxtool looks in stderr to inherit the
   tty  setups,  but  tcsh  sets up the tty in cbreak and -echo modes, so
   that  it can do line editing. This cannot be fixed because tcsh cannot
   give away the tty. Pick one of the following as a workaround:
d51 1
d54 2
a55 5
   If that does not work, for dbxtool at least you can add "sh stty sane"
   in your .dbxinit
     _________________________________________________________________

   3. I tried to compile tcsh and it cannot find <locale.h>?
d57 1
a57 3
   Your  system  does  not support NLS. Undefine NLS in config_f.h and it
   should work fine.
     _________________________________________________________________
d59 2
a60 1
   4. Where can I get csh sources?
d62 1
a62 3
   Csh   sources   are   now   available   with   the  4.4BSD  networking
   distributions. You don't need csh sources to compile tcsh-6.0x.
     _________________________________________________________________
d64 2
a65 1
   5. I just made tcsh my login shell, and I cannot ftp any more?
d67 1
a67 10
   Newer  versions of the ftp daemon check for the validity of the user's
   shell  before  they  allow  logins.  The list of valid login shells is
   either  hardcoded or it is usually in a file called /etc/shells. If it
   is  hard-coded, then you are out of luck and your best bet is to get a
   newer  version of ftpd. Otherwise add tcsh to the list of shells. [For
   AIX  this  file  is called /etc/security/login.cfg.] Remember that the
   full  path  is  required.  If  there  is  no  /etc/shells, and you are
   creating  one,  remember to add /bin/csh, /bin/sh, and any other valid
   shells for your system, so that other people can ftp too :-)
     _________________________________________________________________
d69 10
a78 3
   6.  I  am using SunView? or OpenWindows? and editing is screwed up. In
   particular  my  arrow  keys  and backspace don't work right. What am I
   doing wrong?
d80 3
a82 4
   Well,  cmdtool tries to do its own command line editing and the effect
   you  get  is  one  of  using  an  editor inside an editor. Both try to
   interpret  the arrow key sequences and cmdtool wins since it gets them
   first. The solutions are in my order of preference:
d84 4
a87 3
    1. Don't use suntools
    2. Use shelltool instead of cmdtool.
    3. Unset edit in tcsh.
d89 3
a91 3
   6b. On a SPARCstation running Solaris 2.x and OpenWindows? 3.1, inside
   a  cmdtool,  the  short-cut  key sequence to clear log (i.e. Meta-e or
   Diamond-e) doesn't work: it just echos 'e' 
d93 3
a95 3
   6c.  On  a  SPARCstation  running  Solaris  2.x  and OpenWindows? 3.1,
   maketool  (within SPARCworks) doesn't work: it just does a `cd' to the
   working directory then stops.
d97 3
a99 3
   The  workaround  for  6b and 6c is doing "unset edit." Using shelltool
   instead of cmdtool doesn't fix 6c.
     _________________________________________________________________
d101 2
a102 2
   7.  I rlogin to another machine, and then no matter what I tell 'stty'
   I cannot get it to pass 8 bit characters?
d104 2
a105 3
   Maybe  you  need  to  use  'rlogin  -8'  to  tell rlogin to pass 8 bit
   characters.
     _________________________________________________________________
d107 2
a108 1
   8. Where do I get the public domain directory library?
d110 3
a112 2
   Anonymous ftp to prep.ai.mit.edu:/pub/gnu/dirent.tar.Z
     _________________________________________________________________
d114 3
a116 3
   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
d118 4
a121 2
   Your  <sys/ioctl.h>  file  is  not  ansi  compliant. You have one of 3
   choices:
d123 2
a124 4
    1. Run fixincludes from the gcc distribution.
    2. Add -traditional to the gcc flags.
    3. Compile with cc.
     _________________________________________________________________
d126 1
a126 2
   10.  I compiled tcsh with the SunOS? unbundled compiler and now things
   get echo'ed twice.
d128 5
a132 9
   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:
d135 1
a135 1
        set prompt="%{`echotc smkx`%}$prompt"
d138 8
a145 11
   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.
     _________________________________________________________________
d147 2
a148 2
   13.  I  am trying to compile tcsh and I am getting compile errors that
   look like:
d151 1
d154 2
a155 25
   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
d157 1
a157 3
   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
     _________________________________________________________________
d159 29
a187 2
   17.  Script on SGI 4.0.5 does not give us a tty, so we cannot have job
   control.
d189 2
a190 21
   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
d192 2
d200 2
a201 17
   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.
     _________________________________________________________________
d203 1
a203 1
   23. Refreshing in command line editing can appear broken on some OS's
d205 3
a207 4
   This  is  because  the  termcap/terminfo  description  lies  about the
   ability  of  the  terminal  to  use tabs. At least on Compaq/DEC Alpha
   OSF/1 3.x and 4.x systems, stty -tabs will cause problems.
     _________________________________________________________________
d209 3
a211 1
   Everything else is a bug :-(
d213 1
a213 2
   Christos
     _________________________________________________________________
d215 1
a215 4
   Home | RecentChanges | Preferences
   Edit text of this page | View other revisions
   Last edited April 27, 2001 13:43 (diff)
   Search: ____________________
@


