General :: Disable The Escape Sequence With "screen"?

Dec 30, 2009

Is there any way to disable the escape sequence in screen, so the user can't escape and run commands? we have a program that runs under user "shop". We want to wrap it in a screen session, and use .screenrc to set it multiuser and allow the "dev" user to connect to it. Then, if the "shop" user loses his connection, the session will stay running, and then the "dev" user can attach to the session and end it. We want the "shop" user to be unable to enter any "screen" commands.

View 2 Replies


ADVERTISEMENT

General :: Printing Transcript With Ansi Escape Sequence?

Aug 8, 2010

Is there a way to print a transcript generated using script that is coloured using ansi escape sequences while preserving the colours?

I am on OS X 10.6, but any tool that works on OS X or on Linux that can print or create a pdf file will be extremely helpful.

View 1 Replies View Related

Ubuntu :: Wget Escape Sequence?

Apr 25, 2011

I'm trying to parse some redfin pages and it seems like I'm having a problem with the # symbol.Running the following:echo 'http://www.redfin.com/homes-for-sale#!search_location=issaquah,wa&max_price=275000 ' > /tmp/issaquah_main.txtwget --level=1 -convert-links --page-requisites -o issaquah/main -i /tmp/issaquah_main.txt

View 3 Replies View Related

Ubuntu :: Escape Sequence For New Line In Python?

Apr 14, 2010

I am reading "A Byte of Python" and this is the 2nd time I've completely been confused about something:"What if you wanted to specify a two-line string? One way is to use a triple-quoted string asshown previously or you can use an escape sequence for the newline character - toindicate the start of a new line. An example is This is the first lineThis is thesecond line. Another useful escape sequence to know is the tab - There are many moreescape sequences but I have mentioned only the most useful ones here."In python:>>> "This is the first lineThis is the second"'This is the first lineThis is the second'>>>

View 1 Replies View Related

General :: Removing The Escape Characters From GNU Screen's Screenlog.%n?

Jan 22, 2010

Is it possible to remove the ESC sequences in GNU Screen's output file? Things such as colours, tabs and other escape characters make their way into the log files and become difficult to decipher.

I've tried Dr. Google & Co. as well as reading the manual, but haven't been able to find anything suitable.Perhaps I've overlooked something?

View 3 Replies View Related

General :: Display Boot Sequence On External Screen?

Dec 13, 2010

I'm currently using an external screen with my laptop at home connected with a serial port. When I'm in X, my laptop display is automatically disabled, when the external screen is connected. Is there a way to do this also at boot time? Where do I have to configure this? Also I'd like to have my login shells on my external screen, when switching to them out of X.

View 2 Replies View Related

General :: Change Boot Sequence - Returns A Blank Screen

Sep 26, 2010

I want to change the Boot sequence in Ubuntu 10.04.

In the past I have used

Quote:

But with 10.04 this returns a blank screen. I assume something has changed.

View 3 Replies View Related

Hardware :: All 3 Keyboard LED's Flashing In Sequence At RedHat Login Screen

Apr 6, 2010

I did a quick search of the forums and noticed that 2 LED's flashing indicates some sort of kernel panic, but what about all three flashing, one at a time in sequence? I'm doing diskless booting of RedHat 5.1 on this machine but I'm hoping the problem isn't related to that, and just something simple. The OS loads, and I get to the login screen (not noticing anything about kernel panics during boot), but the keyboard doesn't work and the three lights flash. It's not a GUI login screen, so I don't know if the mouse would work.

View 5 Replies View Related

General :: Disable The Screensaver And Lock Screen In 11.04?

Sep 7, 2011

It's very disturbing when making a Kiosk application, every time the lock screen and screensaver shows up, also many popup + battery or updates shows up. Where and how can I completely disable the lock screen, screen saver and alerts via a configuration file or from the terminal? I have the tried following but nothing works: failed

vim /etc/default/acpi-support
;LOCK_SCREEN=true
failed
$ gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/suspend false
$ gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/blank_screen false
$ gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/hibernate false

[Code]...

View 1 Replies View Related

General :: Disable Wallpaper And Screen-saver In Mandriva 2009.1

