Reputation
1,148
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
7 9
Newest
 Good Answer
Impact
~44k people reached

  • 0 posts edited
  • 5 helpful flags
  • 83 votes cast
Dec
1
comment path of folder within a folder in terminal
@EmmaTebbs, updated to keep the final /.
Nov
27
comment How to create and use dynamic and static libraries in linux (c programming)?
@Dadam, I'm of the opinion that a link is not an answer... it would need at least to be introduced by a summary that I don't feel like writing.
Nov
27
comment How to create and use dynamic and static libraries in linux (c programming)?
A good, but probably too complete for you, reference is akkadia.org/drepper/dsohowto.pdf
Nov
27
comment Why is my IP resolved to 127.0.0.1 instead of the IP I have in the network?
I don't know how python handles sockets, but if you have a socket (that is a pair of ip, port), you should be able to get extract the ip part without having to pass by the host (which is needed for instance when there are several interfaces)
Feb
12
comment nvm command not available in bash script
I'd print the path in the script before calling nvm and check if it is correct.
Dec
5
comment Can't add keyboard layout on Debian remote desktop
The issue is not the VNC protocol, it is the implementation of Xvnc. I've not looked at this for years (that's why I didn't give an answer, I haven't done the minimal research to provide something more than an outdated recollection).
Dec
3
comment Can't add keyboard layout on Debian remote desktop
I know of no X server providing the VNC protocol which has the XKB extension.
Oct
8
comment ANSI escapes in Pash prompt are displayed as garbage in Gnome terminal
You'd need to pipe that through od to be sure, but that doesn't look like ECMA-48 escape sequences, the abundance of %, the matching {} are very suspect and I wonder if you aren't getting the uninterpreted format strings (but I know nothing about C#, so could be totally off about that).
Sep
12
comment Open a directory and let it update itself using “tail -f”
rreverse sort, t sort by time; the result is that newest files are at bottom thus kept by tail.
Sep
10
comment Why does [a-z] asterisk match numbers?
Ok, what I missed was that the range was interpreted according to the current collation sequence.
Sep
10
comment Why does [a-z] asterisk match numbers?
Could you give an example of [a-z] matching more that the 26 letters matched in the C locale? What I remember from when I last looked at this, all encodings practically used in Unix variants had ISO-646 as a base (then the upper 128 codes where used differently, directly for characters in encodings like the ISO-8859-X, combined in encodings like UTF-8 or the EUC family). Even AIX hadn't EBCDIC locales (at least as available to me). I remember trying to find if POSIX/UNIX standards demanded it, but I don't remember the result.
Oct
9
comment Which programme calls csh.cshrc?
IIRC they are read even if the user has a version.
Sep
25
comment Use the system Compose database in Gtk applications
@Gilles, my guess is that the first is for GTK application to use X input method, the second is there to override some desktop settings trying to force every application to behave its way.
Aug
19
comment Cursor keys in bash in dtterm don't work as expected
Most probably not. I've not used it for years (and it seems to me that it was already EOLived then), but I don't remember that DtTerm was as much customizable. Although I think it used the XRessource mechanism, I doubt it used the same widget as XTerm.
Jul
31
comment gmrun stopped searching user added path
@Gilles, one potential source is the bash info manual ;-). At least in edition 3.2, that is given as an alternative way to testing $-. I don't remember why I ended up preferring it to testing $- (I traced back my use to 1999 which is the earlier revision I've not lost)
Jul
30
comment gmrun stopped searching user added path
@CravingSpirit, I do it only if the shell is interactive (PS1 set) as what I've in my .bashrc make sense only for interactive shells (so there is no environment variable definition in my .bashrc, in my experience those who set environment variables definition in their .bashrc are better served by setting the option which make launch shells from their terminal emulator as login shells).
Jul
4
comment Where is the Ctrl+/ (^/) bash shortcut for undo defined?
That or its configuration files (XTerm configuration is able to handle translation of X keypresses to strings -- but I don't see any in the appdefault installed here).
May
15
comment POSIX head and tail not feature equivalent
@StephaneChazelas, GNU head -n -1 needs also one line of storage (or two depending what you are really counting). And doesn't fail here.
Apr
16
comment End of lines problem in emacs when editing markdown texts via It's All Text
I'm far from sure it is an emacs problem and not an "It's All Text" one. Do you reproduce with a simple text file? If yes, does customizing require-final-newline solve your problem?
Apr
3
comment Why doesn't tar ask before overwriting existing files?
@mattdm, git handles trees, RCS handles files. For config files, this an advantage of RCS (in most contexts, it is a source of problems).