Getting "error running xterm" using nano?

I'm working as root in an adb shell and I need to use nano to create a text file (services). But when I try to run the command nano /opt/etc/services I get an error "Error opening terminal: xterm." When I try to run xterm I get "xterm: not found". I've searched but can't find xterm. Can anyone suggest a fix for this dilemma?

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by alvina62
42 minutes ago
Last post by reggie55
11 minutes ago
file system?
Started by edwardo05
Last post by oswald70
31 minutes ago
Last post by donnelly.ken
2 hours ago
Last post by dmorar
1 hour ago
Last post by bsanford
3 hours ago
Last post by lowe.hyman
41 minutes ago
Last post by ashton22
10 minutes ago
Last post by jordan15
53 minutes ago
Last post by sofia.hagenes
1 hour ago