General :: Replacement For Clrscr() Function?

Jan 21, 2011

i have been using turbo C for a while to do programing . can u plz let me know the replacement for clrscr() function in linux

View 1 Replies


ADVERTISEMENT

General :: Write Script To Use Function And Still Keep Function Active?

Feb 21, 2010

the function terminates if no key is pressed for 10 consecutive seconds. I tried using the -t option as suggested in some forums, but my version of showkey doesn't have the option of changing the timeout. The options I get are:

-h --helpdisplay this help text
-a --asciidisplay the decimal/octal/hex values of the keys
-s --scancodesdisplay only the raw scan-codes
-k --keycodesdisplay only the interpreted keycodes (default).

Is it possible to write a script to use this function and still keep the function active until an interrupt is recieved?

View 6 Replies View Related

General :: Gui Replacement For Grub?

Aug 3, 2010

setting up a dual boot system and would like a gui replacement for grub

View 6 Replies View Related

General :: Recommendations For A Suitable Replacement?

Mar 21, 2011

I noticed over the weekend that there don't appear to be any new stories showing up at linuxtoday.com. Does anyone know what's up? Any recommendations for a suitable replacement?

View 5 Replies View Related

General :: Hardware Replacement Slackware

Jan 15, 2010

I intend to replace my hardware (except hard disks). Is it possible to avoid reinstalling the system? I guess it will not boot with new hardware configuration.I have 64bit Slackware 13.

View 6 Replies View Related

General :: Most Popular Replacement Distro For OLPC?

Apr 25, 2011

I want to get rid of OLPC XO-1's builtin distribution (mostly because it's impossibly slow to use for anything, even browser and pdf reader). What's the most popular replacement distro for this?

View 1 Replies View Related

General :: Sed: Perform Replacement Only On Even-numbered Lines?

Jul 20, 2010

I'm sure this is possible but I can't figure it out. I have a file formatted like this:

Code:
>SEQUENCE1
FGFD665:?@663:BBBBAA?A@<<4!1004699<7444399>???888455555?AAA?AABBB@@@<<<34
>SEQUENCE2
>&<4!1004699<7444399>???888455555?AAA?AABBB@@@<<<34BBB@@
>SEQUENCE3
???888455555?AAA?AABBB@@@<<<341004699<7444399>???888BBB@@

The odd-numbered lines containing >SEQUENCE# are the headers and the even-numbered lines containing a variety of characters represent DNA sequence read quality scores.

I want to replace all of the greater-than (">") symbols in the quality scores (even-numbered lines) with a "0" but I want to leave the greater-than symbols on the odd-numbered lines alone. I would just use sed -i '/^>/! s/>/0/g' $FileName but sometimes the quality scores begin with a ">" as well.

I'm sure there is a simple modification of a normal sed command with an "n" inserted somewhere but I can't figure it out.

View 3 Replies View Related

General :: Replacement On More Than One Line In Text Files Using Shell

Nov 25, 2010

How can I replace one instance of a word in a text file with a piece of text that spreads several lines ? I know sed or awk is the way to go but don't know that how I can introduce new paragraphs using these tools

View 1 Replies View Related

General :: Sed And Back References Replacement Doesn't Work

May 16, 2011

usually I don't have any issue using regex usually, but today.... It just doesn't want to work. I've a text file (called "data") containing this:

[Code]....

View 2 Replies View Related

General :: Vim - String Replacement From Current Position To End Of File?

Jan 24, 2011

What is the vim command I have to use when I want to perform a text substitution not on the current line or on the whole document or on lines from number x to number y but just from the current cursor position down to the end (or up to the beginning) of the document?

View 1 Replies View Related

OpenSUSE Hardware :: Multi-function Epson Stylus Sx218 - Can Not Run The Scanner Function ?

Mar 24, 2011

I bought a multifunction stylus sx218 Espon model and I can not run the scanner function. I did some research and found a few solutions and very functional. I hope someone solves the problem. My version of openSUSE 11.2.

View 9 Replies View Related

Programming :: How Can A Friend Function Access A Public Function From A Base Class

Nov 16, 2010

Code:
#include <iostream>
using namespace std;

[code]...

View 1 Replies View Related

Programming :: Passing Data From Interrupt Handler Function To Tasklet Function?

May 18, 2010

