Programming :: Scrolling Clears All Previous Data?
Jul 21, 2011
how can i prevent erase of screen data while scrolling. When i use the ANSI cursor movement commands(27[PnS , 27[PnT etc) say for scroll down the top lines get erased. i.e. if i scroll up after scroll down, i am unable to view top lines again.
View 6 Replies
ADVERTISEMENT
May 13, 2010
my goal is to run Ubuntu from my USB as I go to lots of different computers. I would like to save files and settings to my USB each time I boot from a different computer. My USB is only 8GB but I figured it would be fine for what I am wanting to do.Anyway, when I boot into a computer, I am told that my USB only has 500mb of storage. That already irritated me. I decided to create a test word document. I save it to Documents and take out the USB. Once I am done, I boot into another computer. Not only are my background settings no longer in position, but that word document is not there.
Nothing gets saved at all to my USB. It isn't even letting me utilize my 8GB.Please help. I realize there are limits to booting from the USB, but a portable OS is the perfect solution for my circumstances.
View 5 Replies
View Related
May 12, 2011
this is my fstab::
Code:
LABEL=/ / ext3 defaults 1 1
LABEL=/backup /backup ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
[code]....
Now while installing, I had 2 Hdds. at the time of partitioning, i used both as separate Hdd and made a /backup. I used that for my backups. That was RH9. Now I want to install Centos 5. and i wish to keep the /backup as it was. (as my cron scripts and others are written in this way)I wish that it will be mounted at the time of boot. And moreover, I can add a new hdd (using the manuals) but I need to keep the data.
Also the second question:: I have implemented a WiFi hotspot in a hotel with a Cisco WLC and several Cisco APs. Now I wish to restrict and log on access for both wifi and wired LAN using user names. Raduis is okey... with a mysql password database... I found a thing named hotex hotspot billing. But that's expensive. Also FCS's module is expensive too. I do not need billing, just access control. Any ideas on this?? It must be a linux based kind of baremetal package...
View 3 Replies
View Related
Feb 11, 2011
I am running Red Hat 5.5. Yesterday, a simulation software program I was running froze. I attempted to abort the program but the computer was unresponsive. When I attempted to copy my data to an external drive, the computer completely froze. After 30 minutes of not responding, I did a hard shutdown. When the computer rebooted, it appears that it has reverted to a state from 4 days ago. All of the data files that my simulation has created in the last 4 days are gone completely. However, some data that I removed 3 days ago seems to be back on the computer.
I opened some of the "removed" files and they are not corrupt, the data appears as it should. I contacted Red Hat support but all they could tell me is that there is no record of anyone logging into the computer between 4 days ago and when I rebooted yesterday. They claim to have never heard of this problem before. I have had this problem once before on a different computer but the simulation program completely filled the hard drive, which is when it crashed and "reverted" to a previous time. But it looked like I still had 11GB free yesterday when it crashed.
View 3 Replies
View Related
Jan 18, 2011
I have a data in existing kernel & I need to update a new kernel version so afer the upgration , how can I access the data from the previous kernel.
View 12 Replies
View Related
Aug 25, 2010
This is to request assistance or information as to why the evolution application will not accept the evolution-backup-tar.gz file from a previous version.
Situation: I upgraded by way of a fresh install from openSuSE 11.2 to 11.3 (GNOME desktop).
Before upgrading, I produced the above mentioned backup file so that I could import all the mail, addresses etc. into the new application.
Result: it does not work. The process starts up seemingly normal but then simply sits there forever with the message "evolution shuts down" - but it does'nt. I have to kill it to stop it.
I am looking forward to a resolution since it would be a real pity if I lost the mail history.
View 8 Replies
View Related
Jan 26, 2010
When I install Fedora 12, I tried to use manual partition like before. But installation failed somewhere. So I have to accept Fedora 12's default partition. Once I experienced slow login problem. I have to reinstall. But the reinstallation would delete the previous installation. Is there a good way to keep personal files intact on reinstallation?
View 1 Replies
View Related
Jan 1, 2010
I updated to Thunderbird 3 by following instructions from http:[url]....Everything updated nicely, but in menu I don't have Thunderbird anymore - there is Shredder instead.Also Firefox was automatically updated - with change of name to Shiretoko with different icon. Wanted to make sure I added safe repositories, and why these changes?
ps. i checked some websites and seems like it is installing alpha/beta versions. so since it is not working now - how do i revert to previous versions without losing data, and how do i install thunderbird 3.0 then.
View 1 Replies
View Related
Dec 1, 2010
I've just recently put Ubuntu on my 2010 Macbook Pro 13 inch, and all seems to be running more or less alright.One thing i miss from OS X is the ability to reverse the scrolling direction, also inertial scrolling.Is there any way to implement this in Ubuntu?Also, i have already installed the Mactel trackpad drivers.
View 2 Replies
View Related
Mar 10, 2011
I am creating an application in java that uses a jTable for showing some data. There are multiple columns in that table, an I do not want to show them all at once, so the user slides the horizontal scroll for viewing the remaining columns.
View 3 Replies
View Related
Jan 4, 2010
I am playing around with PyGTK and come across a problem: When I put a TextView inside a ScrolledWindow, and type text into the TextView until it reaches the edge, the cursor goes outside the viewport and I can't see what I'm typing. How to make it so that the ScrolledWindow automatically scrolls so that the caret in the TextView is always in visible?
View 5 Replies
View Related
Nov 20, 2010
I'm looking for a powerful network traffic monitor that can do all of the following (or at least a combination of tools that can do the following):
Tell me how much data was downloaded/uploaded on an interface this month and the previous month tell me how the traffic was used throughout the monthshow which internal IPs (IPs in the 192.168.1.0/24 network) used how much traffic show which ports/protocols on those IPs used all that traffic
Hhow LIVE traffic flow statistics that can tell me total speed of traffic going through an interface as well asshow which internal IPs (IPs in the 192.168.1.0/24 network) are using how much of the traffic show which ports/protocols on those IPs are using that traffic
This tool will run on a linux router through which all my internal PCs are connected to the Internet. This means the tool(s) need to work with NAT (traffic being forwarded and not necessarily destined for the interfaced being monitored).
The distribution being run doesn't have a package manager so any packages or dependencies have to be manually compiled and SCPed over file by file. For this reason, the tool/tools need to be simple (things like vnstat, not things like ntop that have their own web interface).
I know that vnstat can tell me the first bullet point so it's only there incase there's a tool out there that can do everything. If there's a tool that can only do the second or third bullet point, that's great too - I'll just keep using vnstat and look for something else to do the other task.
View 6 Replies
View Related
Jan 17, 2010
I have everything working in terms of the video and audio both play. However the audio player I have will scroll over the banner when I scroll up. also will do this when Flowplayer is active (playing or waiting to play a video) and a slide out menu hides behind this player as well.
View 2 Replies
View Related
May 1, 2009
I want to make a script that will automatically change me into the directory I was in previously. I don't know if this could be added to my .bashrc or have it be a standalone script. Can I just alias last="/bin/pwd > /path/to/file"? But then I'd have to add it to the cd command somehow right?
View 4 Replies
View Related
Jan 3, 2010
I have Fedora 12 & GNOME. But, this actually is an issue with many Linux distro's and GNOME. If I set the Keep Aligned Check Box Off - the next reboot it is back too set on. (Right click empty area on GNOME Desktop). I have searched many forums and search engines, I must be doing my search wrong there must be others that have noticed this, And the posts I do find on it are sometimes pretty old, so it does not seem like a bug would be around so long. I saw some notes about Nautilus also but no answers. FYI In CentOS 5.4 & GNOME it works properly.
View 3 Replies
View Related
Jun 11, 2009
I am using read() in c++ to get data from a serial port. However, if no data is available on the serial port the function blocks until dta arrives.Example code:
//------------------------------------------------------------
char m_readBuffer[255] = {0};
char* p_curChar = m_readBuffer;
[code]...
View 1 Replies
View Related
Jan 4, 2010
I'm having a minor inconvenient issue with Suse 11.2/KDE4.3.From a cold boot, and then the first login, the desktop and WM [Compiz-Emerald] loads ok, but the plasmoids/icons are not 'clickable', although I can use keyboard, Command Line and 'right click' menus ok.If I restart X, then log in again, everything is ok, and stays ok until the next cold boot.It's as if the plasma desktop is masked [if that makes sense?], but only on the first login, as if there is a boot sequence issue or something.
View 1 Replies
View Related
May 9, 2010
I have some data files that should be distributed with my program. Using dist_pkgdata_DATA in Makefile.am, I get these files installed to /usr/local/data/share/package-name. The problem is that data is read-only, and my program needs to modify it. Playing with dist_sharedstate_DATA, dist_localstate_DATA, dist-data_DATA varibles, I got different installation directories, like /usr/local/com, usr/local/var, but data is always read-only.
How can I distribute modifiable data files with my package? I need some common directory for all users, or maybe local data in a user directory.
View 1 Replies
View Related
May 27, 2011
It seems that something is causing the memory cache to be cleared when the screensaver launches. Then when moving the mouse or hitting a key to stop the screensaver it takes forever for the already launched and minimized applications to redisplay. I am using the ubuntu classic desktop.
Now time to rant.
Natty has so many bugs it is impossible to work around them all. This memory issue is one of the worst. The dead zone caused by the static application switcher, and the application switcher plugins for compiz (and probably any override redirect window) is another big one. There is not a single window decorator for compiz that works right. I have encountered two packages with binaries that won't even run (emerald and xpdf). The nvidia drivers seem to have issues (this may be related to this memory clearing issue).
Without a doubt more bugs than any other release of Ubuntu to date. I have worked around most of them by recompiling, and etc., but this is a real pain.
This is all aside from the idiotic switch to unity, when it is clearly not ready for release. The general direction of Ubuntu is really starting to look bad. By the way, what is up with the decision to uglify the desktop with gray scale icons (I know this is an old one, but I haven't really ranted on Ubuntu yet).
Looks like I will have to revert to Maverick.
View 4 Replies
View Related
Dec 29, 2010
How can I set indent in .emacs to enable my new line starts from the same position of previous line?
like this;
Hello world <enter>
Second Hello world // "S" starts right under first line's "H"
View 4 Replies
View Related
Feb 28, 2011
At the moment I have a flat file which is being used by a few people. I want a script to remotely change the file, so I can start logging who is doing what.At this point here is one requirement I am trying to develop. We have text blocks who pretty much look like.I hope this is somewhat clear. I try to find $param for the right $workflow and change that. Can you help me to find $$var3 and change that?
View 1 Replies
View Related
Mar 4, 2011
I am trying to generic way to convert the string datatype to other primitive data type. To achieve, i used Template . But i getting error and couldn't resolve the issue and error reported is also clueless.
Code
====
#include <vector>
#include <iostream>
#include <string>
[Code].....
View 7 Replies
View Related
May 21, 2010
I have a perl/python interpreter available on the system so really as long as the script would run on a standard linux build I'll be happy.So I don't know how to program a script that would find the unique key (which if needed, can be easily stripped out and put into a separate file) and then print out the data below it without going into the other lines.
View 4 Replies
View Related
Jan 29, 2010
I'm just starting out on a project relating to web search, to be done in C++. Which library should I use to help with downloading web pages into memory so that I can process them? The big thing is I want to be able to download the pages into variables/structures without actually putting them onto the hard disk.I googled and saw libcurl, but I was confused by some of the examples and wondering if this was really what I wanted.
View 2 Replies
View Related
May 19, 2010
Anyone know some links where i can find about data structures using STL ?
View 4 Replies
View Related
Dec 3, 2008
have a tag in XML file in unix like this <EmailAddress>abc@gmail.com</EmailAddress> this tag is there for multiple times in the xml file and the data is in continuous line like below State>UN</State><Zip/><CompanyName/><EmailAddress>FDF@gmail.COM</EmailAddress><PromoType>UNKNOWN</PromoType></Promotion></PromotionList<State>UN</State><Zip/><CompanyName/><EmailAddress>zd4946@gmail.com</EmailAddress>I have to check the data in between bold tags is valid or not ... means have to check whether its a email address or not and have to find the length of the attribute means tag ...script is in kshsorry if its already asked...i checked but i didnt get Exatly matching result for my requirement
View 7 Replies
View Related
Aug 21, 2010
I'm trying to work out the best way to achieve the following.
1)php page that grabs data from a local database. (not a problem)
2)It then needs to send this data to a c program/service running on a remote server. (I probably need it to be able to handle 4+ million reocrds in an array)
3) The c service then needs to process the data and send it back to the initial php script that called it. i was hoping this could be in a an array like structure of some kind. 4)update the db with the results.
I was thinking of using gsoap to write a simple c soap service that php can communicate with. Would this be the right way of doing this or would something like sockets in php be a better way of sending this volume of data as an array or struct to linux c socket if thats even possible.
View 3 Replies
View Related
Aug 24, 2010
I need to read data from a socket but it should be always listening because data arrives continuously .. I thought something like this would do it but it doesn't work .... I already set the socket options before
Code: char databuf[1024];
int datalen = sizeof(databuf);
if(read(sd, databuf, datalen) < 0)
{
[Code]....
View 9 Replies
View Related
Jun 14, 2010
I declared a variable as int data type which was a placeholder for a resulttatus (meaning, based on the result status that variable varies from 0/1/2/3. It can contain only these four values).data type is 4 byte integer in C#. But I can declare this variable as which represents a 1 byte integer. Since that variable contains only 1 or 2 or 3 or 4, declaring the variable asis wastage of memory space.Before declaring any variable we need to just think of the memory space needed for that variable, our requirement,
View 6 Replies
View Related
May 13, 2011
I'm looking for a way to access the raw data on a CD.I have a small program that I'm using to play raw PCM data pushed into stdin.I'd assumed that I could just use:play-pcm < /dev/cdromBut this isn't producing any data.Will I need to do this programatically or is there a simple way for me to grab raw data from an audio cd in the same way I might do so for a data cd?
View 2 Replies
View Related