Click here to Skip to main content
15,559,758 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
PinnedHOW TO ANSWER A QUESTION Pin
Chris Maunder16-Jul-09 4:09
cofounderChris Maunder16-Jul-09 4:09 
PinnedHow to get an answer to your question Pin
Chris Maunder16-Jul-09 4:05
cofounderChris Maunder16-Jul-09 4:05 
QuestionHow to use bluetooth to pass simple ASCII serial data ? Pin
Member 1496877128-Dec-22 17:58
Member 1496877128-Dec-22 17:58 
AnswerRe: How to use bluetooth to pass simple ASCII serial data ? Pin
Richard MacCutchan28-Dec-22 22:41
mveRichard MacCutchan28-Dec-22 22:41 
GeneralRe: How to use bluetooth to pass simple ASCII serial data ? Pin
Member 1496877129-Dec-22 4:39
Member 1496877129-Dec-22 4:39 
GeneralRe: How to use bluetooth to pass simple ASCII serial data ? Pin
Member 1496877129-Dec-22 9:49
Member 1496877129-Dec-22 9:49 
AnswerRe: How to use bluetooth to pass simple ASCII serial data ? Pin
Eddy Vluggen29-Dec-22 9:42
professionalEddy Vluggen29-Dec-22 9:42 
QuestionBluetooth device / service ? Pin
Member 1496877120-Dec-22 4:23
Member 1496877120-Dec-22 4:23 
QuestionOverall System Speed Performance Difference DDR3 vs DDR4 Pin
BernardIE531713-Dec-22 13:15
BernardIE531713-Dec-22 13:15 
AnswerRe: Overall System Speed Performance Difference DDR3 vs DDR4 Pin
Richard MacCutchan14-Dec-22 0:16
mveRichard MacCutchan14-Dec-22 0:16 
AnswerRe: Overall System Speed Performance Difference DDR3 vs DDR4 Pin
tugrulGtx17-Dec-22 9:18
mvatugrulGtx17-Dec-22 9:18 
QuestionTrying to use GPU detection, Google has failed me. Pin
Jordan Reardon7-Dec-22 13:43
Jordan Reardon7-Dec-22 13:43 
QuestionNetwork questions Pin
Joan M24-Nov-22 1:53
professionalJoan M24-Nov-22 1:53 
Questionhow to identify the " selected text highlights" event ? Pin
Member 1496877121-Nov-22 8:20
Member 1496877121-Nov-22 8:20 
AnswerRe: how to identify the " selected text highlights" event ? Pin
trønderen21-Nov-22 9:16
trønderen21-Nov-22 9:16 
You'll probably hate me for answering to your post without giving you the answer you want.

But it doesn't exist.

When your application sends out some text on a serial line, going to a teletype or CRT or whatever, it sends that text away. The text on your screen is not the string in your application. It is a copy of a string in your application - a copy that has been sent away.

Imagine yourself sending a letter (in the paper sense) to a friend. This friend picks up his yellow marker to highlight a couple words that you wrote; he might refer to those words when replying to you. You are asking for a way to change the letter you sent him a day or two ago, in the words that your friend highlighted. You can't. The words are no longer under your control.

The xterm highlighting you see is completely independent of your application. xterm is like a remote friend of the application: The text(copy) belongs to xterm, and it is xterm doing the highlighting, completely out of the control of the application. Whatever your xterm wants to do with the highlighted word(s), it can do. Essentially, it can copy the word(s) into a copy/paste buffer and paste it in as part of the input so that you don't have to type it on the keyboard. The application knows nothing about this copy/paste business and sees the paste as if it was typed.

If you want your application to be aware of highlighting done by the user, xterm is not the right tool You will have to write your own X11 client. It may look quite similar to that xterm client at the UI, but it will have a very different interface to your application, not trying to emulate an RS232 connected dumb terminal, the way xterm does.
GeneralRe: how to identify the " selected text highlights" event ? Pin
Member 1496877121-Nov-22 14:28
Member 1496877121-Nov-22 14:28 
GeneralRe: how to identify the " selected text highlights" event ? Pin
trønderen22-Nov-22 5:25
trønderen22-Nov-22 5:25 
AnswerRe: how to identify the " selected text highlights" event ? Pin
Gerry Schmitz21-Nov-22 11:02
mveGerry Schmitz21-Nov-22 11:02 
AnswerRe: how to identify the " selected text highlights" event ? Pin
Richard MacCutchan21-Nov-22 22:43
mveRichard MacCutchan21-Nov-22 22:43 
QuestionUnimplemented RAID ( 5) causing crash Pin
Member 1496877129-Aug-22 8:43
Member 1496877129-Aug-22 8:43 
QuestionLinux Ubuntu grub issues - how to resolve ? Pin
Member 1496877126-Aug-22 8:16
Member 1496877126-Aug-22 8:16 
AnswerRe: Linux Ubuntu grub issues - how to resolve ? Pin
Gerry Schmitz26-Aug-22 10:02
mveGerry Schmitz26-Aug-22 10:02 
AnswerRe: Linux Ubuntu grub issues - how to resolve ? Pin
Richard MacCutchan26-Aug-22 23:02
mveRichard MacCutchan26-Aug-22 23:02 
Questionbluetoothctl command - how to disable it ? (terminate command ) Pin
Member 1496877126-Aug-22 7:28
Member 1496877126-Aug-22 7:28 
AnswerRe: bluetoothctl command - how to disable it ? (terminate command ) Pin
Dave Kreskowiak26-Aug-22 9:56
mveDave Kreskowiak26-Aug-22 9:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.