Tagged Questions

The character based display-interface between human and computer.

learn more… | top users | synonyms

4
votes
2answers
435 views

Interpret backspaces in file

Is there a way to interpret/"execute" backspaces in a file/line using common bash commands? I have a console program which prints some stuff and than erases it using backspaces and finally writes the ...
2
votes
1answer
126 views

tmux: shared session, one user in a pane, another in another pane, two different cursors

I've decided to try tmux: have been reading the docs and googling around, trying to find a way to have two users sharing a session, each with a different cursor. However, giving 777 permissions to ...
0
votes
1answer
641 views

Bootloader fails to load linux kernel

I upgraded linux kernel from 2.6.32 to 3.0.7 but now bootloader isn't able to load the kernel image. Specifically, boot procedure freezes after: Starting kernel ... Uncompressing Linux... done, ...
0
votes
1answer
264 views

How can I print out the current keybindings in Linux/Debian? [closed]

How can I print out the current keybindings in Linux/Debian ? I tried xmodmap -pp and got the response: xmodmap: unable to open display ''
2
votes
2answers
2k views

RHEL7 text-only installation

I want to install RHEL7 in purely text-only mode. Although I added the inst.text and inst.cmdline kernel option (since I want it to install from kickstart) it still requires more than a console as it ...
1
vote
1answer
98 views

Combos with shift not working in emacs on console

I'm running emacs 24.3.1 on a system with a console-only minimal install of Debian Jessie. Non of the keybindings that involve the shift key works in emacs (except shift to modify upper case). These ...
2
votes
2answers
347 views

Changing TTY font to a non-default font

I found two ways to change the TTY font: dpkg-reconfigure console-setup editing /etc/default/console-setup Either way I'm limited to the fonts in /usr/share/consolefonts (I'm using Debian). How ...
2
votes
1answer
166 views

Locking console when computer suspends/hibernates

In X I've used the following script (from here) to lock the computer with i3lock each time pm-suspend or pm-hibernate are invoked. /etc/pm/sleep.d/00screensaver-lock: #!/bin/sh # ...
1
vote
2answers
104 views

Lock console session

I've set up a no-x/console only system running a minimal install of debian jessie/testing. For this system I need a screen locker to lock the entire session when I'm away. vlock would be appropriate ...
10
votes
6answers
440 views

Options to show images when on the console

When I am on the console (the tty, the virtual terminal, which you reach with Ctrl+Alt+F1-6, not a terminal emulator), what options do I have to view images, tiff, whatever that's not text?
1
vote
1answer
1k views

Try to disable console output, console=null doesn't work

as mentioned above, I want to to completely turn off the console output, but putting console= or console=null in the kernel command line doesn't change a thing. When I enque quiet to the kernel ...
1
vote
1answer
74 views

Is there any way to play gpu accelerated video without X?

You can play use mplayer on fbdev, but not with the gpu. That's as close as I can find.
1
vote
1answer
82 views

What is the Command to check the history of the command executed which should based on the user who accessed it [closed]

I am looking for the command or script to meet the following requirement. I wanted a history of all the users who connected to my machine and what commands they execute in there session and at which ...
0
votes
0answers
180 views

trying to open console on LCD using fbcon and USB keyboard

I'm trying to bring up virtual terminal on our embedded system's LCD using USB keyboard which is also connected to the system. I have UART connection to my PC so I've been using UART for console till ...
1
vote
2answers
1k views

How to change the default TTY after boot?

Normally when system starts you have all output printed on the TTY1, and that's ok, but I start X-server via startx and achieve this by the following lines in the ~/.profile file : if [[ $(tty) = ...
0
votes
0answers
111 views

TTY not work after X starts

I have a HP Envy4 5306tx laptop with Intel+Nvidia dual cards, and I install fedora 19 X64 on it without NVidia proprietory driver. However, there are some problems about the X and TTY。 The TTYs are ...
1
vote
0answers
47 views

Why CentOS 6 adjusts console width when running screen?

I run a console window through my PuTTY session. That console windows has a column width of 140. When I start the screen session, the console shrinks to 80 columns. I do not see this behavior on ...
8
votes
1answer
306 views

Why do we need so many terminal emulator packages and what is their use?

This is something that has been so confusing to me for a long time. I am using Linux but I have gaps in my understanding of certain aspects and one is about the terminal. As I came to understand it ...
2
votes
1answer
372 views

How can I make the TTY use the appropriate charset?

Note: forked of this per recommendation here. While I got the X keyboard layout right on my own after I fixed that stupid typo, I still can't set the console charset, key map, font map, or whatever ...
0
votes
1answer
68 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
41 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
161 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
124 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
6k 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
387 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
50 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
921 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
65 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
76 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
645 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
91 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
99 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 ...
2
votes
1answer
291 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
1k 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
803 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
240 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
974 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 ...
6
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
334 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
693 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
419 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
491 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
452 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
160 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
158 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
57 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
59 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 ...
3
votes
1answer
5k 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
450 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 ...