|
11 | 11 | be able to get ftp it... :-) |
12 | 12 | _________________________________________________________________ |
13 | 13 |
|
14 | | - 1. Why is the meta key broken in tcsh-5.20 and up? |
| 14 | + 1. Where can I find tcsh sources? |
| 15 | + |
| 16 | + See http://www.tcsh.org/MostRecentRelease for download locations. |
| 17 | + _________________________________________________________________ |
| 18 | + |
| 19 | + 2. Why is the meta key broken in tcsh-5.20 and up? |
15 | 20 |
|
16 | 21 | On some machines the tty is not set up to pass 8 bit characters by |
17 | 22 | default. Tcsh 5.19 used to try to determine if pass8 should be set by |
|
40 | 45 | printable meta characters for commands) setenv NOREBIND. |
41 | 46 | _________________________________________________________________ |
42 | 47 |
|
43 | | - 2. I ran 'dbxtool &' and 'shelltool &' from tcsh, and they end up in |
| 48 | + 3. I ran 'dbxtool &' and 'shelltool &' from tcsh, and they end up in |
44 | 49 | cbreak and no echo mode? |
45 | 50 |
|
46 | 51 | These programs are broken. Background jobs should not try to look at |
|
56 | 61 | in your .dbxinit |
57 | 62 | _________________________________________________________________ |
58 | 63 |
|
59 | | - 3. I tried to compile tcsh and it cannot find <locale.h>? |
| 64 | + 4. I tried to compile tcsh and it cannot find <locale.h>? |
60 | 65 |
|
61 | 66 | Your system does not support NLS. Undefine NLS in config_f.h and it |
62 | 67 | should work fine. |
63 | 68 | _________________________________________________________________ |
64 | 69 |
|
65 | | - 4. Where can I get csh sources? |
| 70 | + 5. Where can I get csh sources? |
66 | 71 |
|
67 | 72 | Csh sources are now available with the 4.4BSD networking |
68 | 73 | distributions. You don't need csh sources to compile tcsh-6.0x. |
69 | 74 | _________________________________________________________________ |
70 | 75 |
|
71 | | - 5. I just made tcsh my login shell, and I cannot ftp any more? |
| 76 | + 6. I just made tcsh my login shell, and I cannot ftp any more? |
72 | 77 |
|
73 | 78 | Newer versions of the ftp daemon check for the validity of the user's |
74 | 79 | shell before they allow logins. The list of valid login shells is |
|
81 | 86 | shells for your system, so that other people can ftp too :-) |
82 | 87 | _________________________________________________________________ |
83 | 88 |
|
84 | | - 6. I am using SunView? or OpenWindows? and editing is screwed up. In |
| 89 | + 7. I am using SunView or OpenWindows and editing is screwed up. In |
85 | 90 | particular my arrow keys and backspace don't work right. What am I |
86 | 91 | doing wrong? |
87 | 92 |
|
|
93 | 98 | 1. Don't use suntools |
94 | 99 | 2. Use shelltool instead of cmdtool. |
95 | 100 | 3. Unset edit in tcsh. |
| 101 | + _________________________________________________________________ |
96 | 102 |
|
97 | | - 6b. On a SPARCstation running Solaris 2.x and OpenWindows? 3.1, inside |
98 | | - a cmdtool, the short-cut key sequence to clear log (i.e. Meta-e or |
99 | | - Diamond-e) doesn't work: it just echos 'e' |
| 103 | + 8. On a SPARCstation running Solaris 2.x and OpenWindows 3.1, inside a |
| 104 | + cmdtool, the short-cut key sequence to clear log (i.e. Meta-e or |
| 105 | + Diamond-e) doesn't work: it just echos 'e'; or |
100 | 106 |
|
101 | | - 6c. On a SPARCstation running Solaris 2.x and OpenWindows? 3.1, |
102 | | - maketool (within SPARCworks) doesn't work: it just does a `cd' to the |
103 | | - working directory then stops. |
| 107 | + Unset edit in tcsh. |
| 108 | + _________________________________________________________________ |
| 109 | + |
| 110 | + 9. On a SPARCstation running Solaris 2.x and OpenWindows 3.1, maketool |
| 111 | + (within SPARCworks) doesn't work: it just does a `cd' to the working |
| 112 | + directory then stops. |
104 | 113 |
|
105 | | - The workaround for 6b and 6c is doing "unset edit." Using shelltool |
106 | | - instead of cmdtool doesn't fix 6c. |
| 114 | + Unset edit in tcsh. Using shelltool instead of cmdtool does not fix |
| 115 | + this. |
107 | 116 | _________________________________________________________________ |
108 | 117 |
|
109 | | - 7. I rlogin to another machine, and then no matter what I tell 'stty' |
| 118 | + 10. I rlogin to another machine, and then no matter what I tell 'stty' |
110 | 119 | I cannot get it to pass 8 bit characters? |
111 | 120 |
|
112 | 121 | Maybe you need to use 'rlogin -8' to tell rlogin to pass 8 bit |
113 | 122 | characters. |
114 | 123 | _________________________________________________________________ |
115 | 124 |
|
116 | | - 8. Where do I get the public domain directory library? |
| 125 | + 11. Where do I get the public domain directory library? |
117 | 126 |
|
118 | 127 | Anonymous ftp to prep.ai.mit.edu:/pub/gnu/dirent.tar.Z |
119 | 128 | _________________________________________________________________ |
120 | 129 |
|
121 | | - 9. I compiled tcsh using gcc, and when I start up it says: tcsh: |
| 130 | + 12. I compiled tcsh using gcc, and when I start up it says: tcsh: |
122 | 131 | Warning no access to tty (Invalid Argument). Thus no job control in |
123 | 132 | this shell |
124 | 133 |
|
|
130 | 139 | 3. Compile with cc. |
131 | 140 | _________________________________________________________________ |
132 | 141 |
|
133 | | - 10. I compiled tcsh with the SunOS? unbundled compiler and now things |
| 142 | + 13. I compiled tcsh with the SunOS unbundled compiler and now things |
134 | 143 | get echo'ed twice. |
135 | 144 |
|
136 | 145 | It is a bug in the unbundled optimizer. Lower the optimization level. |
137 | 146 | _________________________________________________________________ |
138 | 147 |
|
139 | | - 11. How can I use the arrow keys with hpterm? |
| 148 | + 14. How can I use the arrow keys with hpterm? |
140 | 149 |
|
141 | 150 | Hp terminals use the arrow keys internally. You can tell hpterm not to |
142 | 151 | do that, by sending it the termcap sequence smkx. Since this has to be |
|
151 | 160 | if you are using termcap, replace "smkx" with "ks"... |
152 | 161 | _________________________________________________________________ |
153 | 162 |
|
154 | | - 12. On POSIX machines ^C and ^Z will do not work when tcsh is a login |
| 163 | + 15. On POSIX machines ^C and ^Z will do not work when tcsh is a login |
155 | 164 | shell? |
156 | 165 |
|
157 | 166 | Make sure that the interrupt character is set to ^C and suspend is set |
158 | 167 | to ^Z; 'stty -a' will show you the current stty settings; 'stty intr |
159 | 168 | ^C susp ^Z' will set them to ^C and ^Z respectively. |
160 | 169 | _________________________________________________________________ |
161 | 170 |
|
162 | | - 13. I am trying to compile tcsh and I am getting compile errors that |
| 171 | + 16. I am trying to compile tcsh and I am getting compile errors that |
163 | 172 | look like: |
164 | 173 |
|
165 | 174 | >sh.c:???: `STR???' undeclared, outside of functions [gcc] |
|
169 | 178 | headers. Type 'make clean; make' |
170 | 179 | _________________________________________________________________ |
171 | 180 |
|
172 | | - 14. On the cray, sometimes the CR/LF mapping gets screwed up. |
| 181 | + 17. On the cray, sometimes the CR/LF mapping gets screwed up. |
173 | 182 |
|
174 | 183 | You are probably logged in to the cray via telnet. Cray's telnetd |
175 | 184 | implements line mode selection the telnet client you are using does |
|
181 | 190 | character'. |
182 | 191 | _________________________________________________________________ |
183 | 192 |
|
184 | | - 15. On AU/X, I made tcsh my startup shell, but the mac desktop is not |
| 193 | + 18. On AU/X, I made tcsh my startup shell, but the mac desktop is not |
185 | 194 | starting up (no X11 or Finder), and I only get console emulation. |
186 | 195 |
|
187 | 196 | This is another manifestation of item 5. Just add the pathname to tcsh |
188 | 197 | in /etc/shells and everything should work fine. |
189 | 198 | _________________________________________________________________ |
190 | 199 |
|
191 | | - 16. On machines that use YP (NIS) tilde expansion might end up in |
| 200 | + 19. On machines that use YP (NIS) tilde expansion might end up in |
192 | 201 | /dev/null |
193 | 202 |
|
194 | 203 | If this happens complain to your vendor, to get a new version of NIS. |
195 | 204 | You can fix that in tcsh by defining YPBUGS in config.h |
196 | 205 | _________________________________________________________________ |
197 | 206 |
|
198 | | - 17. Script on SGI 4.0.5 does not give us a tty, so we cannot have job |
| 207 | + 20. Script on SGI 4.0.5 does not give us a tty, so we cannot have job |
199 | 208 | control. |
200 | 209 |
|
201 | 210 | Their csh does not have job control either. Try: |
|
204 | 213 | % cat > /dev/tty |
205 | 214 | _________________________________________________________________ |
206 | 215 |
|
207 | | - 18. I start tcsh and it takes a couple of minutes to get the prompt. |
| 216 | + 21. I start tcsh and it takes a couple of minutes to get the prompt. |
208 | 217 |
|
209 | 218 | You have defined REMOTEHOST and your DNS is not responding. Either |
210 | 219 | undefine REMOTEHOST and recompile or fix your DNS. |
211 | 220 | _________________________________________________________________ |
212 | 221 |
|
213 | | - 19. If you need help generating your .cshrc file, check out: |
| 222 | + 22. If you need help generating your .cshrc file, check out: |
214 | 223 |
|
215 | | - http://www.imada.ou.dk/~blackie/dotfile/ |
| 224 | + http://www.imada.sdu.dk/~blackie/dotfile/ |
| 225 | + |
| 226 | + or |
| 227 | + http://www.dotfiles.com |
216 | 228 | _________________________________________________________________ |
217 | 229 |
|
218 | | - 20. On POSIX systems the kernel will send hup signals to all the |
| 230 | + 23. On POSIX systems the kernel will send hup signals to all the |
219 | 231 | processes in the foreground process group if 'stty hupcl' is set. |
220 | 232 |
|
221 | 233 | For example |
|
230 | 242 | avoid that you can set stty -hupcl, but it is not recommended. |
231 | 243 | _________________________________________________________________ |
232 | 244 |
|
233 | | - 21. When I rsh the meta key stops working on the remote machine. |
| 245 | + 24. When I rsh the meta key stops working on the remote machine. |
234 | 246 |
|
235 | 247 | Try using rsh -8; this option is undocumented on some systems, but it |
236 | 248 | works. If that does not work, get and use ssh/sshd. You'll be better |
237 | 249 | off from a security point of view anyway. |
238 | 250 | _________________________________________________________________ |
239 | 251 |
|
240 | | - 22. Tcsh compiled under hp/ux-10.x does not pass resource limits |
| 252 | + 25. Tcsh compiled under hp/ux-10.x does not pass resource limits |
241 | 253 | correctly when ran on hp/ux-11.x systems. |
242 | 254 |
|
243 | 255 | This is a problem with lack of ABI compatibility between the two |
244 | 256 | systems. The only solution is to recompile. |
245 | 257 | _________________________________________________________________ |
246 | 258 |
|
247 | | - 23. Refreshing in command line editing can appear broken on some OS's |
| 259 | + 26. Refreshing in command line editing can appear broken on some OS's |
248 | 260 |
|
249 | 261 | This is because the termcap/terminfo description lies about the |
250 | 262 | ability of the terminal to use tabs. At least on Compaq/DEC Alpha |
251 | 263 | OSF/1 3.x and 4.x systems, stty -tabs will cause problems. |
252 | 264 | _________________________________________________________________ |
253 | 265 |
|
| 266 | + 27. Where can I learn the merits of tcsh vs. bash vs. csh vs. sh etc? |
| 267 | + |
| 268 | + You can read the manual page section titled [NEW FEATURES] listing |
| 269 | + features that tcsh adds to csh. |
| 270 | + |
| 271 | + You can read Tom Christiansen's [Csh Programming Considered Harmful], |
| 272 | + a document advocating that csh (and by extension, tcsh) should not be |
| 273 | + used for writing shell scripts. |
| 274 | + |
| 275 | + XXX: Need to find something about [bash], but bash is sh-compatible |
| 276 | + and has many of the same interactive features of tcsh (command |
| 277 | + completion does not appear to be as flexible, though). |
| 278 | + |
| 279 | + [Curtains up: introducing the Z shell] has a pretty good rundown on |
| 280 | + zsh. Aside from the arguments about csh being evil, tcsh appears to |
| 281 | + compare well with zsh [zsh]. Zsh is sh and ksh compatible, with many |
| 282 | + of the interactive features of tcsh. |
| 283 | + _________________________________________________________________ |
| 284 | + |
| 285 | + 28. Why does FreeBSD's tcsh do history browsing differently than I |
| 286 | + expect? |
| 287 | + |
| 288 | + On FreeBSD, by default, the up arrow is set to |
| 289 | + "history-search-backward", rather than the default "up-history". As a |
| 290 | + result, if you type (part of) a word and press up arrow, you'll see |
| 291 | + previous commands that match the prefix. Pretty useful, actually, |
| 292 | + although it takes some getting used to. You can use bindkey to see |
| 293 | + your settings, and to rebind up & down differently if desired. |
| 294 | + _________________________________________________________________ |
| 295 | + |
254 | 296 | Everything else is a bug :-( |
255 | 297 |
|
256 | 298 | Christos |
257 | 299 | _________________________________________________________________ |
258 | 300 |
|
259 | 301 | Home | RecentChanges | Preferences |
260 | 302 | Edit text of this page | View other revisions |
261 | | - Last edited April 27, 2001 13:43 (diff) |
| 303 | + Last edited April 29, 2004 15:02 (diff) |
262 | 304 | Search: ____________________ |
0 commit comments