I have looked at the answers to the question How do I change keyboards from the command line?, however I have found that even though they indicate how to switch input-sources through Terminal, they do not show how to switch between the modes of the input-sources. For instance I have "Japanese (Anthy)" installed which has several different mode settings section: Input mode, Typing mode, Segment mode, and Dictionary mode. In each of these there are different modes you can set for these settings. Like the Input mode one provides input modes such as Hiragana and Katakana, the Typing mode one allows you to change between Romaji, Kana, and Thumb shift, and the others have other various options you can change between to change the input-source mode.
These are very easy to change through the GUI as there is just a pull-down menu in the AppIndicator bar however as I will be needing to use TTYs for a while and not have access to the normal GUI, I need to know how to switch between these different modes in Terminal. So how can this be done?
At very least I need to know how to switch between the Input mode modes.
I am running Ubuntu GNOME 15.10 with GNOME 3.18.