Linux.com

timhoppen

timhoppen

  • Linux.com Member
  • Posts: 3
  • Member Since: 21 Jul 09
  • Last Logged In: 17 Oct 11

Latest Posts

Posted by
Topic
Post Preview
Posted
  • timhoppen
    RE: split CLI terminal
    You can do this with "screen". It may already be installed, depending on your distro. There are a few guides out there to explain how to use screen, but here is a quick run through to (hopefully) get want you to accomplish. First, start a screen session with the command "screen" To split the console window, press "Ctrl"+"a" (This is the sequence to start a command) followed by "S" (note the capital S) Now, you want to create a new session in your new region. "Ctrl"+"a" followed by "tab" to change focus to the new area. "Ctrl"+"a" followed by "c" to bring up a prompt here. Now you have two "terminals" in one TTY. A few more helpful tips. Help screen: "Ctrl"+"a" then ? Close other 'tab': "Ctrl"+"a" then "Q" Detach screen (to leave processes running): "Ctrl"+"a" then "d"
    Link to this post 24 Jul 09

    You can do this with "screen". It may already be installed, depending on your distro.

    There are a few guides out there to explain how to use screen, but here is a quick run through to (hopefully) get want you to accomplish.

    First, start a screen session with the command "screen"

    To split the console window, press "Ctrl"+"a" (This is the sequence to start a command) followed by "S" (note the capital S)

    Now, you want to create a new session in your new region.
    "Ctrl"+"a" followed by "tab" to change focus to the new area.

    "Ctrl"+"a" followed by "c" to bring up a prompt here.

    Now you have two "terminals" in one TTY.

    A few more helpful tips.

    Help screen: "Ctrl"+"a" then ?
    Close other 'tab': "Ctrl"+"a" then "Q"
    Detach screen (to leave processes running): "Ctrl"+"a" then "d"

  • timhoppen
    RE: dsl boot problems (kernel panic)
    Have you tried to add the waitusb "cheat code"? Sometimes, it can take a while for a usb device to be ready for the kernel to read the filesystem, causing your Kernel panic. Instead of just pressing enter to boot, type [code]dsl waitusb[/code] and THEN press enter You can learn more about the cheat codes at [url]http://www.damnsmalllinux.org/wiki/index.php/Cheat_Codes[/url] If that doesn't work, we'll need to look at some of the boot files. I hope that helps!
    Link to this post 24 Jul 09

    Have you tried to add the waitusb "cheat code"?

    Sometimes, it can take a while for a usb device to be ready for the kernel to read the filesystem, causing your Kernel panic.

    Instead of just pressing enter to boot, type

    dsl waitusb

    and THEN press enter

    You can learn more about the cheat codes at
    http://www.damnsmalllinux.org/wiki/index.php/Cheat_Codes

    If that doesn't work, we'll need to look at some of the boot files.

    I hope that helps!

  • timhoppen
    RE: Beginning Kernel Hacking
    Actually, in Gentoo, you can get a kernel.org kernel without any patches. There are a variety of kernel packages available. Here are 3: To use the kernel patched by Gentoo: [code]emerge gentoo-sources[/code] To use the latest released kernel from kernel.org [code]emerge vanilla-sources[/code] Or, to use the daily git snapshot from git.kernel.org [code]emerge git-sources[/code] [url]http://www.gentoo.org/doc/en/gentoo-kernel.xml[/url] Or, as with any distro, you can just download the tarball from kernel.org and have fun. Gentoo (potentially) makes it easier because it is required to compile the kernel yourself anyway. In addition, make sure that you know what areas of the kernel you want to hack at. Honing your focus will help a ton. The kernel is a big piece of code!
    Link to this post 24 Jul 09

    Actually, in Gentoo, you can get a kernel.org kernel without any patches.
    There are a variety of kernel packages available. Here are 3:

    To use the kernel patched by Gentoo:

    emerge gentoo-sources

    To use the latest released kernel from kernel.org

    emerge vanilla-sources

    Or, to use the daily git snapshot from git.kernel.org

    emerge git-sources


    http://www.gentoo.org/doc/en/gentoo-kernel.xml

    Or, as with any distro, you can just download the tarball from kernel.org and have fun. Gentoo (potentially) makes it easier because it is required to compile the kernel yourself anyway.

    In addition, make sure that you know what areas of the kernel you want to hack at. Honing your focus will help a ton. The kernel is a big piece of code!

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board