Software :: Emulation For "rm " Command?

Feb 19, 2010

I am trying to write a bash script to emulate the rm command, I want to save all files I delete, a bit like the recycle bin in a windows OS.The script that i got is not working properly , can any one pls guide me on this..

#!/bin/bash
# program to emulate the "rm" command in UNIX.
# less the endless sp

[code]....

View 2 Replies


ADVERTISEMENT

Ubuntu :: 32 Bit Emulation In 10.04 64 Bit

Jul 30, 2011

I'm trying to install smlnj 110.73 on a 64 bit lucid, and during installation, it complains of no 32-bit support.

Having zero knowledge of how 32-bit emulation is triggered in Ubuntu, all the leads I have to go on is this piece of shell script used by the installer to determine the architecture and emulation:

Code:
#
# on 64-bit linux systems, we need to check to see if the 32-bit emulation
# support is installed
#
if [ x"$ARCH" = "xx86" -a x"$OPSYS" = "xlinux" ] ; then

[Code].....

View 3 Replies View Related

Ubuntu :: Virtualbox Is Always 32 Bit Emulation?

Apr 18, 2010

Dowloaded 10.04 beta 2 64 bit iso and was trying to install it into a VM. Upon boot however is comes up with something like "cant install it on your 32bit machine".
I'm fairly sure my laptop has a 64 bit architecture (for example, i have the "lm" flag when i cat the /proc/cpuinfo), so is there a way to convince VB that I have a 64 bit machine? unless there is a better way to find out if my CPU is indeed NOT 64 bit?

View 9 Replies View Related

Fedora :: ISO Emulation And Multiboot Hang Ups

Jun 26, 2010

I have a GRUB2 USB multiboot setup. Plus I have a multiboot setup on my computer with Ubuntu 9.10, PCLinuxOS, Windows XP, and Fedora 13. The issue I'm having is different but the same. On my USB multiboot, Fedora will hang up on certain devices. Things such as touchpad, bluetooth, etc. On my PC it hangs up on first the bluetooth, then I unplug, then the USB hub, then the mouse and finally the external hard drive. It detects the devices but it freezes on detection. I did get this error before the device detection began:

Quote:

dracut; dracut-005-3.fc13
dracut: FATAL: Don't know how to handle 'root=(0,4)'
dracut: Refusing to continue
dracut: FATAL: Don't know how to handle 'root=(0,4)'
dracut: Refusing to continue

this is on the PC and the problem with the USB is that it will hang up when detecting devices.

View 1 Replies View Related

General :: ALSA OSS Emulation Won't Work?

Feb 15, 2010

I'm on Ubuntu9.10 with pulseaudio setup, everything works fine so far. But when I try to record my Desktop with xvidcap or recordmydesktop I'm unable to get the sound working.

xvidcap uses only OSS so I tried to setup the emulation by loading the kernel modules and adding the following lines to /etc/modules:

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss

[Code].....

View 2 Replies View Related

General :: Is Firewire Drive Emulation Possible With A PC?

Oct 20, 2010

Is there an application that allows one to 'export' a drive or virtual disk image to firewire so that the machine at the other end sees the computer as a regular firewire drive? Apple computers can do that via their target disk mode (hold down t on boot), but I am searching for an application that would work under Windows or Linux.The goal is to boot an older Apple iBook, which can not boot from USB, via this emulated firewire drive.

View 2 Replies View Related

Ubuntu :: Xmess And Apple II Emulation

Feb 4, 2011

I'm trying to get Apple II emulation up and running with xmess. I've been searching for info on how to do this and it seems like it should be fairly simple. I've downloaded the apple2.zip bios file and placed it in /usr/share/games/xmess/bios

If I run the following command:

Code:

I get this output

Code:

It seems that then I should be able to simply issue the following command and be off and running:

Code:

The emulator opens, I get a warning telling me to type OK and then get to a display that basically says this:

Typing anything gets me to a command line, but there doesn't seem to be anything there (not surprising based on the "---" on the previous screen). Typing "CATALOG" shows nothing.

Does anyone know how to use this emulator or has run into the same problem. I think that I'm doing things correctly, but it just doesn't seem to be recognizing the dsk file.

View 1 Replies View Related

General :: How Does One Set Keypad Mode For Jed Editor With EDT Emulation

Feb 24, 2010

How does one switch between command line and keypad modes when using the jed editor with EDT emulation?

OpenVMS User's Manual states that when using the EDT editor if the user wants to control EDT using the keypad, the mode needs to be set for keypad rather than command line input:

I am using:

with this .jedrc file:

Using the -batch shows that the .jedrc file is correctly located.

View 1 Replies View Related

