Q&A for How to Use Cygwin

Return to Full Article

Search
Add New Question
  • Question
    How do I launch a program?
    Fouzi Bounezef
    Community Answer
    To start a program as an administrator, you must right click the window with the option to run as administrator.
  • Question
    How can I use micro for writing program in Cygwin?
    Arrogance
    Top Answerer
    The syntax of a program varies by language, so that's not directly possible to answer. As far as micro goes, the only thing you need to know is to press Ctrl and S to save a new file, and Ctrl and Q to exit. Use the "arrow" keys on your keyboard to navigate through a file.
  • Question
    How to save the section of my work in Cygwin and restore it to continue?
    Arrogance
    Top Answerer
    Cygwin is just an API compatibility layer and environment. An answer to your question is very application-dependent.
  • Question
    Is there a graphic environment on Cygwin?
    Arrogance
    Top Answerer
    If you choose to install one. Cygwin installs very little by default. You will need to select the "xinit" package, and a package for a desktop environment, like "lxde-common."
  • Question
    I used a system command - system("clear") and it just doesn't work. I am new to programming so I would really appreciate it if you explain it simply.
    Mjubouri
    Community Answer
    In contrast to clear or Ctrl+L, reset will actually completely re-initialize the terminal, instead of just clearing the screen. However, it won't re-instantiate the shell (bash). That means that bash's state is the same as before, just as if you were merely clearing the screen.
Ask a Question

      Return to Full Article