@Rinzwind Wow. Not only do you blithely pass the blame on to someone else (you're the one who mentioned shotguns!), you also go and call a diamond moderator an "animal".
Still, everything I said stands. You did pass the blame for something you brought up and you did call a mod an animal. That the particular mod in question happens to be an animal only makes it slightly better.
I just noticed we have both virtual-terminal and virtual-console, and neither is a synonym of the other. I suggest virtual-terminal be the main tag since that seems to be a little more popular, judging by searches of the site (either through the the built-in search engine or through Google) for "virtual terminal" and "virtual console". I think it doesn't really matter much, though.
Right now we have separate virtual-console and virtual-terminal tags. One should be made a synonym of the other, but which one should be the master tag?
We have another question on meta about this, posted well over a year ago, but it has languished unanswered and also seems like it's asking abou...
@EliahKagan Yeah sure, I can or anyone else can post it in Meta. The console looks like a server login which looks like a console. It may be a petty distinction, but just the same it may also help new users to keep it straight.
Right now we have separate virtual-console and virtual-terminal tags. One should be made a synonym of the other, but which one should be the master tag?
We have another question on meta about this, posted well over a year ago, but it has languished unanswered and also seems like it's asking abou...
@EliahKagan I decided to post it anyway. Now I'm going to get to hear the story of the blind men and an elephant, but it still looks like a console to me.
:) Thanks for posting. I think of a command-line interface as a terminal rather than a console, which may be why I didn't understand you initially. I don't think I have any particularly strong reason for thinking of it one way and not the other, though.
I have been trying to follow the instructions of the top answer here: link
but there are a number of things I don't understand.
(Both machines are Ubuntu 15.10 64bit)
Use scp or rsync or even a flash drive to transfer your home directory (~/, ~/.), the source list (/etc/apt/sources.list) an...
@Serg Yes, perl also has map{}. But do{}for is preferred syntactically because map{} is designed to actually modify the array it is mapped to. Practically, it makes absolutely no difference and do{something} for @list is equivalent to map{something}@list but I've been yelled at by more experienced people.
But no, sadly, not like list comprehension. That is, I must admit, an absolutely awesome feature of Python.
Although you can usually do it with grep. perl's grep is really powerful. Checkout perldoc -f grep
grep BLOCK LIST
grep EXPR,LIST
This is similar in spirit to, but not the same as, grep(1) and its
relatives. In particular, it is not limited to using regular
expressions.
Evaluates the BLOCK or EXPR for each element of LIST (locally
setting $_ to each element) and returns the list value consisting
of those elements for which the expression evaluated to true. In
scalar context, returns the number of times the expression was
@ByteCommander Battery isn't the problem - it's charging right now. The brain , however, just feels like it's steadily growing more and more tired. I'm slowly trying to fix my sleep and transition into the classes/work schedule , but it's slightly painful
The Tower of Hanoi (also called the Tower of Brahma or Lucas' Tower, and sometimes pluralized) is a mathematical game or puzzle. It consists of three rods, and a number of disks of different sizes which can slide onto any rod. The puzzle starts with the disks in a neat stack in ascending order of size on one rod, the smallest at the top, thus making a conical shape.
The objective of the puzzle is to move the entire stack to another rod, obeying the following simple rules:
Only one disk can be moved at a time.
Each move consists of taking the upper disk from one of the stacks and placing it on top...
For reference as to what the tower of Hanoi is, either Google it or look on the Wikipedia page.
Your code should be able to do 2 things, and they are the following:
Accept user input that specifies the number of discs at the starting point of the Hanoi tower
Create output in a fashion of your ...
I have no idea what I'm doing wrong, probably I'm too slow. Other people sometimes close their hand while mine isn't in place yet, so they basically shake my fingers only...
Or when somebody offers the hand and you are not sure whether to shake it low (thumb around hand), shake it high (thumb around thumb), make some sort of high 5 or knock the fist...
@Videonauth I've cast the final close vote. ...About your comment, though, are you sure posting a question on another SE site after it's immediately closed is really discouraged? I've never heard of that, we tell people to post on another SE site all the time when closing their questions and rarely mention migration, AU's official off-topic message mentions the other sites without saying to migrate, and moderators would be burdened with an awful lot of work if people followed such a rule.
@EliahKagan Please do not cross-post, flag your answer instead for moderator attention if you wish it to be migrated there. Thank you – Videonauth 21 mins ago
I did read your comment, and I have re-read it entirely as well as the excerpt you've just posted. I still don't understand how that addresses what I am saying. Are you telling the OP not to immediately post the question on Unix.SE, or not?
@EliahKagan it is not discuraged, well just my little assumption for cleanlyness tho, why having a closed junk here in the DB if it can be valuable elsewhere?
and @KazWolfe i guess youre right, migration is slower so for urgent questionsthis is not feasible.
The problem is that your comment has the effect of telling the OP that it is site or network policy. I don't know if you intend that or not, but I am sure that is how most newcomers would interpret what you have said. And I still cannot tell if you believe that it is site policy, but if you do then I am hoping you can provide a reference, and if you don't then I am hoping you will not just leave that comment as it stands.
well first time in over a year that im using the commetn and someone complains about, but well if you feel better i can remove it
and no ots not a policy, maybe its missing language skills on my side, i wwanted to just point out that cross posting is being frowned upon, at least between U&L and AU
That being said, migrations should only be flagged for actual good questions that would survive on this site if it were on-topic. Then, it's a waiting game. If you mention this to OP, it's really a race -- do mods migrate it or does OP repost in the right place?
If migrations were simple and fast, then yeah, I'd see a reason to discourage cross-posting in order to facilitate migration. Unfortunately, migrations are broken af, so just let OP do whatever. If OP wants to wait, they can. If they want to take care of it themselves, they can.
@William Could you add more details to the question? My guess is that this is for GNOME Terminal or something where by default Ctrl+Shift+C copies and Ctrl+Shift+V pastes, so as not to interfere with ^C and ^V, but I'm not sure how apparent that is for the question. It seems to me that it should be able to get a good answer either place, and the main thing is making sure it has enough information so people will know they can answer it.
Migration paths allow for questions to be moved from Ask Ubuntu to other sites in the Stack Exchange network. The idea is that rather than simply closing questions as being "off-topic", then the questions can be moved to be the correct Q&A website.
These could allow us to keep our site on topic ...
First of all, lets remember the golden rule of the migrations:
DO NOT MIGRATE CRAP
That said, why don't we open the migration paths from AU and UL? There has been 10 migrations to UL in the last 90 days, here the stats:
The migration to UL has been rejected lately, which has been norma...
@Videonauth I should probably delete my answer there. My position has changed since becoming a mod here and getting a better idea of how much crap would actualy be migrated were we to open the path.
@EliahKagan I rarely use the Ctrl+C command but copy a lot so I would simply like to switch the to so Ctrl+C copies and Ctrl+Shift+C executes Ctrl+C to the terminal?
@ThomasWard It's on topic where it is, so there's no reason to move it. Also, it really doesn't have much useful information so it isn't a very good question (no offense @William). If it were edited to specify what terminal is being used and to clarify what the issue with the shortcuts is, then it would be welcome on either Unix & Linux or here. However, the 2nd rule of migration is we don't migrate away things that are on topic.
Is it possible for me to make Ctrl+C perform a copy command if there is highlighted text in the terminal?
Otherwise, it should retain its normal behavior.
(If there is a terminal that can do this other than gnome-terminal, that's probably fine too.)
I've never understood why people don't just select text with the mouse to copy (@William, in case you don't know, simply selecting text automatically copies, no need for any keyboard shortcut, and the middle button pastes).
Even with a touchpad, all you need to do is select. You have to select anyway if you're to use a keyboard shortcut to copy and all touchpads have either a middle button or 2 buttons, so you can click them both together to paste.
@terdon @thoma any thoughts about thise auto comment text Im using?
Welcome to Ask Ubuntu! I'm sorry but this is not about Ubuntu and therefore off topic since other distributions mostly have different approaches about how to handle things we cant support that, so you might be better off asking your question on Unix & Linux. Please do not cross-post, flag your answer instead for moderator attention if you wish it to be migrated there. Thank you
@KazWolfe Just select something and then middle click. It will be pasted. This is very, very old behavior. I know I've seen it since 98-99 when I first started using Linux and I'm pretty sure it is as old as the mouse.
@William Well Ctrl+C already does copy in almost all applications other than terminal emulators. When you change the key bindings in GNOME Terminal, that shouldn't affect that. (This is if I understand enzotib's answer properly. I don't actually have GNOME Terminal handy to check right now. I mostly use Lubuntu with LXTerminal.)
@KazWolfe No, selecting copies. Middle click pastes. This is completely separate from the Ctrl+C/Ctrl+V, it uses a separate clipboard. All Linux (probably all *nix) systems have these two separate clipboards.
@terdon My concern is that it communicates that it is a site or network policy that if you post on one SE site and it's immediately closed OT, then you have to wait for it to get migrated, and cannot simply post it on the other site. I don't believe that actually is the policy. Having questions open or otherwise active on multiple sites is what we don't want, right?
No, you're right, suggesting migration is not necessarily the best thing. It's fine if someone else flags for migration, but it's much simpler for everyone involved (both the mods and the OP) if the question is just deleted and reposted.
@Videonauth Yeah, I think if it's modified to tell people that they can either post it somewhere else or ask for it to be migrated (but not both), then that could be helpful. So long as the comment is only used for stuff that looks worth migrating.
I got tired of trying to do VMWare+Word stuff on my laptop display so I "stole" a monitor from a desktop no one seemed to be using. Hopefully no one actually is using it.
@KazWolfe No. None of the deleted answers are "me too", "thanks", or the like. I'm not even sure all of those should be deleted.
@EliahKagan well its an auto script im using to insert those comments , so im not feeling like a tape recorder typing the same thing over and over again, but still being nice enough to let people know beforehand if a question is going to get closed , i really appreciate the feedback here, i guess i will word two versions, one fro content which took a long time to create and list (worth migrating) and one for the crap (not worth migrating) will be the solution here for my side
@William I don't think the procedure in enzotib's answer for getting Ctrl+C to copy in GNOME Terminal should affect any other applications. I think Edit > Keyboard Shortcuts is in GNOME Terminal itself. Does this not do what you need?
@William So when you say, how do you trigger Ctrl+C in applications, you mean, how do you send the signal to interrupt a program that's running in the terminal?