Console2를 Cygwin을 가리킬 때 탭이 없음


1

Cygwin 설치에서 Console2를 사용하려고합니다. Console2에서을 가리 키도록 셸을 구성 C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -했지만 "새 탭"을 열면 Console2 외부의 완전히 새로운 Cygwin 창이 열립니다. 내가 뭘 잘못하고 있죠?

답변:


2

내가 뭘 잘못하고 있죠?

C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -

mintty.exe 자체 창을 가진 터미널입니다.

다른 프로그램에 속한 창 안에서 실행되도록 설계되지 않았습니다.

$ mintty --help
Usage: mintty [OPTION]... [ PROGRAM [ARG]... | - ]

Start a new terminal session running the specified program or the user's shell.
If a dash is given instead of a program, invoke the shell as a login shell.

Options:
  -c, --config FILE     Load specified config file
  -e, --exec            Treat remaining arguments as the command to execute
  -h, --hold never|start|error|always  Keep window open after command finishes
  -i, --icon FILE[,IX]  Load window icon from file, optionally with index
  -l, --log FILE|-      Log output to file or stdout
  -o, --option OPT=VAL  Override config file option with given value
  -p, --position X,Y    Open window at specified coordinates
  -s, --size COLS,ROWS  Set screen size in characters
  -t, --title TITLE     Set window title (default: the invoked command)
  -u, --utmp            Create a utmp entry
  -w, --window normal|min|max|full|hide  Set initial window state
      --class CLASS     Set window class name (default: mintty)
  -H, --help            Display help and exit
  -V, --version         Print version information and exit

나는 cygwin.bat내 cygwin64\bin디렉토리에 없습니다

cygwin.bat내 경우에는 기본 cygwin 설치 디렉토리에 있습니다 /c/cygwin(이 또한 C:\cygwin).

DavidPostill@Hal /c/cygwin
$ cd /c/cygwin

DavidPostill@Hal /c/cygwin
$ ls
bin  Cygwin.bat  Cygwin.ico  Cygwin-Terminal.ico  dev  etc  home  lib  sbin  tmp  usr  var

DavidPostill@Hal /c/cygwin
$ cat cygwin.bat
@echo off

C:
chdir C:\cygwin\bin

bash --login -i

음, 정크 다른 게시물의 예와 같이 cygwin.bat내 cygwin64\bin디렉토리 에는 없습니다 . 내가 무엇을 가리켜 야하는지 아십니까?
— ctote

1
@ctote 당신은 잘못된 곳을 찾고 있습니다. 답변이 업데이트되었습니다.
— DavidPostill

대단해! 즉시 표시되지 않는 경우이보고 미래에 다른 사람을 위해, cygwin.bat당신의 C:\cygwin쉘을 설정할 때 경로에 있는지 선택하게 Console2설정되어 있지 않습니다 만 찾아 exe파일 (기본적를, 광산이었다).
— ctote

1
물론의 쉘, "쉘 설정하는 경우"@ctote bash하지를 cygwin.bat...
— DavidPostill는

네,하지만 Console2는 필드로 표시하고있다 Shell그들의 UI를 기반으로 가고, 그래서
— ctote
당사 사이트를 사용함과 동시에 당사의 쿠키 정책과 개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.