Ubuntu :: Serial Port Emulation In Windows

Apr 5, 2011

I am trying to use one serial port simultaniously for two different programs. I have a two programs that use GPS information that I would like to run at the same time. At this time only one program at a time can access a serial port. I have found a way to emulate this in Windows so that I can have both running, now I'm trying to do the same in Ubuntu. Is it possible? If yes, How? The GPS receiver is connected via a USB port.

View 1 Replies View Related

Programming :: /usr/bin/ld.real: Unrecognised Emulation Mode: 64?

Nov 23, 2010

I have problems,I get this:

milenko@hp6830s:~/mt2ddi$ make mt2ddi
f77 -o -m64 driver.o solve_mt2d_direct.o boem.o rotz.o gebolr.o d2emod.o pobo.o mte.o d2hmod.o gsres.o mth.o z1idu.o h1iud.o phase.o

[code]....

View 4 Replies View Related

General :: Getting F Keys To Work In Terminal Emulation?

Jan 28, 2010

I'm running Debian (both Sarge and Lenny, on different systems) under Gnome and have a number of thin client workstations that connect to a software application on an AIX server. I'm using gnome-terminal to provide terminal emulation for this software. Unfortunately, the emulation leaves something to be desired, and doesn't catch all of the F keys properly. It seems F1-F4 act as some form of escape key, exiting out of the software back to the command line, when they should be performing different functions in the software. F5 and F6 work as they should in the emulation. Is there a setting I can apply to my gnome-terminal launcher that will make this behave like it I want? The terminal should ideally match the behavior of a Link MC5 terminal (we have some of these old beasts still around, still crunching away), but alas, I don't know how to implement this.

View 2 Replies View Related

General :: Use The Free Program Putty For Emulation?

May 27, 2010

I am trying to use the free program Putty for emulation , I use Reflection before , Reflection use unixlink as protocol to download , but this protocol is not in Putty I tried sz is also not work , if I want to download files via Putty , what protocal that I can use ?

View 3 Replies View Related

Software :: Purpose Of SCSI Emulation For IDE Devices?

Jan 23, 2010

What is the purpose of SCSI emulation for IDE devices?

View 2 Replies View Related

Ubuntu Multimedia :: Midi With Alsa Oss Emulation And Pulseaudio?

Sep 15, 2010

I'm under Ubuntu 8.04 LTS Hardy Heron using pulseaudio. I've got 2 soundcards : one internal AC97 7.1 without midi (card 0 in ALSA) and a PCI C-MEDIA 2.1 with OPL3 midi (card 3 in ALSA) I have sound in most ALSA or OSS applications with full 7.1 + 2.1 duplex. I have MIDI playback in any ALSA MIDI players (client 29:0 in ALSA).

I'm trying to run Final Doom for W95 on WINE with OSS driver. I have sound effects but no MIDI music. I tryed with padsp and aoss wrappers. I know I can use ALSA driver in wine or timidity, but I would rather use padsp + hardware MIDI if possible. How do I configure ALSA OSS emulation for MIDI playback and check that it's working ? I tryed playmidi but whatever I told it, it couldn't find any midi device.

View 2 Replies View Related

Debian Multimedia :: Middle Button Emulation Sometimes Stops Working?

Mar 19, 2011

I have xorg configured to enable middle button emulation:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"

[code]...

View 1 Replies View Related

OpenSUSE Hardware :: Logitech Marble Mouse USB Scrollwheel Emulation On 11.2?

Jan 7, 2010

After upgrading from OS11.1 to 11.2 I am annoyed by the fact that no configuration options exist any more to customize for my mouse. This is a 2-button trackball very ergonomic for people. that are prone to have RSI problems like me, a real solution.

Before in 11.1 I could use Yast to set up X that it would emulate a scrollwheel with the right button. Unfortunately now with 11.2 all has to be recognised automatically and they simply threw out the mouse configuration in Yast, leaving us with some useless console mouse configuration. Not every upgrade means an improvement, which seems very much like ....

Could somebody help me or give me pointers what is the procedure to recover this emulated scrollwheel functionality? I know it has to do with xorg.conf, but I don't have that file and without this good start it will be difficult for me to get anywhere. How is this file re-created?

View 2 Replies View Related

Ubuntu :: Reenable Middle Mouse Emulation On Left+right Click?

Mar 15, 2011

i would like a combination of left and right mouse clicks to get me the same effect as the middle mouse does. when i first used the middle mouse button this stopped happening

View 5 Replies View Related

Debian Hardware :: Touchscreen On Asus Vivobook Q301 / Right Click Emulation

Jun 29, 2014

I am running debian testing, most functions seem to be working very well on this system!

