View Single Post
Old 24th-March-2006, 05:16 PM   #3 (permalink)
El Salsero Gringo
Ceroc Teacher
 
El Salsero Gringo's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 4,881
Rep Power: 4
Reputation Total: 2374
El Salsero Gringo has much to be proud ofEl Salsero Gringo has much to be proud ofEl Salsero Gringo has much to be proud ofEl Salsero Gringo has much to be proud ofEl Salsero Gringo has much to be proud ofEl Salsero Gringo has much to be proud ofEl Salsero Gringo has much to be proud ofEl Salsero Gringo has much to be proud ofEl Salsero Gringo has much to be proud ofEl Salsero Gringo has much to be proud ofEl Salsero Gringo has much to be proud of
Re: Another question(s) from a linux n00b

Quote:
Originally Posted by ducasi
Not sure I completely understand what you're trying to do...

A bluetooth keyboard as an output device?

Are you wanting to interact with Debian through the bluetooth connection, or interact with another device?

As for vnc, I'm not sure how that will save you from vi, but most vnc servers on Unix that i've seen, work by pretending to be a X server, and so will need a set of fonts, or a font server...
Got my () central heating controller built, installed, and working. It's configured via a bluetooth interface - using the rfcomm protocol. That means I can talk to it by BT browsing for it, pairing, binding its rfcomm service and accessing it via a "virtual" COM13 and Hyperterm on my PC, and /dev/rfcomm0 from my (new) linux install.

The idea is then to pipe the input/output of a TCP socket to rfcomm0 so I can 'telnet' to the controller from anywhere I please using the Linux box as a middleman. (This is a temporary solution, until I can write or modify a TCP stack for a microcontroller and build the hardware to run it.)

Back in Linux-world, netpipes will (using 'faucet') open a socket, as a daemon, and wait for incoming connections. Faucet's other argument is a expression to execute when the remote client connects to which input and output is directed in lieu of stdin and stdout.

So I need the shell command that will take stdin and send it to /dev/rfcomm0 and take output from /dev/rfcomm0 and direct it to stdout. Faucet will do the rest. Currently I can do it one way, or the other (cat < /dev/rfcomm0 for instance) but I don't know how to do both.

A nice option would be to parse for, say, the string 'done' and exit.

I hope vnc will save me from vi because I may be able to find an X editor to run over it. The debian package manager installs loads of stuff with vnc, including X bit'n'bobs, but it doesn't seem to get round to any fonts. Or at least, if it does, I can't get vnc to look at them.

Last edited by El Salsero Gringo : 24th-March-2006 at 05:22 PM.
El Salsero Gringo is offline   Reply With Quote