termshark icon indicating copy to clipboard operation
termshark copied to clipboard

Error starting UI: character set not supported

Open daladim opened this issue 2 years ago • 0 comments

Prerequisites

Please verify these before submitting an issue.

  • [x] I am running the latest versions of Termshark and Wireshark.
  • [x] I checked the README and User Guide and found no answer
  • [x] I searched issues and this has not yet been filed

Problem

Current Behavior

I am unable to run termshark -r capture.pcap, as it immediately stops with a Error starting UI: character set not supported [TERM: xterm-256color] error message (and a 1 return code)

If no file is specified, termshark successfully listens for packets, but shows the same error message whenever the first packet is sniffed (and does not show any UI either).

This is very similar to https://github.com/gcla/termshark/issues/21. But in my case, neither fiddling with TERM, using screen (or not), nor running as root (or as normal user) changed anything. I'm not sure what TERM values are accepted, as every one I tried was explicitly refused.

Context

  • Raspberry Pi 4
  • Raspberry Pi Os (or whatever it is now called) Bullseye
  • termshark 2.2.0-1+deb11u1 installed with apt
  • Same when running the pre-built version from https://github.com/gcla/termshark/releases/download/v2.4.0/termshark_2.4.0_linux_arm64.tar.gz
  • Installed TShark (Wireshark) 3.4.10 (Git v3.4.10 packaged as 3.4.10-0+deb11u1)
  • Using iTerm2 3.4.19 on macOS, accessing my Raspberry Pi via SSH
  • The shell I'm using is bash

Thanks

daladim avatar Jul 10 '23 09:07 daladim