11-08-2007
New guy in the forum
hi everyone. Am just a new guy in this forum interested in advanced shell scripting. I have been running some basic scripts and setting up cronjobs in fedora and its fun, i wanna move to the next level.
I got interested in this forum and its gonna take me to the next level.
cheers guys, good work!!!
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Spiders am confused, need to get myself a decent book I think but until that time I need to create a script which will run when a user logs in and checks to see if they are already logged in. The script should check all users but not "root"
I figured the quickest way would be to create a temp... (4 Replies)
Discussion started by: projectf
4 Replies
2. UNIX for Advanced & Expert Users
so I have taken on the task of running a few workshops / teaching sessions.
we have three new unix people, they have the basics sorted, CD, PWD, LS and such.
we are looking at people who have been doing helpdesk untill two months ago.
I have given them a few session:
file systems, what... (2 Replies)
Discussion started by: robsonde
2 Replies
3. UNIX for Dummies Questions & Answers
I'm very new with Unix and and am needing assistance in writing a Unix script that will uncompress a dated file then rename it. The script will also need to remove several old files that have a similar naming. The directory that the files reside in is call achdirdep the file that I need uncompress... (1 Reply)
Discussion started by: mlx707
1 Replies
4. Shell Programming and Scripting
Hello,
I hired a coder a couple weeks ago to develop 3 small modules for a popular CMS. I created Github repos for each module so as to manage the code and allow others to download it at will.
The CMS in question is structured in such a way that each module is housed in its own... (2 Replies)
Discussion started by: fern
2 Replies
5. UNIX and Linux Applications
:o no longer need this. (0 Replies)
Discussion started by: tokposman
0 Replies
6. What is on Your Mind?
Any Unix Admins out there who were tasked with upgrading and maintaining java/jboss installs and possibly related apps?
How did it work out?
Any tools to allow developers to tweak their java settings, like a console? I just started looking into this, if anyone has experience I'd appreciate... (0 Replies)
Discussion started by: allenhibbert
0 Replies
LEARN ABOUT PLAN9
savetextmode
savetextmode(1) Svgalib User Manual savetextmode(1)
NAME
savetextmode, textmode - save or restore the complete SVGA status for textmode.
SYNOPSIS
savetextmode
textmode
DESCRIPTION
These are simple scripts to save the SVGA register state when in textmode to the files /etc/vga/fontdata and /etc/vga/textregs
($HOME/.vga/fontdata and $HOME/.vga/textregs if directory /etc/vga is not writeable) or to restore it from these files.
The actual utilities used are restorefont(1), restoretextmode(1), and restorepalette(1).
The purpose of these scripts program is usually to recover from a crashed console due to an svgalib, Xfree or other program bug.
You do this by being a smart guy and running savetextmode right after booting of your machine, prior to any problems. Then, in case the
SVGA state is hosed and you sit in front of a blank or useless console, change VC (maybe login) to get to a shell. Or exist the currently
running program with <Ctrl>-C, <Ctrl>-<Alt>-<Backspace>, or whatever applies. Once you got a shell, run textmode and it will hopefully ren-
der your console useable again.
To make it clear: You do all this while not seeing anything on your console screen, you enter this information blindly or after logging in
from a network. Also, if the keyboard is left in raw mode, nothing can really help you as you cannot enter anything which a shell will
understand.
FILES
/etc/vga/fontdata or $HOME/.vga/fontdata
/etc/vga/textregs or $HOME/.vga/textregs
SEE ALSO
svgalib(7), vgagl(7), libvga.config(5), dumpreg(1), convfont(1), fix132x43(1), restorefont(1), restoretextmode(1), restorepalette(1),
runx(1), setmclk(1),
AUTHOR
This manual page was edited by Michael Weller <eowmob@exp-math.uni-essen.de>. The exact source of the referenced utility as well as of the
original documentation is unknown.
It is very likely that both are at least to some extent are due to Harm Hanemaayer <H.Hanemaayer@inter.nl.net>.
Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections
to this first version of the svgalib manual.
Svgalib (>= 1.2.11) 2 Aug 1997 savetextmode(1)