Oct 19, 2010

How to disable wallpaper & screensaver in linux mandriva 2009.1

View 3 Replies View Related

General :: Possible To Keep The Screen-saver But Disable The Rest Of The Power Management System?

Feb 17, 2010

I have recently loaded Ubuntu 9.10 which runs perfectly, except for the power management system.I go into the GUI power management screen and tell it to use the screen-saver after ten minutes, but NEVER suspend/ hibernate but it suspends/hibernates anyway,sometimes after an hour, sometimes hours later.Is it possible to keep the screen-saver but disable the rest of the power management system?

View 2 Replies View Related

General :: Regex Escape The Comma?

Aug 12, 2010

sometimes there are one, sometime there are two exchanges in this log file. the 100= is the stock exchange- if there are two, they are seperated by a comma. i understand how to escape a comma in a regex, but I am having trouble with combining it.

35=8 39=1 38=1000 32=13 14=754 31=1.11 44=1.1 100=AMEX,ISE
35=8 39=1 38=1000 32=151 14=205 31=1.1 44=1.1 100=AMEX
35=U 39=2 38=1000 32=45 14=184 31=1.1 44=1.1 100=AMEX,ISE

[code]...

View 11 Replies View Related

General :: Escape Commands In A Bashrc Alias?

Sep 17, 2010

I need to occasionally touch a file with the current timestamp as the filename. I would do so this way:

touch `date "+%Y-%m-%d_%H-%M"`.txt

However, I'd like to define an alias for this. When I try adding to the bashrc this:

alias td="touch `date "+%Y-%m-%d_%H-%M"`.txt"

the result is that the filename is the same during the entire session, since the `date ..` gets calculated just once during login...

How can I get the command to expand only when I call the alias? Or must I use a function for this?

View 1 Replies View Related

General :: Substituting Lines In Files Without Need To Escape?

Jan 17, 2011

Usually when I need to replace some lines in a file, the first tool that comes to mind is sed -i:

sed -i 's|tool:.*|tool: some-tool|'

However, it's inconvenient when there are . characters in the replacement string:

sed -i 's|host:.*|host: 127.0.0.1|' Is there a better tool for this case?

View 1 Replies View Related

General :: Escape Characters In Watch Command

Oct 20, 2009

Need little advice running this command.
watch -d 'ps aux | awk '{print $4" "$11}' | sort | uniq -c | awk '{print $2" "$1" "$3}' | sort -nr | head'

