I'm running an embedded poky linux (linux-yocto v3.13) on a beagleboard. However, I'm having trouble when logging in over a serial using PuTTY: the terminal does not resize at all. Usually, the terminal resizes automatically when the PuTTY windows is resized. Not so in my case. The terminal stays at 80x24.  dmesg says  [    0.000000] Console: colour dummy device 80x30   at the beginning. However, when I start e.g. nano right after boot, it's actually 80x24.  When I do  stty columns 200 stty rows 50 reset   manually, the terminal still stays at 80x24. However, the stty changes do carry over when using a program, e.g. nano. So nano will be the correct size (200x50), but the actual terminal will stay small.  SET yields (even after the stty commands above!)  COLUMNS=80 LINES=24 PS1='\u@\h:\w\$ '   Now, I wouldn't have a problem with 80 columns per sé. However, long commands don't wrap to the next line, they just overwrite the beginning of the current line for some reason.  opqrstuvwxyzabcdefghijkl^Cmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmn   I googled far and wide and the only "answers" that came up had to do with PS1 containing stray color codes that throw off the width calculation. However, that's not the case here.  I'd much appreciate some help in this matter, as I'm losing my sanity over this...
When using the serial console of my system I always end up with $COLUMNS=80 and $LINES=24.  While I can change these variables manually it is somewhat annoying to do this any time when the client side terminal window has been resized.  Usually I'm connecting to the console using screen /dev/mytty baudrate.  Changing the $TERM environment variable to "screen" or "xterm" does not help.  Will I need to call getty with some of those instead of vt100?  Needless to say that all of this works fine, when I connect to the same machine using ssh.
Pay real money to set bounties (another method, not replacing rep method) It may seem like a stupid thing, but could we please be able to pay real money to set a bounty.  For example, if I had only 1 rep, I want to be able have a bounty.   Here late the suggested prices in USD. Convert money    $0.49 for each 50 reputation $0.99 for each week $1.99 for a month $9.99 for a year   Every month, the bounty fee would come in. This would mean you would have to enable your account with a bounty fee button on your profile. jQuery: Selecting and manipulating html elements outside the DOM Grammatical number agreement in a complex phrase using singular "they" Execute sudo without Password? bi-directional sync with rsync I have always argued adamantly, as long as the issue has been around, that gift should never be used as a verb. However, someone whose English knowledge I quite respect disagrees.  I’ve done some searching and I haven’t found a consensus; should gifting be shunned? Possible Duplicate:          I know that I have to find the number of factors of $5$'s, $25$'s, $125$'s etc. in order to do this. But how can you derive such a formula for any number $n$? Convert string to Title Case with JavaScript Is there a simple way to convert a string to Title Case? E.g. john smith becomes John Smith. I'm not looking for something complicated like , just (hopefully) some kind of one- or two-liner. Whenever I start an application like Terminal or Preview, they are always opened as a small window on the top left corner of the screen. Is there any way to set them to open in the center of the screen? Preferably maximized too? How to determine callee function name in a script To make it short, doing something like:  -bash$ function tt {  echo $0; }  -bash$ tt   $0 will return -bash, but how to get the function name called, i.e. tt in this example instead? How to prevent upper case in page header? I just came across this small problem which I can't seem to fix. I have a section which looks like this:  \section{Properties of $C_q$}   The problem is that the header of the page uses upper case and so it displays this section title as if I had written  \section{Properties of $C_Q$}   How can I make sure the q is always lower case? Are these intended activities legal to do in the USA under the VWP? I'm a British citizen traveling to the USA next month with an ESTA to see my fiancee. I'm traveling there to plan our wedding, talk about a location to get married, and probably finalise a date and a booking with my fiancee (US citizen). This is the primary reason for my trip to the USA. Am I allowed to do this as a tourist? I would like to know for when the CBP officer asks me if this thing is allowed.  Am I allowed to enter the USA, on a separate trip (probably later this year), for the sole purpose of marrying my fiancee, provided I can persuade the CBP officer I intend to leave at the end of my trip? My fiancee and I are moving to the UK next year. How can I determine whether a 2D Point is within a Polygon? Show rigorously that the sum of integrals of $f$ and of its inverse is $bf(b)-af(a)$ Suppose $f$ is a continuous, strictly increasing function defined on a closed interval $[a,b]$ such that $f^{-1}$ is the inverse function of $f$. Prove that,   $$\int_{a}^bf(x)dx+\int_{f(a)}^{f(b)}f^{-1}(x)dx=bf(b)-af(a)$$   A high school student or a Calculus first year student will simply, possibly, apply change of variable technique, then integration by parts and he/she will arrive at the answer without giving much thought into the process. A smarter student would probably compare the integrals with areas and conclude that the equality is immediate.  However, I am an undergrad student of Analysis and I would want to solve the problem "carefully". That is, I wouldn't want to forget my definitions, and the conditions of each technique. For example, while applying change of variables technique, I cannot apply it blindly; I must be prudent enough to realize that the criterion to apply it includes continuous differentiability of a function. Simply with $f$ continuous, I cannot apply change of variables technique.  Is there any method to solve this problem rigorously? One may apply the techniques of integration (by parts, change of variables, etc.) only after proper justification.  The reason I am not adding any work of mine is simply that I could not proceed even one line since I am not given $f$ is differentiable. However, this seems to hold for non-differentiable functions also.  I would really want some help. Pictorial proofs and/or area arguments are invalid. Can I use a one-way ticket to come to the UK? Or do I need to show a return ticket to be able to get in? Why do rain waves form and what is their connection to the texture of the surface they're on? When it rains and water flows down an inclined street, ripples may form that are carried along with the current. Here's a picture with an example of what I'm talking about    I'd like to know what the fluid mechanical mechanism is for the formation of these waves. A quick google search reveals that they've been identified in some scientific literature as "rain waves" (if you have a jstor subscription you can see ) but I've only been able to find phenomenological descriptions of their properties without any details of the physics giving rise to them. In particular, I'm curious if people think that the surface on which the water is flowing must have a particular texture in order to give rise to the waves. How strong is Superman on Krypton? When Superman goes back to visit his home planet (using his ability to travel through time, I guess), is he:    an exceptionally strong and athletic Kryptonian? just an average Kryptonian male? a weakling on account of spending a lifetime in the comparative microgravity of Earth?   A possibly related question: why is Superman so muscular? What kind of weights does he lift to stay in shape?  The answers to  are all about Superman's superpowers on Earth compared with other visitors from Krypton; I'm asking about Kal El without his superpowers.  Clarification: I'm asking about the "classic"  Superman, say late Golden to early Silver Age, roughly 1945-1960. (Yes, I know the concept evolved during those years.) I'm not sure what that would be in terms of "numbered Earths", those came along after my time. I'm pretty sure the Kryptonians of that era had no superpowers in their native milieu, nor would Kal El if he were deported in space-time to his native world. Why does a bigger sensor lead to a shallower depth of field? How does A* pathfinding work? My machine is currently running Windows 7. I have 2 partitions: OS (C:) and DATA (D:). I intend to do a native Ubuntu 14.04 install. Assuming I format my Windows OS partition, will I have full access to my D partition in Ubuntu ?