Blaze II The Ceroc Scotland week-ender
Blaze 2008, Ayr 9/12th May 2008:
The Ceroc Scotland 3-nights Week-ender

Ceroc Scotland Forum

Ceroc Scotland Homepage

 

Go Back   Ceroc Scotland Forum > Discussion Lounge > Geeks' Corner
Mark Forums Read

Geeks' Corner A place to hang out to solve all your computer, electronic, technical or telecommunication problems. Be warned that a strong bias towards Apple products will be shown by moderators / admins!

Quick News
- Inverness Blues Week-end Friday 23rd & Saturday 24th May, Crown Court Hotel. Focus on Blues workshop + Freestyles. Book online now!
- Residential Focus Week-ender 6th/8th June. All inclusive 2 nights Dinner, Bed & Breakfast week-ender.
With 2 late night parties and 5 workshops (Teacher: Franck) based on the 5 Dimmensions of Dance! Price: Only £129.00, Book online now!

Upgrade your Forum experience, become a SILVER MEMBER!
Benefits of Silver membership: - View what everyone is up to on the 'Who's online page, be invisible on the Forum, *NEW* Create your own Blog, Remove Google Adverts, Filter new posts to avoid certain areas (e.g. Fun & Games, Chit Chat, Geek corner, etc...) when searching new posts, Send attachments in Private Messages, Chat room access *NEW*, choose a custom avatar and have a Signature! + 4000 Private messages and tracking... Join today from as little as £6.00: Silver Member Subscriptions

Reply
 
LinkBack Thread Tools Display Modes
Old 24th-March-2006, 03:47 PM   #1 (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
Another question(s) from a linux n00b

All hail the great *n1x exp3rts of the f0rum. I stand before you stripped of my cloak of experience in this strange yet powerful land of 2>&3 and #!/bin/bash.

I would like to be able to divert both stdin and stdout to /dev/rfcomm0 (a bluetooth-connected device) so I can use the keyboard as a terminal for it. What shell command will achieve that? (Then I'm going to use netpipes to connect /dev/rfcomm0 to a tcp port, but one step at a time.)

Secondly, I have been trying to setup vncserver (also vnc4server) so I can use a windows vnc client as vi is driving me a little bit nutty. I am using Debian 3.1r1 (sarge) but the logfile for vncserver indicates that no font files are being found, not even the default font 'fixed'. If anyone has experience of vnc and can give me some help by pm I will be forever in their debt.
El Salsero Gringo is offline   Reply With Quote
Old 24th-March-2006, 04:44 PM   #2 (permalink)
ducasi
Lovely Moderator
 
ducasi's Avatar
 
Join Date: Feb 2005
Location: Glasgow
Posts: 9,370
Rep Power: 6
Reputation Total: 3173
ducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to behold
Re: Another question(s) from a linux n00b

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...
__________________
Let your mind go and your body will follow. – Steve Martin, LA Story
ducasi is offline   Reply With Quote
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
Old 24th-March-2006, 06:19 PM   #4 (permalink)
ducasi
Lovely Moderator
 
ducasi's Avatar
 
Join Date: Feb 2005
Location: Glasgow
Posts: 9,370
Rep Power: 6
Reputation Total: 3173
ducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to beholdducasi is a splendid one to behold
Re: Another question(s) from a linux n00b

OK... What you really want then is a simple terminal emulator for the linux box to talk to the remote host... Maybe ckermit, or minicom...

Or perhaps ser2net is what you need...

As for vnc, I dunno... Could you run an X server on your PC? Or use Samba to edit the files on Windows?
__________________
Let your mind go and your body will follow. – Steve Martin, LA Story
ducasi is offline   Reply With Quote
Old 24th-March-2006, 07:30 PM   #5 (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
OK... What you really want then is a simple terminal emulator for the linux box to talk to the remote host... Maybe ckermit, or minicom...
Been trying minicom, can't get it to open the rfcomm device. I think, on your suggestion that ser2net is the way to go. Thanks for the idea.
Quote:
Originally Posted by Ducasi
As for vnc, I dunno...
Got it sorted now - had to install the right fonts as well.
El Salsero Gringo is offline   Reply With Quote
Old 24th-March-2006, 07:35 PM   #6 (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

And as for the anonymous repper who wonders how I can possibly not be single: if you have to ask...
El Salsero Gringo is offline   Reply With Quote
Old 25th-March-2006, 12:04 AM   #7 (permalink)
Dreadful Scathe
Papa Smurf
 
Dreadful Scathe's Avatar
 
Join Date: Jan 2002
Location: Planet Scathe
Posts: 9,449
Rep Power: 7
Reputation Total: 2185
Dreadful Scathe has much to be proud ofDreadful Scathe has much to be proud ofDreadful Scathe has much to be proud ofDreadful Scathe has much to be proud ofDreadful Scathe has much to be proud ofDreadful Scathe has much to be proud ofDreadful Scathe has much to be proud ofDreadful Scathe has much to be proud ofDreadful Scathe has much to be proud ofDreadful Scathe has much to be proud ofDreadful Scathe has much to be proud of
Re: Another question(s) from a linux n00b

Quote:
Originally Posted by El Salsero Gringo
Got my () central heating controller built,
g33k central What have you got computer controlled now then ?

Im considering the lights myself but my current projects are a full arcade emulator cabinet for a friend and remote controled helicopter with on board camera for the garden in better weather (got all the bits, just need the time )
__________________
"defiantly a pork soared" -fletch
"This is a discussion forum, not some sort of hippy poetry-reading commune" - DJ
Dreadful Scathe is offline   Reply With Quote
Old 25th-March-2006, 12:31 AM   #8 (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 Dreadful Scathe
g33k central What have you got computer controlled now then ?

Im considering the lights myself but my current projects are a full arcade emulator cabinet for a friend and remote controled helicopter with on board camera for the garden in better weather (got all the bits, just need the time )
Lights and heating - but they're controlled by embedded systems, not computer. Otherwise this place would be dark and cold every time a computer crashed.
El Salsero Gringo is offline   Reply With Quote
Old 25th-March-2006, 02:58 PM   #9 (permalink)
Clive Long
Registered User
 
Clive Long's Avatar
 
Join Date: Jan 2005
Location: London-innit
Posts: 1,465
Rep Power: 3
Reputation Total: 1316
Clive Long is a name known to allClive Long is a name known to allClive Long is a name known to allClive Long is a name known to allClive Long is a name known to allClive Long is a name known to allClive Long is a name known to allClive Long is a name known to allClive Long is a name known to allClive Long is a name known to all
Re: Another question(s) from a linux n00b

Quote:
Originally Posted by El Salsero Gringo
Lights and heating - but they're controlled by embedded systems, not computer. Otherwise this place would be dark and cold every time a computer crashed.
I've seen it.

Very clever, but more than a little disturbing when he can dim the lights from his mobile phone.

Tin foil hat ...... on!
Clive Long is offline   Reply With Quote
Sponsored Links
Advertisement
 
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux DVD to avi converter Clive Long Geeks' Corner 2 24th-September-2006 09:46 PM
Another rep question Jazz_Shoes (Ash) Forum technical problems / Questions / Suggestions.. 8 16th-April-2006 05:28 PM
Linux: automatic modem configuration El Salsero Gringo Geeks' Corner 14 16th-March-2006 07:50 AM
question foksie Beginners corner 8 30th-January-2006 10:35 AM
Open Source / Linux CD backup that spans CD-R Clive Long Geeks' Corner 0 21st-December-2005 07:29 AM


The time in sunny Scotland is 09:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0
vB Ad Management by =RedTyger=

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18