However, since readline 7.0 update, it acts weird with multiline prompts.after every completion, the current line shifts up by 2 and i'm not a python nor readline expert at all.Anyone can look into this?

]]>https://bbs.archlinux.org/profile.php?id=206512016-11-16T13:08:29Zhttps://bbs.archlinux.org/viewtopic.php?pid=1669842#p1669842@Procyon:Any hope your AUR package will be back?]]>https://bbs.archlinux.org/profile.php?id=206512016-05-17T07:20:19Zhttps://bbs.archlinux.org/viewtopic.php?pid=1627895#p1627895I made some changes to the gui version.The code is largely rewritten, but the major changes are that:

* it now uses compgen too* opens the filelist window "inside" the caller Xwindow.* show icons near the filelist item that indicates the type of completion (dir,file,alias,environment,builtin and so on)* writing keys on the keyboard will select the matching item from the filelist* aur package available as kingbash-gb-git

]]>https://bbs.archlinux.org/profile.php?id=206512015-09-30T11:40:20Zhttps://bbs.archlinux.org/viewtopic.php?pid=1566183#p1566183I mean, what are some things you would like to see changed?]]>https://bbs.archlinux.org/profile.php?id=164202014-01-29T13:18:56Zhttps://bbs.archlinux.org/viewtopic.php?pid=1376083#p1376083If you can maintain that then that would be fine with me. Maybe use a kingbash screenshot instead of kingcon and the readme needs the bind -x command example.

Because I don't really see many updates coming anymore, and so I'll also just keep posting in this thread so it's easier for me. There are a few bugs left (like with F3 / time sort, and escaping out of line with backslashes can cause double backslashes), but I haven't been bothered to fix them. For (my) normal usage I think it's just fine as it is now and I'm really happy with it. Maybe if people have feature requests or my usage patterns change, then I'll work on it again.

]]>https://bbs.archlinux.org/profile.php?id=164202014-01-29T12:00:19Zhttps://bbs.archlinux.org/viewtopic.php?pid=1376065#p1376065Ok, I imported all the bash releases of Procyon's script into a git repo which is to be found at:https://github.com/eMPee584/kingbash@ProcyonI will gladly transfer it to you if you want to maintain it. I couldn't find a public mail address of yours, if you tell me I can add it to the commits.#best.]]>https://bbs.archlinux.org/profile.php?id=789642014-01-28T20:44:39Zhttps://bbs.archlinux.org/viewtopic.php?pid=1375864#p1375864Dear Procyon,thx for coding this up, it's what I failed quite miserably at on stereoidz ×-D

Would it be possible for you to create a repository on github? This would allow easier tracking of changes, packaging in other distros, issue tracking and distributed development...#bestRegards

]]>https://bbs.archlinux.org/profile.php?id=789642014-01-27T16:09:07Zhttps://bbs.archlinux.org/viewtopic.php?pid=1375471#p1375471I discovered that tmux does support line wrap stop, it's just that tput rmam doesn't know the control code when inside tmux.It works with echo -ne '\e[?7l' and it's the same code for urxvt and xterm.

]]>https://bbs.archlinux.org/profile.php?id=164202013-05-04T11:50:29Zhttps://bbs.archlinux.org/viewtopic.php?pid=1267882#p1267882That's good to hear. I'll update the AUR now.]]>https://bbs.archlinux.org/profile.php?id=164202013-03-23T17:33:53Zhttps://bbs.archlinux.org/viewtopic.php?pid=1248316#p1248316I'm using it right now, seems to run without issues ]]>https://bbs.archlinux.org/profile.php?id=206512013-03-18T08:08:25Zhttps://bbs.archlinux.org/viewtopic.php?pid=1245545#p1245545Okay, I think it's ready. Please try it out.

Because it's a function now, you need to pass compgen -A alias -A function to get completion for those commands.

You can add or replace "dirfirst" to "nohelp" if you want.

]]>https://bbs.archlinux.org/profile.php?id=164202013-03-16T21:02:14Zhttps://bbs.archlinux.org/viewtopic.php?pid=1244993#p1244993The new bash version is out, so I'll make an update soon. Lately I've been having trouble with CTRL+C on certain programs launched from a line made with tab-completion. I have no idea what causes this because stty -g and restoring it causes lots of other problems. I'll try to make it a script again.

I've had two options kind of tagged on: the help bar and directories first. Keep them like they are?

]]>https://bbs.archlinux.org/profile.php?id=164202013-03-16T12:52:00Zhttps://bbs.archlinux.org/viewtopic.php?pid=1244804#p1244804EDIT: It's fixed in the next version!

I wrote an example script that shows the bug clearly, please try it out:

Not that it will go into an infinite loop if there's no non-escaped space.If it echoes "Mistake" that means rest=${rest% *} didn't do anything and that means the last word in $rest will be appended another time to $last. It usually works after a few times.Example output in the final run:

]]>https://bbs.archlinux.org/profile.php?id=164202013-02-11T15:50:15Zhttps://bbs.archlinux.org/viewtopic.php?pid=1230400#p1230400There was a problem in the way strings are split. It will now exit when it's stuck on something. I think it's a bug in bash, but I can't repeat it outside this script.

]]>https://bbs.archlinux.org/profile.php?id=164202013-02-10T12:35:48Zhttps://bbs.archlinux.org/viewtopic.php?pid=1229867#p1229867Yeah, I put it on a timer now. 0.1ms seemed to be enough, but I put it on 2ms just to be sure.So if you press <tab> on an empty line now, you can complete a file, afterwards it will put the cursor at the start of the line.

I also made it so that command completions from scratch like with F2 and deleting all characters makes it so that it will prompt for the first key.Because a list of all commands sometimes gives kind of an annoying delay.

I also added a help bar at the bottom. You can remove it by running the bind -x command with "nohelp" as an argument: