mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 15:43:02 +02:00
klish: fix line drawing characters
For some reasone upstream changed the Pager (less) from -r to -R, to explictly only allow ANSI color sequences. This caused the 'show interfaces' command to output <EF><33><13> style replacement chars instead of UTF8 line drawing characters. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -23,6 +23,8 @@ define KLISH_INSTALL_CONFIG
|
||||
$(INSTALL) -t $(TARGET_DIR)/etc/klish -D -m 0644 \
|
||||
$(@D)/klish.conf $(@D)/klishd.conf
|
||||
sed -i 's/#HistorySaveAlways=n/HistorySaveAlways=y/' $(TARGET_DIR)/etc/klish/klish.conf
|
||||
# Fix line drawing characters 'show interfaces'
|
||||
sed -i 's/\(Pager.*\)-R\(.*\)/\1-r\2/' $(TARGET_DIR)/etc/klish/klish.conf
|
||||
endef
|
||||
KLISH_POST_INSTALL_TARGET_HOOKS += KLISH_INSTALL_CONFIG
|
||||
|
||||
|
||||
Reference in New Issue
Block a user