Posts

Showing posts from September 28, 2018

Why when I run `$ ipcs` are all shared memory segment keys “0x00000000”?

Image
Clash Royale CLAN TAG #URR8PPP up vote -1 down vote favorite So when I run $ ipcs , the shared memory segment section returns a variety of results: ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 524288 jvn 600 524288 2 dest 0x00000000 1048577 jvn 600 524288 2 dest 0x00000000 1769474 jvn 600 393216 2 dest 0x00000000 753667 jvn 600 524288 2 dest 0x00000000 1146884 jvn 600 16777216 2 The 0x00000000 value is present in every IPC object, why does it not differ? What does it mean? To provide more context, the TLDP states: To obtain a unique ID, a key must be used. The key must be mutually agreed upon by both client and server processes. This represents the first step in constructing a client/server framework for an application. When you use a telephone to call someone, you must know their number. In addition, the phone company must know how to relay your outgoing call to its final destination. Once the other party responds by ans

CONVMV and cyrillic filenames

Image
Clash Royale CLAN TAG #URR8PPP up vote 3 down vote favorite I am trying to convert filenames in russian zipfile to UTF-8 using convmv. Original filename: "æ óá¡¿½∞¡δ¼ áα«¼áΓ«¼.jpg" (æ óá¡¿½∞¡δ¼ áα«¼áΓ«¼.jpg with slashes) This analyzer (https://2cyr.com/decode/?lang=en) detected source encoding CP866 + displayed as CP437, and successfully decodes to desired С ванильным ароматом.jpg. My question is, how can I set up convmv to decode it properly? For convmv -f cp866 -t utf-8 filename , I get "already UTF-8", in --nosmart mode I get jibberish. linux character-encoding share | improve this question edited Sep 9 at 12:10 Jeff Schaller 33.1k 8 49 111 asked Sep 8 at 17:20 Adam PlÅ¡ek 18 2 add a comment  |  up vote 3 down vote favorite