Skip to content

Commit

Permalink
Initial check-in of version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
David Burkhardt committed Feb 15, 2018
0 parents commit 3854fd4
Show file tree
Hide file tree
Showing 7 changed files with 8,844 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
To compile this you will need ncurses-dev installed.

As well making this fit on the screen requires using a small font called miniwi-8. It's included here.
Font Origin: https://github.com/josuah/miniwi

To build simply type "make" with the repo.

cloudshell-nmon: This script will set the small font and get the app running on /dev/tty8 (unused console)

Manual install you will want to copy the font file (miniwi-8.psf.gz) into /usr/share/consolefonts

Of course this all assumes you have the Cloudshell LCD working via it's module: fb_ili9340
28 changes: 28 additions & 0 deletions cloudshell-nmon
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash
# hardkernel CloudShell Screen update /w NMON
#
# requires the following packages:
# font
# curses
############## Configuration

# Change LCD to TTY8
chvt 8

# change terminal
export TERM=linux

# Disable LCD Slepp mode
echo -e '\033[9;0]' > /dev/tty8

# console font to very small
setfont miniwi-8 -C /dev/tty8

# assign the script to cpu0
PID=$$
taskset -cp 1 $PID

# Set default screen options for NMON
export NMON=xnfcD

/bin/nmon-xu4 >/dev/tty8 2>&1 < /dev/tty8
Binary file added cloudshell-nmon.deb
Binary file not shown.
Loading

0 comments on commit 3854fd4

Please sign in to comment.