This post describes how to start a screen session in linux (specifically raspbian for raspberry pi) and then connect to it using a kindle (k5 touch, but should work with other versions too) and a usb cable: you will type using the keyboard connected to the raspberry (or any linux pc), using the kindle as a monitor.
--------------------
on the raspberry:
boot raspbian to the command line (works also from a terminal in the desktop)
start the ssh server ("sudo raspi-config" or "sudo /etc/init.d/ssh start")
$ sudo ifconfig usb0 192.168.2.1
create a named screen session: $ screen -S foo
--------------------
on the kindle:
root the kindle
install usb-network and start it
install a terminal (kterm for example)
$ sudo ifconfig usb0 192.168.2.2
$ dbclient pi@192.168.2.1
attach to the existing screen session:
$ screen -x foo
in alternative:
$ screen -rxU
-r resumes a detached screen session -x resumes a not-detached screen session -U tells the terminal to use UTF-8 encoding (which I use exclusively)
http://unix.stackexchange.com/questi...screen-session
screen -list (list active screens)
---------------------
not sure if this is necessary in raspbian /etc/network/interfaces
allow-hotplug usb0
mapping hotplug
script grep
map usb0
iface usb0 inet static
address 192.168.2.1
netmask 255.255.255.0
broadcast 192.168.2.255
up iptables -I INPUT 1 -s 192.168.2.1 -j ACCEPT
--------------------
todo (maybe someone can help)
automate the login in raspbian and autostart ifconfig and the screen session
start screen in raspberry with a predefined size that fits the kindle
start vim in rasbperry with a fixed number of rows and columns (this can be done with "set lines=50 columns=44"
connect using wifi