A terminal is an environment for text input/output. Inside the terminal, one runs command-line and text mode programs (including shells).
0
votes
0answers
11 views
Emacs Key-binding and the TERM variable
I changed the value of TERM to screen-256color from xterm and it effects the key-bindings in Emacs. Mainly the bindings that use the arrow keys now inserts A,B,C,D instead of running backward-word and ...
4
votes
1answer
85 views
How to see password as we type it
In debian wheezy terminal i type
su -
It ask for password, which i type but it dont show anything as
Password:
I want to it to show at least some asterisks as the placeholder for the password ...
4
votes
2answers
163 views
Shells in tabbed windows in a terminal
I want to do tabbed terminal stuff without having actual tab windows in my terminal application.
Is there any good way to do this within bash? It would come in very handy with SSH if I could avoid ...
2
votes
2answers
79 views
Cursor keys in bash in dtterm don't work as expected
I am trying to remap some of my keyboard shortcuts in bash. The problem is that when I try to display key code using Ctrl-V, not all keys work. For example, Typing Ctrl-V, then Home moves the terminal ...
2
votes
1answer
47 views
Why has the ANSI 3.64 standard been withdrawn?
From the Wikipedia "ANSI escape code" article:
The name "ANSI escape sequence" dates from 1981 when ANSI adopted ECMA-48 as the standard ANSI X3.64 (and later, in 1997, withdrew it).
Does ...
3
votes
0answers
24 views
zsh and COLUMNS
I cannot understand the behavior of the $COLUMNS variable under zsh. Here's an example of the sort of behavior I'm referring to. The script $HOME/cols.sh is the following:
echo "COLUMNS=$COLUMNS"
...
1
vote
2answers
54 views
Change the number of rows and columns in the TTY [duplicate]
I want to resize the terminal which comes up when you press CtrlAltF1 (or F2,F3,...). 25x80 is small for a 24" screen.
Tried using stty, but the commands stty columns 200 and stty rows 50 does not ...
4
votes
1answer
76 views
+50
Send stdin to console and compressed file
I'm running a propietary program which generates text output. Kind of like a logger.
logger
I'd like to both view this output on the terminal to watch the server breathe, and send it to a text ...
0
votes
0answers
29 views
Root has no permission on virtual console screen devices
Even being root I can't do the following:
# cat /dev/vcs1
cat: /dev/vcs1: Operation not permitted
And the rights are set correctly:
# ls -o /dev/
crw-r--r-- 1 root 7, 1 Aug 5 22:00 vcs1
...
0
votes
2answers
35 views
getting a gui program to start on boot
I have a C program I wrote for debian on the raspberry pi that asks the user to enter a number, 1-4 which it then stores in a configuration file. This only happens if the configuration file is ...
1
vote
3answers
65 views
how to make search a text on the terminal directly
I have a program that outputs some data to the terminal (via printf() ). Is it possible search a text on the outputed text on the terminal directly?
It is possible to do search by directing the ...
2
votes
2answers
52 views
Get list of all files by mask in terminal
I want to find all *.h,*.cpp files in folders with defined mask, like */trunk/src*. So, I can find separately *.h and *.cpp files:
find . -path "*/trunk/src/*.h"
find . -path "*/trunk/src/*.cpp"
...
1
vote
4answers
49 views
Show video files with its size
I need all the .mp4 files' dimensions to be printed with the file name.
For example:
1_VIDEO.mp4 1204x680
3
votes
1answer
38 views
Why is “[ok]” not shown in daemon status message when using GNU Screen?
I have a debian-based system (Voyage Linux 0.9.1 actually, which is based on debian wheezy) and when I do /etc/init.d/ntp status it returns (for example)
$ /etc/init.d/ntp status
[ ok ] NTP server is ...
1
vote
1answer
51 views
Non-ASCII characters handled incorrectly on command line
I have a problem with non-ASCII characters in the Terminal on Mac. If I write:
echo ÆØÅ
Then press Enter, Arrow Up, Arrow Left, so the cursor is between the Ø and the Å, then write X, then the Å is ...