The character based display-interface between human and computer.

learn more… | top users | synonyms

0
votes
1answer
61 views

Stop tailing log

I have a problem, I accidentally did tail -f on a log, but now I cant quit! - Its the anaconda log during a redhat install. Control-C doesn't seem to work, I guess due to it saying sh: no job control ...
0
votes
2answers
38 views

Configuration file for Virtual Console

Does any configuration file exist for virtual console, when a user logins in it which is read and executed ? My requirement: To execute some shell commands when a user logins using the virtual ...
2
votes
2answers
127 views

Weird escape sequence

I need help identifying what this escape sequences represents. I see this sequence is autogenerating on my server's console, but I'm not sure what is the reason for that. Escape sequence: ^[[[D I've ...
3
votes
0answers
114 views

LDAP: view DIT structure from terminal

Can I get list of existing entries using any console utilities? For example - I can get a tree of my filesystem with tree: $ tree . ├── Catalina │   └── localhost │   ├── host-manager.xml │   ...
2
votes
2answers
4k views

How Do You Pass VGA/VESA Modes with GRUB2?

One of my machines has a 3 TB HD setup to triple boot into Mint 14 (Ubuntu 12.10 variant), Slackware 14.1 and Arch Linux. The HD is formatted using the GPT/Guid system. The Grub2 technically "belongs" ...
1
vote
0answers
299 views

Console Terminus Font Size in Slackware?

I am running Slackware 14.1 mostly from the command line on a 1366x768 monitor (using a vesa mode appropriate for the resolution, 0x34c if it matters, giving me a screen resolution of 1366x768x32 in ...
1
vote
1answer
48 views

Get current output

This just crossed my mind. Let's say that I'm operating a remote machine via SSH and I executed a make command to, e.g. build a new kernel for my machine. While I'm logged in that session, I can see ...
13
votes
4answers
726 views

Is there any reason why I get ^[[A when I press up arrow at the console login screen?

Whenever I'm at the console login, I press up arrow intentionally to see the previously typed commands. But I see this ^[[A. But when I press Ctrl Alt Print Screen Scroll Lock Pause Break Page Up ...
0
votes
0answers
60 views

Opening TTY or using IBus freezes Linux?

For some reason, whenever I open a TTY, if I switch back to X11, it will be completely frozen except for the cursor. The exact same thing also happens whenever I use IBus to switch to ibus-mozc for ...
1
vote
1answer
66 views

Capture textual snapshot of pseudo terminal

My question is related to Keyboard and Console, but I want to do it for an arbitrary pseudo terminal, and not just the built-in Linux ones. Also, I'm not interested in a stream, I just want the ...
1
vote
0answers
583 views

Debian 7 - Startx fails to start system

When I boot into the second primary boot loader, I get to the text based console to boot when I type 'startx'. The screen loads, and goes black for 10 seconds. Then when it loads a white screen ...
2
votes
2answers
82 views

How do I prevent the screen from blanking?

I am running 12.04 Ubuntu Server and my screen blanks after some time. I am unable to unblank it without power cycling the computer. I can however log in via ssh and type who see that the tty1 ...
0
votes
2answers
93 views

Why does the FreeBSD handbook recommend using a virtual console because of system messages? [closed]

Quoting from the FreeBSD Handbook, in section 4.2.1. “Virtual Consoles”: While the system console can be used to interact with the system, a user working from the command line at the keyboard of a ...
0
votes
0answers
88 views

What does it mean to redirect /dev/console through a non-existent file?

I have been trying to follow the "NAND firmware update" tutorial and I am perplexed by these last lines: now, in second stage, all processes are gone, only /dev/console in old root is still open ...
2
votes
1answer
242 views

accessing stdin/stdout of a process started in another tty

I logged in to my linux physically(say tty1) and started a process that watches stdin for commands and has some stdout-put. How can I access/use this process from a SSH session?
1
vote
1answer
905 views

/dev/console dynamic redirection

Is it possible to dynamically redirect all data sent to /dev/console into something else (for example - to /dev/null, /dev/tty9 or even /dev/null)? Of course, it can be done statically via ...
1
vote
0answers
618 views

badblocks and “end_request: I/O error” in output

I have 500GB disk in my toshiba laptop, I tried to do backup of files in this HDD but it failed few times (ubuntu just closed copying operation or unmounted disk during copying files). So I boot my ...
3
votes
1answer
154 views

How can I capture an OpenBSD install console?

So.. How can I save the text that is based on Q/A's when installing an OpenBSD 5.3? Or I only have the choice to manually type the texts down? or an OCR software using printscreens?
6
votes
2answers
774 views

Detect if running in a virtual terminal?

I'd like to autologin to tty1 on login and then use vlock to lock it. How can I detect from Bash if the current terminal is a console virtual terminal (e.g. tty1), so that I can put the vlock line ...
5
votes
1answer
2k views

Read what is written to /dev/tty*

How can I read what is written to /dev/tty*(* = 0 - number of tty)? I tried sudo tail -f /dev/tty1 on one terminal(X) and then sudo cp .emacs /dev/tty1 from another. X didn't show the the content of ...
2
votes
3answers
287 views

RHEL - shutdown a locked out system

I have a RHEL system which is locked out. I don't have the password of the system. If am able to shut it down or properly restart it, I can edit the kernel to have single mode and then reset the ...
2
votes
2answers
547 views

How can I replace a tty using getty with qingy on ubuntu 12.04 or later?

Qingy is a getty replacement. I'd like to use it for a tty terminal on Linux Mint 15 (in hopes of getting tmux to get proper 256 colors in tty which fails with fbterm) which means replacing getty. ...
2
votes
1answer
350 views

Boot graphical application straight from Linux bootup (without verbose boot messages and desktop)

Is it possible to boot from minimum Linux core(Linux/Android) to an application (preferably created in interchangeable platform languages such as C# – Mono / GTK / Java / C) without any verbose ...
1
vote
0answers
35 views

How to get 256 color support in a login shell TTY? [duplicate]

I want to experiment with a fully text-based environment, however, the only thing that is stopping me - is getting 256 colors so my Vim color schemes could work perfectly. When I enter a TTY by ...
1
vote
2answers
399 views

What stream does perf use?

What stream does the perf command use!? I've been trying to capture it with (perf stat -x, -ecache-misses ./a.out>/dev/null) 2> results following http://stackoverflow.com/q/13232889/50305, ...
2
votes
1answer
364 views

Is many consoles in securetty file a risk?

I got a problem So I expect you can give me an answer. I have to evaluate the security of a RedHat server. The idea is review the /etc/securetty file to ensure that only the console tty is listed. But ...
2
votes
2answers
131 views

Looking for a GUI application to enter linux commands

I am looking for a GUI console where I can enter Linux commands in an entry widget and the result will be output in a text area widget. Is there is such software available? Something like this: In ...
1
vote
1answer
127 views

Clearing the “old” scrollback buffer

This might seem to be a duplicate question but it isn't. I know that I can use printf "\033f" to clear the scrollback buffer of the "current" session but that doesn't work for old sessions. My ...
1
vote
1answer
55 views

Emacs - Strange Whitespace

(I posted this same general question here on StackOverflow thinking it had something to do with my emacs configuration, but after following a comment there, I think it is exclusive to urxvt) My ...
0
votes
0answers
56 views

Customizing console appearance [duplicate]

I recently made this thread about disabling the lightdm auto start. I got the solution I wanted, but some things are really unpleasant. For example when using ls directories are colored dark blue ...
2
votes
1answer
4k 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 ...
3
votes
1answer
353 views

TERM=(linux|xterm) vi in an xterm or the AAABBBBBBCCDDD-problem

Usually when I want to run vim in a desktop konsole session, I make sure the TERM variable is set to linux as the arrow keys don't work in insert mode with TERM=xterm. They show capital A..D instead ...
2
votes
3answers
535 views

netcat doesn't work as expected when detached from console with nohup (Ubuntu/Debian 64bit)

I'm trying to leave netcat running and close the ssh session (even stop the ssh daemon). But it then exits before all of the data is written. I'm testing in a non-ssh (local) console: nohup nc -l -p ...
1
vote
0answers
272 views

why cannot read /dev/console after reboot AIX

I use < /dev/console when running Micro-Focus cobol programs in background cron jobs instead of < /dev/null because then we don't get an warning about the input file not supporting ioctl. The ...
2
votes
1answer
114 views

console displaying quote character from gcc wongly

After an upgrade to debian wheezy my text consoles displays questions marks where there should be quotes Under X I see things correctly window.cpp:1056:21: error: base operand of ‘->’ is not a ...
3
votes
1answer
431 views

Loadkeys gives permission denied for normal user

I am trying to perform loadkeys operation. For normal user, I am getting permission denied error. the error is as follows. <tim@testps>~% loadkeys mykeys Loading /usr/tim/mykeys Keymap 0: ...
3
votes
2answers
133 views

Multi-function CapsLock without X

I would like to remap CapsLock to Esc when pressed by itself and Ctrl when pressed with another key without using X. This is similar to a previous question ( Remap CapsLock to Escape and Control ...
3
votes
5answers
4k views

Copy specific file type keeping the folder structure

I have a folder structure with a bunch of *.csv files scattered across the folders. Now I want to copy all *.csv files to another destination keeping the folder structure. it works using: cp ...
5
votes
1answer
202 views

Linux VT Emacs in tmux, breaks color and cursor

TERM is set to screen. I tried with screen-256color, but then the colors went really nuts. I also tried xterm, linux, and some others (that I could think of, not really thinking) but screen is the ...
4
votes
1answer
45 views

Whether monitor is off without appealing to X or /proc

How can I know whether the monitor is on or off if X is not running, and without appealing to /proc/acpi/video? The latter isn't available from my kernel. If X is running it's just a matter of $ ...
3
votes
1answer
214 views

Switch to TTYs without Function keys

At the moment I have a keyboard which lacks function keys (F1 through F12), and I was wondering - is there a way I could switch to textual TTYs (and back, which might prove to be a problem if I were ...
3
votes
0answers
125 views

Getty not starting in qemu

I'm trying to get running an ARM based Debian inside qemu. As a rootfs I'm using structure from embeddedarm 2gb sdcard image with versatile 2.6.24 kernel downloaded from fedora qemu tutorial site. At ...
9
votes
6answers
9k views

How can I page up or down in tmux with Terminal.app?

I have tmux installed. But I can not scroll up or down. I.e. as soon as I tmux I get only a portion of the screen and can not scroll up. crtl-b + Page Up does not work since I am in Mac and I can not ...
7
votes
1answer
233 views

How do I prevent system information from being displayed on a terminal?

I'm working on a curses GUI that is supposed to start up automatically on boot-up in the default linux terminal (I have no X server installed). I have this working great, but I have a problem where ...
5
votes
1answer
2k views

Fix terminal after displaying a binary file

I'd tried command cat with an executable file: cat /bin/ls Now I can't read any word in this terminal (Linux console). How can I fix it?
2
votes
1answer
2k views

open /dev/fb0: No such device

I installed fbi framebuffer to view images on TTY terminals (outside X). When I do: fbi image.jpg it outputs the following error: open /dev/fb0 no such device Yet when I run ls /dev/fb*, I ...
6
votes
5answers
287 views

Is it possible to view media on the console?

I know the console (outside X11, e.g. /dev/tty1) works in text-mode, but I think if it is possible to play music using programs like cvlc and mplayer, it should be possible to view pictures and watch ...
1
vote
0answers
86 views

can I run xvfb on a console-only debian system

I am developing a console-only debian-based rescue cd loosly based on thfixed spelling.e live-system's rescue cd. One of the things I need for my livecd is to be able to run firefox for some testing, ...
-2
votes
1answer
45 views

how do I save my buffer in vi without exiting?

how do I save my buffer in vi without exiting? .
2
votes
2answers
340 views

incorrect lines display in ssh console

I have problem with my console drawing lines. The problem is when I connect through ssh to server everything draws ok. But when I use up arrow key to show last used commands it often leaves few ...