mrbigtaco
Joined: 26 Jun 2011 Posts: 35
|
Posted: Thu Jun 07, 2012 2:31 pm Post subject: Enhanced speedwalk functionality |
|
|
The tintin clone client lyntin allowed custom speedwalk directions (and exclusions) to be defined by the user. Briefly looking through the beta source code, it looks like it would be possible to bring this functionality to tintin "easily", but the process_speedwalk and is_speedwalk functions at a minimum would need to be rewritten. I started to write a patch but thought better of it since it wouldn't be as elegant because I'm not as familiar with C coding and it would be best to stay consistent with the design patterns already in use in tintin. It would take some additional time to familiarize myself with the list functions in use to add these properly.
From the lyntin command documentation:
http://lyntin.sourceforge.net/4.1.1/userdocs/COMMANDS
| Quote: |
COMMANDS.SWDIR
syntax: #swdir [<ALIAS>] [<DIR>] [<QUIET:BOOLEAN=false>]
This adds speedwalking aliases and tells you the current speedwalking dirs
already registered.
examples:
#swdir {n} {north}
#swdir {s} {south}
#swdir {e} {east}
#swdir {w} {west}
#swdir {NE} {northeast}
#swdir {l} {look}
...
This allows you to string characters together to speedwalk:
4e2sNE
which using the above swdirs gets expanded to
"east;east;east;east;south;south;northeast" and who wants to type all
that?
see also: swexclude
COMMANDS.SWEXCLUDE
syntax: #swexclude [EXCLUDE...] [<QUIET:BOOLEAN=false>]
Adds words that should be excluded from speedwalk expansion as well
as tells you which words are currently being excluded.
If you had swdirs "n", "e", "s", and "w", you might want to create
excludes for the words "sense", "news", "sew", ... Which are real
words that you most likely don't want to be expanded.
examples:
#swexclude {end}
#swexclude {news}
see also: swdir
COMMANDS.UNSWDIR
syntax: #unswdir [<STR>] [<QUIET:BOOLEAN=false>]
Allows you to remove swdirs.
COMMANDS.UNSWEXCLUDE
syntax: #unswexclude [<STR>] [<QUIET:BOOLEAN=false>]
Allows you to remove swexcludes.
|
|
|