[Dovecot] dovecot and pine tab-completion
Hello,
So, I'm migrating from Binc to Dovecot, and one of my users has run into an odd complaint/issue. I don't know that it's a Dovecot issue necessarily, but maybe the people here know a fix anyway...
The problem is that pine tab-completion now appends a "." to the end of folders that have sub-folders. In other words, say the user has these folders:
INBOX
INBOX.foo
INBOX.foo.bar
When he types in INBOX.f and hits tab, for some reason Pine completes that to:
INBOX.foo.
Note the "." on the end. This is annoying, because then to get into foo he has to hit the delete key first. With the Binc server, the delimiter was /, and INBOX/foo/ was a perfectly legitimate folder name (so he could just hit return).
Does anyone have any suggestions for how to fix this?
~Kyle
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -- Ed Howdershelt
On Sat, 2007-03-10 at 13:08 -0700, Kyle Wheeler wrote:
Note the "." on the end. This is annoying, because then to get into foo he has to hit the delete key first. With the Binc server, the delimiter was /, and INBOX/foo/ was a perfectly legitimate folder name (so he could just hit return).
Does anyone have any suggestions for how to fix this?
You could change the separator to '/' with namespaces, but Dovecot doesn't treat "INBOX/foo/" as a valid mailbox name either. So you can't get this changed from Dovecot's side without modifying the sources. Or a plugin might work too.
I think this would be better fixed in Pine, so that if tab+enter is done it removes the separator.
On Saturday, March 10 at 10:29 PM, quoth Timo Sirainen:
You could change the separator to '/' with namespaces, but Dovecot doesn't treat "INBOX/foo/" as a valid mailbox name either. So you can't get this changed from Dovecot's side without modifying the sources. Or a plugin might work too.
Hmm, okay. Can you point me to the right region of code for stripping separators off the end of those strings in Dovecot? I'm guessing that it would just need to be done for SELECT commands, right?
I think this would be better fixed in Pine, so that if tab+enter is done it removes the separator.
I heartily agree. Unfortunately, the Pine folks are somewhat... well, let's just say they have their hands full with Alpine.
~Kyle
Man has the right to act in conscience and in freedom so as personally to make moral decisions. "He must not be forced to act contrary to his conscience. Nor must he be prevented from acting according to his conscience, especially in religious matters." -- Catholic Catechism 1782
On Sat, 2007-03-10 at 14:06 -0700, Kyle Wheeler wrote:
On Saturday, March 10 at 10:29 PM, quoth Timo Sirainen:
You could change the separator to '/' with namespaces, but Dovecot doesn't treat "INBOX/foo/" as a valid mailbox name either. So you can't get this changed from Dovecot's side without modifying the sources. Or a plugin might work too.
Hmm, okay. Can you point me to the right region of code for stripping separators off the end of those strings in Dovecot? I'm guessing that it would just need to be done for SELECT commands, right?
Right. src/imap/cmd-select.c
participants (2)
-
Kyle Wheeler
-
Timo Sirainen