[Bug 437295] New: tcsh autocompletion not working as expected
https://bugzilla.novell.com/show_bug.cgi?id=437295 Summary: tcsh autocompletion not working as expected Product: openSUSE 11.1 Version: Factory Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: vogt@itwm.fraunhofer.de QAContact: qa@suse.de Found By: Integration Test Created an attachment (id=246839) --> (https://bugzilla.novell.com/attachment.cgi?id=246839) "set"-env RH but maybe this does not help on SUSE, dont know... Hello, tcsh on SuSE is configured to do autocompletion with TAB. But tcsh does this definetely wrong. (At least its different as in bash and behaves "strange") HOW To reproduce: ================= (tested on SuSE 11.1 beta2) First switch to tcsh, with "tcsh" then: we like to complete the "convert" binary (part of Imagemagick). try: co[TAB] -> will be completed to "compress". ==> Obviously wrong, "bash" for example shows me ~30 binaries. How to debug this? ================== Its not that easy to debug, but I can say that on RHEL 5.2 it works as expected. (if you: set filec set autolist in RH. ) I will later attach the "set" environment from RH5.2 and the tcsh-ENV from SuSE is easy to view if you type "set". I didnt make it, to figure out what makes it work on RH, but not on SUSE. But I looks that its not releated to the binary. I copied the binary from RH to SuSE but the RH "tcsh" makes a wrong completion on SUSE too. (==> not binary related) So its somehow releated to the environment.(maybe "set") Btw: The "bug/feature" is present at least since SuSE 10.1 and maybe even before this. regards, Martin -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=437295 User vogt@itwm.fraunhofer.de added comment https://bugzilla.novell.com/show_bug.cgi?id=437295#c1 --- Comment #1 from Martin Vogt <vogt@itwm.fraunhofer.de> 2008-10-21 06:48:34 MDT --- Attachement is at the top from the bug report. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=437295 Michal Seben <mseben@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mseben@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |werner@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=437295 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=437295#c2 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Enhancement Status|NEW |ASSIGNED --- Comment #2 from Dr. Werner Fink <werner@novell.com> 2008-10-21 09:05:54 MDT --- run uncomplete -co* to be happy -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=437295 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=437295#c3 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Dr. Werner Fink <werner@novell.com> 2008-10-21 09:13:06 MDT --- fixed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=437295 User vogt@itwm.fraunhofer.de added comment https://bugzilla.novell.com/show_bug.cgi?id=437295#c4 --- Comment #4 from Martin Vogt <vogt@itwm.fraunhofer.de> 2008-10-21 09:25:29 MDT --- Hello, the "fix" came just in when I was writing the text below.(see below) Does fix mean: uncomplete * somewhere in the login scripts as default? regards, Martin Hello, ok, uncomplete -co* resp. uncomplete * did the job. And it looks now, that it behaves as bash :) Is this bugzilla entry now a "bug" or a "feature request". Should it be fixed in the login scripts before 11.1 (?) I see it from a standpoint of a sysadmin: tcsh-user "joe" enters: co[TAB] -> compress and user thinks: why the admin hasnt installed convert? (And writes a ticket to fix this). The user didnt know about the buildin uncomplete commmand (me either), but I was unable to figure it out :( I would vote to make the tcsh behaviour consitent with the default bash behaviour and put in a uncomplete * somewhere. (Is this really the fix or only a workaround?) regards, Martin -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=437295 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=437295#c5 --- Comment #5 from Dr. Werner Fink <werner@novell.com> 2008-10-21 10:05:23 MDT --- It is a fix and it is submitted. If you like to get the default behaviour of the bash you have to do `complete -r' in bash as the bash also have a minimal (and IMHO stupid) complete ... and I'll not remove the completes defined for the tcsh. Compare the /etc/profile.d/complete.bash and the /etc/profile.d/complete.tcsh ... and if you've installed bash-completion you may have a look onto /etc/bash_completion/* ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=437295 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |441654 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com