« first day (1153 days earlier)      last day (3809 days later) » 

12:00 AM
it's not the “raw character code”, on the contrary, it's the way the terminal represents the key
and why would keys have character codes anyway? Why not represent them as keys?
I've written a bunch of posts on the topic, I need to see if one of them (or someone else's) is on a duplicate question
 
@Gilles in your opinion, would "the way the terminal represents the raw keycode it received from the keyboard" be better?
 
@strugee this is the best background I could find on the site:
2
A: What is bash's meta key?

GillesThe mapping from keyboard keys to modifiers like Meta and Control is handled by the X server (i.e. the low-level part of the GUI). This mapping can be manipulated through the old-style xmodmap command or the new-style XKB interface, or through a GUI configuration tools that uses one of these unde...

didn't find a duplicate of the question
 
12:24 AM
0
A: Is there any reason why I get ^[[A when I press up arrow at the console login screen?

GillesKeyboards send events to the computer. An event says “scan code nnn down” or “scan code nnn up”. At the other end of the chain, applications running in a terminal expect input in the form of a sequence of characters. When you press A, the keyboard sends the information “scan code 38 down”. The co...

 
@Gilles I've edited the answer, is that better? I realize you've posted your own answer but I thought I might as well
 
12:42 AM
@slm and others: enjoy
0
A: Can I stop SElinux from working?

GillesFirst, you can stop SELinux from working by misconfiguring it. That does nothing to disable any backdoor, though. Then you can stop SELinux from doing anything by configuring it at runtime. If you run setenforce 0, SELinux stops enforcing security restrictions. It's still active, though. All you...

@strugee yes
 
@Gilles can't tell if troll or Ken
see also:
17
A: How to compile the C compiler from scratch, then compile Unix/Linux from scratch

strugeeAFAIK the only way to be completely sure of security would be to write a compiler in assembly language (or modifying the disk directly yourself). Only then can you ensure that your compiler isn't inserting a backdoor - this works because you're actually eliminating the compiler completely. From ...

 
@strugee your answer should at least mention the Thomson hack
 
@Gilles I believe I had not read it at the time that I wrote that answer.
 
2
Q: Run a command without making me wait

themirrorOn the CLI, sometimes a command I type takes a while to complete, and sometimes I know when that's about to happen. I'm a bit confused on "backgrounding" and such in Linux. What is the most common (or user-friendly way) of telling the CLI that I don't want to wait, please give me back my prompt ...

didn't we do that yesterday?
0
Q: Opening Firefox from terminal

AWEWhen I type firefox in terminal, it starts Firefox but the terminal "hangs". What is happening behind the scenes? Can I open Firefox from terminal and keep on using the same terminal tab for other things without closing Firefox?

today's question is actually better, so I voted to close the earlier one as a duplicate
 
1:13 AM
@Gilles zsh doesn't have disown right?
 
@Braiam wrong
 
@Braiam zsh doesn't have smallness. anything else is generally fair game.
 
ok
weird, no manpage about disown :(
 
@strugee really?
-rwxr-xr-x 1 root root 941252 Jan  1  2013 /bin/bash
-rwxr-xr-x 1 root root 616716 Feb 29  2012 /bin/zsh4
(what that doesn't mention is the ~1MB of dynamically loadable modules that ship with zsh)
 
@Gilles it was a joke.
I thought there was a section about it in the BUGS section of man zsh but apparently that's only in man bash
I'd be interested to see a memory comparison. that'd include the dynamic modules, right?
well, a lot of them
 
1:19 AM
zsh was using 30mB of godknowswhat the other day...
what is the help equivalent of zsh? it corrects me to yelp but I'm sure that's the GNOME help page render
 
@strugee I get 43MB for a freshly-started interactive zsh and 22MB for a bash with my configuration (which loads a handful of modules). That's virtual memory, i.e. including all code and data whether it's ever loaded into RAM or not
@Braiam run-help
bound to M-h by default
 
I need a keyboard with compose, meta and super keys separated...
this is ridicoulous...
 
@Gilles interestiing. I'd have tested it myself but I'm on an NT system. groan...
 
@strugee cygwin
 
@Gilles yeah, I know. I have it
but... eh
 
2:04 AM
Hi !
I have a question, maybe someone could assist me. It is about Linux Kernel RT scheduler
 
 
4 hours later…
5:41 AM
@newprint don't ask to ask. just say your question, and someone will look at it when they come online
 
 
6 hours later…
11:48 AM
I wonder if they are going to change the now so appropriate background colour of the new top-bar from black after the period of mourning for the loss of the old one is over.
 
slm
@Anthon - yeah the black is annoying to me as well. It's too in my face w. black, the other color made it blend in better.
 
12:31 PM
@slm Apart from that it broke my login automation :-/
 
 
2 hours later…
2:19 PM
Any ideas? I have thought of another way to get the data that I need, but its kind of indirect and unreliable.
 
3:12 PM
So, do others hate the new look as well?
 
slm
3:28 PM
@FaheemMitha - I'm not thrilled
 
3:59 PM
@AsheeshR have you tried redirecting both error and stdout?
 
4:20 PM
0
Q: Can't run put udisks commands in udev scripts

warl0ckI'm trying to launch a script when a LUKS drive is inserted. So I setup a udev rule: KERNEL=="sd*3", ACTION=="add", ATTRS{serial}=="XXX", ATTRS{manufacturer}=="XXX", RUN+="/usr/local/bin/syncer-trigger /dev/%k" The script runs as normal user and calls xce4-terminal internally. Then the terminal...

Am I reading that right? OP is starting an X app from a udev trigger?
 
slm
@derobert yup
 
Well, I posed a semi-coherent comment.
Random guess: maybe use $devnode/%N instead of /dev/%k. I believe $devnode should already be set up... E.g., that's how mdadm's rules do it: ACTION=="add", RUN+="/sbin/mdadm --incremental $devnode --offroot" ... but this is only a guess, and I'm not at all confident it will help. I wouldn't be surprised if udev won't process the next event (LUKS drive) until its done with the current event. In which case, need to find a way to get udev to not kill your terminal... — derobert 3 mins ago
I'm pretty surprised udev is managing to kill the terminal.
Oh, maybe its killing the process group
 
slm
5:04 PM
I suggested using dbus-triggerd
0
A: Can't run put udisks commands in udev scripts

slmI think you're down a level too deep in trying to do this with UDEV. Rather I'd try and do it with D-BUS instead. I found this tutorial titled: JACKdbus - Desktop integration - backend-switching that discusses how, using dbus-triggerd. The tutorial is meant for OSX but should be adaptable to sui...

 
 
2 hours later…
6:39 PM
88
Q: Is anyone else personally terrified of the new bar at the top?

GHarpingIt's just that the children are worried and so am I. Is it safe?

:-P
 
7:19 PM
ugh. I can't deal with the black. everything else I'm OK with but the black is so clashy with the color scheme of every Stack Exchange site ever
so I came back to this tab to find that somehow a bug had caused the orange chat buttons and the blue background and the text box to change to black. coincidence?
 
slm
8:07 PM
☻/
/▌
/\
 
@strugee you mean tha black that is not technically black?
correct me if I'm wrong, but someone needs a script running continuously in the background? is not called script anymore, right?
 
 
2 hours later…
10:29 PM
@Braiam what would it be called then?
I'm not sure there is a strict definition of what a script is.
But probably anything written in a scripting language counts?
 
@derobert mm... script for me means "I'm too lazy, let me get a script do the work whenever it needs to being done"
 
slm
11:13 PM
@derobert @Braiam - to me a script is anything that is reflected in a sequence of commands, that's contained in a executable file. The executable file should be of a textual nature, and not strictly binary.
 
@slm I think I have a post on that somewhere on U&L or maybe SU
 
slm
@Gilles - I have a strong memory of reading it somewhere on SE too.
I'l try and search for later tonight
 
could even be on cs
By the way
Since I can't see my vote count easily anymore, I'm trying to ration my votes, sticking to “this is grossly wrong”, “I learned something”, “this question is downright stupid” or “this question is very interesting”
and no longer for a mere correct answer with a nice explanation
so you guys should vote more to compensate!
at >50 questions per weekday, a lot of people should be hitting the vote cap frequently
 
@slm D:
I'm not in the list
 
slm
11:27 PM
I noticed.
If you read something that is valuable to you (even if it only imparts knowledge to you) you should up vote it
 
slm
if it's a good Q upvote, w/o them we're SOL
If it's crap DV
 
yeah, most of the time I notice the lack of upvotes unless is funny or easily agreeable
 
slm
If you have spare votes and do not know what to vote on. Then go through the back catalog until you're out or go through the unanswered: unix.stackexchange.com/questions?sort=unanswered
 
or DV if the community feels that they cant agree
 
slm
11:31 PM
voting is what powers the sites
since w/o it there is no way to sep. the wheat from the chaff.
 
I normally vote if I find something through google easily or using the supercollider (aka hot SE questions) in other sites
 
@slm also through late answers
I almost only interact with the site through the new questions list, so I miss late answers to old questions
where late = not posted the same day, given that I usually visit the site close before midnight GMT
I've never found a way to gravitate towards interesting answers
 
@Braiam that doesn't filter interesting answers
 
slm
@Gilles - obviously I'm here most of the day so I interact with the late ones through the review queue, and also just through my poking around through-out the day. I also like to find Q's w/ answers w/o an accept, and vote those up where they're right, this helps to close the gap if there wasn't one accepted.
@Braiam Everyone pitches in where they can 8-)
 
11:42 PM
@Gilles yeah, they still have not invented the machine to find interesting things
... yet
 
I'm only at 21, I can afford to spend two votes on that one
 
wait what? vi?
 
slm
you can use vi or emacs mode for key-bindings in Bash
default is emacs
@Gilles - where'd you get the total votes for the day?
@Gilles - nevermind, see it at the bottom of my main page
 
@slm in my profile, but it's a hassle loading it all the time
 
slm
@Gilles - I found it, thanks
 
11:56 PM
Sysadmin since '95. Never heard of disown until today, thanks! It doesn't work with every shell though (checked bash, zsh, tcsh. tcsh did not work). — yoonix 21 hours ago
tsk tsk... tcsh?
 
it's still being maintained. There's a bugfix release every year or so
but tcsh hasn't been the most advanced interactive shell since about 20 years ago. And even bash has adopted pretty much all of its features now
 
I had to install it to checkout one of my answers, that was painful...
 
Yay! I only voted 28 times today
well, I should say boo, since there were easily 12 more posts I could have voted on
 

« first day (1153 days earlier)      last day (3809 days later) »