🪧Kernel Placeholders
Do you want to <placeholder>?
Kernel placeholders are text variables for any piece of text that are replaced by different elements found within the kernel. They are parsed in several different areas of the kernel, the most famous example being the MOTD and the MAL messages.
The probing takes place in the PlaceParse.ProbePlaces()
function found within the KS.Misc.Probers.Placeholder
namespace. The following types of text use this function to parse the placeholders:
MOTD and MAL messages
Username prompt and their derivatives for each shell
Password prompt and their derivatives for each shell
Mail progress style
Mail progress style (single)
echo
commandManual page information style
GPG prompt style
Custom welcome banner
Remote debugger message format
RSS feed URL prompt style
Manual page contents
Download and upload progress for network transfers
Progress Clock screensaver's informational text variables
These are the placeholders and what possible values are going to replace them when being parsed:
Placeholder | Value |
---|---|
| Current logged-in username |
| Current logged-in FTP username |
| Current logged-in FTP server address |
| Current FTP remote directory |
| Current FTP local directory |
| Current FTP local directory name |
| Current logged-in SFTP username |
| Current logged-in SFTP server address |
| Current SFTP remote directory |
| Current SFTP local directory |
| Current SFTP local directory name |
| Current logged-in mail address |
| Current logged-in mail server |
| Current mail directory |
| Host name of the kernel |
| Current directory |
| Current directory name |
| Short date |
| Long date |
| Short time |
| Long time |
| Today's date |
| The time right now |
| Local timezone |
| Summer local timezone |
| Operating system |
| New line |
| User administrative indicator |
| Random file path |
| Random directory path |
| Reset the foreground color |
| Reset the background color |
| Sets the foreground color (where |
| Sets the background color (where |
| Uses the value of a UESH variable (where |
Last updated