home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!chx400!sicsun!masg6.epfl.ch!posse
- From: posse@masg6.epfl.ch (Christian Posse)
- Newsgroups: comp.unix.shell
- Subject: tcsh completion bug on Silicon Graphics
- Message-ID: <1992Sep4.104523@masg6.epfl.ch>
- Date: 4 Sep 92 08:45:23 GMT
- Sender: news@sicsun.epfl.ch
- Organization: Swiss Federal Institute of Technology
- Lines: 126
-
-
-
- TCSH COMPLETION BUG AND STRANGE WARNING MESSAGE WITH FLAG __STDC__
- ------------------------------------------------------------------
-
- Hi tcsh gurus,
-
- I have implemented the 6.02 version of tcsh on our SGIs (INDIGO and
- 4D35 running IRIX 4.0.3 or 4.0.4).
-
- I have found the following bug concerning the selective completion.
-
- > complete xdvi 'n/*/f:*.dvi/'
- > xdvi [TAB]
- gives all files ending with .dvi BUT also all sub-directories! In fact the
- parameter f for files in the complete definition does not work in the
- sense that directories appear when the f parameter is used for defining
- selective completion.
-
- Has anyone encountered the same problem ? And how to correct this feature ?
-
- Many thanks in advance for your answers.
-
- Christian.
-
- P.S. For the conceptors of tcsh : In the Ported file, it is written that
- for SGI, we must use the CFLAGS -D__STDC__. Why ? Without this flag, I have
- a clean compilation while introducing -D__STDC__ I obtain the following warning
- messages, for each compilation of *.c files. For example :
-
- cc -D__STDC__ -O -prototypes -cckr -float -I/usr/include -I.
- -DSYSV -DMALLOC_0_RETURNS_NULL -DFUNCPROTO -DNARROWPROTO
- -DCONFIGH=\"config/config.sgi\" -c sh.c
- ccom: Warning: ./sh.decls.h, line 310: function adrof1 now has prototype;
- a) earlier declaration did not or
- b) function was called before declaration or definition
-
- extern struct varent *adrof1 (Char *, struct varent *);
- --------------------------------------------------------------------^
-
-
- Once again, thanks for help in this.
-
- Regards.
-
- -------------------------------------------------------------------------------
- ____/ __ / ____/ / Christian POSSE
- / / / / / Swiss Federal Institute of Technology
- ____/ ____/ ____/ / DMA-Ecublens
- / / / / CH-1015 Lausanne (Switzerland)
- _____/ _/ _/ _____/
- e-mail : posse@masg6.epfl.ch or
- posse@dma.epfl.ch
-
- ... Trying to establish voice contact ... please yell into keyboard ....
- -------------------------------------------------------------------------------
-
-
-
-
- Newsgroups: comp.unix.shell
- From: posse@masg6.epfl.ch (Christian Posse)
- Path: masg6.epfl.ch!posse
- Distribution: world
- Date: Fri Sep 4 08:10:30 1992 GMT
- Message-ID: <1992Sep4.101030@masg6.epfl.ch>
- Followup-To:
- Organization: Swiss Federal Institute of Technology
- Subject:tcsh completion bug on Silicon Graphics
- Keywords:
-
-
- TCSH COMPLETION BUG AND STRANGE WARNING MESSAGE WITH FLAG __STDC__
- ------------------------------------------------------------------
-
- Hi tcsh gurus,
-
- I have implemented the 6.02 version of tcsh on our SGIs (INDIGO and
- 4D35 running IRIX 4.0.3 or 4.0.4).
-
- I have found the following bug concerning the selective completion.
-
- > complete xdvi 'n/*/f:*.dvi/'
- > xdvi [TAB]
- gives all files ending with .dvi BUT also all sub-directories! In fact the
- parameter f for files in the complete definition does not work in the
- sense that directories appear when the f parameter is used for defining
- selective completion.
-
- Has anyone encountered the same problem ? And how to correct this feature ?
-
- Many thanks in advance for your answers.
-
- Christian.
-
- P.S. For the conceptors of tcsh : In the Ported file, it is written that
- for SGI, we must use the CFLAGS -D__STDC__. Why ? Without this flag, I have
- a clean compilation while introducing -D__STDC__ I obtain the following warning
- messages, for each compilation of *.c files. For example :
-
- cc -D__STDC__ -O -prototypes -cckr -float -I/usr/include -I.
- -DSYSV -DMALLOC_0_RETURNS_NULL -DFUNCPROTO -DNARROWPROTO
- -DCONFIGH=\"config/config.sgi\" -c sh.c
- ccom: Warning: ./sh.decls.h, line 310: function adrof1 now has prototype;
- a) earlier declaration did not or
- b) function was called before declaration or definition
-
- extern struct varent *adrof1 (Char *, struct varent *);
- --------------------------------------------------------------------^
-
-
- Once again, thanks for help in this.
-
- Regards.
-
- -------------------------------------------------------------------------------
- ____/ __ / ____/ / Christian POSSE
- / / / / / Swiss Federal Institute of Technology
- ____/ ____/ ____/ / DMA-Ecublens
- / / / / CH-1015 Lausanne (Switzerland)
- _____/ _/ _/ _____/
- e-mail : posse@masg6.epfl.ch or
- posse@dma.epfl.ch
-
- ... Trying to establish voice contact ... please yell into keyboard ....
- -------------------------------------------------------------------------------
-