The character based display-interface between human and computer.

learn more… | top users | synonyms

0
votes
0answers
59 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
64 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
525 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
73 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
82 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
82 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
205 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
702 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
557 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
129 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
609 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
1k 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
230 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
450 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
291 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
34 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
344 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
304 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
115 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
98 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
50 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 ...
1
vote
1answer
3k 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
303 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
463 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
241 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
105 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
383 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
132 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
3k 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
188 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
44 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
189 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
115 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 ...
4
votes
5answers
7k 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
223 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
1k 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
266 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
82 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
315 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 ...
1
vote
1answer
1k views

Installing video driver on Arch Linux

I have Arch Linux installed in console mode on an Intel-PC machine. My task is to write and run an OpenGL display program on the machine to check whether it meets the following conditions: It would ...
2
votes
1answer
50 views

mysql console, keeps outputting garbled text if 'b' key is pressed

mysql -u username -p mysql> Now in the console whenever I press the b key the screen goes berserk with garbled text: Google doesn't help here. Edit: using ubuntu 12.10 with xterm or the ...
4
votes
1answer
871 views

How do I change the screen font size when using a virtual terminal

Using LDXE and Ubuntu, I can log into a virtual terminal via CTRL+ALT+F1. The text is far too small. How do I change the screen resolution to get a larger font?
3
votes
2answers
249 views

Clipboard sharing between the host OS and a virtual console of a VirtualBox linux guest

I have a CentOS guest OS running without X11. Is there anyway I can paste text from the host clipboard into the virtual terminals or highlight text in the vt via the console mouse daemon and paste it ...
2
votes
2answers
456 views

How to find files with a certain subpath?

I need to find all xml-files that are placed in folders named config. Also config must be somewhere under a folder named trunk. For example, I am interested in all files like below: ...
1
vote
2answers
4k views

How to set default console keyboard layout in Arch Linux?

Whenever I reboot my computer I have to set the keyboard layout in a console again with loadkeys. Is there a way to change the default keyboard layout that is loaded everytime the computer boots?
4
votes
1answer
299 views

Locking console input without screen blanking

I'm looking for a method to lock/disable keyboard input into a text console (tty, no xorg) without blanking the screen. I would like to be able to monitor the on-screen progress of a long-running ...
1
vote
1answer
127 views

Scrambled Xen Console on dom0

I installed Xen using the recommended procedure on Ubuntu's site using motherboard Supermicro X7SBL-LN2 and Ubuntu 13.04 amd64. After the installing it and rebooting my console looks like this: ...