[arch-general] Ncurses over ssh

Daniel Micay danielmicay at gmail.com
Sat Jul 26 16:28:58 EDT 2014


On 26/07/14 04:09 PM, luc.linux at mailoo.org wrote:
> Hello everyone.
> 
> I am using newsbeuter to handle my rss feeds, and, to be able to use it
> from all my computers, I set it up on a server with ssh enabled. When I
> log in this server with ssh, then launch newsbeuter, everything works
> fine. But when I invoke it that way : `ssh [ip] newsbeuter`, newsbeuter
> fails with 'Error opening terminal : unknown'.
> 
> When I explicitly export $TERM[1], newsbeuter is able to launch, but it
> doesn't detect the terminal size and can't handle keys.
> 
> So I'll be glad if you know how to fix that matter.
> Thanks in advance.
> 
> 
> In a totally unrelated matter, do you know how to make a remote program
> launch local scripts through ssh ?
> 
> [1] : The command used is : 
>           `ssh [ip] 'export TERM=rxvt-unicode-256color && newsbeuter'`
> 

You need the terminal's terminfo on the server. If you don't have root
access there you can put it in your home directory.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20140726/2f0f19a2/attachment.asc>


More information about the arch-general mailing list