Skip to content

Hardware & Devices

Discussions on hardware (choosing, setting up, troubleshooting) and device drivers (for those who like the colour blue)

This category can be followed from the open social web via the handle hardware-devices@forum.codeproject.com

1.5k Topics 6.1k Posts
  • 0 Votes
    1 Posts
    3 Views
    No one has replied
  • Bluetooth device / service ?

    question
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Network questions

    com sysadmin help question
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • 0 Votes
    6 Posts
    17 Views
    T
    Member 14968771 wrote: Your analogy is plausible, however, it does not explain how clicking on the text highlights it – if it is "gone" / does not exist per your explanation. It does not exist in your application (well, your application may still have the original, from which a copy was sent to xterm, but that is a different object). But xterm saves in its own buffer the output it receives from the application. It uses the contents of the buffer to redraw the window, say, if you resize it, or scroll the text up and down. This text buffer belongs to xterm. It is not accessible to your application. The highlighting is done in this buffer, by xterm. All you input and output goes through xterm (as long as your focus is in the xterm window). xterm knows where you click your mouse, and knows the size of character cells in its window (they are all the same, at least in classic xterm). Calculating from the mouse coordinates which character cell was clicked is trivial. (If you use variable-width font, it is just semi-trivial.) xterm starts at from this character and looks at the preceding and following characters in its text buffer. As long as they are 'word characters', it adds highlight to it and searches forward, but stops on whitespace, punctuation etc. If you could monitor the connection between xterm and your application when you mark the word, you would see none. The marking is something xterm does for itself, alone. I haven't been working with xterm for a number of years, and don't remember all the details, but like most *nix-born applications, it has a ton of options. I guess that you can tell xterm to give you all the raw input - certainly from the keyboard, so that your application can interpret copy (mark) and paste keystrokes, but maybe even mouse input. Your problem is that xterm manages its own scrolling, word wrapping etc. and your application cannot know where it has placed the output text you gave it. So even if you get the mouse click position, you don't have the information to know which word the cursor was pointing at. If I understand your need correctly (and you do not want to give your application its own tailor made X-based user interface), the simple but somewhat pedal driven way to do it is to open a text editor with a new empty file (or one where you want to add another log record), mark the text in your xterm window, and then past them into the file in the text editor. There are multiple ways to mark
  • How to list all devices on network

    csharp sysadmin tutorial
    7
    0 Votes
    7 Posts
    21 Views
    I
    Here is a Site where you can get Free[ Android ](https://classyapk.com/)Apps.
  • Gmail helpdesk

    com
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Unimplemented RAID ( 5) causing crash

    question linux help
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Linux Ubuntu grub issues - how to resolve ?

    linux tutorial question announcement
    3
    0 Votes
    3 Posts
    10 Views
    L
    edit grub menu - Google Search[^]
  • 0 Votes
    2 Posts
    8 Views
    D
    You've chosen the wrong site for your linux support questions, so YOU deal with it! Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak
  • 0 Votes
    2 Posts
    7 Views
    L
    Try Enterprise Open Source and Linux | Ubuntu[^]
  • data storage on aero planes

    question hardware architecture lounge
    3
    0 Votes
    3 Posts
    10 Views
    C
    thanks. your second statement is slightly disorienting. You`re talking about digital "feedback" which is similar, on a superficial level, with force feedback. If my understanding is correct planes do have force feedback on the control column.
  • CD playback

    question
    3
    0 Votes
    3 Posts
    8 Views
    C
    Thanks for your answer
  • Dissect Linux multiboot system

    linux question announcement hardware help
    6
    0 Votes
    6 Posts
    18 Views
    L
    I expect he's too busy working on his "rules to be adhered to by CodeProject members".
  • Which Resonator Should I Choose For My Radio?

    com design help question
    4
    0 Votes
    4 Posts
    12 Views
    C
    yai ck, In case it helps... Last year I restored an antique tube radio. I found the members of the forums at www.antiqueradios.com to be very knowledgeable about radio technology. Best wishes, Craig
  • robotic arm way of functioning

    iot question
    6
    0 Votes
    6 Posts
    16 Views
    L
    Those robots were programmed to repeat a fixed set of actions with very little sensor intervention. Move forward x inches, move left y inches, spot weld for z milliseconds, move back, and wait for the next car to arrive.
  • processor transistor layout

    5
    0 Votes
    5 Posts
    17 Views
    T
    At my former workplace, some of the pictures on the wall were microphotographs of the company's former chip generations, based on the 8051 architecture developed in 1980. You could easily identify rectangular areas with a regular, quite fine-grained structure: the memory banks. Other areas were more irregular; those were the CPU. Some areas with almost no identifiable structure, more like 'spotty'; that was the various I/O devices (this was an embedded type chip, with lots of I/O beyond the CPU capabilities); you could even identify a couple coils - the chip I/O included a radio. So you could identify various areas, but it just looked like different kinds of structures, more or less regular or irregular. Seeing the shape of individual components was not possible, at least not on these wall posters. I am talking about 40+ years old 8-bit technology (or rather: architecture), approx. 50,000 transistors for the CPU. Even with that simple chips, you wouldn't get what you are asking for. Today's 64 bit processors are extremely more dense, and complex, approaching 50 billon transistors. You will probably see "gray" areas that are likely to be the cache memory. If pointed out to you, you can probably distinguish a few other functional areas from the rest, but all you can see is that they are different from, and less regular than, the cache areas. For the simple question of "what does a so-and-so type transistor really look like?", you can probably find 3D engineering drawings, similar to that of a MOSFET in the Wikipedia article "Transistor". But those are drawings, not the chip photographs you are asking for.
  • Achat pc bureau

    html asp-net question
    2
    0 Votes
    2 Posts
    6 Views
    C
    Ceci est un site en anglais Hello, I would like to buy a pc but in terms of characteristics, I don't know anything, what do you think of this one? Lenovo V130 All-in-One / Dual Core / 4 GB Desktop PC |Electro Tounes this would be for web development (coding) thank you in advance
  • Gemalto IDBridge CT700 (PC PIN PAD) Experience

    4
    0 Votes
    4 Posts
    14 Views
    J
    hello i need the same as you. We need to be able to use it for loyalty purpose with. Do you succeed to use it in an unsecure way to be able to get the pin back to a computer ? thanks JJ
  • How to backup partition?

    question linux tutorial
    2
    0 Votes
    2 Posts
    7 Views
    S
    Hello, If you want to clone or backup a partition using Gparted then follow the given steps. Notes:- a) Target Partition you need to copy/paste is not mounted. b) For cloning partition, you need to boot PC using GParted Live CD. 1. Download GParted ISO file & burn it to a CD. 2. Boot your PC using that CD. 3. Then it will automatically boot using the GParted Live (Default settings). 4. Now select Don't touch keymap and click OK. 5. Now GParted interface will open and then right-click on the partition you want to backup and select Copy. 6. After that, select the second disk and right-click on it & select Paste option. Note:- If you are using the unallocated space then GParted will ask you set how much space to use. Hope it helps. :)
  • how to activate new USB "Flash drive " in Linux ?

    linux help adobe ai-models tutorial
    2
    0 Votes
    2 Posts
    7 Views
    S
    good. Thank you for the information