06-18-2010
I just recalled this sort of behavior is usually started after a longer period of activity on the Consoles.
I'm not sure about this, but it happens likewise .
I just tried one of the consoles on SF-e4900 and its working fine now and I still remember that we had to use the same key-sequence for the whole of night in a upgrade.
hergp:
Can you please check if this time based scenario is there with v490's console as well?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I had this problem before but it started working OK for a while. I can create a new profile but when I launch the console for that user it does not show the $ prompt. It shows for su and I tried to set the terminal but I am not sure if I did it correctly since it does not work still. The... (9 Replies)
Discussion started by: softarch
9 Replies
2. UNIX for Dummies Questions & Answers
Hi folks,
I'm trying to install a program, and I want to place some of the executables into /usr/bin so that they can be executed from any folder on the computer. I've been giveng the root password, but told never to log in directly as root. Instead, I can wait for a password prompt. However, I... (2 Replies)
Discussion started by: lunchtime
2 Replies
3. Shell Programming and Scripting
Hi
I have some trouble entering if-then condition in a single line on a command prompt in csh.
Could someone show how does one do that ?
eg:
source .cshrc;
cd $dir;
pwd;
test -d $backup_dir;
if
then
mkdir -p ${backup_dir};
echo inside loop;
fi;
echo outside loop;
mv -f... (3 Replies)
Discussion started by: mpc8250
3 Replies
4. UNIX for Advanced & Expert Users
Hello. I searched the internet for answers and don't seem to find any for about a day now.
My problem. I want to su to a non-root account non-interactively, e.g. if I want to temporarily become prdusr, I want to su prdusr without keying prdusr's password every time.
What I want is... (10 Replies)
Discussion started by: royale-sojin
10 Replies
5. Shell Programming and Scripting
I'm using rsync with the "-e ssh" option so of course it asks for a password using a prompt. Is there a way to tell a script to expect a prompt, wait for it, and give a password when it arrives?
There is a way to give rsync a password as part of its options using a file, but it only works with... (2 Replies)
Discussion started by: davidstvz
2 Replies
6. Shell Programming and Scripting
Hey,
So I'm trying to write a program in unix to automate a process for my astrophysics research.
Basically I want the program to prompt the user for some information and store the entered string of text as a variable. I know how to do this.
This is where I need help:
Now lets say I have a... (4 Replies)
Discussion started by: freemoniez
4 Replies
7. Shell Programming and Scripting
Hello,
I am writing a script that requires the user to enter a string of numbers:
ex: 134 345 865 903
This command only allows for one variable to be entered:
set "var" = $<
and than once I got the array I want to change it to a list with each input on a different line:
... (1 Reply)
Discussion started by: smarones
1 Replies
8. Shell Programming and Scripting
Hi All
I have a script that moves files from one dir to another dir based on date, but I would like to change it in a way that whoever is going to run to enter the dates in which files will be removed. This is my script:
#!/bin/sh
touch -mt 201302250000 /tmp/ref3
touch -mt 201302282359... (14 Replies)
Discussion started by: fretagi
14 Replies
9. Solaris
Hey guys,
I'm trying to get the servers up, but I am having a hard time just trying to get in the system and configure it.
I am connecting to the Sun 240,220 servers via the Serial Connection.
Watching the server come up after it starts to come up and does all the post message the screen... (6 Replies)
Discussion started by: br1an
6 Replies
10. Shell Programming and Scripting
Hello everybody,
I am coding a script, that allow the user to enter some information using prompt messages, i.e:
sEpisode=1
read -e -i "$sEpisode" -p "Start download from episode: " downloadFrom
sEpisode="${downloadFrom:-$sEpisode}"
This code allows the user to set the download from... (4 Replies)
Discussion started by: Abu Rayane
4 Replies
LEARN ABOUT LINUX
console
CONSOLE(4) Linux Programmer's Manual CONSOLE(4)
NAME
console - console terminal and virtual consoles
DESCRIPTION
A Linux system has up to 63 virtual consoles (character devices with major number 4 and minor number 1 to 63), usually called /dev/ttyn
with 1 <= n <= 63. The current console is also addressed by /dev/console or /dev/tty0, the character device with major number 4 and minor
number 0. The device files /dev/* are usually created using the script MAKEDEV, or using mknod(1), usually with mode 0622 and owner
root.tty.
Before kernel version 1.1.54 the number of virtual consoles was compiled into the kernel (in tty.h: #define NR_CONSOLES 8) and could be
changed by editing and recompiling. Since version 1.1.54 virtual consoles are created on the fly, as soon as they are needed.
Common ways to start a process on a console are: (a) tell init(1) (in inittab(5)) to start a mingetty(8) (or agetty(8)) on the console; (b)
ask openvt(1) to start a process on the console; (c) start X--it will find the first unused console, and display its output there. (There
is also the ancient doshell(8).)
Common ways to switch consoles are: (a) use Alt+Fn or Ctrl+Alt+Fn to switch to console n; AltGr+Fn might bring you to console n+12 [here
Alt and AltGr refer to the left and right Alt keys, respectively]; (b) use Alt+RightArrow or Alt+LeftArrow to cycle through the presently
allocated consoles; (c) use the program chvt(1). (The key mapping is user settable, see loadkeys(1); the above mentioned key combinations
are according to the default settings.)
The command deallocvt(1) (formerly disalloc) will free the memory taken by the screen buffers for consoles that no longer have any associ-
ated process.
Properties
Consoles carry a lot of state. I hope to document that some other time. The most important fact is that the consoles simulate vt100 ter-
minals. In particular, a console is reset to the initial state by printing the two characters ESC c. All escape sequences can be found in
console_codes(4).
FILES
/dev/console
/dev/tty*
SEE ALSO
chvt(1), deallocvt(1), init(1), loadkeys(1), mknod(1), openvt(1), console_codes(4), console_ioctl(4), tty(4), ttyS(4), charsets(7),
agetty(8), mapscrn(8), mingetty(8), resizecons(8), setfont(8)
Linux 1994-10-31 CONSOLE(4)