I am doing some Linux kernel programming for my research project. I need to record the timestamp (by using cpuid and rdtsc) when an interrupt handler (top half) is first invoked. Due to the time critical nature of the problem itself, I have to do the timestamping inside the interrupt handler itself (the first operation when the handler is called). However, I understand that tasks that are not so time critical should be deferred to a tasklet function (bottom half) for processing because other interrupts are disabled in a (top-half) interrupt handler. I am currently out of idea on how I can pass the timestamp information that I have obtained in the interrupt handler to the corresponding tasklet function.

View 2 Replies View Related

OpenSUSE :: Get Function Set_magic_quotes_runtime() To Function On The Newer Versions?

Mar 30, 2011

I'm currently using OpenSuse 11.1 web server. This is bad since 11.1 is no longer supported. the reason why I am using it is because Function set_magic_quotes_runtime() was no longer being used. (so I was told)

That being said, is there a way to get Function set_magic_quotes_runtime() to function on the newer versions of OpenSuSE?

View 9 Replies View Related

Programming :: Bash Array Add Function Example Using Indirect Array Reference As Function Argument?

Jun 20, 2010

I looked on the net for such function or example and didin't find anything, thus after having made one i guess it would be legitimate to drop it to see what others thinks of it.

#!/bin/bash
addelementtoarray()
{
local arrayname=$1

[code]....

View 10 Replies View Related

General :: Use Own Function Instead Of Kernel One?

Mar 29, 2010

I am developing a function say my_abc() which does the same thing as kernel function abc(). Now I want that instead of using predefined kernel function kernel starts using my function. It might be possible that the kernel function has been used so many places.

View 7 Replies View Related

Ubuntu :: Replacement For Win98

Aug 10, 2010

I am going to be given an old "piece of junk" and would like to turn it into a speedy little "toy" to use for things, along with my os x and xp.The computer has windows 98 installed and only has 32MB RAM (could be 64, not sure until im given it) and a 1gig HDD. It also has a CD drive and a Floppy.I would like to speed it to the max, to make it perform (in comparison) as nearly as good as my mac. eg. when apps are opened, they only take a few seconds to pop up. I am looking at Linux distros but am struggling to find one suitable.

I was thinking of Puppy but DSL would probably be more suitable.I would like some recommendations to whether I should give windows a fresh install and try to delete whatever is unnecessary, or just clear it and download a linux and use WINE.

View 9 Replies View Related

Ubuntu :: Replacement For Xmarks

Oct 1, 2010

I just got this message URL...nd so have decided to use firefox sync and chrome sync. Ive installed both of these but how do i go about checking whether or not my data is being backed up? I cant seem to find the servers to log in to.

View 8 Replies View Related

Ubuntu :: Looking For A Quicken Replacement?

Jan 10, 2011

I am transtioning from Windows to Ubuntu 10.4 and I was surprised to see that Intuit does not have a Linux build of Quicken. What is the most capable Quicken replacement for Ubuntu? Thanks.

View 3 Replies View Related

Server :: DFS Replacement With AD Integration?

Apr 19, 2011

present we have a folder shared between branches (Approx 10G of data) and we're using Windows 2003 with DFS but this has had a number of issues and thus is scheduled to be replaced with a Linux solution for various reasons.I would need a scalable system that will allow me to start off with 5 servers each having a samba?hare to Windows pc's. The 5 servers though must replicate any changes made to the folder. So if server 1 received a new file, it should replicate the change to servers 2-5 etc... Ideally I would also like the shares to allow for AD based permissions.Can anyone recommend a way forward with this? I am currently looking into GlusterFS and lsyncd as two options for the replication

View 1 Replies View Related

CentOS 5 :: Replacement For ITunes On X64?

Feb 6, 2010

Just put my second customer on desktop Cent OS 5.4 (x64 this time). The only thing I can not substitute for is iTunes. All he wants to do it to control his iPod (he really does not listen to music on his computer).

View 1 Replies View Related

General :: Unset Or Get Rid Of A Bash Function?

Jun 19, 2010

If you set or export an environment variable in bash, you can unset it. If you set an alias in bash, you can unalias it. But there doesn't seem to be an unfunction.

Consider this (trivial) bash function, for example, set in a .bash_aliases file and read at shell initialization.

function foo () { echo "bar" ; }

How can I clear this function definition from my current shell? (Changing the initialization files or restarting the shell doesn't count.)

View 1 Replies View Related

General :: Pass All Arguments To A Function?

Jul 6, 2010

I've got a sticky little problem with a bash script. Please consider the following code:

Code:
#! /bin/bash
processArgs() {
echo "Count = $#"
while [[ $# -ne 0 ]]; do
echo $1
shift
done
}

processArgs $* If I call this script with Code: ./script first second third it'll print each of the argument on a new line - exactly what I would expect. However if I call it with

Code: ./script "Single Argument" "Second-Argument" it splits the first argument in two using the space as a delimitor. The problem appears to be the call to processArgs, where $* doesn't honour the quotes around the variables sent to the script.

View 4 Replies View Related

General :: Echo Function In .bashrc?

Feb 25, 2010

I'd like a function in my .bashrc file that would allow me to pass text to it and echo the text to a specified file. I know it's simple as "echo 'text' >> file," but ideally, I would want to alias the function so I execute something like:

Code:
user~ $ write 'this is a test' with "write" being the function, and 'this is a test' being echoed to the file. I hope I explained that well enough.

View 3 Replies View Related

General :: Function To Delete A Folder?

Dec 23, 2010

Is there any function to delete a folder which has few files in it ?I tried rimdir() bit it can only delete empty folders; unlink() can not delete directory entries. any other function ?

View 7 Replies View Related

General :: Just Use Dumpfile Function Of Libpcap?

Jul 15, 2010

These days i try make a simple sniffer for a embedded system. and it need the function of dump all the packets into a file, which can be read by wireshark..etc. First i copy a code called simplesniffer.c from the Internet,and and now I want to add the dumpfile funtion to it. i find some problems.Quote:

/* Come from ---- http://blog.chinaunix.net/u/24474/showart_226419.html */
/* simplesniffer.c */
#include <stdio.h>

[code]...

View 2 Replies View Related

General :: What Is The Function Of Resize2fs Command

Jun 23, 2011

what is the function of resize2fs command and how this command works internally , how it is related to inodenumber or does it format the partition

View 6 Replies View Related

Debian Configuration :: Replacement For HAL/FDI Files?

Jan 31, 2010

I run a Squeeze system and have recently updated various packages. As far as I can tell one of the changes has deprecated HAL FDI files (used for, among other things, configuring various input devices). I am hence wondering how one should go about configuring such devices --- without having to resort to an xorg.conf file.The two devices in question, an TouchPad and TrackPoint can both be configured via XInput when I log-in, however, it is somewhat tedious. Writing a log-on script to do this also seems rather hacky.So my question is: what is the most elegant way of configuring XInput devices?

View 7 Replies View Related

Fedora :: Either Fix Brasero, Get Rid Of It Or Find A Better Replacement?

Nov 25, 2009

One thing I was disappointed with Fedora 12 was the CD/DVD burning application Brasero. I used this application (version 2.6) on Fedora 11 and every time I created a video DVD, i would get an error 'You do not have the required permissions to use this drive'. Even though I was getting this message, it will burn the DVD successfully and I was able to watch the DVD on TV. But getting this error was annoying. I wrote to the developer Luis Medinas who didn't bother to reply. I posted question in Fedora forums and got no answers.

I came across a note on the internet that they have fixed this bug in version 2.8 that came with Fedora 12, so I installed a fresh copy of Fedora 12. But to my surprise this time Brasero came up with a different error.This time I wrote to another developer Philippe Rouquier and I haven't heard from him either. In next version of Fedora I would be very happy to see a "stable" CD/DVD burning application that won't throw errors.It is very annoying and a big turn off as a user. The only time I use Windows is to author DVD's TMPGEnc Authoring Works 4 simply because in Linux there is no program that is sophisticated and stable enough.

View 14 Replies View Related

Ubuntu :: What Exactly Plymouth Do - Bootlogd Replacement?

Apr 20, 2010

I've been seeing a lot of posts on Plymouth and I was wondering a few things:

1) What exactly is Plymouth supposed to do? Is it supposed to make a fancy splash screen to replace the scrolling Kernel messages (Which is now just a blinking cursor at the top left), and for that matter...

2) Is it supposed to replace bootlogd (Which has been deprecated - by what, who knows?)? I've seen something about "Plymouth Logger" when I was running the updates on Lucid but I'm not sure how it's supposed to work.

3) I do see a splash screen for Kubuntu when I log off, is the same one supposed to be there when the computer is booting. Also is anyone here familiar with Backtrack? In Backtrack when you boot, you get a splash of the Remote Exploit logo, but in the middle there's a box with the kernel boot messages. Can something similar be implemented in Kubuntu? (Forgive my noobishness)

4) If indeed Plymouth has replaced bootlogd as the boot time logger, will it also fix the problem of incomplete boot logs that existed with bootlogd (And spare us from having to use serial consoles in order to check what modules or drivers are failing at boot time so we can optimize our kernels).

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved