1,057 reputation
26
bio website
location Kiev, Ukraine
age 40
visits member for 2 years, 5 months
seen 2 days ago

Aug
30
comment How did `git pull` eat my homework?
@Caleb your shell prompt includes git branch indication, which means forming PS1 includes git commands not exposed in your log. They can principally change the picture and can be the issue source. You should update the question describing precisely how your shell prompt is formed, what commands are run to get a current branch, and reconsider how they could spoil your repo.
Aug
30
comment Linker error: /usr/bin/ld: cannot find -lgcc_s
@Alex please don't mix gcc and ld flags. They are totally different. If you want static linking in gcc, use -static. Also you could be interesting in -static-libgcc. They are tons of undocumented gcc flags because it converts virtually all input flags to internal form before reprocessing, so don't surprise on unexpected result from undocumented flags.
Aug
29
comment support for utf-8 encoding with lpr
Seems that applied encoding is iso-8859-1. You can easily check this using its table. Some searching suggests calling as lpr -o document-format='text/plain;charset=utf-8' will be enough to print as you want, but this doesn't change your CUPS installation default which seems obsolete.
Aug
27
answered Convert UTF-8 character to xmodmap name
Aug
27
comment support for utf-8 encoding with lpr
I haven't deep CUPS knowledge but it definitely should include rules how to detect document type (with MIME type on output) and how to translate any for target printer, this includes rasterisation, forming Postscript or PCL file, etc. Could you please specify your printer type? Did you try a2ps? What encoding is really used on output, when you try utf-8? (I guess it's iso-8859-1)
Jun
8
answered Does asynchronous disk IO affect swap usage?
Jun
7
answered How are files opened in unix?
Apr
23
comment Is memory in user space always low to high
With last changes I don't see principal difference between BE and LE architectures. In both if you store 4 byte value at address N they will occupy bytes N...N+3. Yep, saving order differs, but none will save as N-3...N. Does it reply your question?
Apr
23
answered Do I compile Ubuntu Source code on Red Hat System?
Apr
23
answered Is memory in user space always low to high
Apr
20
comment FreeBSD 10 does not boot after clean install
First, with GPT, you should use /boot/pmbr instead of /boot/mbr. Then, boot partition should contain /boot/gptboot. Try to follow instructions from gptboot(8) manpage to restore booting.
Mar
21
awarded  Yearling
Dec
23
comment Why there is no Linux Handbook?
I see your point but can't agree. Linux as kernel isn't sticked e.g. to X, nor X is sticked to Linux. Ubuntu how migrates to Mir instead of X and Wayland is in plans; OTOH there is no X in a WRT based router. So what will be present in such book except local and obsoleted descriptions?
Dec
23
comment Why there is no Linux Handbook?
Why do you think there is a "core"? Linux Documentation/ is just kernel documentation. It doesn't know anything on graphics environment, games, text editors, compiler, etc. And there is no "zombie repeat" if e.g. one distro uses KDE but another is based on XFCE. Either you chasing mirages or simply mistaking the needed docs type. There won't be kernel-only handbook, no need in it. Please determine carefully what you need or explain an exact search request.
Dec
23
answered Why there is no Linux Handbook?
Dec
23
comment Determine if a specific process is 32- or 64-Bit
I've tested your recipe and it failed. OpenSuSE 12.2, x86-64, kernel 3.4.63-2.44-default, /bin/bash. The /proc/$pid/maps lines for the binary and the first heap are written in 32-bit style, but all others are in 64-bit style. Likely they are printed using "%08x", but anyway this recipe shall be adjusted.
Dec
18
comment Why use superflous dash (-) to pass option flags to tar?
You've also missed an important step: before inventing GNU style options with "--", Posix.2 specified to use "-W" for the same goal and this was supported by several Unix flavors. GNU getopt allows them in parallel if add "W;" to its option string, but two-hyphen style is recommended which is easier to read.
Dec
18
answered Why use install rather cp and mkdir?
May
25
revised Why are reboot, shutdown and poweroff symlinks to systemctl?
fix order of main() arguments
May
25
suggested suggested edit on Why are reboot, shutdown and poweroff symlinks to systemctl?