summaryrefslogtreecommitdiff
path: root/usr.bin/nerve/nerve.c
AgeCommit message (Collapse)Author
37 hoursusr: nerve: Add 'peek' verb to nerve(1)Ian Moffett
While poking at a nerve can be very useful, there are times where we need to peek at them to see their current state. This commit introduces the 'peek' verb to do exactly that. Here is how one may peek at the console features: -- [chloe::osmora]~ nerve peek consfeat ansi_esc=1 show_curs=1 -- Signed-off-by: Ian Moffett <ian@osmora.org>
37 hoursusr: nerve: Convert nerve name in nerve_to_def()Ian Moffett
Add helper to convert nerve name into numeric nerve type so that peek_nerve() may be implemented while keeping things clean. Signed-off-by: Ian Moffett <ian@osmora.org>
37 hoursusr: nerve: Ensure nerve packet does not overflowIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
37 hoursusr: nerve: Use 32 bit datum rather than 8 bitIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
39 hoursusr: nerve: Add 'consfeat' nerveIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
39 hoursusr: nerve: Write 'c' directlyIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
41 hoursusr.bin: Add 'nerve' program to poke ctlfsIan Moffett
The 'nerve' program allows users to poke at a ctlfs entry and write their own data. Signed-off-by: Ian Moffett <ian@osmora.org>