Root/data/platform/nanonote/gmenu2x.sh

1#!/bin/sh
2
3source /etc/profile
4
5#Use Nanonote-specific 6x10 font. This font is very clear, but can't display colors
6#This results in 53x24 terminal size
7#setfont2 /usr/share/setfont2/un-fuzzy-6x10-font.pnm
8# This is to display line drawing glyphs correctly (the font itself doesn't contain this information)
9#loadunimap /usr/share/setfont2/ben_uni.trans
10
11#Or use standard 6x11 font (supporting colors)
12#This results in 53x21 terminal size
13#setfont /usr/share/kbd/consolefonts/kernel-6x11-font
14
15#Some people prefer terminus font (supports colors and more glyphs)
16#This results in 53x20 terminal size
17#setfont /usr/share/kbd/consolefonts/ter-v12n.psf
18
19#We use 6x10 font by default (forked from standard 6x11)
20#This results in 53x24 terminal size
21setfont /usr/share/kbd/consolefonts/kernel-6x10-font
22
23trap "" hup
24
25clear
26exec /usr/bin/gmenu2x.bin
27

Archive Download this file



interactive