Click here to Skip to main content
16,004,927 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
QuestionLaptop Dual Monitors Pin
Kevin Marois17-Apr-23 12:24
professionalKevin Marois17-Apr-23 12:24 
AnswerRe: Laptop Dual Monitors Pin
Richard MacCutchan17-Apr-23 22:08
mveRichard MacCutchan17-Apr-23 22:08 
AnswerRe: Laptop Dual Monitors Pin
jschell18-Apr-23 5:08
jschell18-Apr-23 5:08 
AnswerRe: Laptop Dual Monitors Pin
Gerry Schmitz25-Apr-23 2:52
mveGerry Schmitz25-Apr-23 2:52 
QuestionSOLVED - Write protected hard drive...How to make writeable Pin
Richard Andrew x6412-Mar-23 11:12
professionalRichard Andrew x6412-Mar-23 11:12 
AnswerRe: Scan for "Bluetooth service " is skipping devices Pin
jschell16-Feb-23 6:57
jschell16-Feb-23 6:57 
AnswerRe: Scan for "Bluetooth service " is skipping devices Pin
Richard MacCutchan16-Feb-23 22:19
mveRichard MacCutchan16-Feb-23 22:19 
GeneralRe: Scan for "Bluetooth service " is skipping devices Pin
Richard MacCutchan17-Feb-23 5:48
mveRichard MacCutchan17-Feb-23 5:48 
GeneralRe: Scan for "Bluetooth service " is skipping devices Pin
trønderen17-Feb-23 8:26
trønderen17-Feb-23 8:26 
AnswerRe: How to use bluetooth to pass simple ASCII serial data ? Pin
Richard MacCutchan28-Dec-22 21:41
mveRichard MacCutchan28-Dec-22 21:41 
AnswerRe: How to use bluetooth to pass simple ASCII serial data ? Pin
Eddy Vluggen29-Dec-22 8:42
professionalEddy Vluggen29-Dec-22 8:42 
QuestionOverall System Speed Performance Difference DDR3 vs DDR4 Pin
BernardIE531713-Dec-22 12:15
BernardIE531713-Dec-22 12:15 
AnswerRe: Overall System Speed Performance Difference DDR3 vs DDR4 Pin
Richard MacCutchan13-Dec-22 23:16
mveRichard MacCutchan13-Dec-22 23:16 
AnswerRe: Overall System Speed Performance Difference DDR3 vs DDR4 Pin
tugrulGtx17-Dec-22 8:18
tugrulGtx17-Dec-22 8:18 
QuestionTrying to use GPU detection, Google has failed me. Pin
Jordan Reardon7-Dec-22 12:43
Jordan Reardon7-Dec-22 12:43 
QuestionNetwork questions Pin
Joan M24-Nov-22 0:53
professionalJoan M24-Nov-22 0:53 
AnswerRe: how to identify the " selected text highlights" event ? Pin
trønderen21-Nov-22 8:16
trønderen21-Nov-22 8: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
trønderen22-Nov-22 4:25
trønderen22-Nov-22 4:25 
AnswerRe: how to identify the " selected text highlights" event ? Pin
Gerry Schmitz21-Nov-22 10:02
mveGerry Schmitz21-Nov-22 10:02 
AnswerRe: how to identify the " selected text highlights" event ? Pin
Richard MacCutchan21-Nov-22 21:43
mveRichard MacCutchan21-Nov-22 21:43 
AnswerRe: Linux Ubuntu grub issues - how to resolve ? Pin
Gerry Schmitz26-Aug-22 9:02
mveGerry Schmitz26-Aug-22 9:02 
AnswerRe: Linux Ubuntu grub issues - how to resolve ? Pin
Richard MacCutchan26-Aug-22 22:02
mveRichard MacCutchan26-Aug-22 22:02 
AnswerRe: bluetoothctl command - how to disable it ? (terminate command ) Pin
Dave Kreskowiak26-Aug-22 8:56
mveDave Kreskowiak26-Aug-22 8:56 
QuestionHow to list all devices on network Pin
HarryRIchard24-Aug-22 17:37
HarryRIchard24-Aug-22 17:37 
AnswerRe: How to list all devices on network Pin
Dave Kreskowiak24-Aug-22 17:55
mveDave Kreskowiak24-Aug-22 17:55 

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.