I get this error message from AWK. awk: cmd. line:1:
{print awk: cmd. line:1: ^ unexpected newline or end of string

I have tried all the usual by trying to escape the single and double quotes in the command but same result. The end result should be the a listing of memory hungry processes that are scanned every 2 seconds (watch default value).

View 2 Replies View Related

General :: Fedora14 Want To Mount Joliet Cd Escape Seq 25,2f,40

May 3, 2011

i have a cd that shows you an empty directory unless you mount it for the joliet extensions - specifically 25 2f 40. It uses wide characters with the high half null.

View 3 Replies View Related

Ubuntu :: Automatic Disable Of Screen Saver During Full Screen Video?

Jul 4, 2011

is there anyway to automatically disable screen saver whenever I watch video in full screen?

View 1 Replies View Related

General :: Escape From Evolution And Have Thunderbird Be My Default Email?

Feb 25, 2011

Fedora 14

When I started I took the defaults and ended up with Evolution.

I have never managed to get it set up to send. It and godaddy are on diffferent planets.

Having used Thunderbird in the past, I downloaded it and it automagically set itself up to send and receive.

So now I use Thunderbird - BUT - when I click on a link in an html page - the mailto macro sends me to something other than THunderbird - perhaps Evolution - and nothing gets sent.

So how do I tell the system that when i click a mailto in firefox I want Thunderbird?

PS I think I found it. In firefox - edit - preferences - applications tab - mmailto - it said Evolution. I changed it so say /usr/bin/thunderbird - will now test it.

YES - Seems that asking a question triggers my brain on how to resolve it. Sorry to waste your time.

View 1 Replies View Related

General :: Replace New Line With <br /> And Escape Special Characters?

Feb 6, 2011

I wish to replace a new line with br (html) but it doesn't seem to work

Code:

message=$(echo ${FORM_message} | tr '
' '<br />' )

what it gives me seems to be ... b...? I am also having problem escaping hash sign in cut command:

Code:

list=$(echo "$line" | cut -d'#;#' -f1) ;

my intention is to split the line with "#;#"

View 5 Replies View Related

General :: Terminal That Supports ANSI Italic Escape Code?

Oct 29, 2010

I would like to replace gvim with vim in the terminal. One of the nice things about gvim is that it is able to display text using italics.

Vim allows setting an ANSI escape code for italics (e[3m), but this does not work in gnome-terminal. Is there a terminal emulator that supports the ANSI escape code for italics?

View 1 Replies View Related

General :: Escape Forward Slash But Not Working Statement Garbled?

May 2, 2011

I am trying to use sed command to repalce one string with other but somehow replacement string contains forwards slash hence getting the error statement garbled!

[Code]...

View 4 Replies View Related

General :: Convert Shell Logs - Incl. Escape Characters - To HTML?

Mar 6, 2010

Is there tool or a regexp that can convert shell escape characters to HTML code?

As an example, here is a logfile from GNU screen:

Which I would like to convert to something like this:

And send as HTML e-mail to an e-mail address, to archive my work.

Here is a related question, which shows how to convert it to regular text, but it would be nice to convert to HTML and not just throw the escape characters away.

View 1 Replies View Related

General :: Why Is The Boot Sequence Organized The Way It Is

Jan 6, 2011

Why is the Linux boot sequence is organized the way it is?Power on + BIOS runs hardware initialisation and self tests, LILO/GRUB etc... but why is it organised the way it is?Would I be right saying it is primarily for debugging purposes?

View 1 Replies View Related

General :: Startup Sequence Without Login?

Jun 11, 2011

I have an embedded box on which I am developping a driver using a linux kernel. I frequently need to reboot it and relogin as root.

I wounder whether I can modify the boot sequence so that it directly boots into a bash belonging to user 'root'.

I know that this represents a security issue -- looking at my "use case" this is of concern.

View 6 Replies View Related

General :: Vim: An Equivalent Two-keystroke Sequence For The <Esc> Key

Jun 24, 2011

The <Esc> key has an equivalent two-keystroke sequence within vim, I think I remember.

View 8 Replies View Related

General :: Possible To Interrupt The Boot Sequence?

Apr 30, 2010

Is there a way to interrupt the boot sequence, or execute it line by line? Alternatively, after a command has executed and the scree fills up, is there any way to "page up" on the screen?

View 1 Replies View Related

General :: Change Startup Script Sequence?

Sep 18, 2010

I have an external drive mounted courtesy of an entry in fstab. The drive isn't detected at boot time until AFTER the backuppc service that will use the drive has started. I have to therefore manually stop and restart the backuppc service once booting has completed, otherwise backuppc thinks there is no drive available to it.

How can I force the mounting of my external device to occur BEFORE the backuppc service starts?

I am using Ubuntu 10.04 server edition

View 2 Replies View Related

General :: Unable To Use Chicken-Egg In Booting Sequence

Jul 13, 2010

chicken-Egg problem in booting sequence.......

View 6 Replies View Related

General :: Doing A Sequence Of Commands In A Bash Script?

Dec 2, 2010

I'm creating a bash script that contains the following line:"ssh user@$server1 cd /tmp; pwd"What I want is to print /tmp of server1, but the script it isn't printing that

View 2 Replies View Related

General :: Finding And Deleting A Sequence Of Letters ?

Dec 6, 2010

I'm trying to write a script to do the following:

I have a text file that contains many lines that look like this:

I'm trying to make my script read this text file, find the string sequence "QIEN", and delete everything from this sequence backwards (including "QIEN") so that the above lines look something like this:

I'm aware that grep is good to do a regular find-and-delete as follows:

Code:

But this will delete everything on the lines that contain the string sequence "QIEN".

View 3 Replies View Related







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