home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / shell / 3816 < prev    next >
Encoding:
Text File  |  1992-09-04  |  4.9 KB  |  137 lines

  1. Path: sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!chx400!sicsun!masg6.epfl.ch!posse
  2. From: posse@masg6.epfl.ch (Christian Posse)
  3. Newsgroups: comp.unix.shell
  4. Subject: tcsh completion bug on Silicon Graphics
  5. Message-ID: <1992Sep4.104523@masg6.epfl.ch>
  6. Date: 4 Sep 92 08:45:23 GMT
  7. Sender: news@sicsun.epfl.ch
  8. Organization: Swiss Federal Institute of Technology
  9. Lines: 126
  10.  
  11.  
  12.  
  13. TCSH COMPLETION BUG AND STRANGE WARNING MESSAGE WITH FLAG __STDC__
  14. ------------------------------------------------------------------
  15.  
  16. Hi tcsh gurus,
  17.  
  18. I have implemented the 6.02 version of tcsh on our SGIs (INDIGO and
  19. 4D35 running IRIX 4.0.3 or 4.0.4).
  20.  
  21. I have found the following bug concerning the selective completion.
  22.  
  23. > complete xdvi 'n/*/f:*.dvi/'
  24. > xdvi [TAB] 
  25. gives all files ending with .dvi BUT also all sub-directories! In fact the
  26. parameter f for files in the complete definition does not work in the
  27. sense that directories appear when the f parameter is used for defining
  28. selective completion.
  29.  
  30. Has anyone encountered the same problem ? And how to correct this feature ?
  31.  
  32. Many thanks in advance for your answers.
  33.  
  34. Christian.
  35.  
  36. P.S. For the conceptors of tcsh : In the Ported file, it is written that
  37. for SGI, we must use the CFLAGS -D__STDC__. Why ? Without this flag, I have
  38. a clean compilation while introducing -D__STDC__ I obtain the following warning
  39. messages, for each compilation of *.c files. For example :
  40.  
  41. cc -D__STDC__ -O -prototypes -cckr -float  -I/usr/include -I.   
  42.     -DSYSV -DMALLOC_0_RETURNS_NULL -DFUNCPROTO -DNARROWPROTO 
  43.     -DCONFIGH=\"config/config.sgi\"     -c sh.c
  44. ccom: Warning: ./sh.decls.h, line 310: function adrof1 now has prototype;   
  45.           a) earlier declaration did not or   
  46.     b) function was called before declaration or definition
  47.       
  48.     extern    struct varent    *adrof1         (Char *, struct varent *);
  49.           --------------------------------------------------------------------^
  50.  
  51.  
  52. Once again, thanks for help in this.
  53.  
  54. Regards.
  55.  
  56. -------------------------------------------------------------------------------
  57.      ____/  __  /  ____/   /   Christian POSSE
  58.     /      /   /  /       /    Swiss Federal Institute of Technology
  59.    ____/  ____/   ____/  /     DMA-Ecublens                                   
  60.   /      /       /      /      CH-1015 Lausanne (Switzerland)
  61. _____/ _/      _/     _____/   
  62.                      e-mail : posse@masg6.epfl.ch  or
  63.                     posse@dma.epfl.ch
  64.  
  65.  ... Trying to establish voice contact ... please yell into keyboard ....
  66. -------------------------------------------------------------------------------
  67.  
  68.  
  69.  
  70.  
  71. Newsgroups: comp.unix.shell
  72. From: posse@masg6.epfl.ch (Christian Posse)
  73. Path: masg6.epfl.ch!posse
  74. Distribution: world
  75. Date: Fri Sep  4 08:10:30 1992 GMT
  76. Message-ID: <1992Sep4.101030@masg6.epfl.ch>
  77. Followup-To: 
  78. Organization: Swiss Federal Institute of Technology
  79. Subject:tcsh completion bug on Silicon Graphics
  80. Keywords:
  81.  
  82.  
  83. TCSH COMPLETION BUG AND STRANGE WARNING MESSAGE WITH FLAG __STDC__
  84. ------------------------------------------------------------------
  85.  
  86. Hi tcsh gurus,
  87.  
  88. I have implemented the 6.02 version of tcsh on our SGIs (INDIGO and
  89. 4D35 running IRIX 4.0.3 or 4.0.4).
  90.  
  91. I have found the following bug concerning the selective completion.
  92.  
  93. > complete xdvi 'n/*/f:*.dvi/'
  94. > xdvi [TAB] 
  95. gives all files ending with .dvi BUT also all sub-directories! In fact the
  96. parameter f for files in the complete definition does not work in the
  97. sense that directories appear when the f parameter is used for defining
  98. selective completion.
  99.  
  100. Has anyone encountered the same problem ? And how to correct this feature ?
  101.  
  102. Many thanks in advance for your answers.
  103.  
  104. Christian.
  105.  
  106. P.S. For the conceptors of tcsh : In the Ported file, it is written that
  107. for SGI, we must use the CFLAGS -D__STDC__. Why ? Without this flag, I have
  108. a clean compilation while introducing -D__STDC__ I obtain the following warning
  109. messages, for each compilation of *.c files. For example :
  110.  
  111. cc -D__STDC__ -O -prototypes -cckr -float  -I/usr/include -I.   
  112.     -DSYSV -DMALLOC_0_RETURNS_NULL -DFUNCPROTO -DNARROWPROTO 
  113.     -DCONFIGH=\"config/config.sgi\"     -c sh.c
  114. ccom: Warning: ./sh.decls.h, line 310: function adrof1 now has prototype;   
  115.           a) earlier declaration did not or   
  116.     b) function was called before declaration or definition
  117.       
  118.     extern    struct varent    *adrof1         (Char *, struct varent *);
  119.           --------------------------------------------------------------------^
  120.  
  121.  
  122. Once again, thanks for help in this.
  123.  
  124. Regards.
  125.  
  126. -------------------------------------------------------------------------------
  127.      ____/  __  /  ____/   /   Christian POSSE
  128.     /      /   /  /       /    Swiss Federal Institute of Technology
  129.    ____/  ____/   ____/  /     DMA-Ecublens                                   
  130.   /      /       /      /      CH-1015 Lausanne (Switzerland)
  131. _____/ _/      _/     _____/   
  132.                      e-mail : posse@masg6.epfl.ch  or
  133.                     posse@dma.epfl.ch
  134.  
  135.  ... Trying to establish voice contact ... please yell into keyboard ....
  136. -------------------------------------------------------------------------------
  137.