New answers tagged

8

The terminal description is named for Linux, which provides its own console emulator (as do several other kernels). Except for FreeBSD, all of the Linux- and modern BSD-platforms get "termcap" by deriving it from the terminfo database in ncurses. Console entries are specific to the systems in which they are implemented (unlike many terminal emulators, ...


0

If you (like me) are using this on a server from a management module web-interface and you see everything, but can't type or move the cursor, the framebuffer is actually not the problem. This bug is and the workaround is to append usbcore.autosuspend=-1 to the kernel command line. For some possible candidates on fixing framebuffer/video issues, there are ...


0

The agetty program only sets TERM, does not affect the way the terminal operates (other than initializing the connection). Any initialization that is concerned with the value of TERM would be in your shell. The shell in turn will check the terminal database; you may find "dumb" or "unknown" works with your shell. Further reading: agetty - alternative ...


1

This is probably a warn message (maybe the driver considers it important enough to mention). You did not specify which driver your USB hard drive is using so I can't point to the source line to verify this. More info on log levels here: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/linux/kern_levels.h?id=HEAD The easiest fix ...


17

/dev/vcs[a]<n> will only get you the last screen-full even if you've scrolled up, but the selection ioctl()s as used by gpm will allow you to dump the currently displayed screen even when you've scrolled up. So you can can do: sleep 3; perl -e ' require "sys/ioctl.ph"; # copy: ioctl(STDIN, &TIOCLINUX, $arg = pack("CS5", 2, 1, 1, 80, 25, ...


0

https://github.com/jerome-pouiller/reredirect/ might be an option? Description: reredirect is a utility for taking an existing running program and attaching its outputs (standard output and error output) to files or another process. The syntax is as follows: reredirect -m FILE PID


0

Hard disks have a small amount of RAM cache to speed up write operations. The system can write a chunk of data to the disk cache without actually waiting for it to be written to the disk. This is sometimes called "write-back" mode. If there is no cache on the disk, data is directly written to it in "write-through" mode. The Asking for cache data failed ...


1

Here's your best option: Use hwinfo --framebuffer as described, choose a video mode you would like to see during boot in console, then add the option vga=nnn to the kernel boot parameters. The only trick is that nnn is the video mode you selected from the list produced by hwinfo - CONVERTED TO DECIMAL !!! If you try vga=0xwhatever it's not going to work. ...


0

It is not possible, as far as I know. The netconsole modules does something similar, but for network devices. You may want to write a kernel module based on it. Further references: /dev/console dynamic redirection http://stackoverflow.com/questions/16829746/how-to-switch-linux-kernel-console-after-boot-process


2

You could launch getty once you've booted to get a serial connection to your system. Note that this will not give you the default outputs typically seen with your console (Kernel Panics and other verbosities typically seen in console but not in normal terminals). But if you are just looking to get a login via serial after boot this should work. /sbin/agetty ...


0

Yes. You can get rid of such messages by executing following command: echo 0 > /proc/sys/kernel/printk This will suppress almost all the kernel messages and will display only Emergency messages See this link for more info


2

You would do this in the grub configuration (requires a reboot to apply the changes). Further reading: How to disable the Linux frame buffer if it's causing problems Disable framebuffer from Grub Meno or Launch ubuntu comand line 5. Disabling the Unaccelerated Framebuffer


0

In principle, perhaps. But none of the necessary work has been done. ncurses is based on POSIX termios, and framebuffers have little to do with that. PDCurses was ported to use SDL (Simple Direct Media), so it's "doable".


0

Toggle function-keys pressing "F-Lock" (german "F-Umsch") Stumpling right into the same problem, I've found the reason for - at least - my problem: Using a ms natural 4000 keyboard sometimes requires to toggle the Function-keys pressing "F-Lock"-key located next to F12. (Toggling the Function-Key's might help with that type of keyboard too if you don't get ...


0

You could try placing the following at the top of each script for debugging feedback from them. set -x You can also type this directly in to the cli and it will do the same thing, just remember set +x when finished to disable it. set +x


2

Check again. According to what you wrote in your question, when you executed ./my2.sh from within my1.sh, you did not redirect error output anywhere (using 2>somewhere) which means it will stay exactly where it was. That means that you should absolutely get error output from ./my2.sh going to exactly the same place the error output from ./mh1.sh is going. ...


2

In an environment where the boot routine did not offer the customary option to boot to console – and where things such as Control-Alt-2 were ineffective … /etc/ttys I experimented with making a comment of the line for ttyv8. So for example: # Virtual terminals ttyv1 "/usr/libexec/getty Pc" xterm on secure ttyv2 "/usr/libexec/getty Pc" ...


2

The actual question consists of these two items: Can I use 256 colors in the console without fbterm/framebuffer ? Where does the 8 color limit in the console come from ? To the first: apparently not. All of the suggested approaches use fbterm. To the second: it comes from the terminal description (aka "terminfo entry"). For Linux console, with TERM set ...



Top 50 recent answers are included