Intel Core i5-4200U
Intel HD Graphics 4400

touchscreen works. (left click when tap, scrolling in compatible programs.)i have tried a few ways to emulate right click, but not working thus far. i would like to point out i am running lxde, i found one workaround i have not tried that uses gconf. URL...

# lspci -v
Code: Select all00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
   Subsystem: ASUSTeK Computer Inc. Device 13ed
   Flags: bus master, fast devsel, latency 0
   Capabilities: <access denied>

[code]....

View 0 Replies View Related

Fedora Installation :: F11 Bricks Server Unless BIOS Changed From AHCI To IDE EMULATION?

Jun 10, 2009

Server has DQ35JO board, 8GB memory, multiple SATA hard drives. It was happily running Fedora 10, and Fedora 9 before that. I downloaded and burned the F11 DVD, booted it, did an install which is:

-- delete the LVMs
-- create a 200 MB /boot on ext3, the rest of /dev/sda on ext3 as /
-- reformat the swap partition on /dev/sdb1
-- leave the other file systems alone (they are all ext3)

I chose no optional packages and let it install. It finished normally and got to the "click to reboot" screen. Now, my server is completely bricked. When I power it up I get a blank screen with a blinking cursor. I cannot even get to the BIOS, or boot my Fedora DVD, much less boot the boot drive.

View 6 Replies View Related

CentOS 5 Networking :: Add Extra Loopback Adapters Like Windows - For GNS3 Router Emulation

Mar 26, 2009

I have been searching the forums for quite a while, to add extra Loopback adapter in Centos 5.1, but no success! Could you please suggest me the steps? in Windows, it is quite easy to add as many adapters as you want. wondering, if this is even possible in Linux? I have to run GNS3/Dynamips for router emulation and bind those Loopback adapters to virtual routers!

View 5 Replies View Related

Ubuntu / Apple :: Get A Right Click Emulation (ctrl+mouse1) Working On Single Button 1GHz G4 7455?

Apr 6, 2010

how to get a right click emulation (ctrl+mouse1) working on my single button 1GHz G4 7455

View 5 Replies View Related

General :: Terminal Proxy Or Screen Without Terminal Emulation?

May 26, 2010

How can I make terminal applications immune to terminal emulator close, but still able to use all virtual terminal features?

egin{UPDATE}I want my terminal application remain alive and accessible if I accidentally close terminal emulator. This functionality is provided by screen and tmux, but they have issues with colors and they flush screen.Yes,I can run the shell inside screen, but I do not want the shell remain alive unless there is some other program running.

end{UPDATE}I see this must be something like screen, but without VT100 terminal emulation, something which will just apply whatever application does with "terminal proxy"'s terminal (like outputting something to stdout/stderr or using stty to set terminal options) to the terminal this proxy runs in.

// I know about screen and altscreen on, but it makes either this (screen with TERM=screen):

or this (screen with TERM=rxvt-unicode):

while I want this (rxvt-unicode without screen):

I have figured out that everything looks fine if I compile rxvt-unicode with USE=-xterm-color (in fact vim looks like on the second picture even without screen if I add this USE flag) and set TERM=screen-256color, but I do not like this workaround because it actually changes colors and I can't be sure that it will always change them only this way:

View 4 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Programming :: Effect Of Using Eval To Execute A Command As Opposed To Writing It On The Command-line?

Jun 18, 2010

Code: cmd='date | wc'

$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?

View 4 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

Mar 26, 2011

I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...

I just installed the JDK, SDK, Eclipse successfully (or I assume):

* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).

** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,

My system:

Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2

View 5 Replies View Related

Ubuntu :: Lpr Command- And Man -t (bash Command - Print Both Sides Of The Paper Using A Printer?

Mar 29, 2010

I just recently learned about the wonderful little lpr command- and using man -t (bash command) to beautifully print man pages for reference- but is there a way to print both sides of the paper using a printer so equipped?

View 2 Replies View Related

General :: Append Command Output To File By Giving Command In Terminal?

Jul 3, 2009

I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?

View 4 Replies View Related

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

Apr 30, 2011

I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found

path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found

Can someone point me in the right direction

View 1 Replies View Related

Software :: Command Line: Chown Command Recursively On Invisible Directories?

Oct 25, 2010

I tried

Code:

chown -R owner:group *

which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?

View 9 Replies View Related

General :: Set Up New Keybinding For Finding Last Command Executed Using The First Few Characters Of The Command In Csh?

Jul 21, 2010

I want to be able to use Ctrl+R to have reverse-i search. Also if I press Shift+Up Arrow after typing the first few characters of a recently executed command then the shell should complete the command by finding the most recent commmand having the same first few characters.

View 1 Replies View Related







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